added other stuff
This commit is contained in:
304
generated/prisma/internal/class.ts
Normal file
304
generated/prisma/internal/class.ts
Normal file
File diff suppressed because one or more lines are too long
1631
generated/prisma/internal/prismaNamespace.ts
Normal file
1631
generated/prisma/internal/prismaNamespace.ts
Normal file
File diff suppressed because it is too large
Load Diff
315
generated/prisma/internal/prismaNamespaceBrowser.ts
Normal file
315
generated/prisma/internal/prismaNamespaceBrowser.ts
Normal file
@@ -0,0 +1,315 @@
|
||||
|
||||
/* !!! 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!
|
||||
*
|
||||
* 🛑 Under no circumstances should you import this file directly! 🛑
|
||||
*
|
||||
* All exports from this file are wrapped under a `Prisma` namespace object in the browser.ts file.
|
||||
* While this enables partial backward compatibility, it is not part of the stable public API.
|
||||
*
|
||||
* If you are looking for your Models, Enums, and Input Types, please import them from the respective
|
||||
* model files in the `model` directory!
|
||||
*/
|
||||
|
||||
import * as runtime from "@prisma/client/runtime/index-browser"
|
||||
|
||||
export type * from '../models.ts'
|
||||
export type * from './prismaNamespace.ts'
|
||||
|
||||
export const Decimal = runtime.Decimal
|
||||
|
||||
|
||||
export const NullTypes = {
|
||||
DbNull: runtime.NullTypes.DbNull as (new (secret: never) => typeof runtime.DbNull),
|
||||
JsonNull: runtime.NullTypes.JsonNull as (new (secret: never) => typeof runtime.JsonNull),
|
||||
AnyNull: runtime.NullTypes.AnyNull as (new (secret: never) => typeof runtime.AnyNull),
|
||||
}
|
||||
/**
|
||||
* Helper for filtering JSON entries that have `null` on the database (empty on the db)
|
||||
*
|
||||
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
||||
*/
|
||||
export const DbNull = runtime.DbNull
|
||||
|
||||
/**
|
||||
* Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
|
||||
*
|
||||
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
||||
*/
|
||||
export const JsonNull = runtime.JsonNull
|
||||
|
||||
/**
|
||||
* Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
|
||||
*
|
||||
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
||||
*/
|
||||
export const AnyNull = runtime.AnyNull
|
||||
|
||||
|
||||
export const ModelName = {
|
||||
User: 'User',
|
||||
Session: 'Session',
|
||||
Account: 'Account',
|
||||
Verification: 'Verification',
|
||||
Exercise: 'Exercise',
|
||||
MesoCycle: 'MesoCycle',
|
||||
MesoCycleDay: 'MesoCycleDay',
|
||||
MesoCycleExercise: 'MesoCycleExercise',
|
||||
WorkoutSession: 'WorkoutSession',
|
||||
ExerciseLog: 'ExerciseLog',
|
||||
SessionFeedback: 'SessionFeedback'
|
||||
} as const
|
||||
|
||||
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
||||
|
||||
/*
|
||||
* Enums
|
||||
*/
|
||||
|
||||
export const TransactionIsolationLevel = runtime.makeStrictEnum({
|
||||
ReadUncommitted: 'ReadUncommitted',
|
||||
ReadCommitted: 'ReadCommitted',
|
||||
RepeatableRead: 'RepeatableRead',
|
||||
Serializable: 'Serializable'
|
||||
} as const)
|
||||
|
||||
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
|
||||
|
||||
|
||||
export const UserScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
email: 'email',
|
||||
emailVerified: 'emailVerified',
|
||||
image: 'image',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
} as const
|
||||
|
||||
export type UserScalarFieldEnum = (typeof UserScalarFieldEnum)[keyof typeof UserScalarFieldEnum]
|
||||
|
||||
|
||||
export const SessionScalarFieldEnum = {
|
||||
id: 'id',
|
||||
expiresAt: 'expiresAt',
|
||||
token: 'token',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt',
|
||||
ipAddress: 'ipAddress',
|
||||
userAgent: 'userAgent',
|
||||
userId: 'userId'
|
||||
} as const
|
||||
|
||||
export type SessionScalarFieldEnum = (typeof SessionScalarFieldEnum)[keyof typeof SessionScalarFieldEnum]
|
||||
|
||||
|
||||
export const AccountScalarFieldEnum = {
|
||||
id: 'id',
|
||||
accountId: 'accountId',
|
||||
providerId: 'providerId',
|
||||
userId: 'userId',
|
||||
accessToken: 'accessToken',
|
||||
refreshToken: 'refreshToken',
|
||||
idToken: 'idToken',
|
||||
accessTokenExpiresAt: 'accessTokenExpiresAt',
|
||||
refreshTokenExpiresAt: 'refreshTokenExpiresAt',
|
||||
scope: 'scope',
|
||||
password: 'password',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
} as const
|
||||
|
||||
export type AccountScalarFieldEnum = (typeof AccountScalarFieldEnum)[keyof typeof AccountScalarFieldEnum]
|
||||
|
||||
|
||||
export const VerificationScalarFieldEnum = {
|
||||
id: 'id',
|
||||
identifier: 'identifier',
|
||||
value: 'value',
|
||||
expiresAt: 'expiresAt',
|
||||
createdAt: 'createdAt',
|
||||
updatedAt: 'updatedAt'
|
||||
} as const
|
||||
|
||||
export type VerificationScalarFieldEnum = (typeof VerificationScalarFieldEnum)[keyof typeof VerificationScalarFieldEnum]
|
||||
|
||||
|
||||
export const ExerciseScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
muscleGroup: 'muscleGroup',
|
||||
SFR: 'SFR'
|
||||
} as const
|
||||
|
||||
export type ExerciseScalarFieldEnum = (typeof ExerciseScalarFieldEnum)[keyof typeof ExerciseScalarFieldEnum]
|
||||
|
||||
|
||||
export const MesoCycleScalarFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
totalWeeks: 'totalWeeks',
|
||||
currentWeek: 'currentWeek',
|
||||
isAsync: 'isAsync',
|
||||
userId: 'userId'
|
||||
} as const
|
||||
|
||||
export type MesoCycleScalarFieldEnum = (typeof MesoCycleScalarFieldEnum)[keyof typeof MesoCycleScalarFieldEnum]
|
||||
|
||||
|
||||
export const MesoCycleDayScalarFieldEnum = {
|
||||
id: 'id',
|
||||
weekday: 'weekday',
|
||||
orderIndex: 'orderIndex',
|
||||
mesoCycleId: 'mesoCycleId'
|
||||
} as const
|
||||
|
||||
export type MesoCycleDayScalarFieldEnum = (typeof MesoCycleDayScalarFieldEnum)[keyof typeof MesoCycleDayScalarFieldEnum]
|
||||
|
||||
|
||||
export const MesoCycleExerciseScalarFieldEnum = {
|
||||
id: 'id',
|
||||
startingSets: 'startingSets',
|
||||
orderIndex: 'orderIndex',
|
||||
mesoCycleDayId: 'mesoCycleDayId',
|
||||
exerciseId: 'exerciseId'
|
||||
} as const
|
||||
|
||||
export type MesoCycleExerciseScalarFieldEnum = (typeof MesoCycleExerciseScalarFieldEnum)[keyof typeof MesoCycleExerciseScalarFieldEnum]
|
||||
|
||||
|
||||
export const WorkoutSessionScalarFieldEnum = {
|
||||
id: 'id',
|
||||
weekNumber: 'weekNumber',
|
||||
isDeload: 'isDeload',
|
||||
completedAt: 'completedAt',
|
||||
mesoCycleDayId: 'mesoCycleDayId',
|
||||
userId: 'userId'
|
||||
} as const
|
||||
|
||||
export type WorkoutSessionScalarFieldEnum = (typeof WorkoutSessionScalarFieldEnum)[keyof typeof WorkoutSessionScalarFieldEnum]
|
||||
|
||||
|
||||
export const ExerciseLogScalarFieldEnum = {
|
||||
id: 'id',
|
||||
sets: 'sets',
|
||||
reps: 'reps',
|
||||
weight: 'weight',
|
||||
workoutSessionId: 'workoutSessionId',
|
||||
mesoCycleExerciseId: 'mesoCycleExerciseId'
|
||||
} as const
|
||||
|
||||
export type ExerciseLogScalarFieldEnum = (typeof ExerciseLogScalarFieldEnum)[keyof typeof ExerciseLogScalarFieldEnum]
|
||||
|
||||
|
||||
export const SessionFeedbackScalarFieldEnum = {
|
||||
id: 'id',
|
||||
question: 'question',
|
||||
answer: 'answer',
|
||||
exerciseLogId: 'exerciseLogId'
|
||||
} as const
|
||||
|
||||
export type SessionFeedbackScalarFieldEnum = (typeof SessionFeedbackScalarFieldEnum)[keyof typeof SessionFeedbackScalarFieldEnum]
|
||||
|
||||
|
||||
export const SortOrder = {
|
||||
asc: 'asc',
|
||||
desc: 'desc'
|
||||
} as const
|
||||
|
||||
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
|
||||
|
||||
|
||||
export const NullsOrder = {
|
||||
first: 'first',
|
||||
last: 'last'
|
||||
} as const
|
||||
|
||||
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
|
||||
|
||||
|
||||
export const UserOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
name: 'name',
|
||||
email: 'email',
|
||||
image: 'image'
|
||||
} as const
|
||||
|
||||
export type UserOrderByRelevanceFieldEnum = (typeof UserOrderByRelevanceFieldEnum)[keyof typeof UserOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const SessionOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
token: 'token',
|
||||
ipAddress: 'ipAddress',
|
||||
userAgent: 'userAgent',
|
||||
userId: 'userId'
|
||||
} as const
|
||||
|
||||
export type SessionOrderByRelevanceFieldEnum = (typeof SessionOrderByRelevanceFieldEnum)[keyof typeof SessionOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const AccountOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
accountId: 'accountId',
|
||||
providerId: 'providerId',
|
||||
userId: 'userId',
|
||||
accessToken: 'accessToken',
|
||||
refreshToken: 'refreshToken',
|
||||
idToken: 'idToken',
|
||||
scope: 'scope',
|
||||
password: 'password'
|
||||
} as const
|
||||
|
||||
export type AccountOrderByRelevanceFieldEnum = (typeof AccountOrderByRelevanceFieldEnum)[keyof typeof AccountOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const VerificationOrderByRelevanceFieldEnum = {
|
||||
id: 'id',
|
||||
identifier: 'identifier',
|
||||
value: 'value'
|
||||
} as const
|
||||
|
||||
export type VerificationOrderByRelevanceFieldEnum = (typeof VerificationOrderByRelevanceFieldEnum)[keyof typeof VerificationOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const ExerciseOrderByRelevanceFieldEnum = {
|
||||
name: 'name',
|
||||
muscleGroup: 'muscleGroup'
|
||||
} as const
|
||||
|
||||
export type ExerciseOrderByRelevanceFieldEnum = (typeof ExerciseOrderByRelevanceFieldEnum)[keyof typeof ExerciseOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const MesoCycleOrderByRelevanceFieldEnum = {
|
||||
name: 'name',
|
||||
userId: 'userId'
|
||||
} as const
|
||||
|
||||
export type MesoCycleOrderByRelevanceFieldEnum = (typeof MesoCycleOrderByRelevanceFieldEnum)[keyof typeof MesoCycleOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const MesoCycleDayOrderByRelevanceFieldEnum = {
|
||||
weekday: 'weekday'
|
||||
} as const
|
||||
|
||||
export type MesoCycleDayOrderByRelevanceFieldEnum = (typeof MesoCycleDayOrderByRelevanceFieldEnum)[keyof typeof MesoCycleDayOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const WorkoutSessionOrderByRelevanceFieldEnum = {
|
||||
userId: 'userId'
|
||||
} as const
|
||||
|
||||
export type WorkoutSessionOrderByRelevanceFieldEnum = (typeof WorkoutSessionOrderByRelevanceFieldEnum)[keyof typeof WorkoutSessionOrderByRelevanceFieldEnum]
|
||||
|
||||
|
||||
export const SessionFeedbackOrderByRelevanceFieldEnum = {
|
||||
question: 'question',
|
||||
answer: 'answer'
|
||||
} as const
|
||||
|
||||
export type SessionFeedbackOrderByRelevanceFieldEnum = (typeof SessionFeedbackOrderByRelevanceFieldEnum)[keyof typeof SessionFeedbackOrderByRelevanceFieldEnum]
|
||||
|
||||
Reference in New Issue
Block a user