Added mutations and queries for DaiailyStats and TotalStats. Updated Schema. Added scalar package.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
|
||||
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
||||
/* eslint-disable */
|
||||
// biome-ignore-all lint: generated file
|
||||
// @ts-nocheck
|
||||
/*
|
||||
* WARNING: This is an internal file that is subject to change!
|
||||
@@ -48,11 +49,9 @@ export const AnyNull = runtime.objectEnumValues.instances.AnyNull
|
||||
|
||||
|
||||
export const ModelName = {
|
||||
Group: 'Group',
|
||||
Groups: 'Groups',
|
||||
TotalStats: 'TotalStats',
|
||||
DailyStats: 'DailyStats',
|
||||
WeeklyStats: 'WeeklyStats',
|
||||
MonthlyStats: 'MonthlyStats'
|
||||
DailyStats: 'DailyStats'
|
||||
} as const
|
||||
|
||||
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
||||
@@ -61,14 +60,14 @@ export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
||||
* Enums
|
||||
*/
|
||||
|
||||
export const GroupScalarFieldEnum = {
|
||||
export const GroupsScalarFieldEnum = {
|
||||
telegramID: 'telegramID',
|
||||
name: 'name',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
} as const
|
||||
|
||||
export type GroupScalarFieldEnum = (typeof GroupScalarFieldEnum)[keyof typeof GroupScalarFieldEnum]
|
||||
export type GroupsScalarFieldEnum = (typeof GroupsScalarFieldEnum)[keyof typeof GroupsScalarFieldEnum]
|
||||
|
||||
|
||||
export const TotalStatsScalarFieldEnum = {
|
||||
@@ -93,28 +92,6 @@ export const DailyStatsScalarFieldEnum = {
|
||||
export type DailyStatsScalarFieldEnum = (typeof DailyStatsScalarFieldEnum)[keyof typeof DailyStatsScalarFieldEnum]
|
||||
|
||||
|
||||
export const WeeklyStatsScalarFieldEnum = {
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt',
|
||||
linksDeleted: 'linksDeleted',
|
||||
commandResponses: 'commandResponses',
|
||||
timesTriggered: 'timesTriggered'
|
||||
} as const
|
||||
|
||||
export type WeeklyStatsScalarFieldEnum = (typeof WeeklyStatsScalarFieldEnum)[keyof typeof WeeklyStatsScalarFieldEnum]
|
||||
|
||||
|
||||
export const MonthlyStatsScalarFieldEnum = {
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt',
|
||||
linksDeleted: 'linksDeleted',
|
||||
commandResponses: 'commandResponses',
|
||||
timesTriggered: 'timesTriggered'
|
||||
} as const
|
||||
|
||||
export type MonthlyStatsScalarFieldEnum = (typeof MonthlyStatsScalarFieldEnum)[keyof typeof MonthlyStatsScalarFieldEnum]
|
||||
|
||||
|
||||
export const SortOrder = {
|
||||
asc: 'asc',
|
||||
desc: 'desc'
|
||||
|
||||
Reference in New Issue
Block a user