// Code generated by Prisma (prisma@1.34.10). DO NOT EDIT. // Please don't change this file manually but run `prisma generate` to update it. // For more information, please read the docs: https://www.prisma.io/docs/prisma-client/ import { DocumentNode } from "graphql"; import { makePrismaClientClass, BaseClientOptions, Model } from "prisma-client-lib"; import { typeDefs } from "./prisma-schema"; export type AtLeastOne }> = Partial & U[keyof U]; export type Maybe = T | undefined | null; export interface Exists { block: (where?: BlockWhereInput) => Promise; blockInstance: (where?: BlockInstanceWhereInput) => Promise; comment: (where?: CommentWhereInput) => Promise; exercise: (where?: ExerciseWhereInput) => Promise; exerciseInstance: (where?: ExerciseInstanceWhereInput) => Promise; file: (where?: FileWhereInput) => Promise; format: (where?: FormatWhereInput) => Promise; link: (where?: LinkWhereInput) => Promise; picture: (where?: PictureWhereInput) => Promise; rating: (where?: RatingWhereInput) => Promise; track: (where?: TrackWhereInput) => Promise; training: (where?: TrainingWhereInput) => Promise; trainingType: (where?: TrainingTypeWhereInput) => Promise; user: (where?: UserWhereInput) => Promise; video: (where?: VideoWhereInput) => Promise; } export interface Node {} export type FragmentableArray = Promise> & Fragmentable; export interface Fragmentable { $fragment(fragment: string | DocumentNode): Promise; } export interface Prisma { $exists: Exists; $graphql: ( query: string, variables?: { [key: string]: any } ) => Promise; /** * Queries */ block: (where: BlockWhereUniqueInput) => BlockNullablePromise; blocks: (args?: { where?: BlockWhereInput; orderBy?: BlockOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => FragmentableArray; blocksConnection: (args?: { where?: BlockWhereInput; orderBy?: BlockOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => BlockConnectionPromise; blockInstance: ( where: BlockInstanceWhereUniqueInput ) => BlockInstanceNullablePromise; blockInstances: (args?: { where?: BlockInstanceWhereInput; orderBy?: BlockInstanceOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => FragmentableArray; blockInstancesConnection: (args?: { where?: BlockInstanceWhereInput; orderBy?: BlockInstanceOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => BlockInstanceConnectionPromise; comment: (where: CommentWhereUniqueInput) => CommentNullablePromise; comments: (args?: { where?: CommentWhereInput; orderBy?: CommentOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => FragmentableArray; commentsConnection: (args?: { where?: CommentWhereInput; orderBy?: CommentOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => CommentConnectionPromise; exercise: (where: ExerciseWhereUniqueInput) => ExerciseNullablePromise; exercises: (args?: { where?: ExerciseWhereInput; orderBy?: ExerciseOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => FragmentableArray; exercisesConnection: (args?: { where?: ExerciseWhereInput; orderBy?: ExerciseOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => ExerciseConnectionPromise; exerciseInstance: ( where: ExerciseInstanceWhereUniqueInput ) => ExerciseInstanceNullablePromise; exerciseInstances: (args?: { where?: ExerciseInstanceWhereInput; orderBy?: ExerciseInstanceOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => FragmentableArray; exerciseInstancesConnection: (args?: { where?: ExerciseInstanceWhereInput; orderBy?: ExerciseInstanceOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => ExerciseInstanceConnectionPromise; file: (where: FileWhereUniqueInput) => FileNullablePromise; files: (args?: { where?: FileWhereInput; orderBy?: FileOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => FragmentableArray; filesConnection: (args?: { where?: FileWhereInput; orderBy?: FileOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => FileConnectionPromise; format: (where: FormatWhereUniqueInput) => FormatNullablePromise; formats: (args?: { where?: FormatWhereInput; orderBy?: FormatOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => FragmentableArray; formatsConnection: (args?: { where?: FormatWhereInput; orderBy?: FormatOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => FormatConnectionPromise; link: (where: LinkWhereUniqueInput) => LinkNullablePromise; links: (args?: { where?: LinkWhereInput; orderBy?: LinkOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => FragmentableArray; linksConnection: (args?: { where?: LinkWhereInput; orderBy?: LinkOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => LinkConnectionPromise; picture: (where: PictureWhereUniqueInput) => PictureNullablePromise; pictures: (args?: { where?: PictureWhereInput; orderBy?: PictureOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => FragmentableArray; picturesConnection: (args?: { where?: PictureWhereInput; orderBy?: PictureOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => PictureConnectionPromise; rating: (where: RatingWhereUniqueInput) => RatingNullablePromise; ratings: (args?: { where?: RatingWhereInput; orderBy?: RatingOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => FragmentableArray; ratingsConnection: (args?: { where?: RatingWhereInput; orderBy?: RatingOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => RatingConnectionPromise; track: (where: TrackWhereUniqueInput) => TrackNullablePromise; tracks: (args?: { where?: TrackWhereInput; orderBy?: TrackOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => FragmentableArray; tracksConnection: (args?: { where?: TrackWhereInput; orderBy?: TrackOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => TrackConnectionPromise; training: (where: TrainingWhereUniqueInput) => TrainingNullablePromise; trainings: (args?: { where?: TrainingWhereInput; orderBy?: TrainingOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => FragmentableArray; trainingsConnection: (args?: { where?: TrainingWhereInput; orderBy?: TrainingOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => TrainingConnectionPromise; trainingType: ( where: TrainingTypeWhereUniqueInput ) => TrainingTypeNullablePromise; trainingTypes: (args?: { where?: TrainingTypeWhereInput; orderBy?: TrainingTypeOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => FragmentableArray; trainingTypesConnection: (args?: { where?: TrainingTypeWhereInput; orderBy?: TrainingTypeOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => TrainingTypeConnectionPromise; user: (where: UserWhereUniqueInput) => UserNullablePromise; users: (args?: { where?: UserWhereInput; orderBy?: UserOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => FragmentableArray; usersConnection: (args?: { where?: UserWhereInput; orderBy?: UserOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => UserConnectionPromise; video: (where: VideoWhereUniqueInput) => VideoNullablePromise; videos: (args?: { where?: VideoWhereInput; orderBy?: VideoOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => FragmentableArray