// 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; comment: (where?: CommentWhereInput) => Promise; excersise: (where?: ExcersiseWhereInput) => Promise; format: (where?: FormatWhereInput) => Promise; rating: (where?: RatingWhereInput) => Promise; track: (where?: TrackWhereInput) => Promise; training: (where?: TrainingWhereInput) => Promise; trainingType: (where?: TrainingTypeWhereInput) => Promise; user: (where?: UserWhereInput) => 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; 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; excersise: (where: ExcersiseWhereUniqueInput) => ExcersiseNullablePromise; excersises: (args?: { where?: ExcersiseWhereInput; orderBy?: ExcersiseOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => FragmentableArray; excersisesConnection: (args?: { where?: ExcersiseWhereInput; orderBy?: ExcersiseOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => ExcersiseConnectionPromise; 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; 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; node: (args: { id: ID_Output }) => Node; /** * Mutations */ createBlock: (data: BlockCreateInput) => BlockPromise; updateBlock: (args: { data: BlockUpdateInput; where: BlockWhereUniqueInput; }) => BlockPromise; updateManyBlocks: (args: { data: BlockUpdateManyMutationInput; where?: BlockWhereInput; }) => BatchPayloadPromise; upsertBlock: (args: { where: BlockWhereUniqueInput; create: BlockCreateInput; update: BlockUpdateInput; }) => BlockPromise; deleteBlock: (where: BlockWhereUniqueInput) => BlockPromise; deleteManyBlocks: (where?: BlockWhereInput) => BatchPayloadPromise; createComment: (data: CommentCreateInput) => CommentPromise; updateComment: (args: { data: CommentUpdateInput; where: CommentWhereUniqueInput; }) => CommentPromise; updateManyComments: (args: { data: CommentUpdateManyMutationInput; where?: CommentWhereInput; }) => BatchPayloadPromise; upsertComment: (args: { where: CommentWhereUniqueInput; create: CommentCreateInput; update: CommentUpdateInput; }) => CommentPromise; deleteComment: (where: CommentWhereUniqueInput) => CommentPromise; deleteManyComments: (where?: CommentWhereInput) => BatchPayloadPromise; createExcersise: (data: ExcersiseCreateInput) => ExcersisePromise; updateExcersise: (args: { data: ExcersiseUpdateInput; where: ExcersiseWhereUniqueInput; }) => ExcersisePromise; updateManyExcersises: (args: { data: ExcersiseUpdateManyMutationInput; where?: ExcersiseWhereInput; }) => BatchPayloadPromise; upsertExcersise: (args: { where: ExcersiseWhereUniqueInput; create: ExcersiseCreateInput; update: ExcersiseUpdateInput; }) => ExcersisePromise; deleteExcersise: (where: ExcersiseWhereUniqueInput) => ExcersisePromise; deleteManyExcersises: (where?: ExcersiseWhereInput) => BatchPayloadPromise; createFormat: (data: FormatCreateInput) => FormatPromise; updateFormat: (args: { data: FormatUpdateInput; where: FormatWhereUniqueInput; }) => FormatPromise; updateManyFormats: (args: { data: FormatUpdateManyMutationInput; where?: FormatWhereInput; }) => BatchPayloadPromise; upsertFormat: (args: { where: FormatWhereUniqueInput; create: FormatCreateInput; update: FormatUpdateInput; }) => FormatPromise; deleteFormat: (where: FormatWhereUniqueInput) => FormatPromise; deleteManyFormats: (where?: FormatWhereInput) => BatchPayloadPromise; createRating: (data: RatingCreateInput) => RatingPromise; updateRating: (args: { data: RatingUpdateInput; where: RatingWhereUniqueInput; }) => RatingPromise; updateManyRatings: (args: { data: RatingUpdateManyMutationInput; where?: RatingWhereInput; }) => BatchPayloadPromise; upsertRating: (args: { where: RatingWhereUniqueInput; create: RatingCreateInput; update: RatingUpdateInput; }) => RatingPromise; deleteRating: (where: RatingWhereUniqueInput) => RatingPromise; deleteManyRatings: (where?: RatingWhereInput) => BatchPayloadPromise; createTrack: (data: TrackCreateInput) => TrackPromise; updateTrack: (args: { data: TrackUpdateInput; where: TrackWhereUniqueInput; }) => TrackPromise; updateManyTracks: (args: { data: TrackUpdateManyMutationInput; where?: TrackWhereInput; }) => BatchPayloadPromise; upsertTrack: (args: { where: TrackWhereUniqueInput; create: TrackCreateInput; update: TrackUpdateInput; }) => TrackPromise; deleteTrack: (where: TrackWhereUniqueInput) => TrackPromise; deleteManyTracks: (where?: TrackWhereInput) => BatchPayloadPromise; createTraining: (data: TrainingCreateInput) => TrainingPromise; updateTraining: (args: { data: TrainingUpdateInput; where: TrainingWhereUniqueInput; }) => TrainingPromise; updateManyTrainings: (args: { data: TrainingUpdateManyMutationInput; where?: TrainingWhereInput; }) => BatchPayloadPromise; upsertTraining: (args: { where: TrainingWhereUniqueInput; create: TrainingCreateInput; update: TrainingUpdateInput; }) => TrainingPromise; deleteTraining: (where: TrainingWhereUniqueInput) => TrainingPromise; deleteManyTrainings: (where?: TrainingWhereInput) => BatchPayloadPromise; createTrainingType: (data: TrainingTypeCreateInput) => TrainingTypePromise; updateTrainingType: (args: { data: TrainingTypeUpdateInput; where: TrainingTypeWhereUniqueInput; }) => TrainingTypePromise; updateManyTrainingTypes: (args: { data: TrainingTypeUpdateManyMutationInput; where?: TrainingTypeWhereInput; }) => BatchPayloadPromise; upsertTrainingType: (args: { where: TrainingTypeWhereUniqueInput; create: TrainingTypeCreateInput; update: TrainingTypeUpdateInput; }) => TrainingTypePromise; deleteTrainingType: ( where: TrainingTypeWhereUniqueInput ) => TrainingTypePromise; deleteManyTrainingTypes: ( where?: TrainingTypeWhereInput ) => BatchPayloadPromise; createUser: (data: UserCreateInput) => UserPromise; updateUser: (args: { data: UserUpdateInput; where: UserWhereUniqueInput; }) => UserPromise; updateManyUsers: (args: { data: UserUpdateManyMutationInput; where?: UserWhereInput; }) => BatchPayloadPromise; upsertUser: (args: { where: UserWhereUniqueInput; create: UserCreateInput; update: UserUpdateInput; }) => UserPromise; deleteUser: (where: UserWhereUniqueInput) => UserPromise; deleteManyUsers: (where?: UserWhereInput) => BatchPayloadPromise; /** * Subscriptions */ $subscribe: Subscription; } export interface Subscription { block: ( where?: BlockSubscriptionWhereInput ) => BlockSubscriptionPayloadSubscription; comment: ( where?: CommentSubscriptionWhereInput ) => CommentSubscriptionPayloadSubscription; excersise: ( where?: ExcersiseSubscriptionWhereInput ) => ExcersiseSubscriptionPayloadSubscription; format: ( where?: FormatSubscriptionWhereInput ) => FormatSubscriptionPayloadSubscription; rating: ( where?: RatingSubscriptionWhereInput ) => RatingSubscriptionPayloadSubscription; track: ( where?: TrackSubscriptionWhereInput ) => TrackSubscriptionPayloadSubscription; training: ( where?: TrainingSubscriptionWhereInput ) => TrainingSubscriptionPayloadSubscription; trainingType: ( where?: TrainingTypeSubscriptionWhereInput ) => TrainingTypeSubscriptionPayloadSubscription; user: ( where?: UserSubscriptionWhereInput ) => UserSubscriptionPayloadSubscription; } export interface ClientConstructor { new (options?: BaseClientOptions): T; } /** * Types */ export type TrackOrderByInput = | "id_ASC" | "id_DESC" | "title_ASC" | "title_DESC" | "artist_ASC" | "artist_DESC" | "duration_ASC" | "duration_DESC" | "link_ASC" | "link_DESC"; export type ExcersiseOrderByInput = | "id_ASC" | "id_DESC" | "name_ASC" | "name_DESC" | "description_ASC" | "description_DESC" | "video_ASC" | "video_DESC"; export type BlockOrderByInput = | "id_ASC" | "id_DESC" | "sequence_ASC" | "sequence_DESC" | "title_ASC" | "title_DESC" | "duration_ASC" | "duration_DESC" | "variation_ASC" | "variation_DESC"; export type CommentOrderByInput = | "id_ASC" | "id_DESC" | "text_ASC" | "text_DESC" | "createdAt_ASC" | "createdAt_DESC"; export type RatingOrderByInput = | "id_ASC" | "id_DESC" | "value_ASC" | "value_DESC" | "comment_ASC" | "comment_DESC" | "createdAt_ASC" | "createdAt_DESC"; export type Permission = "ADMIN" | "INSTRUCTOR" | "USER"; export type FormatOrderByInput = | "id_ASC" | "id_DESC" | "name_ASC" | "name_DESC" | "description_ASC" | "description_DESC"; export type UserOrderByInput = | "id_ASC" | "id_DESC" | "email_ASC" | "email_DESC" | "name_ASC" | "name_DESC" | "password_ASC" | "password_DESC" | "createdAt_ASC" | "createdAt_DESC"; export type TrainingOrderByInput = | "id_ASC" | "id_DESC" | "title_ASC" | "title_DESC" | "createdAt_ASC" | "createdAt_DESC" | "trainingDate_ASC" | "trainingDate_DESC" | "published_ASC" | "published_DESC"; export type TrainingTypeOrderByInput = | "id_ASC" | "id_DESC" | "name_ASC" | "name_DESC" | "description_ASC" | "description_DESC"; export type MutationType = "CREATED" | "UPDATED" | "DELETED"; export type BlockWhereUniqueInput = AtLeastOne<{ id: Maybe; }>; export interface TrackWhereInput { id?: Maybe; id_not?: Maybe; id_in?: Maybe; id_not_in?: Maybe; id_lt?: Maybe; id_lte?: Maybe; id_gt?: Maybe; id_gte?: Maybe; id_contains?: Maybe; id_not_contains?: Maybe; id_starts_with?: Maybe; id_not_starts_with?: Maybe; id_ends_with?: Maybe; id_not_ends_with?: Maybe; title?: Maybe; title_not?: Maybe; title_in?: Maybe; title_not_in?: Maybe; title_lt?: Maybe; title_lte?: Maybe; title_gt?: Maybe; title_gte?: Maybe; title_contains?: Maybe; title_not_contains?: Maybe; title_starts_with?: Maybe; title_not_starts_with?: Maybe; title_ends_with?: Maybe; title_not_ends_with?: Maybe; artist?: Maybe; artist_not?: Maybe; artist_in?: Maybe; artist_not_in?: Maybe; artist_lt?: Maybe; artist_lte?: Maybe; artist_gt?: Maybe; artist_gte?: Maybe; artist_contains?: Maybe; artist_not_contains?: Maybe; artist_starts_with?: Maybe; artist_not_starts_with?: Maybe; artist_ends_with?: Maybe; artist_not_ends_with?: Maybe; duration?: Maybe; duration_not?: Maybe; duration_in?: Maybe; duration_not_in?: Maybe; duration_lt?: Maybe; duration_lte?: Maybe; duration_gt?: Maybe; duration_gte?: Maybe; link?: Maybe; link_not?: Maybe; link_in?: Maybe; link_not_in?: Maybe; link_lt?: Maybe; link_lte?: Maybe; link_gt?: Maybe; link_gte?: Maybe; link_contains?: Maybe; link_not_contains?: Maybe; link_starts_with?: Maybe; link_not_starts_with?: Maybe; link_ends_with?: Maybe; link_not_ends_with?: Maybe; AND?: Maybe; OR?: Maybe; NOT?: Maybe; } export interface ExcersiseWhereInput { id?: Maybe; id_not?: Maybe; id_in?: Maybe; id_not_in?: Maybe; id_lt?: Maybe; id_lte?: Maybe; id_gt?: Maybe; id_gte?: Maybe; id_contains?: Maybe; id_not_contains?: Maybe; id_starts_with?: Maybe; id_not_starts_with?: Maybe; id_ends_with?: Maybe; id_not_ends_with?: Maybe; name?: Maybe; name_not?: Maybe; name_in?: Maybe; name_not_in?: Maybe; name_lt?: Maybe; name_lte?: Maybe; name_gt?: Maybe; name_gte?: Maybe; name_contains?: Maybe; name_not_contains?: Maybe; name_starts_with?: Maybe; name_not_starts_with?: Maybe; name_ends_with?: Maybe; name_not_ends_with?: Maybe; description?: Maybe; description_not?: Maybe; description_in?: Maybe; description_not_in?: Maybe; description_lt?: Maybe; description_lte?: Maybe; description_gt?: Maybe; description_gte?: Maybe; description_contains?: Maybe; description_not_contains?: Maybe; description_starts_with?: Maybe; description_not_starts_with?: Maybe; description_ends_with?: Maybe; description_not_ends_with?: Maybe; video?: Maybe; video_not?: Maybe; video_in?: Maybe; video_not_in?: Maybe; video_lt?: Maybe; video_lte?: Maybe; video_gt?: Maybe; video_gte?: Maybe; video_contains?: Maybe; video_not_contains?: Maybe; video_starts_with?: Maybe; video_not_starts_with?: Maybe; video_ends_with?: Maybe; video_not_ends_with?: Maybe; AND?: Maybe; OR?: Maybe; NOT?: Maybe; } export interface BlockWhereInput { id?: Maybe; id_not?: Maybe; id_in?: Maybe; id_not_in?: Maybe; id_lt?: Maybe; id_lte?: Maybe; id_gt?: Maybe; id_gte?: Maybe; id_contains?: Maybe; id_not_contains?: Maybe; id_starts_with?: Maybe; id_not_starts_with?: Maybe; id_ends_with?: Maybe; id_not_ends_with?: Maybe; sequence?: Maybe; sequence_not?: Maybe; sequence_in?: Maybe; sequence_not_in?: Maybe; sequence_lt?: Maybe; sequence_lte?: Maybe; sequence_gt?: Maybe; sequence_gte?: Maybe; title?: Maybe; title_not?: Maybe; title_in?: Maybe; title_not_in?: Maybe; title_lt?: Maybe; title_lte?: Maybe; title_gt?: Maybe; title_gte?: Maybe; title_contains?: Maybe; title_not_contains?: Maybe; title_starts_with?: Maybe; title_not_starts_with?: Maybe; title_ends_with?: Maybe; title_not_ends_with?: Maybe; duration?: Maybe; duration_not?: Maybe; duration_in?: Maybe; duration_not_in?: Maybe; duration_lt?: Maybe; duration_lte?: Maybe; duration_gt?: Maybe; duration_gte?: Maybe; variation?: Maybe; variation_not?: Maybe; variation_in?: Maybe; variation_not_in?: Maybe; variation_lt?: Maybe; variation_lte?: Maybe; variation_gt?: Maybe; variation_gte?: Maybe; variation_contains?: Maybe; variation_not_contains?: Maybe; variation_starts_with?: Maybe; variation_not_starts_with?: Maybe; variation_ends_with?: Maybe; variation_not_ends_with?: Maybe; format?: Maybe; tracks_every?: Maybe; tracks_some?: Maybe; tracks_none?: Maybe; excersises_every?: Maybe; excersises_some?: Maybe; excersises_none?: Maybe; AND?: Maybe; OR?: Maybe; NOT?: Maybe; } export interface FormatWhereInput { id?: Maybe; id_not?: Maybe; id_in?: Maybe; id_not_in?: Maybe; id_lt?: Maybe; id_lte?: Maybe; id_gt?: Maybe; id_gte?: Maybe; id_contains?: Maybe; id_not_contains?: Maybe; id_starts_with?: Maybe; id_not_starts_with?: Maybe; id_ends_with?: Maybe; id_not_ends_with?: Maybe; name?: Maybe; name_not?: Maybe; name_in?: Maybe; name_not_in?: Maybe; name_lt?: Maybe; name_lte?: Maybe; name_gt?: Maybe; name_gte?: Maybe; name_contains?: Maybe; name_not_contains?: Maybe; name_starts_with?: Maybe; name_not_starts_with?: Maybe; name_ends_with?: Maybe; name_not_ends_with?: Maybe; description?: Maybe; description_not?: Maybe; description_in?: Maybe; description_not_in?: Maybe; description_lt?: Maybe; description_lte?: Maybe; description_gt?: Maybe; description_gte?: Maybe; description_contains?: Maybe; description_not_contains?: Maybe; description_starts_with?: Maybe; description_not_starts_with?: Maybe; description_ends_with?: Maybe; description_not_ends_with?: Maybe; AND?: Maybe; OR?: Maybe; NOT?: Maybe; } export type CommentWhereUniqueInput = AtLeastOne<{ id: Maybe; }>; export interface CommentWhereInput { id?: Maybe; id_not?: Maybe; id_in?: Maybe; id_not_in?: Maybe; id_lt?: Maybe; id_lte?: Maybe; id_gt?: Maybe; id_gte?: Maybe; id_contains?: Maybe; id_not_contains?: Maybe; id_starts_with?: Maybe; id_not_starts_with?: Maybe; id_ends_with?: Maybe; id_not_ends_with?: Maybe; text?: Maybe; text_not?: Maybe; text_in?: Maybe; text_not_in?: Maybe; text_lt?: Maybe; text_lte?: Maybe; text_gt?: Maybe; text_gte?: Maybe; text_contains?: Maybe; text_not_contains?: Maybe; text_starts_with?: Maybe; text_not_starts_with?: Maybe; text_ends_with?: Maybe; text_not_ends_with?: Maybe; author?: Maybe; createdAt?: Maybe; createdAt_not?: Maybe; createdAt_in?: Maybe; createdAt_not_in?: Maybe; createdAt_lt?: Maybe; createdAt_lte?: Maybe; createdAt_gt?: Maybe; createdAt_gte?: Maybe; AND?: Maybe; OR?: Maybe; NOT?: Maybe; } export interface UserWhereInput { id?: Maybe; id_not?: Maybe; id_in?: Maybe; id_not_in?: Maybe; id_lt?: Maybe; id_lte?: Maybe; id_gt?: Maybe; id_gte?: Maybe; id_contains?: Maybe; id_not_contains?: Maybe; id_starts_with?: Maybe; id_not_starts_with?: Maybe; id_ends_with?: Maybe; id_not_ends_with?: Maybe; email?: Maybe; email_not?: Maybe; email_in?: Maybe; email_not_in?: Maybe; email_lt?: Maybe; email_lte?: Maybe; email_gt?: Maybe; email_gte?: Maybe; email_contains?: Maybe; email_not_contains?: Maybe; email_starts_with?: Maybe; email_not_starts_with?: Maybe; email_ends_with?: Maybe; email_not_ends_with?: Maybe; name?: Maybe; name_not?: Maybe; name_in?: Maybe; name_not_in?: Maybe; name_lt?: Maybe; name_lte?: Maybe; name_gt?: Maybe; name_gte?: Maybe; name_contains?: Maybe; name_not_contains?: Maybe; name_starts_with?: Maybe; name_not_starts_with?: Maybe; name_ends_with?: Maybe; name_not_ends_with?: Maybe; password?: Maybe; password_not?: Maybe; password_in?: Maybe; password_not_in?: Maybe; password_lt?: Maybe; password_lte?: Maybe; password_gt?: Maybe; password_gte?: Maybe; password_contains?: Maybe; password_not_contains?: Maybe; password_starts_with?: Maybe; password_not_starts_with?: Maybe; password_ends_with?: Maybe; password_not_ends_with?: Maybe; createdAt?: Maybe; createdAt_not?: Maybe; createdAt_in?: Maybe; createdAt_not_in?: Maybe; createdAt_lt?: Maybe; createdAt_lte?: Maybe; createdAt_gt?: Maybe; createdAt_gte?: Maybe; comments_every?: Maybe; comments_some?: Maybe; comments_none?: Maybe; ratings_every?: Maybe; ratings_some?: Maybe; ratings_none?: Maybe; AND?: Maybe; OR?: Maybe; NOT?: Maybe; } export interface RatingWhereInput { id?: Maybe; id_not?: Maybe; id_in?: Maybe; id_not_in?: Maybe; id_lt?: Maybe; id_lte?: Maybe; id_gt?: Maybe; id_gte?: Maybe; id_contains?: Maybe; id_not_contains?: Maybe; id_starts_with?: Maybe; id_not_starts_with?: Maybe; id_ends_with?: Maybe; id_not_ends_with?: Maybe; user?: Maybe; value?: Maybe; value_not?: Maybe; value_in?: Maybe; value_not_in?: Maybe; value_lt?: Maybe; value_lte?: Maybe; value_gt?: Maybe; value_gte?: Maybe; comment?: Maybe; comment_not?: Maybe; comment_in?: Maybe; comment_not_in?: Maybe; comment_lt?: Maybe; comment_lte?: Maybe; comment_gt?: Maybe; comment_gte?: Maybe; comment_contains?: Maybe; comment_not_contains?: Maybe; comment_starts_with?: Maybe; comment_not_starts_with?: Maybe; comment_ends_with?: Maybe; comment_not_ends_with?: Maybe; createdAt?: Maybe; createdAt_not?: Maybe; createdAt_in?: Maybe; createdAt_not_in?: Maybe; createdAt_lt?: Maybe; createdAt_lte?: Maybe; createdAt_gt?: Maybe; createdAt_gte?: Maybe; AND?: Maybe; OR?: Maybe; NOT?: Maybe; } export type ExcersiseWhereUniqueInput = AtLeastOne<{ id: Maybe; }>; export type FormatWhereUniqueInput = AtLeastOne<{ id: Maybe; }>; export type RatingWhereUniqueInput = AtLeastOne<{ id: Maybe; }>; export type TrackWhereUniqueInput = AtLeastOne<{ id: Maybe; }>; export type TrainingWhereUniqueInput = AtLeastOne<{ id: Maybe; }>; export interface TrainingWhereInput { id?: Maybe; id_not?: Maybe; id_in?: Maybe; id_not_in?: Maybe; id_lt?: Maybe; id_lte?: Maybe; id_gt?: Maybe; id_gte?: Maybe; id_contains?: Maybe; id_not_contains?: Maybe; id_starts_with?: Maybe; id_not_starts_with?: Maybe; id_ends_with?: Maybe; id_not_ends_with?: Maybe; title?: Maybe; title_not?: Maybe; title_in?: Maybe; title_not_in?: Maybe; title_lt?: Maybe; title_lte?: Maybe; title_gt?: Maybe; title_gte?: Maybe; title_contains?: Maybe; title_not_contains?: Maybe; title_starts_with?: Maybe; title_not_starts_with?: Maybe; title_ends_with?: Maybe; title_not_ends_with?: Maybe; type?: Maybe; content_every?: Maybe; content_some?: Maybe; content_none?: Maybe; createdAt?: Maybe; createdAt_not?: Maybe; createdAt_in?: Maybe; createdAt_not_in?: Maybe; createdAt_lt?: Maybe; createdAt_lte?: Maybe; createdAt_gt?: Maybe; createdAt_gte?: Maybe; trainingDate?: Maybe; trainingDate_not?: Maybe; trainingDate_in?: Maybe; trainingDate_not_in?: Maybe; trainingDate_lt?: Maybe; trainingDate_lte?: Maybe; trainingDate_gt?: Maybe; trainingDate_gte?: Maybe; participants_every?: Maybe; participants_some?: Maybe; participants_none?: Maybe; ratings_every?: Maybe; ratings_some?: Maybe; ratings_none?: Maybe; published?: Maybe; published_not?: Maybe; AND?: Maybe; OR?: Maybe; NOT?: Maybe; } export interface TrainingTypeWhereInput { id?: Maybe; id_not?: Maybe; id_in?: Maybe; id_not_in?: Maybe; id_lt?: Maybe; id_lte?: Maybe; id_gt?: Maybe; id_gte?: Maybe; id_contains?: Maybe; id_not_contains?: Maybe; id_starts_with?: Maybe; id_not_starts_with?: Maybe; id_ends_with?: Maybe; id_not_ends_with?: Maybe; name?: Maybe; name_not?: Maybe; name_in?: Maybe; name_not_in?: Maybe; name_lt?: Maybe; name_lte?: Maybe; name_gt?: Maybe; name_gte?: Maybe; name_contains?: Maybe; name_not_contains?: Maybe; name_starts_with?: Maybe; name_not_starts_with?: Maybe; name_ends_with?: Maybe; name_not_ends_with?: Maybe; description?: Maybe; description_not?: Maybe; description_in?: Maybe; description_not_in?: Maybe; description_lt?: Maybe; description_lte?: Maybe; description_gt?: Maybe; description_gte?: Maybe; description_contains?: Maybe; description_not_contains?: Maybe; description_starts_with?: Maybe; description_not_starts_with?: Maybe; description_ends_with?: Maybe; description_not_ends_with?: Maybe; AND?: Maybe; OR?: Maybe; NOT?: Maybe; } export type TrainingTypeWhereUniqueInput = AtLeastOne<{ id: Maybe; }>; export type UserWhereUniqueInput = AtLeastOne<{ id: Maybe; email?: Maybe; }>; export interface BlockCreateInput { id?: Maybe; sequence: Int; title: String; duration: Int; variation?: Maybe; format?: Maybe; tracks?: Maybe; excersises?: Maybe; } export interface FormatCreateOneInput { create?: Maybe; connect?: Maybe; } export interface FormatCreateInput { id?: Maybe; name: String; description: String; } export interface TrackCreateManyInput { create?: Maybe; connect?: Maybe; } export interface TrackCreateInput { id?: Maybe; title: String; artist: String; duration: Int; link: String; } export interface ExcersiseCreateManyInput { create?: Maybe; connect?: Maybe; } export interface ExcersiseCreateInput { id?: Maybe; name: String; description: String; video: String; targets?: Maybe; } export interface ExcersiseCreatetargetsInput { set?: Maybe; } export interface BlockUpdateInput { sequence?: Maybe; title?: Maybe; duration?: Maybe; variation?: Maybe; format?: Maybe; tracks?: Maybe; excersises?: Maybe; } export interface FormatUpdateOneInput { create?: Maybe; update?: Maybe; upsert?: Maybe; delete?: Maybe; disconnect?: Maybe; connect?: Maybe; } export interface FormatUpdateDataInput { name?: Maybe; description?: Maybe; } export interface FormatUpsertNestedInput { update: FormatUpdateDataInput; create: FormatCreateInput; } export interface TrackUpdateManyInput { create?: Maybe; update?: Maybe< | TrackUpdateWithWhereUniqueNestedInput[] | TrackUpdateWithWhereUniqueNestedInput >; upsert?: Maybe< | TrackUpsertWithWhereUniqueNestedInput[] | TrackUpsertWithWhereUniqueNestedInput >; delete?: Maybe; connect?: Maybe; set?: Maybe; disconnect?: Maybe; deleteMany?: Maybe; updateMany?: Maybe< TrackUpdateManyWithWhereNestedInput[] | TrackUpdateManyWithWhereNestedInput >; } export interface TrackUpdateWithWhereUniqueNestedInput { where: TrackWhereUniqueInput; data: TrackUpdateDataInput; } export interface TrackUpdateDataInput { title?: Maybe; artist?: Maybe; duration?: Maybe; link?: Maybe; } export interface TrackUpsertWithWhereUniqueNestedInput { where: TrackWhereUniqueInput; update: TrackUpdateDataInput; create: TrackCreateInput; } export interface TrackScalarWhereInput { id?: Maybe; id_not?: Maybe; id_in?: Maybe; id_not_in?: Maybe; id_lt?: Maybe; id_lte?: Maybe; id_gt?: Maybe; id_gte?: Maybe; id_contains?: Maybe; id_not_contains?: Maybe; id_starts_with?: Maybe; id_not_starts_with?: Maybe; id_ends_with?: Maybe; id_not_ends_with?: Maybe; title?: Maybe; title_not?: Maybe; title_in?: Maybe; title_not_in?: Maybe; title_lt?: Maybe; title_lte?: Maybe; title_gt?: Maybe; title_gte?: Maybe; title_contains?: Maybe; title_not_contains?: Maybe; title_starts_with?: Maybe; title_not_starts_with?: Maybe; title_ends_with?: Maybe; title_not_ends_with?: Maybe; artist?: Maybe; artist_not?: Maybe; artist_in?: Maybe; artist_not_in?: Maybe; artist_lt?: Maybe; artist_lte?: Maybe; artist_gt?: Maybe; artist_gte?: Maybe; artist_contains?: Maybe; artist_not_contains?: Maybe; artist_starts_with?: Maybe; artist_not_starts_with?: Maybe; artist_ends_with?: Maybe; artist_not_ends_with?: Maybe; duration?: Maybe; duration_not?: Maybe; duration_in?: Maybe; duration_not_in?: Maybe; duration_lt?: Maybe; duration_lte?: Maybe; duration_gt?: Maybe; duration_gte?: Maybe; link?: Maybe; link_not?: Maybe; link_in?: Maybe; link_not_in?: Maybe; link_lt?: Maybe; link_lte?: Maybe; link_gt?: Maybe; link_gte?: Maybe; link_contains?: Maybe; link_not_contains?: Maybe; link_starts_with?: Maybe; link_not_starts_with?: Maybe; link_ends_with?: Maybe; link_not_ends_with?: Maybe; AND?: Maybe; OR?: Maybe; NOT?: Maybe; } export interface TrackUpdateManyWithWhereNestedInput { where: TrackScalarWhereInput; data: TrackUpdateManyDataInput; } export interface TrackUpdateManyDataInput { title?: Maybe; artist?: Maybe; duration?: Maybe; link?: Maybe; } export interface ExcersiseUpdateManyInput { create?: Maybe; update?: Maybe< | ExcersiseUpdateWithWhereUniqueNestedInput[] | ExcersiseUpdateWithWhereUniqueNestedInput >; upsert?: Maybe< | ExcersiseUpsertWithWhereUniqueNestedInput[] | ExcersiseUpsertWithWhereUniqueNestedInput >; delete?: Maybe; connect?: Maybe; set?: Maybe; disconnect?: Maybe; deleteMany?: Maybe; updateMany?: Maybe< | ExcersiseUpdateManyWithWhereNestedInput[] | ExcersiseUpdateManyWithWhereNestedInput >; } export interface ExcersiseUpdateWithWhereUniqueNestedInput { where: ExcersiseWhereUniqueInput; data: ExcersiseUpdateDataInput; } export interface ExcersiseUpdateDataInput { name?: Maybe; description?: Maybe; video?: Maybe; targets?: Maybe; } export interface ExcersiseUpdatetargetsInput { set?: Maybe; } export interface ExcersiseUpsertWithWhereUniqueNestedInput { where: ExcersiseWhereUniqueInput; update: ExcersiseUpdateDataInput; create: ExcersiseCreateInput; } export interface ExcersiseScalarWhereInput { id?: Maybe; id_not?: Maybe; id_in?: Maybe; id_not_in?: Maybe; id_lt?: Maybe; id_lte?: Maybe; id_gt?: Maybe; id_gte?: Maybe; id_contains?: Maybe; id_not_contains?: Maybe; id_starts_with?: Maybe; id_not_starts_with?: Maybe; id_ends_with?: Maybe; id_not_ends_with?: Maybe; name?: Maybe; name_not?: Maybe; name_in?: Maybe; name_not_in?: Maybe; name_lt?: Maybe; name_lte?: Maybe; name_gt?: Maybe; name_gte?: Maybe; name_contains?: Maybe; name_not_contains?: Maybe; name_starts_with?: Maybe; name_not_starts_with?: Maybe; name_ends_with?: Maybe; name_not_ends_with?: Maybe; description?: Maybe; description_not?: Maybe; description_in?: Maybe; description_not_in?: Maybe; description_lt?: Maybe; description_lte?: Maybe; description_gt?: Maybe; description_gte?: Maybe; description_contains?: Maybe; description_not_contains?: Maybe; description_starts_with?: Maybe; description_not_starts_with?: Maybe; description_ends_with?: Maybe; description_not_ends_with?: Maybe; video?: Maybe; video_not?: Maybe; video_in?: Maybe; video_not_in?: Maybe; video_lt?: Maybe; video_lte?: Maybe; video_gt?: Maybe; video_gte?: Maybe; video_contains?: Maybe; video_not_contains?: Maybe; video_starts_with?: Maybe; video_not_starts_with?: Maybe; video_ends_with?: Maybe; video_not_ends_with?: Maybe; AND?: Maybe; OR?: Maybe; NOT?: Maybe; } export interface ExcersiseUpdateManyWithWhereNestedInput { where: ExcersiseScalarWhereInput; data: ExcersiseUpdateManyDataInput; } export interface ExcersiseUpdateManyDataInput { name?: Maybe; description?: Maybe; video?: Maybe; targets?: Maybe; } export interface BlockUpdateManyMutationInput { sequence?: Maybe; title?: Maybe; duration?: Maybe; variation?: Maybe; } export interface CommentCreateInput { id?: Maybe; text: String; author: UserCreateOneWithoutCommentsInput; } export interface UserCreateOneWithoutCommentsInput { create?: Maybe; connect?: Maybe; } export interface UserCreateWithoutCommentsInput { id?: Maybe; email: String; name: String; password: String; ratings?: Maybe; permissions?: Maybe; interests?: Maybe; } export interface RatingCreateManyWithoutUserInput { create?: Maybe; connect?: Maybe; } export interface RatingCreateWithoutUserInput { id?: Maybe; value: Int; comment: String; } export interface UserCreatepermissionsInput { set?: Maybe; } export interface UserCreateinterestsInput { set?: Maybe; } export interface CommentUpdateInput { text?: Maybe; author?: Maybe; } export interface UserUpdateOneRequiredWithoutCommentsInput { create?: Maybe; update?: Maybe; upsert?: Maybe; connect?: Maybe; } export interface UserUpdateWithoutCommentsDataInput { email?: Maybe; name?: Maybe; password?: Maybe; ratings?: Maybe; permissions?: Maybe; interests?: Maybe; } export interface RatingUpdateManyWithoutUserInput { create?: Maybe; delete?: Maybe; connect?: Maybe; set?: Maybe; disconnect?: Maybe; update?: Maybe< | RatingUpdateWithWhereUniqueWithoutUserInput[] | RatingUpdateWithWhereUniqueWithoutUserInput >; upsert?: Maybe< | RatingUpsertWithWhereUniqueWithoutUserInput[] | RatingUpsertWithWhereUniqueWithoutUserInput >; deleteMany?: Maybe; updateMany?: Maybe< | RatingUpdateManyWithWhereNestedInput[] | RatingUpdateManyWithWhereNestedInput >; } export interface RatingUpdateWithWhereUniqueWithoutUserInput { where: RatingWhereUniqueInput; data: RatingUpdateWithoutUserDataInput; } export interface RatingUpdateWithoutUserDataInput { value?: Maybe; comment?: Maybe; } export interface RatingUpsertWithWhereUniqueWithoutUserInput { where: RatingWhereUniqueInput; update: RatingUpdateWithoutUserDataInput; create: RatingCreateWithoutUserInput; } export interface RatingScalarWhereInput { id?: Maybe; id_not?: Maybe; id_in?: Maybe; id_not_in?: Maybe; id_lt?: Maybe; id_lte?: Maybe; id_gt?: Maybe; id_gte?: Maybe; id_contains?: Maybe; id_not_contains?: Maybe; id_starts_with?: Maybe; id_not_starts_with?: Maybe; id_ends_with?: Maybe; id_not_ends_with?: Maybe; value?: Maybe; value_not?: Maybe; value_in?: Maybe; value_not_in?: Maybe; value_lt?: Maybe; value_lte?: Maybe; value_gt?: Maybe; value_gte?: Maybe; comment?: Maybe; comment_not?: Maybe; comment_in?: Maybe; comment_not_in?: Maybe; comment_lt?: Maybe; comment_lte?: Maybe; comment_gt?: Maybe; comment_gte?: Maybe; comment_contains?: Maybe; comment_not_contains?: Maybe; comment_starts_with?: Maybe; comment_not_starts_with?: Maybe; comment_ends_with?: Maybe; comment_not_ends_with?: Maybe; createdAt?: Maybe; createdAt_not?: Maybe; createdAt_in?: Maybe; createdAt_not_in?: Maybe; createdAt_lt?: Maybe; createdAt_lte?: Maybe; createdAt_gt?: Maybe; createdAt_gte?: Maybe; AND?: Maybe; OR?: Maybe; NOT?: Maybe; } export interface RatingUpdateManyWithWhereNestedInput { where: RatingScalarWhereInput; data: RatingUpdateManyDataInput; } export interface RatingUpdateManyDataInput { value?: Maybe; comment?: Maybe; } export interface UserUpdatepermissionsInput { set?: Maybe; } export interface UserUpdateinterestsInput { set?: Maybe; } export interface UserUpsertWithoutCommentsInput { update: UserUpdateWithoutCommentsDataInput; create: UserCreateWithoutCommentsInput; } export interface CommentUpdateManyMutationInput { text?: Maybe; } export interface ExcersiseUpdateInput { name?: Maybe; description?: Maybe; video?: Maybe; targets?: Maybe; } export interface ExcersiseUpdateManyMutationInput { name?: Maybe; description?: Maybe; video?: Maybe; targets?: Maybe; } export interface FormatUpdateInput { name?: Maybe; description?: Maybe; } export interface FormatUpdateManyMutationInput { name?: Maybe; description?: Maybe; } export interface RatingCreateInput { id?: Maybe; user: UserCreateOneWithoutRatingsInput; value: Int; comment: String; } export interface UserCreateOneWithoutRatingsInput { create?: Maybe; connect?: Maybe; } export interface UserCreateWithoutRatingsInput { id?: Maybe; email: String; name: String; password: String; comments?: Maybe; permissions?: Maybe; interests?: Maybe; } export interface CommentCreateManyWithoutAuthorInput { create?: Maybe< CommentCreateWithoutAuthorInput[] | CommentCreateWithoutAuthorInput >; connect?: Maybe; } export interface CommentCreateWithoutAuthorInput { id?: Maybe; text: String; } export interface RatingUpdateInput { user?: Maybe; value?: Maybe; comment?: Maybe; } export interface UserUpdateOneRequiredWithoutRatingsInput { create?: Maybe; update?: Maybe; upsert?: Maybe; connect?: Maybe; } export interface UserUpdateWithoutRatingsDataInput { email?: Maybe; name?: Maybe; password?: Maybe; comments?: Maybe; permissions?: Maybe; interests?: Maybe; } export interface CommentUpdateManyWithoutAuthorInput { create?: Maybe< CommentCreateWithoutAuthorInput[] | CommentCreateWithoutAuthorInput >; delete?: Maybe; connect?: Maybe; set?: Maybe; disconnect?: Maybe; update?: Maybe< | CommentUpdateWithWhereUniqueWithoutAuthorInput[] | CommentUpdateWithWhereUniqueWithoutAuthorInput >; upsert?: Maybe< | CommentUpsertWithWhereUniqueWithoutAuthorInput[] | CommentUpsertWithWhereUniqueWithoutAuthorInput >; deleteMany?: Maybe; updateMany?: Maybe< | CommentUpdateManyWithWhereNestedInput[] | CommentUpdateManyWithWhereNestedInput >; } export interface CommentUpdateWithWhereUniqueWithoutAuthorInput { where: CommentWhereUniqueInput; data: CommentUpdateWithoutAuthorDataInput; } export interface CommentUpdateWithoutAuthorDataInput { text?: Maybe; } export interface CommentUpsertWithWhereUniqueWithoutAuthorInput { where: CommentWhereUniqueInput; update: CommentUpdateWithoutAuthorDataInput; create: CommentCreateWithoutAuthorInput; } export interface CommentScalarWhereInput { id?: Maybe; id_not?: Maybe; id_in?: Maybe; id_not_in?: Maybe; id_lt?: Maybe; id_lte?: Maybe; id_gt?: Maybe; id_gte?: Maybe; id_contains?: Maybe; id_not_contains?: Maybe; id_starts_with?: Maybe; id_not_starts_with?: Maybe; id_ends_with?: Maybe; id_not_ends_with?: Maybe; text?: Maybe; text_not?: Maybe; text_in?: Maybe; text_not_in?: Maybe; text_lt?: Maybe; text_lte?: Maybe; text_gt?: Maybe; text_gte?: Maybe; text_contains?: Maybe; text_not_contains?: Maybe; text_starts_with?: Maybe; text_not_starts_with?: Maybe; text_ends_with?: Maybe; text_not_ends_with?: Maybe; createdAt?: Maybe; createdAt_not?: Maybe; createdAt_in?: Maybe; createdAt_not_in?: Maybe; createdAt_lt?: Maybe; createdAt_lte?: Maybe; createdAt_gt?: Maybe; createdAt_gte?: Maybe; AND?: Maybe; OR?: Maybe; NOT?: Maybe; } export interface CommentUpdateManyWithWhereNestedInput { where: CommentScalarWhereInput; data: CommentUpdateManyDataInput; } export interface CommentUpdateManyDataInput { text?: Maybe; } export interface UserUpsertWithoutRatingsInput { update: UserUpdateWithoutRatingsDataInput; create: UserCreateWithoutRatingsInput; } export interface RatingUpdateManyMutationInput { value?: Maybe; comment?: Maybe; } export interface TrackUpdateInput { title?: Maybe; artist?: Maybe; duration?: Maybe; link?: Maybe; } export interface TrackUpdateManyMutationInput { title?: Maybe; artist?: Maybe; duration?: Maybe; link?: Maybe; } export interface TrainingCreateInput { id?: Maybe; title: String; type: TrainingTypeCreateOneInput; content?: Maybe; trainingDate: DateTimeInput; participants?: Maybe; ratings?: Maybe; published: Boolean; } export interface TrainingTypeCreateOneInput { create?: Maybe; connect?: Maybe; } export interface TrainingTypeCreateInput { id?: Maybe; name: String; description: String; } export interface BlockCreateManyInput { create?: Maybe; connect?: Maybe; } export interface UserCreateManyInput { create?: Maybe; connect?: Maybe; } export interface UserCreateInput { id?: Maybe; email: String; name: String; password: String; comments?: Maybe; ratings?: Maybe; permissions?: Maybe; interests?: Maybe; } export interface RatingCreateManyInput { create?: Maybe; connect?: Maybe; } export interface TrainingUpdateInput { title?: Maybe; type?: Maybe; content?: Maybe; trainingDate?: Maybe; participants?: Maybe; ratings?: Maybe; published?: Maybe; } export interface TrainingTypeUpdateOneRequiredInput { create?: Maybe; update?: Maybe; upsert?: Maybe; connect?: Maybe; } export interface TrainingTypeUpdateDataInput { name?: Maybe; description?: Maybe; } export interface TrainingTypeUpsertNestedInput { update: TrainingTypeUpdateDataInput; create: TrainingTypeCreateInput; } export interface BlockUpdateManyInput { create?: Maybe; update?: Maybe< | BlockUpdateWithWhereUniqueNestedInput[] | BlockUpdateWithWhereUniqueNestedInput >; upsert?: Maybe< | BlockUpsertWithWhereUniqueNestedInput[] | BlockUpsertWithWhereUniqueNestedInput >; delete?: Maybe; connect?: Maybe; set?: Maybe; disconnect?: Maybe; deleteMany?: Maybe; updateMany?: Maybe< BlockUpdateManyWithWhereNestedInput[] | BlockUpdateManyWithWhereNestedInput >; } export interface BlockUpdateWithWhereUniqueNestedInput { where: BlockWhereUniqueInput; data: BlockUpdateDataInput; } export interface BlockUpdateDataInput { sequence?: Maybe; title?: Maybe; duration?: Maybe; variation?: Maybe; format?: Maybe; tracks?: Maybe; excersises?: Maybe; } export interface BlockUpsertWithWhereUniqueNestedInput { where: BlockWhereUniqueInput; update: BlockUpdateDataInput; create: BlockCreateInput; } export interface BlockScalarWhereInput { id?: Maybe; id_not?: Maybe; id_in?: Maybe; id_not_in?: Maybe; id_lt?: Maybe; id_lte?: Maybe; id_gt?: Maybe; id_gte?: Maybe; id_contains?: Maybe; id_not_contains?: Maybe; id_starts_with?: Maybe; id_not_starts_with?: Maybe; id_ends_with?: Maybe; id_not_ends_with?: Maybe; sequence?: Maybe; sequence_not?: Maybe; sequence_in?: Maybe; sequence_not_in?: Maybe; sequence_lt?: Maybe; sequence_lte?: Maybe; sequence_gt?: Maybe; sequence_gte?: Maybe; title?: Maybe; title_not?: Maybe; title_in?: Maybe; title_not_in?: Maybe; title_lt?: Maybe; title_lte?: Maybe; title_gt?: Maybe; title_gte?: Maybe; title_contains?: Maybe; title_not_contains?: Maybe; title_starts_with?: Maybe; title_not_starts_with?: Maybe; title_ends_with?: Maybe; title_not_ends_with?: Maybe; duration?: Maybe; duration_not?: Maybe; duration_in?: Maybe; duration_not_in?: Maybe; duration_lt?: Maybe; duration_lte?: Maybe; duration_gt?: Maybe; duration_gte?: Maybe; variation?: Maybe; variation_not?: Maybe; variation_in?: Maybe; variation_not_in?: Maybe; variation_lt?: Maybe; variation_lte?: Maybe; variation_gt?: Maybe; variation_gte?: Maybe; variation_contains?: Maybe; variation_not_contains?: Maybe; variation_starts_with?: Maybe; variation_not_starts_with?: Maybe; variation_ends_with?: Maybe; variation_not_ends_with?: Maybe; AND?: Maybe; OR?: Maybe; NOT?: Maybe; } export interface BlockUpdateManyWithWhereNestedInput { where: BlockScalarWhereInput; data: BlockUpdateManyDataInput; } export interface BlockUpdateManyDataInput { sequence?: Maybe; title?: Maybe; duration?: Maybe; variation?: Maybe; } export interface UserUpdateManyInput { create?: Maybe; update?: Maybe< | UserUpdateWithWhereUniqueNestedInput[] | UserUpdateWithWhereUniqueNestedInput >; upsert?: Maybe< | UserUpsertWithWhereUniqueNestedInput[] | UserUpsertWithWhereUniqueNestedInput >; delete?: Maybe; connect?: Maybe; set?: Maybe; disconnect?: Maybe; deleteMany?: Maybe; updateMany?: Maybe< UserUpdateManyWithWhereNestedInput[] | UserUpdateManyWithWhereNestedInput >; } export interface UserUpdateWithWhereUniqueNestedInput { where: UserWhereUniqueInput; data: UserUpdateDataInput; } export interface UserUpdateDataInput { email?: Maybe; name?: Maybe; password?: Maybe; comments?: Maybe; ratings?: Maybe; permissions?: Maybe; interests?: Maybe; } export interface UserUpsertWithWhereUniqueNestedInput { where: UserWhereUniqueInput; update: UserUpdateDataInput; create: UserCreateInput; } export interface UserScalarWhereInput { id?: Maybe; id_not?: Maybe; id_in?: Maybe; id_not_in?: Maybe; id_lt?: Maybe; id_lte?: Maybe; id_gt?: Maybe; id_gte?: Maybe; id_contains?: Maybe; id_not_contains?: Maybe; id_starts_with?: Maybe; id_not_starts_with?: Maybe; id_ends_with?: Maybe; id_not_ends_with?: Maybe; email?: Maybe; email_not?: Maybe; email_in?: Maybe; email_not_in?: Maybe; email_lt?: Maybe; email_lte?: Maybe; email_gt?: Maybe; email_gte?: Maybe; email_contains?: Maybe; email_not_contains?: Maybe; email_starts_with?: Maybe; email_not_starts_with?: Maybe; email_ends_with?: Maybe; email_not_ends_with?: Maybe; name?: Maybe; name_not?: Maybe; name_in?: Maybe; name_not_in?: Maybe; name_lt?: Maybe; name_lte?: Maybe; name_gt?: Maybe; name_gte?: Maybe; name_contains?: Maybe; name_not_contains?: Maybe; name_starts_with?: Maybe; name_not_starts_with?: Maybe; name_ends_with?: Maybe; name_not_ends_with?: Maybe; password?: Maybe; password_not?: Maybe; password_in?: Maybe; password_not_in?: Maybe; password_lt?: Maybe; password_lte?: Maybe; password_gt?: Maybe; password_gte?: Maybe; password_contains?: Maybe; password_not_contains?: Maybe; password_starts_with?: Maybe; password_not_starts_with?: Maybe; password_ends_with?: Maybe; password_not_ends_with?: Maybe; createdAt?: Maybe; createdAt_not?: Maybe; createdAt_in?: Maybe; createdAt_not_in?: Maybe; createdAt_lt?: Maybe; createdAt_lte?: Maybe; createdAt_gt?: Maybe; createdAt_gte?: Maybe; AND?: Maybe; OR?: Maybe; NOT?: Maybe; } export interface UserUpdateManyWithWhereNestedInput { where: UserScalarWhereInput; data: UserUpdateManyDataInput; } export interface UserUpdateManyDataInput { email?: Maybe; name?: Maybe; password?: Maybe; permissions?: Maybe; interests?: Maybe; } export interface RatingUpdateManyInput { create?: Maybe; update?: Maybe< | RatingUpdateWithWhereUniqueNestedInput[] | RatingUpdateWithWhereUniqueNestedInput >; upsert?: Maybe< | RatingUpsertWithWhereUniqueNestedInput[] | RatingUpsertWithWhereUniqueNestedInput >; delete?: Maybe; connect?: Maybe; set?: Maybe; disconnect?: Maybe; deleteMany?: Maybe; updateMany?: Maybe< | RatingUpdateManyWithWhereNestedInput[] | RatingUpdateManyWithWhereNestedInput >; } export interface RatingUpdateWithWhereUniqueNestedInput { where: RatingWhereUniqueInput; data: RatingUpdateDataInput; } export interface RatingUpdateDataInput { user?: Maybe; value?: Maybe; comment?: Maybe; } export interface RatingUpsertWithWhereUniqueNestedInput { where: RatingWhereUniqueInput; update: RatingUpdateDataInput; create: RatingCreateInput; } export interface TrainingUpdateManyMutationInput { title?: Maybe; trainingDate?: Maybe; published?: Maybe; } export interface TrainingTypeUpdateInput { name?: Maybe; description?: Maybe; } export interface TrainingTypeUpdateManyMutationInput { name?: Maybe; description?: Maybe; } export interface UserUpdateInput { email?: Maybe; name?: Maybe; password?: Maybe; comments?: Maybe; ratings?: Maybe; permissions?: Maybe; interests?: Maybe; } export interface UserUpdateManyMutationInput { email?: Maybe; name?: Maybe; password?: Maybe; permissions?: Maybe; interests?: Maybe; } export interface BlockSubscriptionWhereInput { mutation_in?: Maybe; updatedFields_contains?: Maybe; updatedFields_contains_every?: Maybe; updatedFields_contains_some?: Maybe; node?: Maybe; AND?: Maybe; OR?: Maybe; NOT?: Maybe; } export interface CommentSubscriptionWhereInput { mutation_in?: Maybe; updatedFields_contains?: Maybe; updatedFields_contains_every?: Maybe; updatedFields_contains_some?: Maybe; node?: Maybe; AND?: Maybe; OR?: Maybe; NOT?: Maybe; } export interface ExcersiseSubscriptionWhereInput { mutation_in?: Maybe; updatedFields_contains?: Maybe; updatedFields_contains_every?: Maybe; updatedFields_contains_some?: Maybe; node?: Maybe; AND?: Maybe< ExcersiseSubscriptionWhereInput[] | ExcersiseSubscriptionWhereInput >; OR?: Maybe< ExcersiseSubscriptionWhereInput[] | ExcersiseSubscriptionWhereInput >; NOT?: Maybe< ExcersiseSubscriptionWhereInput[] | ExcersiseSubscriptionWhereInput >; } export interface FormatSubscriptionWhereInput { mutation_in?: Maybe; updatedFields_contains?: Maybe; updatedFields_contains_every?: Maybe; updatedFields_contains_some?: Maybe; node?: Maybe; AND?: Maybe; OR?: Maybe; NOT?: Maybe; } export interface RatingSubscriptionWhereInput { mutation_in?: Maybe; updatedFields_contains?: Maybe; updatedFields_contains_every?: Maybe; updatedFields_contains_some?: Maybe; node?: Maybe; AND?: Maybe; OR?: Maybe; NOT?: Maybe; } export interface TrackSubscriptionWhereInput { mutation_in?: Maybe; updatedFields_contains?: Maybe; updatedFields_contains_every?: Maybe; updatedFields_contains_some?: Maybe; node?: Maybe; AND?: Maybe; OR?: Maybe; NOT?: Maybe; } export interface TrainingSubscriptionWhereInput { mutation_in?: Maybe; updatedFields_contains?: Maybe; updatedFields_contains_every?: Maybe; updatedFields_contains_some?: Maybe; node?: Maybe; AND?: Maybe< TrainingSubscriptionWhereInput[] | TrainingSubscriptionWhereInput >; OR?: Maybe; NOT?: Maybe< TrainingSubscriptionWhereInput[] | TrainingSubscriptionWhereInput >; } export interface TrainingTypeSubscriptionWhereInput { mutation_in?: Maybe; updatedFields_contains?: Maybe; updatedFields_contains_every?: Maybe; updatedFields_contains_some?: Maybe; node?: Maybe; AND?: Maybe< TrainingTypeSubscriptionWhereInput[] | TrainingTypeSubscriptionWhereInput >; OR?: Maybe< TrainingTypeSubscriptionWhereInput[] | TrainingTypeSubscriptionWhereInput >; NOT?: Maybe< TrainingTypeSubscriptionWhereInput[] | TrainingTypeSubscriptionWhereInput >; } export interface UserSubscriptionWhereInput { mutation_in?: Maybe; updatedFields_contains?: Maybe; updatedFields_contains_every?: Maybe; updatedFields_contains_some?: Maybe; node?: Maybe; AND?: Maybe; OR?: Maybe; NOT?: Maybe; } export interface NodeNode { id: ID_Output; } export interface Block { id: ID_Output; sequence: Int; title: String; duration: Int; variation?: String; } export interface BlockPromise extends Promise, Fragmentable { id: () => Promise; sequence: () => Promise; title: () => Promise; duration: () => Promise; variation: () => Promise; format: () => T; tracks: >(args?: { where?: TrackWhereInput; orderBy?: TrackOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => T; excersises: >(args?: { where?: ExcersiseWhereInput; orderBy?: ExcersiseOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => T; } export interface BlockSubscription extends Promise>, Fragmentable { id: () => Promise>; sequence: () => Promise>; title: () => Promise>; duration: () => Promise>; variation: () => Promise>; format: () => T; tracks: >>(args?: { where?: TrackWhereInput; orderBy?: TrackOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => T; excersises: >>(args?: { where?: ExcersiseWhereInput; orderBy?: ExcersiseOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => T; } export interface BlockNullablePromise extends Promise, Fragmentable { id: () => Promise; sequence: () => Promise; title: () => Promise; duration: () => Promise; variation: () => Promise; format: () => T; tracks: >(args?: { where?: TrackWhereInput; orderBy?: TrackOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => T; excersises: >(args?: { where?: ExcersiseWhereInput; orderBy?: ExcersiseOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => T; } export interface Format { id: ID_Output; name: String; description: String; } export interface FormatPromise extends Promise, Fragmentable { id: () => Promise; name: () => Promise; description: () => Promise; } export interface FormatSubscription extends Promise>, Fragmentable { id: () => Promise>; name: () => Promise>; description: () => Promise>; } export interface FormatNullablePromise extends Promise, Fragmentable { id: () => Promise; name: () => Promise; description: () => Promise; } export interface Track { id: ID_Output; title: String; artist: String; duration: Int; link: String; } export interface TrackPromise extends Promise, Fragmentable { id: () => Promise; title: () => Promise; artist: () => Promise; duration: () => Promise; link: () => Promise; } export interface TrackSubscription extends Promise>, Fragmentable { id: () => Promise>; title: () => Promise>; artist: () => Promise>; duration: () => Promise>; link: () => Promise>; } export interface TrackNullablePromise extends Promise, Fragmentable { id: () => Promise; title: () => Promise; artist: () => Promise; duration: () => Promise; link: () => Promise; } export interface Excersise { id: ID_Output; name: String; description: String; video: String; targets: String[]; } export interface ExcersisePromise extends Promise, Fragmentable { id: () => Promise; name: () => Promise; description: () => Promise; video: () => Promise; targets: () => Promise; } export interface ExcersiseSubscription extends Promise>, Fragmentable { id: () => Promise>; name: () => Promise>; description: () => Promise>; video: () => Promise>; targets: () => Promise>; } export interface ExcersiseNullablePromise extends Promise, Fragmentable { id: () => Promise; name: () => Promise; description: () => Promise; video: () => Promise; targets: () => Promise; } export interface BlockConnection { pageInfo: PageInfo; edges: BlockEdge[]; } export interface BlockConnectionPromise extends Promise, Fragmentable { pageInfo: () => T; edges: >() => T; aggregate: () => T; } export interface BlockConnectionSubscription extends Promise>, Fragmentable { pageInfo: () => T; edges: >>() => T; aggregate: () => T; } export interface PageInfo { hasNextPage: Boolean; hasPreviousPage: Boolean; startCursor?: String; endCursor?: String; } export interface PageInfoPromise extends Promise, Fragmentable { hasNextPage: () => Promise; hasPreviousPage: () => Promise; startCursor: () => Promise; endCursor: () => Promise; } export interface PageInfoSubscription extends Promise>, Fragmentable { hasNextPage: () => Promise>; hasPreviousPage: () => Promise>; startCursor: () => Promise>; endCursor: () => Promise>; } export interface BlockEdge { node: Block; cursor: String; } export interface BlockEdgePromise extends Promise, Fragmentable { node: () => T; cursor: () => Promise; } export interface BlockEdgeSubscription extends Promise>, Fragmentable { node: () => T; cursor: () => Promise>; } export interface AggregateBlock { count: Int; } export interface AggregateBlockPromise extends Promise, Fragmentable { count: () => Promise; } export interface AggregateBlockSubscription extends Promise>, Fragmentable { count: () => Promise>; } export interface Comment { id: ID_Output; text: String; createdAt: DateTimeOutput; } export interface CommentPromise extends Promise, Fragmentable { id: () => Promise; text: () => Promise; author: () => T; createdAt: () => Promise; } export interface CommentSubscription extends Promise>, Fragmentable { id: () => Promise>; text: () => Promise>; author: () => T; createdAt: () => Promise>; } export interface CommentNullablePromise extends Promise, Fragmentable { id: () => Promise; text: () => Promise; author: () => T; createdAt: () => Promise; } export interface User { id: ID_Output; email: String; name: String; password: String; createdAt: DateTimeOutput; permissions: Permission[]; interests: String[]; } export interface UserPromise extends Promise, Fragmentable { id: () => Promise; email: () => Promise; name: () => Promise; password: () => Promise; createdAt: () => Promise; comments: >(args?: { where?: CommentWhereInput; orderBy?: CommentOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => T; ratings: >(args?: { where?: RatingWhereInput; orderBy?: RatingOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => T; permissions: () => Promise; interests: () => Promise; } export interface UserSubscription extends Promise>, Fragmentable { id: () => Promise>; email: () => Promise>; name: () => Promise>; password: () => Promise>; createdAt: () => Promise>; comments: >>(args?: { where?: CommentWhereInput; orderBy?: CommentOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => T; ratings: >>(args?: { where?: RatingWhereInput; orderBy?: RatingOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => T; permissions: () => Promise>; interests: () => Promise>; } export interface UserNullablePromise extends Promise, Fragmentable { id: () => Promise; email: () => Promise; name: () => Promise; password: () => Promise; createdAt: () => Promise; comments: >(args?: { where?: CommentWhereInput; orderBy?: CommentOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => T; ratings: >(args?: { where?: RatingWhereInput; orderBy?: RatingOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => T; permissions: () => Promise; interests: () => Promise; } export interface Rating { id: ID_Output; value: Int; comment: String; createdAt: DateTimeOutput; } export interface RatingPromise extends Promise, Fragmentable { id: () => Promise; user: () => T; value: () => Promise; comment: () => Promise; createdAt: () => Promise; } export interface RatingSubscription extends Promise>, Fragmentable { id: () => Promise>; user: () => T; value: () => Promise>; comment: () => Promise>; createdAt: () => Promise>; } export interface RatingNullablePromise extends Promise, Fragmentable { id: () => Promise; user: () => T; value: () => Promise; comment: () => Promise; createdAt: () => Promise; } export interface CommentConnection { pageInfo: PageInfo; edges: CommentEdge[]; } export interface CommentConnectionPromise extends Promise, Fragmentable { pageInfo: () => T; edges: >() => T; aggregate: () => T; } export interface CommentConnectionSubscription extends Promise>, Fragmentable { pageInfo: () => T; edges: >>() => T; aggregate: () => T; } export interface CommentEdge { node: Comment; cursor: String; } export interface CommentEdgePromise extends Promise, Fragmentable { node: () => T; cursor: () => Promise; } export interface CommentEdgeSubscription extends Promise>, Fragmentable { node: () => T; cursor: () => Promise>; } export interface AggregateComment { count: Int; } export interface AggregateCommentPromise extends Promise, Fragmentable { count: () => Promise; } export interface AggregateCommentSubscription extends Promise>, Fragmentable { count: () => Promise>; } export interface ExcersiseConnection { pageInfo: PageInfo; edges: ExcersiseEdge[]; } export interface ExcersiseConnectionPromise extends Promise, Fragmentable { pageInfo: () => T; edges: >() => T; aggregate: () => T; } export interface ExcersiseConnectionSubscription extends Promise>, Fragmentable { pageInfo: () => T; edges: >>() => T; aggregate: () => T; } export interface ExcersiseEdge { node: Excersise; cursor: String; } export interface ExcersiseEdgePromise extends Promise, Fragmentable { node: () => T; cursor: () => Promise; } export interface ExcersiseEdgeSubscription extends Promise>, Fragmentable { node: () => T; cursor: () => Promise>; } export interface AggregateExcersise { count: Int; } export interface AggregateExcersisePromise extends Promise, Fragmentable { count: () => Promise; } export interface AggregateExcersiseSubscription extends Promise>, Fragmentable { count: () => Promise>; } export interface FormatConnection { pageInfo: PageInfo; edges: FormatEdge[]; } export interface FormatConnectionPromise extends Promise, Fragmentable { pageInfo: () => T; edges: >() => T; aggregate: () => T; } export interface FormatConnectionSubscription extends Promise>, Fragmentable { pageInfo: () => T; edges: >>() => T; aggregate: () => T; } export interface FormatEdge { node: Format; cursor: String; } export interface FormatEdgePromise extends Promise, Fragmentable { node: () => T; cursor: () => Promise; } export interface FormatEdgeSubscription extends Promise>, Fragmentable { node: () => T; cursor: () => Promise>; } export interface AggregateFormat { count: Int; } export interface AggregateFormatPromise extends Promise, Fragmentable { count: () => Promise; } export interface AggregateFormatSubscription extends Promise>, Fragmentable { count: () => Promise>; } export interface RatingConnection { pageInfo: PageInfo; edges: RatingEdge[]; } export interface RatingConnectionPromise extends Promise, Fragmentable { pageInfo: () => T; edges: >() => T; aggregate: () => T; } export interface RatingConnectionSubscription extends Promise>, Fragmentable { pageInfo: () => T; edges: >>() => T; aggregate: () => T; } export interface RatingEdge { node: Rating; cursor: String; } export interface RatingEdgePromise extends Promise, Fragmentable { node: () => T; cursor: () => Promise; } export interface RatingEdgeSubscription extends Promise>, Fragmentable { node: () => T; cursor: () => Promise>; } export interface AggregateRating { count: Int; } export interface AggregateRatingPromise extends Promise, Fragmentable { count: () => Promise; } export interface AggregateRatingSubscription extends Promise>, Fragmentable { count: () => Promise>; } export interface TrackConnection { pageInfo: PageInfo; edges: TrackEdge[]; } export interface TrackConnectionPromise extends Promise, Fragmentable { pageInfo: () => T; edges: >() => T; aggregate: () => T; } export interface TrackConnectionSubscription extends Promise>, Fragmentable { pageInfo: () => T; edges: >>() => T; aggregate: () => T; } export interface TrackEdge { node: Track; cursor: String; } export interface TrackEdgePromise extends Promise, Fragmentable { node: () => T; cursor: () => Promise; } export interface TrackEdgeSubscription extends Promise>, Fragmentable { node: () => T; cursor: () => Promise>; } export interface AggregateTrack { count: Int; } export interface AggregateTrackPromise extends Promise, Fragmentable { count: () => Promise; } export interface AggregateTrackSubscription extends Promise>, Fragmentable { count: () => Promise>; } export interface Training { id: ID_Output; title: String; createdAt: DateTimeOutput; trainingDate: DateTimeOutput; published: Boolean; } export interface TrainingPromise extends Promise, Fragmentable { id: () => Promise; title: () => Promise; type: () => T; content: >(args?: { where?: BlockWhereInput; orderBy?: BlockOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => T; createdAt: () => Promise; trainingDate: () => Promise; participants: >(args?: { where?: UserWhereInput; orderBy?: UserOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => T; ratings: >(args?: { where?: RatingWhereInput; orderBy?: RatingOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => T; published: () => Promise; } export interface TrainingSubscription extends Promise>, Fragmentable { id: () => Promise>; title: () => Promise>; type: () => T; content: >>(args?: { where?: BlockWhereInput; orderBy?: BlockOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => T; createdAt: () => Promise>; trainingDate: () => Promise>; participants: >>(args?: { where?: UserWhereInput; orderBy?: UserOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => T; ratings: >>(args?: { where?: RatingWhereInput; orderBy?: RatingOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => T; published: () => Promise>; } export interface TrainingNullablePromise extends Promise, Fragmentable { id: () => Promise; title: () => Promise; type: () => T; content: >(args?: { where?: BlockWhereInput; orderBy?: BlockOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => T; createdAt: () => Promise; trainingDate: () => Promise; participants: >(args?: { where?: UserWhereInput; orderBy?: UserOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => T; ratings: >(args?: { where?: RatingWhereInput; orderBy?: RatingOrderByInput; skip?: Int; after?: String; before?: String; first?: Int; last?: Int; }) => T; published: () => Promise; } export interface TrainingType { id: ID_Output; name: String; description: String; } export interface TrainingTypePromise extends Promise, Fragmentable { id: () => Promise; name: () => Promise; description: () => Promise; } export interface TrainingTypeSubscription extends Promise>, Fragmentable { id: () => Promise>; name: () => Promise>; description: () => Promise>; } export interface TrainingTypeNullablePromise extends Promise, Fragmentable { id: () => Promise; name: () => Promise; description: () => Promise; } export interface TrainingConnection { pageInfo: PageInfo; edges: TrainingEdge[]; } export interface TrainingConnectionPromise extends Promise, Fragmentable { pageInfo: () => T; edges: >() => T; aggregate: () => T; } export interface TrainingConnectionSubscription extends Promise>, Fragmentable { pageInfo: () => T; edges: >>() => T; aggregate: () => T; } export interface TrainingEdge { node: Training; cursor: String; } export interface TrainingEdgePromise extends Promise, Fragmentable { node: () => T; cursor: () => Promise; } export interface TrainingEdgeSubscription extends Promise>, Fragmentable { node: () => T; cursor: () => Promise>; } export interface AggregateTraining { count: Int; } export interface AggregateTrainingPromise extends Promise, Fragmentable { count: () => Promise; } export interface AggregateTrainingSubscription extends Promise>, Fragmentable { count: () => Promise>; } export interface TrainingTypeConnection { pageInfo: PageInfo; edges: TrainingTypeEdge[]; } export interface TrainingTypeConnectionPromise extends Promise, Fragmentable { pageInfo: () => T; edges: >() => T; aggregate: () => T; } export interface TrainingTypeConnectionSubscription extends Promise>, Fragmentable { pageInfo: () => T; edges: >>() => T; aggregate: () => T; } export interface TrainingTypeEdge { node: TrainingType; cursor: String; } export interface TrainingTypeEdgePromise extends Promise, Fragmentable { node: () => T; cursor: () => Promise; } export interface TrainingTypeEdgeSubscription extends Promise>, Fragmentable { node: () => T; cursor: () => Promise>; } export interface AggregateTrainingType { count: Int; } export interface AggregateTrainingTypePromise extends Promise, Fragmentable { count: () => Promise; } export interface AggregateTrainingTypeSubscription extends Promise>, Fragmentable { count: () => Promise>; } export interface UserConnection { pageInfo: PageInfo; edges: UserEdge[]; } export interface UserConnectionPromise extends Promise, Fragmentable { pageInfo: () => T; edges: >() => T; aggregate: () => T; } export interface UserConnectionSubscription extends Promise>, Fragmentable { pageInfo: () => T; edges: >>() => T; aggregate: () => T; } export interface UserEdge { node: User; cursor: String; } export interface UserEdgePromise extends Promise, Fragmentable { node: () => T; cursor: () => Promise; } export interface UserEdgeSubscription extends Promise>, Fragmentable { node: () => T; cursor: () => Promise>; } export interface AggregateUser { count: Int; } export interface AggregateUserPromise extends Promise, Fragmentable { count: () => Promise; } export interface AggregateUserSubscription extends Promise>, Fragmentable { count: () => Promise>; } export interface BatchPayload { count: Long; } export interface BatchPayloadPromise extends Promise, Fragmentable { count: () => Promise; } export interface BatchPayloadSubscription extends Promise>, Fragmentable { count: () => Promise>; } export interface BlockSubscriptionPayload { mutation: MutationType; node: Block; updatedFields: String[]; previousValues: BlockPreviousValues; } export interface BlockSubscriptionPayloadPromise extends Promise, Fragmentable { mutation: () => Promise; node: () => T; updatedFields: () => Promise; previousValues: () => T; } export interface BlockSubscriptionPayloadSubscription extends Promise>, Fragmentable { mutation: () => Promise>; node: () => T; updatedFields: () => Promise>; previousValues: () => T; } export interface BlockPreviousValues { id: ID_Output; sequence: Int; title: String; duration: Int; variation?: String; } export interface BlockPreviousValuesPromise extends Promise, Fragmentable { id: () => Promise; sequence: () => Promise; title: () => Promise; duration: () => Promise; variation: () => Promise; } export interface BlockPreviousValuesSubscription extends Promise>, Fragmentable { id: () => Promise>; sequence: () => Promise>; title: () => Promise>; duration: () => Promise>; variation: () => Promise>; } export interface CommentSubscriptionPayload { mutation: MutationType; node: Comment; updatedFields: String[]; previousValues: CommentPreviousValues; } export interface CommentSubscriptionPayloadPromise extends Promise, Fragmentable { mutation: () => Promise; node: () => T; updatedFields: () => Promise; previousValues: () => T; } export interface CommentSubscriptionPayloadSubscription extends Promise>, Fragmentable { mutation: () => Promise>; node: () => T; updatedFields: () => Promise>; previousValues: () => T; } export interface CommentPreviousValues { id: ID_Output; text: String; createdAt: DateTimeOutput; } export interface CommentPreviousValuesPromise extends Promise, Fragmentable { id: () => Promise; text: () => Promise; createdAt: () => Promise; } export interface CommentPreviousValuesSubscription extends Promise>, Fragmentable { id: () => Promise>; text: () => Promise>; createdAt: () => Promise>; } export interface ExcersiseSubscriptionPayload { mutation: MutationType; node: Excersise; updatedFields: String[]; previousValues: ExcersisePreviousValues; } export interface ExcersiseSubscriptionPayloadPromise extends Promise, Fragmentable { mutation: () => Promise; node: () => T; updatedFields: () => Promise; previousValues: () => T; } export interface ExcersiseSubscriptionPayloadSubscription extends Promise>, Fragmentable { mutation: () => Promise>; node: () => T; updatedFields: () => Promise>; previousValues: () => T; } export interface ExcersisePreviousValues { id: ID_Output; name: String; description: String; video: String; targets: String[]; } export interface ExcersisePreviousValuesPromise extends Promise, Fragmentable { id: () => Promise; name: () => Promise; description: () => Promise; video: () => Promise; targets: () => Promise; } export interface ExcersisePreviousValuesSubscription extends Promise>, Fragmentable { id: () => Promise>; name: () => Promise>; description: () => Promise>; video: () => Promise>; targets: () => Promise>; } export interface FormatSubscriptionPayload { mutation: MutationType; node: Format; updatedFields: String[]; previousValues: FormatPreviousValues; } export interface FormatSubscriptionPayloadPromise extends Promise, Fragmentable { mutation: () => Promise; node: () => T; updatedFields: () => Promise; previousValues: () => T; } export interface FormatSubscriptionPayloadSubscription extends Promise>, Fragmentable { mutation: () => Promise>; node: () => T; updatedFields: () => Promise>; previousValues: () => T; } export interface FormatPreviousValues { id: ID_Output; name: String; description: String; } export interface FormatPreviousValuesPromise extends Promise, Fragmentable { id: () => Promise; name: () => Promise; description: () => Promise; } export interface FormatPreviousValuesSubscription extends Promise>, Fragmentable { id: () => Promise>; name: () => Promise>; description: () => Promise>; } export interface RatingSubscriptionPayload { mutation: MutationType; node: Rating; updatedFields: String[]; previousValues: RatingPreviousValues; } export interface RatingSubscriptionPayloadPromise extends Promise, Fragmentable { mutation: () => Promise; node: () => T; updatedFields: () => Promise; previousValues: () => T; } export interface RatingSubscriptionPayloadSubscription extends Promise>, Fragmentable { mutation: () => Promise>; node: () => T; updatedFields: () => Promise>; previousValues: () => T; } export interface RatingPreviousValues { id: ID_Output; value: Int; comment: String; createdAt: DateTimeOutput; } export interface RatingPreviousValuesPromise extends Promise, Fragmentable { id: () => Promise; value: () => Promise; comment: () => Promise; createdAt: () => Promise; } export interface RatingPreviousValuesSubscription extends Promise>, Fragmentable { id: () => Promise>; value: () => Promise>; comment: () => Promise>; createdAt: () => Promise>; } export interface TrackSubscriptionPayload { mutation: MutationType; node: Track; updatedFields: String[]; previousValues: TrackPreviousValues; } export interface TrackSubscriptionPayloadPromise extends Promise, Fragmentable { mutation: () => Promise; node: () => T; updatedFields: () => Promise; previousValues: () => T; } export interface TrackSubscriptionPayloadSubscription extends Promise>, Fragmentable { mutation: () => Promise>; node: () => T; updatedFields: () => Promise>; previousValues: () => T; } export interface TrackPreviousValues { id: ID_Output; title: String; artist: String; duration: Int; link: String; } export interface TrackPreviousValuesPromise extends Promise, Fragmentable { id: () => Promise; title: () => Promise; artist: () => Promise; duration: () => Promise; link: () => Promise; } export interface TrackPreviousValuesSubscription extends Promise>, Fragmentable { id: () => Promise>; title: () => Promise>; artist: () => Promise>; duration: () => Promise>; link: () => Promise>; } export interface TrainingSubscriptionPayload { mutation: MutationType; node: Training; updatedFields: String[]; previousValues: TrainingPreviousValues; } export interface TrainingSubscriptionPayloadPromise extends Promise, Fragmentable { mutation: () => Promise; node: () => T; updatedFields: () => Promise; previousValues: () => T; } export interface TrainingSubscriptionPayloadSubscription extends Promise>, Fragmentable { mutation: () => Promise>; node: () => T; updatedFields: () => Promise>; previousValues: () => T; } export interface TrainingPreviousValues { id: ID_Output; title: String; createdAt: DateTimeOutput; trainingDate: DateTimeOutput; published: Boolean; } export interface TrainingPreviousValuesPromise extends Promise, Fragmentable { id: () => Promise; title: () => Promise; createdAt: () => Promise; trainingDate: () => Promise; published: () => Promise; } export interface TrainingPreviousValuesSubscription extends Promise>, Fragmentable { id: () => Promise>; title: () => Promise>; createdAt: () => Promise>; trainingDate: () => Promise>; published: () => Promise>; } export interface TrainingTypeSubscriptionPayload { mutation: MutationType; node: TrainingType; updatedFields: String[]; previousValues: TrainingTypePreviousValues; } export interface TrainingTypeSubscriptionPayloadPromise extends Promise, Fragmentable { mutation: () => Promise; node: () => T; updatedFields: () => Promise; previousValues: () => T; } export interface TrainingTypeSubscriptionPayloadSubscription extends Promise>, Fragmentable { mutation: () => Promise>; node: () => T; updatedFields: () => Promise>; previousValues: () => T; } export interface TrainingTypePreviousValues { id: ID_Output; name: String; description: String; } export interface TrainingTypePreviousValuesPromise extends Promise, Fragmentable { id: () => Promise; name: () => Promise; description: () => Promise; } export interface TrainingTypePreviousValuesSubscription extends Promise>, Fragmentable { id: () => Promise>; name: () => Promise>; description: () => Promise>; } export interface UserSubscriptionPayload { mutation: MutationType; node: User; updatedFields: String[]; previousValues: UserPreviousValues; } export interface UserSubscriptionPayloadPromise extends Promise, Fragmentable { mutation: () => Promise; node: () => T; updatedFields: () => Promise; previousValues: () => T; } export interface UserSubscriptionPayloadSubscription extends Promise>, Fragmentable { mutation: () => Promise>; node: () => T; updatedFields: () => Promise>; previousValues: () => T; } export interface UserPreviousValues { id: ID_Output; email: String; name: String; password: String; createdAt: DateTimeOutput; permissions: Permission[]; interests: String[]; } export interface UserPreviousValuesPromise extends Promise, Fragmentable { id: () => Promise; email: () => Promise; name: () => Promise; password: () => Promise; createdAt: () => Promise; permissions: () => Promise; interests: () => Promise; } export interface UserPreviousValuesSubscription extends Promise>, Fragmentable { id: () => Promise>; email: () => Promise>; name: () => Promise>; password: () => Promise>; createdAt: () => Promise>; permissions: () => Promise>; interests: () => Promise>; } /* The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID. */ export type ID_Input = string | number; export type ID_Output = string; /* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1. */ export type Int = number; /* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text. */ export type String = string; /* The `Boolean` scalar type represents `true` or `false`. */ export type Boolean = boolean; /* DateTime scalar input type, allowing Date */ export type DateTimeInput = Date | string; /* DateTime scalar output type, which is always a string */ export type DateTimeOutput = string; export type Long = string; /** * Model Metadata */ export const models: Model[] = [ { name: "User", embedded: false }, { name: "Permission", embedded: false }, { name: "Training", embedded: false }, { name: "TrainingType", embedded: false }, { name: "Block", embedded: false }, { name: "Format", embedded: false }, { name: "Track", embedded: false }, { name: "Excersise", embedded: false }, { name: "Rating", embedded: false }, { name: "Comment", embedded: false } ]; /** * Type Defs */ export const prisma: Prisma;