Added mutations and queries for DaiailyStats and TotalStats. Updated Schema. Added scalar package.

This commit is contained in:
2025-11-11 20:17:14 -05:00
parent ff334a7f0d
commit 834900f9bb
25 changed files with 2483 additions and 4532 deletions

View File

@@ -1,6 +1,7 @@
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck
/*
* This file should be your main import to use Prisma. Through it you get access to all the models, enums, and input types.
@@ -29,7 +30,7 @@ export * from "./enums"
* ```
* const prisma = new PrismaClient()
* // Fetch zero or more Groups
* const groups = await prisma.group.findMany()
* const groups = await prisma.groups.findMany()
* ```
*
* Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client).
@@ -44,10 +45,10 @@ path.join(__dirname, "libquery_engine-debian-openssl-3.0.x.so.node")
path.join(process.cwd(), "src/prisma/generated/libquery_engine-debian-openssl-3.0.x.so.node")
/**
* Model Group
* Model Groups
*
*/
export type Group = Prisma.GroupModel
export type Groups = Prisma.GroupsModel
/**
* Model TotalStats
*
@@ -58,13 +59,3 @@ export type TotalStats = Prisma.TotalStatsModel
*
*/
export type DailyStats = Prisma.DailyStatsModel
/**
* Model WeeklyStats
*
*/
export type WeeklyStats = Prisma.WeeklyStatsModel
/**
* Model MonthlyStats
*
*/
export type MonthlyStats = Prisma.MonthlyStatsModel