index.d.ts 126 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329
  1. // Code generated by Prisma (prisma@1.34.10). DO NOT EDIT.
  2. // Please don't change this file manually but run `prisma generate` to update it.
  3. // For more information, please read the docs: https://www.prisma.io/docs/prisma-client/
  4. import { DocumentNode } from "graphql";
  5. import {
  6. makePrismaClientClass,
  7. BaseClientOptions,
  8. Model
  9. } from "prisma-client-lib";
  10. import { typeDefs } from "./prisma-schema";
  11. export type AtLeastOne<T, U = { [K in keyof T]: Pick<T, K> }> = Partial<T> &
  12. U[keyof U];
  13. export type Maybe<T> = T | undefined | null;
  14. export interface Exists {
  15. baseExercise: (where?: BaseExerciseWhereInput) => Promise<boolean>;
  16. block: (where?: BlockWhereInput) => Promise<boolean>;
  17. comment: (where?: CommentWhereInput) => Promise<boolean>;
  18. exercise: (where?: ExerciseWhereInput) => Promise<boolean>;
  19. format: (where?: FormatWhereInput) => Promise<boolean>;
  20. rating: (where?: RatingWhereInput) => Promise<boolean>;
  21. track: (where?: TrackWhereInput) => Promise<boolean>;
  22. training: (where?: TrainingWhereInput) => Promise<boolean>;
  23. trainingType: (where?: TrainingTypeWhereInput) => Promise<boolean>;
  24. user: (where?: UserWhereInput) => Promise<boolean>;
  25. }
  26. export interface Node {}
  27. export type FragmentableArray<T> = Promise<Array<T>> & Fragmentable;
  28. export interface Fragmentable {
  29. $fragment<T>(fragment: string | DocumentNode): Promise<T>;
  30. }
  31. export interface Prisma {
  32. $exists: Exists;
  33. $graphql: <T = any>(
  34. query: string,
  35. variables?: { [key: string]: any }
  36. ) => Promise<T>;
  37. /**
  38. * Queries
  39. */
  40. baseExercise: (
  41. where: BaseExerciseWhereUniqueInput
  42. ) => BaseExerciseNullablePromise;
  43. baseExercises: (args?: {
  44. where?: BaseExerciseWhereInput;
  45. orderBy?: BaseExerciseOrderByInput;
  46. skip?: Int;
  47. after?: String;
  48. before?: String;
  49. first?: Int;
  50. last?: Int;
  51. }) => FragmentableArray<BaseExercise>;
  52. baseExercisesConnection: (args?: {
  53. where?: BaseExerciseWhereInput;
  54. orderBy?: BaseExerciseOrderByInput;
  55. skip?: Int;
  56. after?: String;
  57. before?: String;
  58. first?: Int;
  59. last?: Int;
  60. }) => BaseExerciseConnectionPromise;
  61. block: (where: BlockWhereUniqueInput) => BlockNullablePromise;
  62. blocks: (args?: {
  63. where?: BlockWhereInput;
  64. orderBy?: BlockOrderByInput;
  65. skip?: Int;
  66. after?: String;
  67. before?: String;
  68. first?: Int;
  69. last?: Int;
  70. }) => FragmentableArray<Block>;
  71. blocksConnection: (args?: {
  72. where?: BlockWhereInput;
  73. orderBy?: BlockOrderByInput;
  74. skip?: Int;
  75. after?: String;
  76. before?: String;
  77. first?: Int;
  78. last?: Int;
  79. }) => BlockConnectionPromise;
  80. comment: (where: CommentWhereUniqueInput) => CommentNullablePromise;
  81. comments: (args?: {
  82. where?: CommentWhereInput;
  83. orderBy?: CommentOrderByInput;
  84. skip?: Int;
  85. after?: String;
  86. before?: String;
  87. first?: Int;
  88. last?: Int;
  89. }) => FragmentableArray<Comment>;
  90. commentsConnection: (args?: {
  91. where?: CommentWhereInput;
  92. orderBy?: CommentOrderByInput;
  93. skip?: Int;
  94. after?: String;
  95. before?: String;
  96. first?: Int;
  97. last?: Int;
  98. }) => CommentConnectionPromise;
  99. exercise: (where: ExerciseWhereUniqueInput) => ExerciseNullablePromise;
  100. exercises: (args?: {
  101. where?: ExerciseWhereInput;
  102. orderBy?: ExerciseOrderByInput;
  103. skip?: Int;
  104. after?: String;
  105. before?: String;
  106. first?: Int;
  107. last?: Int;
  108. }) => FragmentableArray<Exercise>;
  109. exercisesConnection: (args?: {
  110. where?: ExerciseWhereInput;
  111. orderBy?: ExerciseOrderByInput;
  112. skip?: Int;
  113. after?: String;
  114. before?: String;
  115. first?: Int;
  116. last?: Int;
  117. }) => ExerciseConnectionPromise;
  118. format: (where: FormatWhereUniqueInput) => FormatNullablePromise;
  119. formats: (args?: {
  120. where?: FormatWhereInput;
  121. orderBy?: FormatOrderByInput;
  122. skip?: Int;
  123. after?: String;
  124. before?: String;
  125. first?: Int;
  126. last?: Int;
  127. }) => FragmentableArray<Format>;
  128. formatsConnection: (args?: {
  129. where?: FormatWhereInput;
  130. orderBy?: FormatOrderByInput;
  131. skip?: Int;
  132. after?: String;
  133. before?: String;
  134. first?: Int;
  135. last?: Int;
  136. }) => FormatConnectionPromise;
  137. rating: (where: RatingWhereUniqueInput) => RatingNullablePromise;
  138. ratings: (args?: {
  139. where?: RatingWhereInput;
  140. orderBy?: RatingOrderByInput;
  141. skip?: Int;
  142. after?: String;
  143. before?: String;
  144. first?: Int;
  145. last?: Int;
  146. }) => FragmentableArray<Rating>;
  147. ratingsConnection: (args?: {
  148. where?: RatingWhereInput;
  149. orderBy?: RatingOrderByInput;
  150. skip?: Int;
  151. after?: String;
  152. before?: String;
  153. first?: Int;
  154. last?: Int;
  155. }) => RatingConnectionPromise;
  156. track: (where: TrackWhereUniqueInput) => TrackNullablePromise;
  157. tracks: (args?: {
  158. where?: TrackWhereInput;
  159. orderBy?: TrackOrderByInput;
  160. skip?: Int;
  161. after?: String;
  162. before?: String;
  163. first?: Int;
  164. last?: Int;
  165. }) => FragmentableArray<Track>;
  166. tracksConnection: (args?: {
  167. where?: TrackWhereInput;
  168. orderBy?: TrackOrderByInput;
  169. skip?: Int;
  170. after?: String;
  171. before?: String;
  172. first?: Int;
  173. last?: Int;
  174. }) => TrackConnectionPromise;
  175. training: (where: TrainingWhereUniqueInput) => TrainingNullablePromise;
  176. trainings: (args?: {
  177. where?: TrainingWhereInput;
  178. orderBy?: TrainingOrderByInput;
  179. skip?: Int;
  180. after?: String;
  181. before?: String;
  182. first?: Int;
  183. last?: Int;
  184. }) => FragmentableArray<Training>;
  185. trainingsConnection: (args?: {
  186. where?: TrainingWhereInput;
  187. orderBy?: TrainingOrderByInput;
  188. skip?: Int;
  189. after?: String;
  190. before?: String;
  191. first?: Int;
  192. last?: Int;
  193. }) => TrainingConnectionPromise;
  194. trainingType: (
  195. where: TrainingTypeWhereUniqueInput
  196. ) => TrainingTypeNullablePromise;
  197. trainingTypes: (args?: {
  198. where?: TrainingTypeWhereInput;
  199. orderBy?: TrainingTypeOrderByInput;
  200. skip?: Int;
  201. after?: String;
  202. before?: String;
  203. first?: Int;
  204. last?: Int;
  205. }) => FragmentableArray<TrainingType>;
  206. trainingTypesConnection: (args?: {
  207. where?: TrainingTypeWhereInput;
  208. orderBy?: TrainingTypeOrderByInput;
  209. skip?: Int;
  210. after?: String;
  211. before?: String;
  212. first?: Int;
  213. last?: Int;
  214. }) => TrainingTypeConnectionPromise;
  215. user: (where: UserWhereUniqueInput) => UserNullablePromise;
  216. users: (args?: {
  217. where?: UserWhereInput;
  218. orderBy?: UserOrderByInput;
  219. skip?: Int;
  220. after?: String;
  221. before?: String;
  222. first?: Int;
  223. last?: Int;
  224. }) => FragmentableArray<User>;
  225. usersConnection: (args?: {
  226. where?: UserWhereInput;
  227. orderBy?: UserOrderByInput;
  228. skip?: Int;
  229. after?: String;
  230. before?: String;
  231. first?: Int;
  232. last?: Int;
  233. }) => UserConnectionPromise;
  234. node: (args: { id: ID_Output }) => Node;
  235. /**
  236. * Mutations
  237. */
  238. createBaseExercise: (data: BaseExerciseCreateInput) => BaseExercisePromise;
  239. updateBaseExercise: (args: {
  240. data: BaseExerciseUpdateInput;
  241. where: BaseExerciseWhereUniqueInput;
  242. }) => BaseExercisePromise;
  243. updateManyBaseExercises: (args: {
  244. data: BaseExerciseUpdateManyMutationInput;
  245. where?: BaseExerciseWhereInput;
  246. }) => BatchPayloadPromise;
  247. upsertBaseExercise: (args: {
  248. where: BaseExerciseWhereUniqueInput;
  249. create: BaseExerciseCreateInput;
  250. update: BaseExerciseUpdateInput;
  251. }) => BaseExercisePromise;
  252. deleteBaseExercise: (
  253. where: BaseExerciseWhereUniqueInput
  254. ) => BaseExercisePromise;
  255. deleteManyBaseExercises: (
  256. where?: BaseExerciseWhereInput
  257. ) => BatchPayloadPromise;
  258. createBlock: (data: BlockCreateInput) => BlockPromise;
  259. updateBlock: (args: {
  260. data: BlockUpdateInput;
  261. where: BlockWhereUniqueInput;
  262. }) => BlockPromise;
  263. updateManyBlocks: (args: {
  264. data: BlockUpdateManyMutationInput;
  265. where?: BlockWhereInput;
  266. }) => BatchPayloadPromise;
  267. upsertBlock: (args: {
  268. where: BlockWhereUniqueInput;
  269. create: BlockCreateInput;
  270. update: BlockUpdateInput;
  271. }) => BlockPromise;
  272. deleteBlock: (where: BlockWhereUniqueInput) => BlockPromise;
  273. deleteManyBlocks: (where?: BlockWhereInput) => BatchPayloadPromise;
  274. createComment: (data: CommentCreateInput) => CommentPromise;
  275. updateComment: (args: {
  276. data: CommentUpdateInput;
  277. where: CommentWhereUniqueInput;
  278. }) => CommentPromise;
  279. updateManyComments: (args: {
  280. data: CommentUpdateManyMutationInput;
  281. where?: CommentWhereInput;
  282. }) => BatchPayloadPromise;
  283. upsertComment: (args: {
  284. where: CommentWhereUniqueInput;
  285. create: CommentCreateInput;
  286. update: CommentUpdateInput;
  287. }) => CommentPromise;
  288. deleteComment: (where: CommentWhereUniqueInput) => CommentPromise;
  289. deleteManyComments: (where?: CommentWhereInput) => BatchPayloadPromise;
  290. createExercise: (data: ExerciseCreateInput) => ExercisePromise;
  291. updateExercise: (args: {
  292. data: ExerciseUpdateInput;
  293. where: ExerciseWhereUniqueInput;
  294. }) => ExercisePromise;
  295. updateManyExercises: (args: {
  296. data: ExerciseUpdateManyMutationInput;
  297. where?: ExerciseWhereInput;
  298. }) => BatchPayloadPromise;
  299. upsertExercise: (args: {
  300. where: ExerciseWhereUniqueInput;
  301. create: ExerciseCreateInput;
  302. update: ExerciseUpdateInput;
  303. }) => ExercisePromise;
  304. deleteExercise: (where: ExerciseWhereUniqueInput) => ExercisePromise;
  305. deleteManyExercises: (where?: ExerciseWhereInput) => BatchPayloadPromise;
  306. createFormat: (data: FormatCreateInput) => FormatPromise;
  307. updateFormat: (args: {
  308. data: FormatUpdateInput;
  309. where: FormatWhereUniqueInput;
  310. }) => FormatPromise;
  311. updateManyFormats: (args: {
  312. data: FormatUpdateManyMutationInput;
  313. where?: FormatWhereInput;
  314. }) => BatchPayloadPromise;
  315. upsertFormat: (args: {
  316. where: FormatWhereUniqueInput;
  317. create: FormatCreateInput;
  318. update: FormatUpdateInput;
  319. }) => FormatPromise;
  320. deleteFormat: (where: FormatWhereUniqueInput) => FormatPromise;
  321. deleteManyFormats: (where?: FormatWhereInput) => BatchPayloadPromise;
  322. createRating: (data: RatingCreateInput) => RatingPromise;
  323. updateRating: (args: {
  324. data: RatingUpdateInput;
  325. where: RatingWhereUniqueInput;
  326. }) => RatingPromise;
  327. updateManyRatings: (args: {
  328. data: RatingUpdateManyMutationInput;
  329. where?: RatingWhereInput;
  330. }) => BatchPayloadPromise;
  331. upsertRating: (args: {
  332. where: RatingWhereUniqueInput;
  333. create: RatingCreateInput;
  334. update: RatingUpdateInput;
  335. }) => RatingPromise;
  336. deleteRating: (where: RatingWhereUniqueInput) => RatingPromise;
  337. deleteManyRatings: (where?: RatingWhereInput) => BatchPayloadPromise;
  338. createTrack: (data: TrackCreateInput) => TrackPromise;
  339. updateTrack: (args: {
  340. data: TrackUpdateInput;
  341. where: TrackWhereUniqueInput;
  342. }) => TrackPromise;
  343. updateManyTracks: (args: {
  344. data: TrackUpdateManyMutationInput;
  345. where?: TrackWhereInput;
  346. }) => BatchPayloadPromise;
  347. upsertTrack: (args: {
  348. where: TrackWhereUniqueInput;
  349. create: TrackCreateInput;
  350. update: TrackUpdateInput;
  351. }) => TrackPromise;
  352. deleteTrack: (where: TrackWhereUniqueInput) => TrackPromise;
  353. deleteManyTracks: (where?: TrackWhereInput) => BatchPayloadPromise;
  354. createTraining: (data: TrainingCreateInput) => TrainingPromise;
  355. updateTraining: (args: {
  356. data: TrainingUpdateInput;
  357. where: TrainingWhereUniqueInput;
  358. }) => TrainingPromise;
  359. updateManyTrainings: (args: {
  360. data: TrainingUpdateManyMutationInput;
  361. where?: TrainingWhereInput;
  362. }) => BatchPayloadPromise;
  363. upsertTraining: (args: {
  364. where: TrainingWhereUniqueInput;
  365. create: TrainingCreateInput;
  366. update: TrainingUpdateInput;
  367. }) => TrainingPromise;
  368. deleteTraining: (where: TrainingWhereUniqueInput) => TrainingPromise;
  369. deleteManyTrainings: (where?: TrainingWhereInput) => BatchPayloadPromise;
  370. createTrainingType: (data: TrainingTypeCreateInput) => TrainingTypePromise;
  371. updateTrainingType: (args: {
  372. data: TrainingTypeUpdateInput;
  373. where: TrainingTypeWhereUniqueInput;
  374. }) => TrainingTypePromise;
  375. updateManyTrainingTypes: (args: {
  376. data: TrainingTypeUpdateManyMutationInput;
  377. where?: TrainingTypeWhereInput;
  378. }) => BatchPayloadPromise;
  379. upsertTrainingType: (args: {
  380. where: TrainingTypeWhereUniqueInput;
  381. create: TrainingTypeCreateInput;
  382. update: TrainingTypeUpdateInput;
  383. }) => TrainingTypePromise;
  384. deleteTrainingType: (
  385. where: TrainingTypeWhereUniqueInput
  386. ) => TrainingTypePromise;
  387. deleteManyTrainingTypes: (
  388. where?: TrainingTypeWhereInput
  389. ) => BatchPayloadPromise;
  390. createUser: (data: UserCreateInput) => UserPromise;
  391. updateUser: (args: {
  392. data: UserUpdateInput;
  393. where: UserWhereUniqueInput;
  394. }) => UserPromise;
  395. updateManyUsers: (args: {
  396. data: UserUpdateManyMutationInput;
  397. where?: UserWhereInput;
  398. }) => BatchPayloadPromise;
  399. upsertUser: (args: {
  400. where: UserWhereUniqueInput;
  401. create: UserCreateInput;
  402. update: UserUpdateInput;
  403. }) => UserPromise;
  404. deleteUser: (where: UserWhereUniqueInput) => UserPromise;
  405. deleteManyUsers: (where?: UserWhereInput) => BatchPayloadPromise;
  406. /**
  407. * Subscriptions
  408. */
  409. $subscribe: Subscription;
  410. }
  411. export interface Subscription {
  412. baseExercise: (
  413. where?: BaseExerciseSubscriptionWhereInput
  414. ) => BaseExerciseSubscriptionPayloadSubscription;
  415. block: (
  416. where?: BlockSubscriptionWhereInput
  417. ) => BlockSubscriptionPayloadSubscription;
  418. comment: (
  419. where?: CommentSubscriptionWhereInput
  420. ) => CommentSubscriptionPayloadSubscription;
  421. exercise: (
  422. where?: ExerciseSubscriptionWhereInput
  423. ) => ExerciseSubscriptionPayloadSubscription;
  424. format: (
  425. where?: FormatSubscriptionWhereInput
  426. ) => FormatSubscriptionPayloadSubscription;
  427. rating: (
  428. where?: RatingSubscriptionWhereInput
  429. ) => RatingSubscriptionPayloadSubscription;
  430. track: (
  431. where?: TrackSubscriptionWhereInput
  432. ) => TrackSubscriptionPayloadSubscription;
  433. training: (
  434. where?: TrainingSubscriptionWhereInput
  435. ) => TrainingSubscriptionPayloadSubscription;
  436. trainingType: (
  437. where?: TrainingTypeSubscriptionWhereInput
  438. ) => TrainingTypeSubscriptionPayloadSubscription;
  439. user: (
  440. where?: UserSubscriptionWhereInput
  441. ) => UserSubscriptionPayloadSubscription;
  442. }
  443. export interface ClientConstructor<T> {
  444. new (options?: BaseClientOptions): T;
  445. }
  446. /**
  447. * Types
  448. */
  449. export type ExerciseOrderByInput =
  450. | "id_ASC"
  451. | "id_DESC"
  452. | "name_ASC"
  453. | "name_DESC"
  454. | "description_ASC"
  455. | "description_DESC"
  456. | "video_ASC"
  457. | "video_DESC";
  458. export type BaseExerciseOrderByInput =
  459. | "id_ASC"
  460. | "id_DESC"
  461. | "name_ASC"
  462. | "name_DESC";
  463. export type TrackOrderByInput =
  464. | "id_ASC"
  465. | "id_DESC"
  466. | "title_ASC"
  467. | "title_DESC"
  468. | "artist_ASC"
  469. | "artist_DESC"
  470. | "duration_ASC"
  471. | "duration_DESC"
  472. | "link_ASC"
  473. | "link_DESC";
  474. export type BlockOrderByInput =
  475. | "id_ASC"
  476. | "id_DESC"
  477. | "sequence_ASC"
  478. | "sequence_DESC"
  479. | "title_ASC"
  480. | "title_DESC"
  481. | "duration_ASC"
  482. | "duration_DESC"
  483. | "variation_ASC"
  484. | "variation_DESC"
  485. | "description_ASC"
  486. | "description_DESC";
  487. export type CommentOrderByInput =
  488. | "id_ASC"
  489. | "id_DESC"
  490. | "text_ASC"
  491. | "text_DESC"
  492. | "createdAt_ASC"
  493. | "createdAt_DESC";
  494. export type RatingOrderByInput =
  495. | "id_ASC"
  496. | "id_DESC"
  497. | "value_ASC"
  498. | "value_DESC"
  499. | "comment_ASC"
  500. | "comment_DESC"
  501. | "createdAt_ASC"
  502. | "createdAt_DESC";
  503. export type Permission = "ADMIN" | "INSTRUCTOR" | "USER";
  504. export type FormatOrderByInput =
  505. | "id_ASC"
  506. | "id_DESC"
  507. | "name_ASC"
  508. | "name_DESC"
  509. | "description_ASC"
  510. | "description_DESC";
  511. export type UserOrderByInput =
  512. | "id_ASC"
  513. | "id_DESC"
  514. | "email_ASC"
  515. | "email_DESC"
  516. | "name_ASC"
  517. | "name_DESC"
  518. | "password_ASC"
  519. | "password_DESC"
  520. | "createdAt_ASC"
  521. | "createdAt_DESC";
  522. export type TrainingOrderByInput =
  523. | "id_ASC"
  524. | "id_DESC"
  525. | "title_ASC"
  526. | "title_DESC"
  527. | "createdAt_ASC"
  528. | "createdAt_DESC"
  529. | "trainingDate_ASC"
  530. | "trainingDate_DESC"
  531. | "location_ASC"
  532. | "location_DESC"
  533. | "attendance_ASC"
  534. | "attendance_DESC"
  535. | "published_ASC"
  536. | "published_DESC";
  537. export type TrainingTypeOrderByInput =
  538. | "id_ASC"
  539. | "id_DESC"
  540. | "name_ASC"
  541. | "name_DESC"
  542. | "description_ASC"
  543. | "description_DESC";
  544. export type MutationType = "CREATED" | "UPDATED" | "DELETED";
  545. export type BaseExerciseWhereUniqueInput = AtLeastOne<{
  546. id: Maybe<ID_Input>;
  547. }>;
  548. export interface ExerciseWhereInput {
  549. id?: Maybe<ID_Input>;
  550. id_not?: Maybe<ID_Input>;
  551. id_in?: Maybe<ID_Input[] | ID_Input>;
  552. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  553. id_lt?: Maybe<ID_Input>;
  554. id_lte?: Maybe<ID_Input>;
  555. id_gt?: Maybe<ID_Input>;
  556. id_gte?: Maybe<ID_Input>;
  557. id_contains?: Maybe<ID_Input>;
  558. id_not_contains?: Maybe<ID_Input>;
  559. id_starts_with?: Maybe<ID_Input>;
  560. id_not_starts_with?: Maybe<ID_Input>;
  561. id_ends_with?: Maybe<ID_Input>;
  562. id_not_ends_with?: Maybe<ID_Input>;
  563. name?: Maybe<String>;
  564. name_not?: Maybe<String>;
  565. name_in?: Maybe<String[] | String>;
  566. name_not_in?: Maybe<String[] | String>;
  567. name_lt?: Maybe<String>;
  568. name_lte?: Maybe<String>;
  569. name_gt?: Maybe<String>;
  570. name_gte?: Maybe<String>;
  571. name_contains?: Maybe<String>;
  572. name_not_contains?: Maybe<String>;
  573. name_starts_with?: Maybe<String>;
  574. name_not_starts_with?: Maybe<String>;
  575. name_ends_with?: Maybe<String>;
  576. name_not_ends_with?: Maybe<String>;
  577. description?: Maybe<String>;
  578. description_not?: Maybe<String>;
  579. description_in?: Maybe<String[] | String>;
  580. description_not_in?: Maybe<String[] | String>;
  581. description_lt?: Maybe<String>;
  582. description_lte?: Maybe<String>;
  583. description_gt?: Maybe<String>;
  584. description_gte?: Maybe<String>;
  585. description_contains?: Maybe<String>;
  586. description_not_contains?: Maybe<String>;
  587. description_starts_with?: Maybe<String>;
  588. description_not_starts_with?: Maybe<String>;
  589. description_ends_with?: Maybe<String>;
  590. description_not_ends_with?: Maybe<String>;
  591. video?: Maybe<String>;
  592. video_not?: Maybe<String>;
  593. video_in?: Maybe<String[] | String>;
  594. video_not_in?: Maybe<String[] | String>;
  595. video_lt?: Maybe<String>;
  596. video_lte?: Maybe<String>;
  597. video_gt?: Maybe<String>;
  598. video_gte?: Maybe<String>;
  599. video_contains?: Maybe<String>;
  600. video_not_contains?: Maybe<String>;
  601. video_starts_with?: Maybe<String>;
  602. video_not_starts_with?: Maybe<String>;
  603. video_ends_with?: Maybe<String>;
  604. video_not_ends_with?: Maybe<String>;
  605. baseExercise?: Maybe<BaseExerciseWhereInput>;
  606. AND?: Maybe<ExerciseWhereInput[] | ExerciseWhereInput>;
  607. OR?: Maybe<ExerciseWhereInput[] | ExerciseWhereInput>;
  608. NOT?: Maybe<ExerciseWhereInput[] | ExerciseWhereInput>;
  609. }
  610. export interface BaseExerciseWhereInput {
  611. id?: Maybe<ID_Input>;
  612. id_not?: Maybe<ID_Input>;
  613. id_in?: Maybe<ID_Input[] | ID_Input>;
  614. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  615. id_lt?: Maybe<ID_Input>;
  616. id_lte?: Maybe<ID_Input>;
  617. id_gt?: Maybe<ID_Input>;
  618. id_gte?: Maybe<ID_Input>;
  619. id_contains?: Maybe<ID_Input>;
  620. id_not_contains?: Maybe<ID_Input>;
  621. id_starts_with?: Maybe<ID_Input>;
  622. id_not_starts_with?: Maybe<ID_Input>;
  623. id_ends_with?: Maybe<ID_Input>;
  624. id_not_ends_with?: Maybe<ID_Input>;
  625. name?: Maybe<String>;
  626. name_not?: Maybe<String>;
  627. name_in?: Maybe<String[] | String>;
  628. name_not_in?: Maybe<String[] | String>;
  629. name_lt?: Maybe<String>;
  630. name_lte?: Maybe<String>;
  631. name_gt?: Maybe<String>;
  632. name_gte?: Maybe<String>;
  633. name_contains?: Maybe<String>;
  634. name_not_contains?: Maybe<String>;
  635. name_starts_with?: Maybe<String>;
  636. name_not_starts_with?: Maybe<String>;
  637. name_ends_with?: Maybe<String>;
  638. name_not_ends_with?: Maybe<String>;
  639. variations_every?: Maybe<ExerciseWhereInput>;
  640. variations_some?: Maybe<ExerciseWhereInput>;
  641. variations_none?: Maybe<ExerciseWhereInput>;
  642. AND?: Maybe<BaseExerciseWhereInput[] | BaseExerciseWhereInput>;
  643. OR?: Maybe<BaseExerciseWhereInput[] | BaseExerciseWhereInput>;
  644. NOT?: Maybe<BaseExerciseWhereInput[] | BaseExerciseWhereInput>;
  645. }
  646. export type BlockWhereUniqueInput = AtLeastOne<{
  647. id: Maybe<ID_Input>;
  648. }>;
  649. export interface TrackWhereInput {
  650. id?: Maybe<ID_Input>;
  651. id_not?: Maybe<ID_Input>;
  652. id_in?: Maybe<ID_Input[] | ID_Input>;
  653. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  654. id_lt?: Maybe<ID_Input>;
  655. id_lte?: Maybe<ID_Input>;
  656. id_gt?: Maybe<ID_Input>;
  657. id_gte?: Maybe<ID_Input>;
  658. id_contains?: Maybe<ID_Input>;
  659. id_not_contains?: Maybe<ID_Input>;
  660. id_starts_with?: Maybe<ID_Input>;
  661. id_not_starts_with?: Maybe<ID_Input>;
  662. id_ends_with?: Maybe<ID_Input>;
  663. id_not_ends_with?: Maybe<ID_Input>;
  664. title?: Maybe<String>;
  665. title_not?: Maybe<String>;
  666. title_in?: Maybe<String[] | String>;
  667. title_not_in?: Maybe<String[] | String>;
  668. title_lt?: Maybe<String>;
  669. title_lte?: Maybe<String>;
  670. title_gt?: Maybe<String>;
  671. title_gte?: Maybe<String>;
  672. title_contains?: Maybe<String>;
  673. title_not_contains?: Maybe<String>;
  674. title_starts_with?: Maybe<String>;
  675. title_not_starts_with?: Maybe<String>;
  676. title_ends_with?: Maybe<String>;
  677. title_not_ends_with?: Maybe<String>;
  678. artist?: Maybe<String>;
  679. artist_not?: Maybe<String>;
  680. artist_in?: Maybe<String[] | String>;
  681. artist_not_in?: Maybe<String[] | String>;
  682. artist_lt?: Maybe<String>;
  683. artist_lte?: Maybe<String>;
  684. artist_gt?: Maybe<String>;
  685. artist_gte?: Maybe<String>;
  686. artist_contains?: Maybe<String>;
  687. artist_not_contains?: Maybe<String>;
  688. artist_starts_with?: Maybe<String>;
  689. artist_not_starts_with?: Maybe<String>;
  690. artist_ends_with?: Maybe<String>;
  691. artist_not_ends_with?: Maybe<String>;
  692. duration?: Maybe<Int>;
  693. duration_not?: Maybe<Int>;
  694. duration_in?: Maybe<Int[] | Int>;
  695. duration_not_in?: Maybe<Int[] | Int>;
  696. duration_lt?: Maybe<Int>;
  697. duration_lte?: Maybe<Int>;
  698. duration_gt?: Maybe<Int>;
  699. duration_gte?: Maybe<Int>;
  700. link?: Maybe<String>;
  701. link_not?: Maybe<String>;
  702. link_in?: Maybe<String[] | String>;
  703. link_not_in?: Maybe<String[] | String>;
  704. link_lt?: Maybe<String>;
  705. link_lte?: Maybe<String>;
  706. link_gt?: Maybe<String>;
  707. link_gte?: Maybe<String>;
  708. link_contains?: Maybe<String>;
  709. link_not_contains?: Maybe<String>;
  710. link_starts_with?: Maybe<String>;
  711. link_not_starts_with?: Maybe<String>;
  712. link_ends_with?: Maybe<String>;
  713. link_not_ends_with?: Maybe<String>;
  714. AND?: Maybe<TrackWhereInput[] | TrackWhereInput>;
  715. OR?: Maybe<TrackWhereInput[] | TrackWhereInput>;
  716. NOT?: Maybe<TrackWhereInput[] | TrackWhereInput>;
  717. }
  718. export interface BlockWhereInput {
  719. id?: Maybe<ID_Input>;
  720. id_not?: Maybe<ID_Input>;
  721. id_in?: Maybe<ID_Input[] | ID_Input>;
  722. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  723. id_lt?: Maybe<ID_Input>;
  724. id_lte?: Maybe<ID_Input>;
  725. id_gt?: Maybe<ID_Input>;
  726. id_gte?: Maybe<ID_Input>;
  727. id_contains?: Maybe<ID_Input>;
  728. id_not_contains?: Maybe<ID_Input>;
  729. id_starts_with?: Maybe<ID_Input>;
  730. id_not_starts_with?: Maybe<ID_Input>;
  731. id_ends_with?: Maybe<ID_Input>;
  732. id_not_ends_with?: Maybe<ID_Input>;
  733. sequence?: Maybe<Int>;
  734. sequence_not?: Maybe<Int>;
  735. sequence_in?: Maybe<Int[] | Int>;
  736. sequence_not_in?: Maybe<Int[] | Int>;
  737. sequence_lt?: Maybe<Int>;
  738. sequence_lte?: Maybe<Int>;
  739. sequence_gt?: Maybe<Int>;
  740. sequence_gte?: Maybe<Int>;
  741. title?: Maybe<String>;
  742. title_not?: Maybe<String>;
  743. title_in?: Maybe<String[] | String>;
  744. title_not_in?: Maybe<String[] | String>;
  745. title_lt?: Maybe<String>;
  746. title_lte?: Maybe<String>;
  747. title_gt?: Maybe<String>;
  748. title_gte?: Maybe<String>;
  749. title_contains?: Maybe<String>;
  750. title_not_contains?: Maybe<String>;
  751. title_starts_with?: Maybe<String>;
  752. title_not_starts_with?: Maybe<String>;
  753. title_ends_with?: Maybe<String>;
  754. title_not_ends_with?: Maybe<String>;
  755. duration?: Maybe<Int>;
  756. duration_not?: Maybe<Int>;
  757. duration_in?: Maybe<Int[] | Int>;
  758. duration_not_in?: Maybe<Int[] | Int>;
  759. duration_lt?: Maybe<Int>;
  760. duration_lte?: Maybe<Int>;
  761. duration_gt?: Maybe<Int>;
  762. duration_gte?: Maybe<Int>;
  763. variation?: Maybe<String>;
  764. variation_not?: Maybe<String>;
  765. variation_in?: Maybe<String[] | String>;
  766. variation_not_in?: Maybe<String[] | String>;
  767. variation_lt?: Maybe<String>;
  768. variation_lte?: Maybe<String>;
  769. variation_gt?: Maybe<String>;
  770. variation_gte?: Maybe<String>;
  771. variation_contains?: Maybe<String>;
  772. variation_not_contains?: Maybe<String>;
  773. variation_starts_with?: Maybe<String>;
  774. variation_not_starts_with?: Maybe<String>;
  775. variation_ends_with?: Maybe<String>;
  776. variation_not_ends_with?: Maybe<String>;
  777. format?: Maybe<FormatWhereInput>;
  778. tracks_every?: Maybe<TrackWhereInput>;
  779. tracks_some?: Maybe<TrackWhereInput>;
  780. tracks_none?: Maybe<TrackWhereInput>;
  781. exercises_every?: Maybe<ExerciseWhereInput>;
  782. exercises_some?: Maybe<ExerciseWhereInput>;
  783. exercises_none?: Maybe<ExerciseWhereInput>;
  784. description?: Maybe<String>;
  785. description_not?: Maybe<String>;
  786. description_in?: Maybe<String[] | String>;
  787. description_not_in?: Maybe<String[] | String>;
  788. description_lt?: Maybe<String>;
  789. description_lte?: Maybe<String>;
  790. description_gt?: Maybe<String>;
  791. description_gte?: Maybe<String>;
  792. description_contains?: Maybe<String>;
  793. description_not_contains?: Maybe<String>;
  794. description_starts_with?: Maybe<String>;
  795. description_not_starts_with?: Maybe<String>;
  796. description_ends_with?: Maybe<String>;
  797. description_not_ends_with?: Maybe<String>;
  798. AND?: Maybe<BlockWhereInput[] | BlockWhereInput>;
  799. OR?: Maybe<BlockWhereInput[] | BlockWhereInput>;
  800. NOT?: Maybe<BlockWhereInput[] | BlockWhereInput>;
  801. }
  802. export interface FormatWhereInput {
  803. id?: Maybe<ID_Input>;
  804. id_not?: Maybe<ID_Input>;
  805. id_in?: Maybe<ID_Input[] | ID_Input>;
  806. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  807. id_lt?: Maybe<ID_Input>;
  808. id_lte?: Maybe<ID_Input>;
  809. id_gt?: Maybe<ID_Input>;
  810. id_gte?: Maybe<ID_Input>;
  811. id_contains?: Maybe<ID_Input>;
  812. id_not_contains?: Maybe<ID_Input>;
  813. id_starts_with?: Maybe<ID_Input>;
  814. id_not_starts_with?: Maybe<ID_Input>;
  815. id_ends_with?: Maybe<ID_Input>;
  816. id_not_ends_with?: Maybe<ID_Input>;
  817. name?: Maybe<String>;
  818. name_not?: Maybe<String>;
  819. name_in?: Maybe<String[] | String>;
  820. name_not_in?: Maybe<String[] | String>;
  821. name_lt?: Maybe<String>;
  822. name_lte?: Maybe<String>;
  823. name_gt?: Maybe<String>;
  824. name_gte?: Maybe<String>;
  825. name_contains?: Maybe<String>;
  826. name_not_contains?: Maybe<String>;
  827. name_starts_with?: Maybe<String>;
  828. name_not_starts_with?: Maybe<String>;
  829. name_ends_with?: Maybe<String>;
  830. name_not_ends_with?: Maybe<String>;
  831. description?: Maybe<String>;
  832. description_not?: Maybe<String>;
  833. description_in?: Maybe<String[] | String>;
  834. description_not_in?: Maybe<String[] | String>;
  835. description_lt?: Maybe<String>;
  836. description_lte?: Maybe<String>;
  837. description_gt?: Maybe<String>;
  838. description_gte?: Maybe<String>;
  839. description_contains?: Maybe<String>;
  840. description_not_contains?: Maybe<String>;
  841. description_starts_with?: Maybe<String>;
  842. description_not_starts_with?: Maybe<String>;
  843. description_ends_with?: Maybe<String>;
  844. description_not_ends_with?: Maybe<String>;
  845. AND?: Maybe<FormatWhereInput[] | FormatWhereInput>;
  846. OR?: Maybe<FormatWhereInput[] | FormatWhereInput>;
  847. NOT?: Maybe<FormatWhereInput[] | FormatWhereInput>;
  848. }
  849. export type CommentWhereUniqueInput = AtLeastOne<{
  850. id: Maybe<ID_Input>;
  851. }>;
  852. export interface CommentWhereInput {
  853. id?: Maybe<ID_Input>;
  854. id_not?: Maybe<ID_Input>;
  855. id_in?: Maybe<ID_Input[] | ID_Input>;
  856. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  857. id_lt?: Maybe<ID_Input>;
  858. id_lte?: Maybe<ID_Input>;
  859. id_gt?: Maybe<ID_Input>;
  860. id_gte?: Maybe<ID_Input>;
  861. id_contains?: Maybe<ID_Input>;
  862. id_not_contains?: Maybe<ID_Input>;
  863. id_starts_with?: Maybe<ID_Input>;
  864. id_not_starts_with?: Maybe<ID_Input>;
  865. id_ends_with?: Maybe<ID_Input>;
  866. id_not_ends_with?: Maybe<ID_Input>;
  867. text?: Maybe<String>;
  868. text_not?: Maybe<String>;
  869. text_in?: Maybe<String[] | String>;
  870. text_not_in?: Maybe<String[] | String>;
  871. text_lt?: Maybe<String>;
  872. text_lte?: Maybe<String>;
  873. text_gt?: Maybe<String>;
  874. text_gte?: Maybe<String>;
  875. text_contains?: Maybe<String>;
  876. text_not_contains?: Maybe<String>;
  877. text_starts_with?: Maybe<String>;
  878. text_not_starts_with?: Maybe<String>;
  879. text_ends_with?: Maybe<String>;
  880. text_not_ends_with?: Maybe<String>;
  881. author?: Maybe<UserWhereInput>;
  882. createdAt?: Maybe<DateTimeInput>;
  883. createdAt_not?: Maybe<DateTimeInput>;
  884. createdAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  885. createdAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  886. createdAt_lt?: Maybe<DateTimeInput>;
  887. createdAt_lte?: Maybe<DateTimeInput>;
  888. createdAt_gt?: Maybe<DateTimeInput>;
  889. createdAt_gte?: Maybe<DateTimeInput>;
  890. AND?: Maybe<CommentWhereInput[] | CommentWhereInput>;
  891. OR?: Maybe<CommentWhereInput[] | CommentWhereInput>;
  892. NOT?: Maybe<CommentWhereInput[] | CommentWhereInput>;
  893. }
  894. export interface UserWhereInput {
  895. id?: Maybe<ID_Input>;
  896. id_not?: Maybe<ID_Input>;
  897. id_in?: Maybe<ID_Input[] | ID_Input>;
  898. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  899. id_lt?: Maybe<ID_Input>;
  900. id_lte?: Maybe<ID_Input>;
  901. id_gt?: Maybe<ID_Input>;
  902. id_gte?: Maybe<ID_Input>;
  903. id_contains?: Maybe<ID_Input>;
  904. id_not_contains?: Maybe<ID_Input>;
  905. id_starts_with?: Maybe<ID_Input>;
  906. id_not_starts_with?: Maybe<ID_Input>;
  907. id_ends_with?: Maybe<ID_Input>;
  908. id_not_ends_with?: Maybe<ID_Input>;
  909. email?: Maybe<String>;
  910. email_not?: Maybe<String>;
  911. email_in?: Maybe<String[] | String>;
  912. email_not_in?: Maybe<String[] | String>;
  913. email_lt?: Maybe<String>;
  914. email_lte?: Maybe<String>;
  915. email_gt?: Maybe<String>;
  916. email_gte?: Maybe<String>;
  917. email_contains?: Maybe<String>;
  918. email_not_contains?: Maybe<String>;
  919. email_starts_with?: Maybe<String>;
  920. email_not_starts_with?: Maybe<String>;
  921. email_ends_with?: Maybe<String>;
  922. email_not_ends_with?: Maybe<String>;
  923. name?: Maybe<String>;
  924. name_not?: Maybe<String>;
  925. name_in?: Maybe<String[] | String>;
  926. name_not_in?: Maybe<String[] | String>;
  927. name_lt?: Maybe<String>;
  928. name_lte?: Maybe<String>;
  929. name_gt?: Maybe<String>;
  930. name_gte?: Maybe<String>;
  931. name_contains?: Maybe<String>;
  932. name_not_contains?: Maybe<String>;
  933. name_starts_with?: Maybe<String>;
  934. name_not_starts_with?: Maybe<String>;
  935. name_ends_with?: Maybe<String>;
  936. name_not_ends_with?: Maybe<String>;
  937. password?: Maybe<String>;
  938. password_not?: Maybe<String>;
  939. password_in?: Maybe<String[] | String>;
  940. password_not_in?: Maybe<String[] | String>;
  941. password_lt?: Maybe<String>;
  942. password_lte?: Maybe<String>;
  943. password_gt?: Maybe<String>;
  944. password_gte?: Maybe<String>;
  945. password_contains?: Maybe<String>;
  946. password_not_contains?: Maybe<String>;
  947. password_starts_with?: Maybe<String>;
  948. password_not_starts_with?: Maybe<String>;
  949. password_ends_with?: Maybe<String>;
  950. password_not_ends_with?: Maybe<String>;
  951. createdAt?: Maybe<DateTimeInput>;
  952. createdAt_not?: Maybe<DateTimeInput>;
  953. createdAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  954. createdAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  955. createdAt_lt?: Maybe<DateTimeInput>;
  956. createdAt_lte?: Maybe<DateTimeInput>;
  957. createdAt_gt?: Maybe<DateTimeInput>;
  958. createdAt_gte?: Maybe<DateTimeInput>;
  959. comments_every?: Maybe<CommentWhereInput>;
  960. comments_some?: Maybe<CommentWhereInput>;
  961. comments_none?: Maybe<CommentWhereInput>;
  962. ratings_every?: Maybe<RatingWhereInput>;
  963. ratings_some?: Maybe<RatingWhereInput>;
  964. ratings_none?: Maybe<RatingWhereInput>;
  965. AND?: Maybe<UserWhereInput[] | UserWhereInput>;
  966. OR?: Maybe<UserWhereInput[] | UserWhereInput>;
  967. NOT?: Maybe<UserWhereInput[] | UserWhereInput>;
  968. }
  969. export interface RatingWhereInput {
  970. id?: Maybe<ID_Input>;
  971. id_not?: Maybe<ID_Input>;
  972. id_in?: Maybe<ID_Input[] | ID_Input>;
  973. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  974. id_lt?: Maybe<ID_Input>;
  975. id_lte?: Maybe<ID_Input>;
  976. id_gt?: Maybe<ID_Input>;
  977. id_gte?: Maybe<ID_Input>;
  978. id_contains?: Maybe<ID_Input>;
  979. id_not_contains?: Maybe<ID_Input>;
  980. id_starts_with?: Maybe<ID_Input>;
  981. id_not_starts_with?: Maybe<ID_Input>;
  982. id_ends_with?: Maybe<ID_Input>;
  983. id_not_ends_with?: Maybe<ID_Input>;
  984. user?: Maybe<UserWhereInput>;
  985. value?: Maybe<Int>;
  986. value_not?: Maybe<Int>;
  987. value_in?: Maybe<Int[] | Int>;
  988. value_not_in?: Maybe<Int[] | Int>;
  989. value_lt?: Maybe<Int>;
  990. value_lte?: Maybe<Int>;
  991. value_gt?: Maybe<Int>;
  992. value_gte?: Maybe<Int>;
  993. comment?: Maybe<String>;
  994. comment_not?: Maybe<String>;
  995. comment_in?: Maybe<String[] | String>;
  996. comment_not_in?: Maybe<String[] | String>;
  997. comment_lt?: Maybe<String>;
  998. comment_lte?: Maybe<String>;
  999. comment_gt?: Maybe<String>;
  1000. comment_gte?: Maybe<String>;
  1001. comment_contains?: Maybe<String>;
  1002. comment_not_contains?: Maybe<String>;
  1003. comment_starts_with?: Maybe<String>;
  1004. comment_not_starts_with?: Maybe<String>;
  1005. comment_ends_with?: Maybe<String>;
  1006. comment_not_ends_with?: Maybe<String>;
  1007. createdAt?: Maybe<DateTimeInput>;
  1008. createdAt_not?: Maybe<DateTimeInput>;
  1009. createdAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1010. createdAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1011. createdAt_lt?: Maybe<DateTimeInput>;
  1012. createdAt_lte?: Maybe<DateTimeInput>;
  1013. createdAt_gt?: Maybe<DateTimeInput>;
  1014. createdAt_gte?: Maybe<DateTimeInput>;
  1015. AND?: Maybe<RatingWhereInput[] | RatingWhereInput>;
  1016. OR?: Maybe<RatingWhereInput[] | RatingWhereInput>;
  1017. NOT?: Maybe<RatingWhereInput[] | RatingWhereInput>;
  1018. }
  1019. export type ExerciseWhereUniqueInput = AtLeastOne<{
  1020. id: Maybe<ID_Input>;
  1021. }>;
  1022. export type FormatWhereUniqueInput = AtLeastOne<{
  1023. id: Maybe<ID_Input>;
  1024. }>;
  1025. export type RatingWhereUniqueInput = AtLeastOne<{
  1026. id: Maybe<ID_Input>;
  1027. }>;
  1028. export type TrackWhereUniqueInput = AtLeastOne<{
  1029. id: Maybe<ID_Input>;
  1030. }>;
  1031. export type TrainingWhereUniqueInput = AtLeastOne<{
  1032. id: Maybe<ID_Input>;
  1033. }>;
  1034. export interface TrainingWhereInput {
  1035. id?: Maybe<ID_Input>;
  1036. id_not?: Maybe<ID_Input>;
  1037. id_in?: Maybe<ID_Input[] | ID_Input>;
  1038. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  1039. id_lt?: Maybe<ID_Input>;
  1040. id_lte?: Maybe<ID_Input>;
  1041. id_gt?: Maybe<ID_Input>;
  1042. id_gte?: Maybe<ID_Input>;
  1043. id_contains?: Maybe<ID_Input>;
  1044. id_not_contains?: Maybe<ID_Input>;
  1045. id_starts_with?: Maybe<ID_Input>;
  1046. id_not_starts_with?: Maybe<ID_Input>;
  1047. id_ends_with?: Maybe<ID_Input>;
  1048. id_not_ends_with?: Maybe<ID_Input>;
  1049. title?: Maybe<String>;
  1050. title_not?: Maybe<String>;
  1051. title_in?: Maybe<String[] | String>;
  1052. title_not_in?: Maybe<String[] | String>;
  1053. title_lt?: Maybe<String>;
  1054. title_lte?: Maybe<String>;
  1055. title_gt?: Maybe<String>;
  1056. title_gte?: Maybe<String>;
  1057. title_contains?: Maybe<String>;
  1058. title_not_contains?: Maybe<String>;
  1059. title_starts_with?: Maybe<String>;
  1060. title_not_starts_with?: Maybe<String>;
  1061. title_ends_with?: Maybe<String>;
  1062. title_not_ends_with?: Maybe<String>;
  1063. type?: Maybe<TrainingTypeWhereInput>;
  1064. content_every?: Maybe<BlockWhereInput>;
  1065. content_some?: Maybe<BlockWhereInput>;
  1066. content_none?: Maybe<BlockWhereInput>;
  1067. createdAt?: Maybe<DateTimeInput>;
  1068. createdAt_not?: Maybe<DateTimeInput>;
  1069. createdAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1070. createdAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1071. createdAt_lt?: Maybe<DateTimeInput>;
  1072. createdAt_lte?: Maybe<DateTimeInput>;
  1073. createdAt_gt?: Maybe<DateTimeInput>;
  1074. createdAt_gte?: Maybe<DateTimeInput>;
  1075. trainingDate?: Maybe<DateTimeInput>;
  1076. trainingDate_not?: Maybe<DateTimeInput>;
  1077. trainingDate_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1078. trainingDate_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1079. trainingDate_lt?: Maybe<DateTimeInput>;
  1080. trainingDate_lte?: Maybe<DateTimeInput>;
  1081. trainingDate_gt?: Maybe<DateTimeInput>;
  1082. trainingDate_gte?: Maybe<DateTimeInput>;
  1083. location?: Maybe<String>;
  1084. location_not?: Maybe<String>;
  1085. location_in?: Maybe<String[] | String>;
  1086. location_not_in?: Maybe<String[] | String>;
  1087. location_lt?: Maybe<String>;
  1088. location_lte?: Maybe<String>;
  1089. location_gt?: Maybe<String>;
  1090. location_gte?: Maybe<String>;
  1091. location_contains?: Maybe<String>;
  1092. location_not_contains?: Maybe<String>;
  1093. location_starts_with?: Maybe<String>;
  1094. location_not_starts_with?: Maybe<String>;
  1095. location_ends_with?: Maybe<String>;
  1096. location_not_ends_with?: Maybe<String>;
  1097. registration_every?: Maybe<UserWhereInput>;
  1098. registration_some?: Maybe<UserWhereInput>;
  1099. registration_none?: Maybe<UserWhereInput>;
  1100. attendance?: Maybe<Int>;
  1101. attendance_not?: Maybe<Int>;
  1102. attendance_in?: Maybe<Int[] | Int>;
  1103. attendance_not_in?: Maybe<Int[] | Int>;
  1104. attendance_lt?: Maybe<Int>;
  1105. attendance_lte?: Maybe<Int>;
  1106. attendance_gt?: Maybe<Int>;
  1107. attendance_gte?: Maybe<Int>;
  1108. ratings_every?: Maybe<RatingWhereInput>;
  1109. ratings_some?: Maybe<RatingWhereInput>;
  1110. ratings_none?: Maybe<RatingWhereInput>;
  1111. published?: Maybe<Boolean>;
  1112. published_not?: Maybe<Boolean>;
  1113. AND?: Maybe<TrainingWhereInput[] | TrainingWhereInput>;
  1114. OR?: Maybe<TrainingWhereInput[] | TrainingWhereInput>;
  1115. NOT?: Maybe<TrainingWhereInput[] | TrainingWhereInput>;
  1116. }
  1117. export interface TrainingTypeWhereInput {
  1118. id?: Maybe<ID_Input>;
  1119. id_not?: Maybe<ID_Input>;
  1120. id_in?: Maybe<ID_Input[] | ID_Input>;
  1121. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  1122. id_lt?: Maybe<ID_Input>;
  1123. id_lte?: Maybe<ID_Input>;
  1124. id_gt?: Maybe<ID_Input>;
  1125. id_gte?: Maybe<ID_Input>;
  1126. id_contains?: Maybe<ID_Input>;
  1127. id_not_contains?: Maybe<ID_Input>;
  1128. id_starts_with?: Maybe<ID_Input>;
  1129. id_not_starts_with?: Maybe<ID_Input>;
  1130. id_ends_with?: Maybe<ID_Input>;
  1131. id_not_ends_with?: Maybe<ID_Input>;
  1132. name?: Maybe<String>;
  1133. name_not?: Maybe<String>;
  1134. name_in?: Maybe<String[] | String>;
  1135. name_not_in?: Maybe<String[] | String>;
  1136. name_lt?: Maybe<String>;
  1137. name_lte?: Maybe<String>;
  1138. name_gt?: Maybe<String>;
  1139. name_gte?: Maybe<String>;
  1140. name_contains?: Maybe<String>;
  1141. name_not_contains?: Maybe<String>;
  1142. name_starts_with?: Maybe<String>;
  1143. name_not_starts_with?: Maybe<String>;
  1144. name_ends_with?: Maybe<String>;
  1145. name_not_ends_with?: Maybe<String>;
  1146. description?: Maybe<String>;
  1147. description_not?: Maybe<String>;
  1148. description_in?: Maybe<String[] | String>;
  1149. description_not_in?: Maybe<String[] | String>;
  1150. description_lt?: Maybe<String>;
  1151. description_lte?: Maybe<String>;
  1152. description_gt?: Maybe<String>;
  1153. description_gte?: Maybe<String>;
  1154. description_contains?: Maybe<String>;
  1155. description_not_contains?: Maybe<String>;
  1156. description_starts_with?: Maybe<String>;
  1157. description_not_starts_with?: Maybe<String>;
  1158. description_ends_with?: Maybe<String>;
  1159. description_not_ends_with?: Maybe<String>;
  1160. AND?: Maybe<TrainingTypeWhereInput[] | TrainingTypeWhereInput>;
  1161. OR?: Maybe<TrainingTypeWhereInput[] | TrainingTypeWhereInput>;
  1162. NOT?: Maybe<TrainingTypeWhereInput[] | TrainingTypeWhereInput>;
  1163. }
  1164. export type TrainingTypeWhereUniqueInput = AtLeastOne<{
  1165. id: Maybe<ID_Input>;
  1166. name?: Maybe<String>;
  1167. }>;
  1168. export type UserWhereUniqueInput = AtLeastOne<{
  1169. id: Maybe<ID_Input>;
  1170. email?: Maybe<String>;
  1171. }>;
  1172. export interface BaseExerciseCreateInput {
  1173. id?: Maybe<ID_Input>;
  1174. name: String;
  1175. variations?: Maybe<ExerciseCreateManyWithoutBaseExerciseInput>;
  1176. }
  1177. export interface ExerciseCreateManyWithoutBaseExerciseInput {
  1178. create?: Maybe<
  1179. | ExerciseCreateWithoutBaseExerciseInput[]
  1180. | ExerciseCreateWithoutBaseExerciseInput
  1181. >;
  1182. connect?: Maybe<ExerciseWhereUniqueInput[] | ExerciseWhereUniqueInput>;
  1183. }
  1184. export interface ExerciseCreateWithoutBaseExerciseInput {
  1185. id?: Maybe<ID_Input>;
  1186. name: String;
  1187. description: String;
  1188. video: String;
  1189. targets?: Maybe<ExerciseCreatetargetsInput>;
  1190. }
  1191. export interface ExerciseCreatetargetsInput {
  1192. set?: Maybe<String[] | String>;
  1193. }
  1194. export interface BaseExerciseUpdateInput {
  1195. name?: Maybe<String>;
  1196. variations?: Maybe<ExerciseUpdateManyWithoutBaseExerciseInput>;
  1197. }
  1198. export interface ExerciseUpdateManyWithoutBaseExerciseInput {
  1199. create?: Maybe<
  1200. | ExerciseCreateWithoutBaseExerciseInput[]
  1201. | ExerciseCreateWithoutBaseExerciseInput
  1202. >;
  1203. delete?: Maybe<ExerciseWhereUniqueInput[] | ExerciseWhereUniqueInput>;
  1204. connect?: Maybe<ExerciseWhereUniqueInput[] | ExerciseWhereUniqueInput>;
  1205. set?: Maybe<ExerciseWhereUniqueInput[] | ExerciseWhereUniqueInput>;
  1206. disconnect?: Maybe<ExerciseWhereUniqueInput[] | ExerciseWhereUniqueInput>;
  1207. update?: Maybe<
  1208. | ExerciseUpdateWithWhereUniqueWithoutBaseExerciseInput[]
  1209. | ExerciseUpdateWithWhereUniqueWithoutBaseExerciseInput
  1210. >;
  1211. upsert?: Maybe<
  1212. | ExerciseUpsertWithWhereUniqueWithoutBaseExerciseInput[]
  1213. | ExerciseUpsertWithWhereUniqueWithoutBaseExerciseInput
  1214. >;
  1215. deleteMany?: Maybe<ExerciseScalarWhereInput[] | ExerciseScalarWhereInput>;
  1216. updateMany?: Maybe<
  1217. | ExerciseUpdateManyWithWhereNestedInput[]
  1218. | ExerciseUpdateManyWithWhereNestedInput
  1219. >;
  1220. }
  1221. export interface ExerciseUpdateWithWhereUniqueWithoutBaseExerciseInput {
  1222. where: ExerciseWhereUniqueInput;
  1223. data: ExerciseUpdateWithoutBaseExerciseDataInput;
  1224. }
  1225. export interface ExerciseUpdateWithoutBaseExerciseDataInput {
  1226. name?: Maybe<String>;
  1227. description?: Maybe<String>;
  1228. video?: Maybe<String>;
  1229. targets?: Maybe<ExerciseUpdatetargetsInput>;
  1230. }
  1231. export interface ExerciseUpdatetargetsInput {
  1232. set?: Maybe<String[] | String>;
  1233. }
  1234. export interface ExerciseUpsertWithWhereUniqueWithoutBaseExerciseInput {
  1235. where: ExerciseWhereUniqueInput;
  1236. update: ExerciseUpdateWithoutBaseExerciseDataInput;
  1237. create: ExerciseCreateWithoutBaseExerciseInput;
  1238. }
  1239. export interface ExerciseScalarWhereInput {
  1240. id?: Maybe<ID_Input>;
  1241. id_not?: Maybe<ID_Input>;
  1242. id_in?: Maybe<ID_Input[] | ID_Input>;
  1243. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  1244. id_lt?: Maybe<ID_Input>;
  1245. id_lte?: Maybe<ID_Input>;
  1246. id_gt?: Maybe<ID_Input>;
  1247. id_gte?: Maybe<ID_Input>;
  1248. id_contains?: Maybe<ID_Input>;
  1249. id_not_contains?: Maybe<ID_Input>;
  1250. id_starts_with?: Maybe<ID_Input>;
  1251. id_not_starts_with?: Maybe<ID_Input>;
  1252. id_ends_with?: Maybe<ID_Input>;
  1253. id_not_ends_with?: Maybe<ID_Input>;
  1254. name?: Maybe<String>;
  1255. name_not?: Maybe<String>;
  1256. name_in?: Maybe<String[] | String>;
  1257. name_not_in?: Maybe<String[] | String>;
  1258. name_lt?: Maybe<String>;
  1259. name_lte?: Maybe<String>;
  1260. name_gt?: Maybe<String>;
  1261. name_gte?: Maybe<String>;
  1262. name_contains?: Maybe<String>;
  1263. name_not_contains?: Maybe<String>;
  1264. name_starts_with?: Maybe<String>;
  1265. name_not_starts_with?: Maybe<String>;
  1266. name_ends_with?: Maybe<String>;
  1267. name_not_ends_with?: Maybe<String>;
  1268. description?: Maybe<String>;
  1269. description_not?: Maybe<String>;
  1270. description_in?: Maybe<String[] | String>;
  1271. description_not_in?: Maybe<String[] | String>;
  1272. description_lt?: Maybe<String>;
  1273. description_lte?: Maybe<String>;
  1274. description_gt?: Maybe<String>;
  1275. description_gte?: Maybe<String>;
  1276. description_contains?: Maybe<String>;
  1277. description_not_contains?: Maybe<String>;
  1278. description_starts_with?: Maybe<String>;
  1279. description_not_starts_with?: Maybe<String>;
  1280. description_ends_with?: Maybe<String>;
  1281. description_not_ends_with?: Maybe<String>;
  1282. video?: Maybe<String>;
  1283. video_not?: Maybe<String>;
  1284. video_in?: Maybe<String[] | String>;
  1285. video_not_in?: Maybe<String[] | String>;
  1286. video_lt?: Maybe<String>;
  1287. video_lte?: Maybe<String>;
  1288. video_gt?: Maybe<String>;
  1289. video_gte?: Maybe<String>;
  1290. video_contains?: Maybe<String>;
  1291. video_not_contains?: Maybe<String>;
  1292. video_starts_with?: Maybe<String>;
  1293. video_not_starts_with?: Maybe<String>;
  1294. video_ends_with?: Maybe<String>;
  1295. video_not_ends_with?: Maybe<String>;
  1296. AND?: Maybe<ExerciseScalarWhereInput[] | ExerciseScalarWhereInput>;
  1297. OR?: Maybe<ExerciseScalarWhereInput[] | ExerciseScalarWhereInput>;
  1298. NOT?: Maybe<ExerciseScalarWhereInput[] | ExerciseScalarWhereInput>;
  1299. }
  1300. export interface ExerciseUpdateManyWithWhereNestedInput {
  1301. where: ExerciseScalarWhereInput;
  1302. data: ExerciseUpdateManyDataInput;
  1303. }
  1304. export interface ExerciseUpdateManyDataInput {
  1305. name?: Maybe<String>;
  1306. description?: Maybe<String>;
  1307. video?: Maybe<String>;
  1308. targets?: Maybe<ExerciseUpdatetargetsInput>;
  1309. }
  1310. export interface BaseExerciseUpdateManyMutationInput {
  1311. name?: Maybe<String>;
  1312. }
  1313. export interface BlockCreateInput {
  1314. id?: Maybe<ID_Input>;
  1315. sequence: Int;
  1316. title: String;
  1317. duration: Int;
  1318. variation?: Maybe<String>;
  1319. format?: Maybe<FormatCreateOneInput>;
  1320. tracks?: Maybe<TrackCreateManyInput>;
  1321. exercises?: Maybe<ExerciseCreateManyInput>;
  1322. description: String;
  1323. }
  1324. export interface FormatCreateOneInput {
  1325. create?: Maybe<FormatCreateInput>;
  1326. connect?: Maybe<FormatWhereUniqueInput>;
  1327. }
  1328. export interface FormatCreateInput {
  1329. id?: Maybe<ID_Input>;
  1330. name: String;
  1331. description: String;
  1332. }
  1333. export interface TrackCreateManyInput {
  1334. create?: Maybe<TrackCreateInput[] | TrackCreateInput>;
  1335. connect?: Maybe<TrackWhereUniqueInput[] | TrackWhereUniqueInput>;
  1336. }
  1337. export interface TrackCreateInput {
  1338. id?: Maybe<ID_Input>;
  1339. title: String;
  1340. artist: String;
  1341. duration: Int;
  1342. link: String;
  1343. }
  1344. export interface ExerciseCreateManyInput {
  1345. create?: Maybe<ExerciseCreateInput[] | ExerciseCreateInput>;
  1346. connect?: Maybe<ExerciseWhereUniqueInput[] | ExerciseWhereUniqueInput>;
  1347. }
  1348. export interface ExerciseCreateInput {
  1349. id?: Maybe<ID_Input>;
  1350. name: String;
  1351. description: String;
  1352. video: String;
  1353. targets?: Maybe<ExerciseCreatetargetsInput>;
  1354. baseExercise: BaseExerciseCreateOneWithoutVariationsInput;
  1355. }
  1356. export interface BaseExerciseCreateOneWithoutVariationsInput {
  1357. create?: Maybe<BaseExerciseCreateWithoutVariationsInput>;
  1358. connect?: Maybe<BaseExerciseWhereUniqueInput>;
  1359. }
  1360. export interface BaseExerciseCreateWithoutVariationsInput {
  1361. id?: Maybe<ID_Input>;
  1362. name: String;
  1363. }
  1364. export interface BlockUpdateInput {
  1365. sequence?: Maybe<Int>;
  1366. title?: Maybe<String>;
  1367. duration?: Maybe<Int>;
  1368. variation?: Maybe<String>;
  1369. format?: Maybe<FormatUpdateOneInput>;
  1370. tracks?: Maybe<TrackUpdateManyInput>;
  1371. exercises?: Maybe<ExerciseUpdateManyInput>;
  1372. description?: Maybe<String>;
  1373. }
  1374. export interface FormatUpdateOneInput {
  1375. create?: Maybe<FormatCreateInput>;
  1376. update?: Maybe<FormatUpdateDataInput>;
  1377. upsert?: Maybe<FormatUpsertNestedInput>;
  1378. delete?: Maybe<Boolean>;
  1379. disconnect?: Maybe<Boolean>;
  1380. connect?: Maybe<FormatWhereUniqueInput>;
  1381. }
  1382. export interface FormatUpdateDataInput {
  1383. name?: Maybe<String>;
  1384. description?: Maybe<String>;
  1385. }
  1386. export interface FormatUpsertNestedInput {
  1387. update: FormatUpdateDataInput;
  1388. create: FormatCreateInput;
  1389. }
  1390. export interface TrackUpdateManyInput {
  1391. create?: Maybe<TrackCreateInput[] | TrackCreateInput>;
  1392. update?: Maybe<
  1393. | TrackUpdateWithWhereUniqueNestedInput[]
  1394. | TrackUpdateWithWhereUniqueNestedInput
  1395. >;
  1396. upsert?: Maybe<
  1397. | TrackUpsertWithWhereUniqueNestedInput[]
  1398. | TrackUpsertWithWhereUniqueNestedInput
  1399. >;
  1400. delete?: Maybe<TrackWhereUniqueInput[] | TrackWhereUniqueInput>;
  1401. connect?: Maybe<TrackWhereUniqueInput[] | TrackWhereUniqueInput>;
  1402. set?: Maybe<TrackWhereUniqueInput[] | TrackWhereUniqueInput>;
  1403. disconnect?: Maybe<TrackWhereUniqueInput[] | TrackWhereUniqueInput>;
  1404. deleteMany?: Maybe<TrackScalarWhereInput[] | TrackScalarWhereInput>;
  1405. updateMany?: Maybe<
  1406. TrackUpdateManyWithWhereNestedInput[] | TrackUpdateManyWithWhereNestedInput
  1407. >;
  1408. }
  1409. export interface TrackUpdateWithWhereUniqueNestedInput {
  1410. where: TrackWhereUniqueInput;
  1411. data: TrackUpdateDataInput;
  1412. }
  1413. export interface TrackUpdateDataInput {
  1414. title?: Maybe<String>;
  1415. artist?: Maybe<String>;
  1416. duration?: Maybe<Int>;
  1417. link?: Maybe<String>;
  1418. }
  1419. export interface TrackUpsertWithWhereUniqueNestedInput {
  1420. where: TrackWhereUniqueInput;
  1421. update: TrackUpdateDataInput;
  1422. create: TrackCreateInput;
  1423. }
  1424. export interface TrackScalarWhereInput {
  1425. id?: Maybe<ID_Input>;
  1426. id_not?: Maybe<ID_Input>;
  1427. id_in?: Maybe<ID_Input[] | ID_Input>;
  1428. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  1429. id_lt?: Maybe<ID_Input>;
  1430. id_lte?: Maybe<ID_Input>;
  1431. id_gt?: Maybe<ID_Input>;
  1432. id_gte?: Maybe<ID_Input>;
  1433. id_contains?: Maybe<ID_Input>;
  1434. id_not_contains?: Maybe<ID_Input>;
  1435. id_starts_with?: Maybe<ID_Input>;
  1436. id_not_starts_with?: Maybe<ID_Input>;
  1437. id_ends_with?: Maybe<ID_Input>;
  1438. id_not_ends_with?: Maybe<ID_Input>;
  1439. title?: Maybe<String>;
  1440. title_not?: Maybe<String>;
  1441. title_in?: Maybe<String[] | String>;
  1442. title_not_in?: Maybe<String[] | String>;
  1443. title_lt?: Maybe<String>;
  1444. title_lte?: Maybe<String>;
  1445. title_gt?: Maybe<String>;
  1446. title_gte?: Maybe<String>;
  1447. title_contains?: Maybe<String>;
  1448. title_not_contains?: Maybe<String>;
  1449. title_starts_with?: Maybe<String>;
  1450. title_not_starts_with?: Maybe<String>;
  1451. title_ends_with?: Maybe<String>;
  1452. title_not_ends_with?: Maybe<String>;
  1453. artist?: Maybe<String>;
  1454. artist_not?: Maybe<String>;
  1455. artist_in?: Maybe<String[] | String>;
  1456. artist_not_in?: Maybe<String[] | String>;
  1457. artist_lt?: Maybe<String>;
  1458. artist_lte?: Maybe<String>;
  1459. artist_gt?: Maybe<String>;
  1460. artist_gte?: Maybe<String>;
  1461. artist_contains?: Maybe<String>;
  1462. artist_not_contains?: Maybe<String>;
  1463. artist_starts_with?: Maybe<String>;
  1464. artist_not_starts_with?: Maybe<String>;
  1465. artist_ends_with?: Maybe<String>;
  1466. artist_not_ends_with?: Maybe<String>;
  1467. duration?: Maybe<Int>;
  1468. duration_not?: Maybe<Int>;
  1469. duration_in?: Maybe<Int[] | Int>;
  1470. duration_not_in?: Maybe<Int[] | Int>;
  1471. duration_lt?: Maybe<Int>;
  1472. duration_lte?: Maybe<Int>;
  1473. duration_gt?: Maybe<Int>;
  1474. duration_gte?: Maybe<Int>;
  1475. link?: Maybe<String>;
  1476. link_not?: Maybe<String>;
  1477. link_in?: Maybe<String[] | String>;
  1478. link_not_in?: Maybe<String[] | String>;
  1479. link_lt?: Maybe<String>;
  1480. link_lte?: Maybe<String>;
  1481. link_gt?: Maybe<String>;
  1482. link_gte?: Maybe<String>;
  1483. link_contains?: Maybe<String>;
  1484. link_not_contains?: Maybe<String>;
  1485. link_starts_with?: Maybe<String>;
  1486. link_not_starts_with?: Maybe<String>;
  1487. link_ends_with?: Maybe<String>;
  1488. link_not_ends_with?: Maybe<String>;
  1489. AND?: Maybe<TrackScalarWhereInput[] | TrackScalarWhereInput>;
  1490. OR?: Maybe<TrackScalarWhereInput[] | TrackScalarWhereInput>;
  1491. NOT?: Maybe<TrackScalarWhereInput[] | TrackScalarWhereInput>;
  1492. }
  1493. export interface TrackUpdateManyWithWhereNestedInput {
  1494. where: TrackScalarWhereInput;
  1495. data: TrackUpdateManyDataInput;
  1496. }
  1497. export interface TrackUpdateManyDataInput {
  1498. title?: Maybe<String>;
  1499. artist?: Maybe<String>;
  1500. duration?: Maybe<Int>;
  1501. link?: Maybe<String>;
  1502. }
  1503. export interface ExerciseUpdateManyInput {
  1504. create?: Maybe<ExerciseCreateInput[] | ExerciseCreateInput>;
  1505. update?: Maybe<
  1506. | ExerciseUpdateWithWhereUniqueNestedInput[]
  1507. | ExerciseUpdateWithWhereUniqueNestedInput
  1508. >;
  1509. upsert?: Maybe<
  1510. | ExerciseUpsertWithWhereUniqueNestedInput[]
  1511. | ExerciseUpsertWithWhereUniqueNestedInput
  1512. >;
  1513. delete?: Maybe<ExerciseWhereUniqueInput[] | ExerciseWhereUniqueInput>;
  1514. connect?: Maybe<ExerciseWhereUniqueInput[] | ExerciseWhereUniqueInput>;
  1515. set?: Maybe<ExerciseWhereUniqueInput[] | ExerciseWhereUniqueInput>;
  1516. disconnect?: Maybe<ExerciseWhereUniqueInput[] | ExerciseWhereUniqueInput>;
  1517. deleteMany?: Maybe<ExerciseScalarWhereInput[] | ExerciseScalarWhereInput>;
  1518. updateMany?: Maybe<
  1519. | ExerciseUpdateManyWithWhereNestedInput[]
  1520. | ExerciseUpdateManyWithWhereNestedInput
  1521. >;
  1522. }
  1523. export interface ExerciseUpdateWithWhereUniqueNestedInput {
  1524. where: ExerciseWhereUniqueInput;
  1525. data: ExerciseUpdateDataInput;
  1526. }
  1527. export interface ExerciseUpdateDataInput {
  1528. name?: Maybe<String>;
  1529. description?: Maybe<String>;
  1530. video?: Maybe<String>;
  1531. targets?: Maybe<ExerciseUpdatetargetsInput>;
  1532. baseExercise?: Maybe<BaseExerciseUpdateOneRequiredWithoutVariationsInput>;
  1533. }
  1534. export interface BaseExerciseUpdateOneRequiredWithoutVariationsInput {
  1535. create?: Maybe<BaseExerciseCreateWithoutVariationsInput>;
  1536. update?: Maybe<BaseExerciseUpdateWithoutVariationsDataInput>;
  1537. upsert?: Maybe<BaseExerciseUpsertWithoutVariationsInput>;
  1538. connect?: Maybe<BaseExerciseWhereUniqueInput>;
  1539. }
  1540. export interface BaseExerciseUpdateWithoutVariationsDataInput {
  1541. name?: Maybe<String>;
  1542. }
  1543. export interface BaseExerciseUpsertWithoutVariationsInput {
  1544. update: BaseExerciseUpdateWithoutVariationsDataInput;
  1545. create: BaseExerciseCreateWithoutVariationsInput;
  1546. }
  1547. export interface ExerciseUpsertWithWhereUniqueNestedInput {
  1548. where: ExerciseWhereUniqueInput;
  1549. update: ExerciseUpdateDataInput;
  1550. create: ExerciseCreateInput;
  1551. }
  1552. export interface BlockUpdateManyMutationInput {
  1553. sequence?: Maybe<Int>;
  1554. title?: Maybe<String>;
  1555. duration?: Maybe<Int>;
  1556. variation?: Maybe<String>;
  1557. description?: Maybe<String>;
  1558. }
  1559. export interface CommentCreateInput {
  1560. id?: Maybe<ID_Input>;
  1561. text: String;
  1562. author: UserCreateOneWithoutCommentsInput;
  1563. }
  1564. export interface UserCreateOneWithoutCommentsInput {
  1565. create?: Maybe<UserCreateWithoutCommentsInput>;
  1566. connect?: Maybe<UserWhereUniqueInput>;
  1567. }
  1568. export interface UserCreateWithoutCommentsInput {
  1569. id?: Maybe<ID_Input>;
  1570. email: String;
  1571. name: String;
  1572. password: String;
  1573. ratings?: Maybe<RatingCreateManyWithoutUserInput>;
  1574. permissions?: Maybe<UserCreatepermissionsInput>;
  1575. interests?: Maybe<UserCreateinterestsInput>;
  1576. }
  1577. export interface RatingCreateManyWithoutUserInput {
  1578. create?: Maybe<RatingCreateWithoutUserInput[] | RatingCreateWithoutUserInput>;
  1579. connect?: Maybe<RatingWhereUniqueInput[] | RatingWhereUniqueInput>;
  1580. }
  1581. export interface RatingCreateWithoutUserInput {
  1582. id?: Maybe<ID_Input>;
  1583. value: Int;
  1584. comment: String;
  1585. }
  1586. export interface UserCreatepermissionsInput {
  1587. set?: Maybe<Permission[] | Permission>;
  1588. }
  1589. export interface UserCreateinterestsInput {
  1590. set?: Maybe<String[] | String>;
  1591. }
  1592. export interface CommentUpdateInput {
  1593. text?: Maybe<String>;
  1594. author?: Maybe<UserUpdateOneRequiredWithoutCommentsInput>;
  1595. }
  1596. export interface UserUpdateOneRequiredWithoutCommentsInput {
  1597. create?: Maybe<UserCreateWithoutCommentsInput>;
  1598. update?: Maybe<UserUpdateWithoutCommentsDataInput>;
  1599. upsert?: Maybe<UserUpsertWithoutCommentsInput>;
  1600. connect?: Maybe<UserWhereUniqueInput>;
  1601. }
  1602. export interface UserUpdateWithoutCommentsDataInput {
  1603. email?: Maybe<String>;
  1604. name?: Maybe<String>;
  1605. password?: Maybe<String>;
  1606. ratings?: Maybe<RatingUpdateManyWithoutUserInput>;
  1607. permissions?: Maybe<UserUpdatepermissionsInput>;
  1608. interests?: Maybe<UserUpdateinterestsInput>;
  1609. }
  1610. export interface RatingUpdateManyWithoutUserInput {
  1611. create?: Maybe<RatingCreateWithoutUserInput[] | RatingCreateWithoutUserInput>;
  1612. delete?: Maybe<RatingWhereUniqueInput[] | RatingWhereUniqueInput>;
  1613. connect?: Maybe<RatingWhereUniqueInput[] | RatingWhereUniqueInput>;
  1614. set?: Maybe<RatingWhereUniqueInput[] | RatingWhereUniqueInput>;
  1615. disconnect?: Maybe<RatingWhereUniqueInput[] | RatingWhereUniqueInput>;
  1616. update?: Maybe<
  1617. | RatingUpdateWithWhereUniqueWithoutUserInput[]
  1618. | RatingUpdateWithWhereUniqueWithoutUserInput
  1619. >;
  1620. upsert?: Maybe<
  1621. | RatingUpsertWithWhereUniqueWithoutUserInput[]
  1622. | RatingUpsertWithWhereUniqueWithoutUserInput
  1623. >;
  1624. deleteMany?: Maybe<RatingScalarWhereInput[] | RatingScalarWhereInput>;
  1625. updateMany?: Maybe<
  1626. | RatingUpdateManyWithWhereNestedInput[]
  1627. | RatingUpdateManyWithWhereNestedInput
  1628. >;
  1629. }
  1630. export interface RatingUpdateWithWhereUniqueWithoutUserInput {
  1631. where: RatingWhereUniqueInput;
  1632. data: RatingUpdateWithoutUserDataInput;
  1633. }
  1634. export interface RatingUpdateWithoutUserDataInput {
  1635. value?: Maybe<Int>;
  1636. comment?: Maybe<String>;
  1637. }
  1638. export interface RatingUpsertWithWhereUniqueWithoutUserInput {
  1639. where: RatingWhereUniqueInput;
  1640. update: RatingUpdateWithoutUserDataInput;
  1641. create: RatingCreateWithoutUserInput;
  1642. }
  1643. export interface RatingScalarWhereInput {
  1644. id?: Maybe<ID_Input>;
  1645. id_not?: Maybe<ID_Input>;
  1646. id_in?: Maybe<ID_Input[] | ID_Input>;
  1647. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  1648. id_lt?: Maybe<ID_Input>;
  1649. id_lte?: Maybe<ID_Input>;
  1650. id_gt?: Maybe<ID_Input>;
  1651. id_gte?: Maybe<ID_Input>;
  1652. id_contains?: Maybe<ID_Input>;
  1653. id_not_contains?: Maybe<ID_Input>;
  1654. id_starts_with?: Maybe<ID_Input>;
  1655. id_not_starts_with?: Maybe<ID_Input>;
  1656. id_ends_with?: Maybe<ID_Input>;
  1657. id_not_ends_with?: Maybe<ID_Input>;
  1658. value?: Maybe<Int>;
  1659. value_not?: Maybe<Int>;
  1660. value_in?: Maybe<Int[] | Int>;
  1661. value_not_in?: Maybe<Int[] | Int>;
  1662. value_lt?: Maybe<Int>;
  1663. value_lte?: Maybe<Int>;
  1664. value_gt?: Maybe<Int>;
  1665. value_gte?: Maybe<Int>;
  1666. comment?: Maybe<String>;
  1667. comment_not?: Maybe<String>;
  1668. comment_in?: Maybe<String[] | String>;
  1669. comment_not_in?: Maybe<String[] | String>;
  1670. comment_lt?: Maybe<String>;
  1671. comment_lte?: Maybe<String>;
  1672. comment_gt?: Maybe<String>;
  1673. comment_gte?: Maybe<String>;
  1674. comment_contains?: Maybe<String>;
  1675. comment_not_contains?: Maybe<String>;
  1676. comment_starts_with?: Maybe<String>;
  1677. comment_not_starts_with?: Maybe<String>;
  1678. comment_ends_with?: Maybe<String>;
  1679. comment_not_ends_with?: Maybe<String>;
  1680. createdAt?: Maybe<DateTimeInput>;
  1681. createdAt_not?: Maybe<DateTimeInput>;
  1682. createdAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1683. createdAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1684. createdAt_lt?: Maybe<DateTimeInput>;
  1685. createdAt_lte?: Maybe<DateTimeInput>;
  1686. createdAt_gt?: Maybe<DateTimeInput>;
  1687. createdAt_gte?: Maybe<DateTimeInput>;
  1688. AND?: Maybe<RatingScalarWhereInput[] | RatingScalarWhereInput>;
  1689. OR?: Maybe<RatingScalarWhereInput[] | RatingScalarWhereInput>;
  1690. NOT?: Maybe<RatingScalarWhereInput[] | RatingScalarWhereInput>;
  1691. }
  1692. export interface RatingUpdateManyWithWhereNestedInput {
  1693. where: RatingScalarWhereInput;
  1694. data: RatingUpdateManyDataInput;
  1695. }
  1696. export interface RatingUpdateManyDataInput {
  1697. value?: Maybe<Int>;
  1698. comment?: Maybe<String>;
  1699. }
  1700. export interface UserUpdatepermissionsInput {
  1701. set?: Maybe<Permission[] | Permission>;
  1702. }
  1703. export interface UserUpdateinterestsInput {
  1704. set?: Maybe<String[] | String>;
  1705. }
  1706. export interface UserUpsertWithoutCommentsInput {
  1707. update: UserUpdateWithoutCommentsDataInput;
  1708. create: UserCreateWithoutCommentsInput;
  1709. }
  1710. export interface CommentUpdateManyMutationInput {
  1711. text?: Maybe<String>;
  1712. }
  1713. export interface ExerciseUpdateInput {
  1714. name?: Maybe<String>;
  1715. description?: Maybe<String>;
  1716. video?: Maybe<String>;
  1717. targets?: Maybe<ExerciseUpdatetargetsInput>;
  1718. baseExercise?: Maybe<BaseExerciseUpdateOneRequiredWithoutVariationsInput>;
  1719. }
  1720. export interface ExerciseUpdateManyMutationInput {
  1721. name?: Maybe<String>;
  1722. description?: Maybe<String>;
  1723. video?: Maybe<String>;
  1724. targets?: Maybe<ExerciseUpdatetargetsInput>;
  1725. }
  1726. export interface FormatUpdateInput {
  1727. name?: Maybe<String>;
  1728. description?: Maybe<String>;
  1729. }
  1730. export interface FormatUpdateManyMutationInput {
  1731. name?: Maybe<String>;
  1732. description?: Maybe<String>;
  1733. }
  1734. export interface RatingCreateInput {
  1735. id?: Maybe<ID_Input>;
  1736. user: UserCreateOneWithoutRatingsInput;
  1737. value: Int;
  1738. comment: String;
  1739. }
  1740. export interface UserCreateOneWithoutRatingsInput {
  1741. create?: Maybe<UserCreateWithoutRatingsInput>;
  1742. connect?: Maybe<UserWhereUniqueInput>;
  1743. }
  1744. export interface UserCreateWithoutRatingsInput {
  1745. id?: Maybe<ID_Input>;
  1746. email: String;
  1747. name: String;
  1748. password: String;
  1749. comments?: Maybe<CommentCreateManyWithoutAuthorInput>;
  1750. permissions?: Maybe<UserCreatepermissionsInput>;
  1751. interests?: Maybe<UserCreateinterestsInput>;
  1752. }
  1753. export interface CommentCreateManyWithoutAuthorInput {
  1754. create?: Maybe<
  1755. CommentCreateWithoutAuthorInput[] | CommentCreateWithoutAuthorInput
  1756. >;
  1757. connect?: Maybe<CommentWhereUniqueInput[] | CommentWhereUniqueInput>;
  1758. }
  1759. export interface CommentCreateWithoutAuthorInput {
  1760. id?: Maybe<ID_Input>;
  1761. text: String;
  1762. }
  1763. export interface RatingUpdateInput {
  1764. user?: Maybe<UserUpdateOneRequiredWithoutRatingsInput>;
  1765. value?: Maybe<Int>;
  1766. comment?: Maybe<String>;
  1767. }
  1768. export interface UserUpdateOneRequiredWithoutRatingsInput {
  1769. create?: Maybe<UserCreateWithoutRatingsInput>;
  1770. update?: Maybe<UserUpdateWithoutRatingsDataInput>;
  1771. upsert?: Maybe<UserUpsertWithoutRatingsInput>;
  1772. connect?: Maybe<UserWhereUniqueInput>;
  1773. }
  1774. export interface UserUpdateWithoutRatingsDataInput {
  1775. email?: Maybe<String>;
  1776. name?: Maybe<String>;
  1777. password?: Maybe<String>;
  1778. comments?: Maybe<CommentUpdateManyWithoutAuthorInput>;
  1779. permissions?: Maybe<UserUpdatepermissionsInput>;
  1780. interests?: Maybe<UserUpdateinterestsInput>;
  1781. }
  1782. export interface CommentUpdateManyWithoutAuthorInput {
  1783. create?: Maybe<
  1784. CommentCreateWithoutAuthorInput[] | CommentCreateWithoutAuthorInput
  1785. >;
  1786. delete?: Maybe<CommentWhereUniqueInput[] | CommentWhereUniqueInput>;
  1787. connect?: Maybe<CommentWhereUniqueInput[] | CommentWhereUniqueInput>;
  1788. set?: Maybe<CommentWhereUniqueInput[] | CommentWhereUniqueInput>;
  1789. disconnect?: Maybe<CommentWhereUniqueInput[] | CommentWhereUniqueInput>;
  1790. update?: Maybe<
  1791. | CommentUpdateWithWhereUniqueWithoutAuthorInput[]
  1792. | CommentUpdateWithWhereUniqueWithoutAuthorInput
  1793. >;
  1794. upsert?: Maybe<
  1795. | CommentUpsertWithWhereUniqueWithoutAuthorInput[]
  1796. | CommentUpsertWithWhereUniqueWithoutAuthorInput
  1797. >;
  1798. deleteMany?: Maybe<CommentScalarWhereInput[] | CommentScalarWhereInput>;
  1799. updateMany?: Maybe<
  1800. | CommentUpdateManyWithWhereNestedInput[]
  1801. | CommentUpdateManyWithWhereNestedInput
  1802. >;
  1803. }
  1804. export interface CommentUpdateWithWhereUniqueWithoutAuthorInput {
  1805. where: CommentWhereUniqueInput;
  1806. data: CommentUpdateWithoutAuthorDataInput;
  1807. }
  1808. export interface CommentUpdateWithoutAuthorDataInput {
  1809. text?: Maybe<String>;
  1810. }
  1811. export interface CommentUpsertWithWhereUniqueWithoutAuthorInput {
  1812. where: CommentWhereUniqueInput;
  1813. update: CommentUpdateWithoutAuthorDataInput;
  1814. create: CommentCreateWithoutAuthorInput;
  1815. }
  1816. export interface CommentScalarWhereInput {
  1817. id?: Maybe<ID_Input>;
  1818. id_not?: Maybe<ID_Input>;
  1819. id_in?: Maybe<ID_Input[] | ID_Input>;
  1820. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  1821. id_lt?: Maybe<ID_Input>;
  1822. id_lte?: Maybe<ID_Input>;
  1823. id_gt?: Maybe<ID_Input>;
  1824. id_gte?: Maybe<ID_Input>;
  1825. id_contains?: Maybe<ID_Input>;
  1826. id_not_contains?: Maybe<ID_Input>;
  1827. id_starts_with?: Maybe<ID_Input>;
  1828. id_not_starts_with?: Maybe<ID_Input>;
  1829. id_ends_with?: Maybe<ID_Input>;
  1830. id_not_ends_with?: Maybe<ID_Input>;
  1831. text?: Maybe<String>;
  1832. text_not?: Maybe<String>;
  1833. text_in?: Maybe<String[] | String>;
  1834. text_not_in?: Maybe<String[] | String>;
  1835. text_lt?: Maybe<String>;
  1836. text_lte?: Maybe<String>;
  1837. text_gt?: Maybe<String>;
  1838. text_gte?: Maybe<String>;
  1839. text_contains?: Maybe<String>;
  1840. text_not_contains?: Maybe<String>;
  1841. text_starts_with?: Maybe<String>;
  1842. text_not_starts_with?: Maybe<String>;
  1843. text_ends_with?: Maybe<String>;
  1844. text_not_ends_with?: Maybe<String>;
  1845. createdAt?: Maybe<DateTimeInput>;
  1846. createdAt_not?: Maybe<DateTimeInput>;
  1847. createdAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1848. createdAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1849. createdAt_lt?: Maybe<DateTimeInput>;
  1850. createdAt_lte?: Maybe<DateTimeInput>;
  1851. createdAt_gt?: Maybe<DateTimeInput>;
  1852. createdAt_gte?: Maybe<DateTimeInput>;
  1853. AND?: Maybe<CommentScalarWhereInput[] | CommentScalarWhereInput>;
  1854. OR?: Maybe<CommentScalarWhereInput[] | CommentScalarWhereInput>;
  1855. NOT?: Maybe<CommentScalarWhereInput[] | CommentScalarWhereInput>;
  1856. }
  1857. export interface CommentUpdateManyWithWhereNestedInput {
  1858. where: CommentScalarWhereInput;
  1859. data: CommentUpdateManyDataInput;
  1860. }
  1861. export interface CommentUpdateManyDataInput {
  1862. text?: Maybe<String>;
  1863. }
  1864. export interface UserUpsertWithoutRatingsInput {
  1865. update: UserUpdateWithoutRatingsDataInput;
  1866. create: UserCreateWithoutRatingsInput;
  1867. }
  1868. export interface RatingUpdateManyMutationInput {
  1869. value?: Maybe<Int>;
  1870. comment?: Maybe<String>;
  1871. }
  1872. export interface TrackUpdateInput {
  1873. title?: Maybe<String>;
  1874. artist?: Maybe<String>;
  1875. duration?: Maybe<Int>;
  1876. link?: Maybe<String>;
  1877. }
  1878. export interface TrackUpdateManyMutationInput {
  1879. title?: Maybe<String>;
  1880. artist?: Maybe<String>;
  1881. duration?: Maybe<Int>;
  1882. link?: Maybe<String>;
  1883. }
  1884. export interface TrainingCreateInput {
  1885. id?: Maybe<ID_Input>;
  1886. title: String;
  1887. type: TrainingTypeCreateOneInput;
  1888. content?: Maybe<BlockCreateManyInput>;
  1889. trainingDate: DateTimeInput;
  1890. location: String;
  1891. registration?: Maybe<UserCreateManyInput>;
  1892. attendance: Int;
  1893. ratings?: Maybe<RatingCreateManyInput>;
  1894. published: Boolean;
  1895. }
  1896. export interface TrainingTypeCreateOneInput {
  1897. create?: Maybe<TrainingTypeCreateInput>;
  1898. connect?: Maybe<TrainingTypeWhereUniqueInput>;
  1899. }
  1900. export interface TrainingTypeCreateInput {
  1901. id?: Maybe<ID_Input>;
  1902. name: String;
  1903. description: String;
  1904. }
  1905. export interface BlockCreateManyInput {
  1906. create?: Maybe<BlockCreateInput[] | BlockCreateInput>;
  1907. connect?: Maybe<BlockWhereUniqueInput[] | BlockWhereUniqueInput>;
  1908. }
  1909. export interface UserCreateManyInput {
  1910. create?: Maybe<UserCreateInput[] | UserCreateInput>;
  1911. connect?: Maybe<UserWhereUniqueInput[] | UserWhereUniqueInput>;
  1912. }
  1913. export interface UserCreateInput {
  1914. id?: Maybe<ID_Input>;
  1915. email: String;
  1916. name: String;
  1917. password: String;
  1918. comments?: Maybe<CommentCreateManyWithoutAuthorInput>;
  1919. ratings?: Maybe<RatingCreateManyWithoutUserInput>;
  1920. permissions?: Maybe<UserCreatepermissionsInput>;
  1921. interests?: Maybe<UserCreateinterestsInput>;
  1922. }
  1923. export interface RatingCreateManyInput {
  1924. create?: Maybe<RatingCreateInput[] | RatingCreateInput>;
  1925. connect?: Maybe<RatingWhereUniqueInput[] | RatingWhereUniqueInput>;
  1926. }
  1927. export interface TrainingUpdateInput {
  1928. title?: Maybe<String>;
  1929. type?: Maybe<TrainingTypeUpdateOneRequiredInput>;
  1930. content?: Maybe<BlockUpdateManyInput>;
  1931. trainingDate?: Maybe<DateTimeInput>;
  1932. location?: Maybe<String>;
  1933. registration?: Maybe<UserUpdateManyInput>;
  1934. attendance?: Maybe<Int>;
  1935. ratings?: Maybe<RatingUpdateManyInput>;
  1936. published?: Maybe<Boolean>;
  1937. }
  1938. export interface TrainingTypeUpdateOneRequiredInput {
  1939. create?: Maybe<TrainingTypeCreateInput>;
  1940. update?: Maybe<TrainingTypeUpdateDataInput>;
  1941. upsert?: Maybe<TrainingTypeUpsertNestedInput>;
  1942. connect?: Maybe<TrainingTypeWhereUniqueInput>;
  1943. }
  1944. export interface TrainingTypeUpdateDataInput {
  1945. name?: Maybe<String>;
  1946. description?: Maybe<String>;
  1947. }
  1948. export interface TrainingTypeUpsertNestedInput {
  1949. update: TrainingTypeUpdateDataInput;
  1950. create: TrainingTypeCreateInput;
  1951. }
  1952. export interface BlockUpdateManyInput {
  1953. create?: Maybe<BlockCreateInput[] | BlockCreateInput>;
  1954. update?: Maybe<
  1955. | BlockUpdateWithWhereUniqueNestedInput[]
  1956. | BlockUpdateWithWhereUniqueNestedInput
  1957. >;
  1958. upsert?: Maybe<
  1959. | BlockUpsertWithWhereUniqueNestedInput[]
  1960. | BlockUpsertWithWhereUniqueNestedInput
  1961. >;
  1962. delete?: Maybe<BlockWhereUniqueInput[] | BlockWhereUniqueInput>;
  1963. connect?: Maybe<BlockWhereUniqueInput[] | BlockWhereUniqueInput>;
  1964. set?: Maybe<BlockWhereUniqueInput[] | BlockWhereUniqueInput>;
  1965. disconnect?: Maybe<BlockWhereUniqueInput[] | BlockWhereUniqueInput>;
  1966. deleteMany?: Maybe<BlockScalarWhereInput[] | BlockScalarWhereInput>;
  1967. updateMany?: Maybe<
  1968. BlockUpdateManyWithWhereNestedInput[] | BlockUpdateManyWithWhereNestedInput
  1969. >;
  1970. }
  1971. export interface BlockUpdateWithWhereUniqueNestedInput {
  1972. where: BlockWhereUniqueInput;
  1973. data: BlockUpdateDataInput;
  1974. }
  1975. export interface BlockUpdateDataInput {
  1976. sequence?: Maybe<Int>;
  1977. title?: Maybe<String>;
  1978. duration?: Maybe<Int>;
  1979. variation?: Maybe<String>;
  1980. format?: Maybe<FormatUpdateOneInput>;
  1981. tracks?: Maybe<TrackUpdateManyInput>;
  1982. exercises?: Maybe<ExerciseUpdateManyInput>;
  1983. description?: Maybe<String>;
  1984. }
  1985. export interface BlockUpsertWithWhereUniqueNestedInput {
  1986. where: BlockWhereUniqueInput;
  1987. update: BlockUpdateDataInput;
  1988. create: BlockCreateInput;
  1989. }
  1990. export interface BlockScalarWhereInput {
  1991. id?: Maybe<ID_Input>;
  1992. id_not?: Maybe<ID_Input>;
  1993. id_in?: Maybe<ID_Input[] | ID_Input>;
  1994. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  1995. id_lt?: Maybe<ID_Input>;
  1996. id_lte?: Maybe<ID_Input>;
  1997. id_gt?: Maybe<ID_Input>;
  1998. id_gte?: Maybe<ID_Input>;
  1999. id_contains?: Maybe<ID_Input>;
  2000. id_not_contains?: Maybe<ID_Input>;
  2001. id_starts_with?: Maybe<ID_Input>;
  2002. id_not_starts_with?: Maybe<ID_Input>;
  2003. id_ends_with?: Maybe<ID_Input>;
  2004. id_not_ends_with?: Maybe<ID_Input>;
  2005. sequence?: Maybe<Int>;
  2006. sequence_not?: Maybe<Int>;
  2007. sequence_in?: Maybe<Int[] | Int>;
  2008. sequence_not_in?: Maybe<Int[] | Int>;
  2009. sequence_lt?: Maybe<Int>;
  2010. sequence_lte?: Maybe<Int>;
  2011. sequence_gt?: Maybe<Int>;
  2012. sequence_gte?: Maybe<Int>;
  2013. title?: Maybe<String>;
  2014. title_not?: Maybe<String>;
  2015. title_in?: Maybe<String[] | String>;
  2016. title_not_in?: Maybe<String[] | String>;
  2017. title_lt?: Maybe<String>;
  2018. title_lte?: Maybe<String>;
  2019. title_gt?: Maybe<String>;
  2020. title_gte?: Maybe<String>;
  2021. title_contains?: Maybe<String>;
  2022. title_not_contains?: Maybe<String>;
  2023. title_starts_with?: Maybe<String>;
  2024. title_not_starts_with?: Maybe<String>;
  2025. title_ends_with?: Maybe<String>;
  2026. title_not_ends_with?: Maybe<String>;
  2027. duration?: Maybe<Int>;
  2028. duration_not?: Maybe<Int>;
  2029. duration_in?: Maybe<Int[] | Int>;
  2030. duration_not_in?: Maybe<Int[] | Int>;
  2031. duration_lt?: Maybe<Int>;
  2032. duration_lte?: Maybe<Int>;
  2033. duration_gt?: Maybe<Int>;
  2034. duration_gte?: Maybe<Int>;
  2035. variation?: Maybe<String>;
  2036. variation_not?: Maybe<String>;
  2037. variation_in?: Maybe<String[] | String>;
  2038. variation_not_in?: Maybe<String[] | String>;
  2039. variation_lt?: Maybe<String>;
  2040. variation_lte?: Maybe<String>;
  2041. variation_gt?: Maybe<String>;
  2042. variation_gte?: Maybe<String>;
  2043. variation_contains?: Maybe<String>;
  2044. variation_not_contains?: Maybe<String>;
  2045. variation_starts_with?: Maybe<String>;
  2046. variation_not_starts_with?: Maybe<String>;
  2047. variation_ends_with?: Maybe<String>;
  2048. variation_not_ends_with?: Maybe<String>;
  2049. description?: Maybe<String>;
  2050. description_not?: Maybe<String>;
  2051. description_in?: Maybe<String[] | String>;
  2052. description_not_in?: Maybe<String[] | String>;
  2053. description_lt?: Maybe<String>;
  2054. description_lte?: Maybe<String>;
  2055. description_gt?: Maybe<String>;
  2056. description_gte?: Maybe<String>;
  2057. description_contains?: Maybe<String>;
  2058. description_not_contains?: Maybe<String>;
  2059. description_starts_with?: Maybe<String>;
  2060. description_not_starts_with?: Maybe<String>;
  2061. description_ends_with?: Maybe<String>;
  2062. description_not_ends_with?: Maybe<String>;
  2063. AND?: Maybe<BlockScalarWhereInput[] | BlockScalarWhereInput>;
  2064. OR?: Maybe<BlockScalarWhereInput[] | BlockScalarWhereInput>;
  2065. NOT?: Maybe<BlockScalarWhereInput[] | BlockScalarWhereInput>;
  2066. }
  2067. export interface BlockUpdateManyWithWhereNestedInput {
  2068. where: BlockScalarWhereInput;
  2069. data: BlockUpdateManyDataInput;
  2070. }
  2071. export interface BlockUpdateManyDataInput {
  2072. sequence?: Maybe<Int>;
  2073. title?: Maybe<String>;
  2074. duration?: Maybe<Int>;
  2075. variation?: Maybe<String>;
  2076. description?: Maybe<String>;
  2077. }
  2078. export interface UserUpdateManyInput {
  2079. create?: Maybe<UserCreateInput[] | UserCreateInput>;
  2080. update?: Maybe<
  2081. | UserUpdateWithWhereUniqueNestedInput[]
  2082. | UserUpdateWithWhereUniqueNestedInput
  2083. >;
  2084. upsert?: Maybe<
  2085. | UserUpsertWithWhereUniqueNestedInput[]
  2086. | UserUpsertWithWhereUniqueNestedInput
  2087. >;
  2088. delete?: Maybe<UserWhereUniqueInput[] | UserWhereUniqueInput>;
  2089. connect?: Maybe<UserWhereUniqueInput[] | UserWhereUniqueInput>;
  2090. set?: Maybe<UserWhereUniqueInput[] | UserWhereUniqueInput>;
  2091. disconnect?: Maybe<UserWhereUniqueInput[] | UserWhereUniqueInput>;
  2092. deleteMany?: Maybe<UserScalarWhereInput[] | UserScalarWhereInput>;
  2093. updateMany?: Maybe<
  2094. UserUpdateManyWithWhereNestedInput[] | UserUpdateManyWithWhereNestedInput
  2095. >;
  2096. }
  2097. export interface UserUpdateWithWhereUniqueNestedInput {
  2098. where: UserWhereUniqueInput;
  2099. data: UserUpdateDataInput;
  2100. }
  2101. export interface UserUpdateDataInput {
  2102. email?: Maybe<String>;
  2103. name?: Maybe<String>;
  2104. password?: Maybe<String>;
  2105. comments?: Maybe<CommentUpdateManyWithoutAuthorInput>;
  2106. ratings?: Maybe<RatingUpdateManyWithoutUserInput>;
  2107. permissions?: Maybe<UserUpdatepermissionsInput>;
  2108. interests?: Maybe<UserUpdateinterestsInput>;
  2109. }
  2110. export interface UserUpsertWithWhereUniqueNestedInput {
  2111. where: UserWhereUniqueInput;
  2112. update: UserUpdateDataInput;
  2113. create: UserCreateInput;
  2114. }
  2115. export interface UserScalarWhereInput {
  2116. id?: Maybe<ID_Input>;
  2117. id_not?: Maybe<ID_Input>;
  2118. id_in?: Maybe<ID_Input[] | ID_Input>;
  2119. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  2120. id_lt?: Maybe<ID_Input>;
  2121. id_lte?: Maybe<ID_Input>;
  2122. id_gt?: Maybe<ID_Input>;
  2123. id_gte?: Maybe<ID_Input>;
  2124. id_contains?: Maybe<ID_Input>;
  2125. id_not_contains?: Maybe<ID_Input>;
  2126. id_starts_with?: Maybe<ID_Input>;
  2127. id_not_starts_with?: Maybe<ID_Input>;
  2128. id_ends_with?: Maybe<ID_Input>;
  2129. id_not_ends_with?: Maybe<ID_Input>;
  2130. email?: Maybe<String>;
  2131. email_not?: Maybe<String>;
  2132. email_in?: Maybe<String[] | String>;
  2133. email_not_in?: Maybe<String[] | String>;
  2134. email_lt?: Maybe<String>;
  2135. email_lte?: Maybe<String>;
  2136. email_gt?: Maybe<String>;
  2137. email_gte?: Maybe<String>;
  2138. email_contains?: Maybe<String>;
  2139. email_not_contains?: Maybe<String>;
  2140. email_starts_with?: Maybe<String>;
  2141. email_not_starts_with?: Maybe<String>;
  2142. email_ends_with?: Maybe<String>;
  2143. email_not_ends_with?: Maybe<String>;
  2144. name?: Maybe<String>;
  2145. name_not?: Maybe<String>;
  2146. name_in?: Maybe<String[] | String>;
  2147. name_not_in?: Maybe<String[] | String>;
  2148. name_lt?: Maybe<String>;
  2149. name_lte?: Maybe<String>;
  2150. name_gt?: Maybe<String>;
  2151. name_gte?: Maybe<String>;
  2152. name_contains?: Maybe<String>;
  2153. name_not_contains?: Maybe<String>;
  2154. name_starts_with?: Maybe<String>;
  2155. name_not_starts_with?: Maybe<String>;
  2156. name_ends_with?: Maybe<String>;
  2157. name_not_ends_with?: Maybe<String>;
  2158. password?: Maybe<String>;
  2159. password_not?: Maybe<String>;
  2160. password_in?: Maybe<String[] | String>;
  2161. password_not_in?: Maybe<String[] | String>;
  2162. password_lt?: Maybe<String>;
  2163. password_lte?: Maybe<String>;
  2164. password_gt?: Maybe<String>;
  2165. password_gte?: Maybe<String>;
  2166. password_contains?: Maybe<String>;
  2167. password_not_contains?: Maybe<String>;
  2168. password_starts_with?: Maybe<String>;
  2169. password_not_starts_with?: Maybe<String>;
  2170. password_ends_with?: Maybe<String>;
  2171. password_not_ends_with?: Maybe<String>;
  2172. createdAt?: Maybe<DateTimeInput>;
  2173. createdAt_not?: Maybe<DateTimeInput>;
  2174. createdAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  2175. createdAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  2176. createdAt_lt?: Maybe<DateTimeInput>;
  2177. createdAt_lte?: Maybe<DateTimeInput>;
  2178. createdAt_gt?: Maybe<DateTimeInput>;
  2179. createdAt_gte?: Maybe<DateTimeInput>;
  2180. AND?: Maybe<UserScalarWhereInput[] | UserScalarWhereInput>;
  2181. OR?: Maybe<UserScalarWhereInput[] | UserScalarWhereInput>;
  2182. NOT?: Maybe<UserScalarWhereInput[] | UserScalarWhereInput>;
  2183. }
  2184. export interface UserUpdateManyWithWhereNestedInput {
  2185. where: UserScalarWhereInput;
  2186. data: UserUpdateManyDataInput;
  2187. }
  2188. export interface UserUpdateManyDataInput {
  2189. email?: Maybe<String>;
  2190. name?: Maybe<String>;
  2191. password?: Maybe<String>;
  2192. permissions?: Maybe<UserUpdatepermissionsInput>;
  2193. interests?: Maybe<UserUpdateinterestsInput>;
  2194. }
  2195. export interface RatingUpdateManyInput {
  2196. create?: Maybe<RatingCreateInput[] | RatingCreateInput>;
  2197. update?: Maybe<
  2198. | RatingUpdateWithWhereUniqueNestedInput[]
  2199. | RatingUpdateWithWhereUniqueNestedInput
  2200. >;
  2201. upsert?: Maybe<
  2202. | RatingUpsertWithWhereUniqueNestedInput[]
  2203. | RatingUpsertWithWhereUniqueNestedInput
  2204. >;
  2205. delete?: Maybe<RatingWhereUniqueInput[] | RatingWhereUniqueInput>;
  2206. connect?: Maybe<RatingWhereUniqueInput[] | RatingWhereUniqueInput>;
  2207. set?: Maybe<RatingWhereUniqueInput[] | RatingWhereUniqueInput>;
  2208. disconnect?: Maybe<RatingWhereUniqueInput[] | RatingWhereUniqueInput>;
  2209. deleteMany?: Maybe<RatingScalarWhereInput[] | RatingScalarWhereInput>;
  2210. updateMany?: Maybe<
  2211. | RatingUpdateManyWithWhereNestedInput[]
  2212. | RatingUpdateManyWithWhereNestedInput
  2213. >;
  2214. }
  2215. export interface RatingUpdateWithWhereUniqueNestedInput {
  2216. where: RatingWhereUniqueInput;
  2217. data: RatingUpdateDataInput;
  2218. }
  2219. export interface RatingUpdateDataInput {
  2220. user?: Maybe<UserUpdateOneRequiredWithoutRatingsInput>;
  2221. value?: Maybe<Int>;
  2222. comment?: Maybe<String>;
  2223. }
  2224. export interface RatingUpsertWithWhereUniqueNestedInput {
  2225. where: RatingWhereUniqueInput;
  2226. update: RatingUpdateDataInput;
  2227. create: RatingCreateInput;
  2228. }
  2229. export interface TrainingUpdateManyMutationInput {
  2230. title?: Maybe<String>;
  2231. trainingDate?: Maybe<DateTimeInput>;
  2232. location?: Maybe<String>;
  2233. attendance?: Maybe<Int>;
  2234. published?: Maybe<Boolean>;
  2235. }
  2236. export interface TrainingTypeUpdateInput {
  2237. name?: Maybe<String>;
  2238. description?: Maybe<String>;
  2239. }
  2240. export interface TrainingTypeUpdateManyMutationInput {
  2241. name?: Maybe<String>;
  2242. description?: Maybe<String>;
  2243. }
  2244. export interface UserUpdateInput {
  2245. email?: Maybe<String>;
  2246. name?: Maybe<String>;
  2247. password?: Maybe<String>;
  2248. comments?: Maybe<CommentUpdateManyWithoutAuthorInput>;
  2249. ratings?: Maybe<RatingUpdateManyWithoutUserInput>;
  2250. permissions?: Maybe<UserUpdatepermissionsInput>;
  2251. interests?: Maybe<UserUpdateinterestsInput>;
  2252. }
  2253. export interface UserUpdateManyMutationInput {
  2254. email?: Maybe<String>;
  2255. name?: Maybe<String>;
  2256. password?: Maybe<String>;
  2257. permissions?: Maybe<UserUpdatepermissionsInput>;
  2258. interests?: Maybe<UserUpdateinterestsInput>;
  2259. }
  2260. export interface BaseExerciseSubscriptionWhereInput {
  2261. mutation_in?: Maybe<MutationType[] | MutationType>;
  2262. updatedFields_contains?: Maybe<String>;
  2263. updatedFields_contains_every?: Maybe<String[] | String>;
  2264. updatedFields_contains_some?: Maybe<String[] | String>;
  2265. node?: Maybe<BaseExerciseWhereInput>;
  2266. AND?: Maybe<
  2267. BaseExerciseSubscriptionWhereInput[] | BaseExerciseSubscriptionWhereInput
  2268. >;
  2269. OR?: Maybe<
  2270. BaseExerciseSubscriptionWhereInput[] | BaseExerciseSubscriptionWhereInput
  2271. >;
  2272. NOT?: Maybe<
  2273. BaseExerciseSubscriptionWhereInput[] | BaseExerciseSubscriptionWhereInput
  2274. >;
  2275. }
  2276. export interface BlockSubscriptionWhereInput {
  2277. mutation_in?: Maybe<MutationType[] | MutationType>;
  2278. updatedFields_contains?: Maybe<String>;
  2279. updatedFields_contains_every?: Maybe<String[] | String>;
  2280. updatedFields_contains_some?: Maybe<String[] | String>;
  2281. node?: Maybe<BlockWhereInput>;
  2282. AND?: Maybe<BlockSubscriptionWhereInput[] | BlockSubscriptionWhereInput>;
  2283. OR?: Maybe<BlockSubscriptionWhereInput[] | BlockSubscriptionWhereInput>;
  2284. NOT?: Maybe<BlockSubscriptionWhereInput[] | BlockSubscriptionWhereInput>;
  2285. }
  2286. export interface CommentSubscriptionWhereInput {
  2287. mutation_in?: Maybe<MutationType[] | MutationType>;
  2288. updatedFields_contains?: Maybe<String>;
  2289. updatedFields_contains_every?: Maybe<String[] | String>;
  2290. updatedFields_contains_some?: Maybe<String[] | String>;
  2291. node?: Maybe<CommentWhereInput>;
  2292. AND?: Maybe<CommentSubscriptionWhereInput[] | CommentSubscriptionWhereInput>;
  2293. OR?: Maybe<CommentSubscriptionWhereInput[] | CommentSubscriptionWhereInput>;
  2294. NOT?: Maybe<CommentSubscriptionWhereInput[] | CommentSubscriptionWhereInput>;
  2295. }
  2296. export interface ExerciseSubscriptionWhereInput {
  2297. mutation_in?: Maybe<MutationType[] | MutationType>;
  2298. updatedFields_contains?: Maybe<String>;
  2299. updatedFields_contains_every?: Maybe<String[] | String>;
  2300. updatedFields_contains_some?: Maybe<String[] | String>;
  2301. node?: Maybe<ExerciseWhereInput>;
  2302. AND?: Maybe<
  2303. ExerciseSubscriptionWhereInput[] | ExerciseSubscriptionWhereInput
  2304. >;
  2305. OR?: Maybe<ExerciseSubscriptionWhereInput[] | ExerciseSubscriptionWhereInput>;
  2306. NOT?: Maybe<
  2307. ExerciseSubscriptionWhereInput[] | ExerciseSubscriptionWhereInput
  2308. >;
  2309. }
  2310. export interface FormatSubscriptionWhereInput {
  2311. mutation_in?: Maybe<MutationType[] | MutationType>;
  2312. updatedFields_contains?: Maybe<String>;
  2313. updatedFields_contains_every?: Maybe<String[] | String>;
  2314. updatedFields_contains_some?: Maybe<String[] | String>;
  2315. node?: Maybe<FormatWhereInput>;
  2316. AND?: Maybe<FormatSubscriptionWhereInput[] | FormatSubscriptionWhereInput>;
  2317. OR?: Maybe<FormatSubscriptionWhereInput[] | FormatSubscriptionWhereInput>;
  2318. NOT?: Maybe<FormatSubscriptionWhereInput[] | FormatSubscriptionWhereInput>;
  2319. }
  2320. export interface RatingSubscriptionWhereInput {
  2321. mutation_in?: Maybe<MutationType[] | MutationType>;
  2322. updatedFields_contains?: Maybe<String>;
  2323. updatedFields_contains_every?: Maybe<String[] | String>;
  2324. updatedFields_contains_some?: Maybe<String[] | String>;
  2325. node?: Maybe<RatingWhereInput>;
  2326. AND?: Maybe<RatingSubscriptionWhereInput[] | RatingSubscriptionWhereInput>;
  2327. OR?: Maybe<RatingSubscriptionWhereInput[] | RatingSubscriptionWhereInput>;
  2328. NOT?: Maybe<RatingSubscriptionWhereInput[] | RatingSubscriptionWhereInput>;
  2329. }
  2330. export interface TrackSubscriptionWhereInput {
  2331. mutation_in?: Maybe<MutationType[] | MutationType>;
  2332. updatedFields_contains?: Maybe<String>;
  2333. updatedFields_contains_every?: Maybe<String[] | String>;
  2334. updatedFields_contains_some?: Maybe<String[] | String>;
  2335. node?: Maybe<TrackWhereInput>;
  2336. AND?: Maybe<TrackSubscriptionWhereInput[] | TrackSubscriptionWhereInput>;
  2337. OR?: Maybe<TrackSubscriptionWhereInput[] | TrackSubscriptionWhereInput>;
  2338. NOT?: Maybe<TrackSubscriptionWhereInput[] | TrackSubscriptionWhereInput>;
  2339. }
  2340. export interface TrainingSubscriptionWhereInput {
  2341. mutation_in?: Maybe<MutationType[] | MutationType>;
  2342. updatedFields_contains?: Maybe<String>;
  2343. updatedFields_contains_every?: Maybe<String[] | String>;
  2344. updatedFields_contains_some?: Maybe<String[] | String>;
  2345. node?: Maybe<TrainingWhereInput>;
  2346. AND?: Maybe<
  2347. TrainingSubscriptionWhereInput[] | TrainingSubscriptionWhereInput
  2348. >;
  2349. OR?: Maybe<TrainingSubscriptionWhereInput[] | TrainingSubscriptionWhereInput>;
  2350. NOT?: Maybe<
  2351. TrainingSubscriptionWhereInput[] | TrainingSubscriptionWhereInput
  2352. >;
  2353. }
  2354. export interface TrainingTypeSubscriptionWhereInput {
  2355. mutation_in?: Maybe<MutationType[] | MutationType>;
  2356. updatedFields_contains?: Maybe<String>;
  2357. updatedFields_contains_every?: Maybe<String[] | String>;
  2358. updatedFields_contains_some?: Maybe<String[] | String>;
  2359. node?: Maybe<TrainingTypeWhereInput>;
  2360. AND?: Maybe<
  2361. TrainingTypeSubscriptionWhereInput[] | TrainingTypeSubscriptionWhereInput
  2362. >;
  2363. OR?: Maybe<
  2364. TrainingTypeSubscriptionWhereInput[] | TrainingTypeSubscriptionWhereInput
  2365. >;
  2366. NOT?: Maybe<
  2367. TrainingTypeSubscriptionWhereInput[] | TrainingTypeSubscriptionWhereInput
  2368. >;
  2369. }
  2370. export interface UserSubscriptionWhereInput {
  2371. mutation_in?: Maybe<MutationType[] | MutationType>;
  2372. updatedFields_contains?: Maybe<String>;
  2373. updatedFields_contains_every?: Maybe<String[] | String>;
  2374. updatedFields_contains_some?: Maybe<String[] | String>;
  2375. node?: Maybe<UserWhereInput>;
  2376. AND?: Maybe<UserSubscriptionWhereInput[] | UserSubscriptionWhereInput>;
  2377. OR?: Maybe<UserSubscriptionWhereInput[] | UserSubscriptionWhereInput>;
  2378. NOT?: Maybe<UserSubscriptionWhereInput[] | UserSubscriptionWhereInput>;
  2379. }
  2380. export interface NodeNode {
  2381. id: ID_Output;
  2382. }
  2383. export interface BaseExercise {
  2384. id: ID_Output;
  2385. name: String;
  2386. }
  2387. export interface BaseExercisePromise
  2388. extends Promise<BaseExercise>,
  2389. Fragmentable {
  2390. id: () => Promise<ID_Output>;
  2391. name: () => Promise<String>;
  2392. variations: <T = FragmentableArray<Exercise>>(args?: {
  2393. where?: ExerciseWhereInput;
  2394. orderBy?: ExerciseOrderByInput;
  2395. skip?: Int;
  2396. after?: String;
  2397. before?: String;
  2398. first?: Int;
  2399. last?: Int;
  2400. }) => T;
  2401. }
  2402. export interface BaseExerciseSubscription
  2403. extends Promise<AsyncIterator<BaseExercise>>,
  2404. Fragmentable {
  2405. id: () => Promise<AsyncIterator<ID_Output>>;
  2406. name: () => Promise<AsyncIterator<String>>;
  2407. variations: <T = Promise<AsyncIterator<ExerciseSubscription>>>(args?: {
  2408. where?: ExerciseWhereInput;
  2409. orderBy?: ExerciseOrderByInput;
  2410. skip?: Int;
  2411. after?: String;
  2412. before?: String;
  2413. first?: Int;
  2414. last?: Int;
  2415. }) => T;
  2416. }
  2417. export interface BaseExerciseNullablePromise
  2418. extends Promise<BaseExercise | null>,
  2419. Fragmentable {
  2420. id: () => Promise<ID_Output>;
  2421. name: () => Promise<String>;
  2422. variations: <T = FragmentableArray<Exercise>>(args?: {
  2423. where?: ExerciseWhereInput;
  2424. orderBy?: ExerciseOrderByInput;
  2425. skip?: Int;
  2426. after?: String;
  2427. before?: String;
  2428. first?: Int;
  2429. last?: Int;
  2430. }) => T;
  2431. }
  2432. export interface Exercise {
  2433. id: ID_Output;
  2434. name: String;
  2435. description: String;
  2436. video: String;
  2437. targets: String[];
  2438. }
  2439. export interface ExercisePromise extends Promise<Exercise>, Fragmentable {
  2440. id: () => Promise<ID_Output>;
  2441. name: () => Promise<String>;
  2442. description: () => Promise<String>;
  2443. video: () => Promise<String>;
  2444. targets: () => Promise<String[]>;
  2445. baseExercise: <T = BaseExercisePromise>() => T;
  2446. }
  2447. export interface ExerciseSubscription
  2448. extends Promise<AsyncIterator<Exercise>>,
  2449. Fragmentable {
  2450. id: () => Promise<AsyncIterator<ID_Output>>;
  2451. name: () => Promise<AsyncIterator<String>>;
  2452. description: () => Promise<AsyncIterator<String>>;
  2453. video: () => Promise<AsyncIterator<String>>;
  2454. targets: () => Promise<AsyncIterator<String[]>>;
  2455. baseExercise: <T = BaseExerciseSubscription>() => T;
  2456. }
  2457. export interface ExerciseNullablePromise
  2458. extends Promise<Exercise | null>,
  2459. Fragmentable {
  2460. id: () => Promise<ID_Output>;
  2461. name: () => Promise<String>;
  2462. description: () => Promise<String>;
  2463. video: () => Promise<String>;
  2464. targets: () => Promise<String[]>;
  2465. baseExercise: <T = BaseExercisePromise>() => T;
  2466. }
  2467. export interface BaseExerciseConnection {
  2468. pageInfo: PageInfo;
  2469. edges: BaseExerciseEdge[];
  2470. }
  2471. export interface BaseExerciseConnectionPromise
  2472. extends Promise<BaseExerciseConnection>,
  2473. Fragmentable {
  2474. pageInfo: <T = PageInfoPromise>() => T;
  2475. edges: <T = FragmentableArray<BaseExerciseEdge>>() => T;
  2476. aggregate: <T = AggregateBaseExercisePromise>() => T;
  2477. }
  2478. export interface BaseExerciseConnectionSubscription
  2479. extends Promise<AsyncIterator<BaseExerciseConnection>>,
  2480. Fragmentable {
  2481. pageInfo: <T = PageInfoSubscription>() => T;
  2482. edges: <T = Promise<AsyncIterator<BaseExerciseEdgeSubscription>>>() => T;
  2483. aggregate: <T = AggregateBaseExerciseSubscription>() => T;
  2484. }
  2485. export interface PageInfo {
  2486. hasNextPage: Boolean;
  2487. hasPreviousPage: Boolean;
  2488. startCursor?: String;
  2489. endCursor?: String;
  2490. }
  2491. export interface PageInfoPromise extends Promise<PageInfo>, Fragmentable {
  2492. hasNextPage: () => Promise<Boolean>;
  2493. hasPreviousPage: () => Promise<Boolean>;
  2494. startCursor: () => Promise<String>;
  2495. endCursor: () => Promise<String>;
  2496. }
  2497. export interface PageInfoSubscription
  2498. extends Promise<AsyncIterator<PageInfo>>,
  2499. Fragmentable {
  2500. hasNextPage: () => Promise<AsyncIterator<Boolean>>;
  2501. hasPreviousPage: () => Promise<AsyncIterator<Boolean>>;
  2502. startCursor: () => Promise<AsyncIterator<String>>;
  2503. endCursor: () => Promise<AsyncIterator<String>>;
  2504. }
  2505. export interface BaseExerciseEdge {
  2506. node: BaseExercise;
  2507. cursor: String;
  2508. }
  2509. export interface BaseExerciseEdgePromise
  2510. extends Promise<BaseExerciseEdge>,
  2511. Fragmentable {
  2512. node: <T = BaseExercisePromise>() => T;
  2513. cursor: () => Promise<String>;
  2514. }
  2515. export interface BaseExerciseEdgeSubscription
  2516. extends Promise<AsyncIterator<BaseExerciseEdge>>,
  2517. Fragmentable {
  2518. node: <T = BaseExerciseSubscription>() => T;
  2519. cursor: () => Promise<AsyncIterator<String>>;
  2520. }
  2521. export interface AggregateBaseExercise {
  2522. count: Int;
  2523. }
  2524. export interface AggregateBaseExercisePromise
  2525. extends Promise<AggregateBaseExercise>,
  2526. Fragmentable {
  2527. count: () => Promise<Int>;
  2528. }
  2529. export interface AggregateBaseExerciseSubscription
  2530. extends Promise<AsyncIterator<AggregateBaseExercise>>,
  2531. Fragmentable {
  2532. count: () => Promise<AsyncIterator<Int>>;
  2533. }
  2534. export interface Block {
  2535. id: ID_Output;
  2536. sequence: Int;
  2537. title: String;
  2538. duration: Int;
  2539. variation?: String;
  2540. description: String;
  2541. }
  2542. export interface BlockPromise extends Promise<Block>, Fragmentable {
  2543. id: () => Promise<ID_Output>;
  2544. sequence: () => Promise<Int>;
  2545. title: () => Promise<String>;
  2546. duration: () => Promise<Int>;
  2547. variation: () => Promise<String>;
  2548. format: <T = FormatPromise>() => T;
  2549. tracks: <T = FragmentableArray<Track>>(args?: {
  2550. where?: TrackWhereInput;
  2551. orderBy?: TrackOrderByInput;
  2552. skip?: Int;
  2553. after?: String;
  2554. before?: String;
  2555. first?: Int;
  2556. last?: Int;
  2557. }) => T;
  2558. exercises: <T = FragmentableArray<Exercise>>(args?: {
  2559. where?: ExerciseWhereInput;
  2560. orderBy?: ExerciseOrderByInput;
  2561. skip?: Int;
  2562. after?: String;
  2563. before?: String;
  2564. first?: Int;
  2565. last?: Int;
  2566. }) => T;
  2567. description: () => Promise<String>;
  2568. }
  2569. export interface BlockSubscription
  2570. extends Promise<AsyncIterator<Block>>,
  2571. Fragmentable {
  2572. id: () => Promise<AsyncIterator<ID_Output>>;
  2573. sequence: () => Promise<AsyncIterator<Int>>;
  2574. title: () => Promise<AsyncIterator<String>>;
  2575. duration: () => Promise<AsyncIterator<Int>>;
  2576. variation: () => Promise<AsyncIterator<String>>;
  2577. format: <T = FormatSubscription>() => T;
  2578. tracks: <T = Promise<AsyncIterator<TrackSubscription>>>(args?: {
  2579. where?: TrackWhereInput;
  2580. orderBy?: TrackOrderByInput;
  2581. skip?: Int;
  2582. after?: String;
  2583. before?: String;
  2584. first?: Int;
  2585. last?: Int;
  2586. }) => T;
  2587. exercises: <T = Promise<AsyncIterator<ExerciseSubscription>>>(args?: {
  2588. where?: ExerciseWhereInput;
  2589. orderBy?: ExerciseOrderByInput;
  2590. skip?: Int;
  2591. after?: String;
  2592. before?: String;
  2593. first?: Int;
  2594. last?: Int;
  2595. }) => T;
  2596. description: () => Promise<AsyncIterator<String>>;
  2597. }
  2598. export interface BlockNullablePromise
  2599. extends Promise<Block | null>,
  2600. Fragmentable {
  2601. id: () => Promise<ID_Output>;
  2602. sequence: () => Promise<Int>;
  2603. title: () => Promise<String>;
  2604. duration: () => Promise<Int>;
  2605. variation: () => Promise<String>;
  2606. format: <T = FormatPromise>() => T;
  2607. tracks: <T = FragmentableArray<Track>>(args?: {
  2608. where?: TrackWhereInput;
  2609. orderBy?: TrackOrderByInput;
  2610. skip?: Int;
  2611. after?: String;
  2612. before?: String;
  2613. first?: Int;
  2614. last?: Int;
  2615. }) => T;
  2616. exercises: <T = FragmentableArray<Exercise>>(args?: {
  2617. where?: ExerciseWhereInput;
  2618. orderBy?: ExerciseOrderByInput;
  2619. skip?: Int;
  2620. after?: String;
  2621. before?: String;
  2622. first?: Int;
  2623. last?: Int;
  2624. }) => T;
  2625. description: () => Promise<String>;
  2626. }
  2627. export interface Format {
  2628. id: ID_Output;
  2629. name: String;
  2630. description: String;
  2631. }
  2632. export interface FormatPromise extends Promise<Format>, Fragmentable {
  2633. id: () => Promise<ID_Output>;
  2634. name: () => Promise<String>;
  2635. description: () => Promise<String>;
  2636. }
  2637. export interface FormatSubscription
  2638. extends Promise<AsyncIterator<Format>>,
  2639. Fragmentable {
  2640. id: () => Promise<AsyncIterator<ID_Output>>;
  2641. name: () => Promise<AsyncIterator<String>>;
  2642. description: () => Promise<AsyncIterator<String>>;
  2643. }
  2644. export interface FormatNullablePromise
  2645. extends Promise<Format | null>,
  2646. Fragmentable {
  2647. id: () => Promise<ID_Output>;
  2648. name: () => Promise<String>;
  2649. description: () => Promise<String>;
  2650. }
  2651. export interface Track {
  2652. id: ID_Output;
  2653. title: String;
  2654. artist: String;
  2655. duration: Int;
  2656. link: String;
  2657. }
  2658. export interface TrackPromise extends Promise<Track>, Fragmentable {
  2659. id: () => Promise<ID_Output>;
  2660. title: () => Promise<String>;
  2661. artist: () => Promise<String>;
  2662. duration: () => Promise<Int>;
  2663. link: () => Promise<String>;
  2664. }
  2665. export interface TrackSubscription
  2666. extends Promise<AsyncIterator<Track>>,
  2667. Fragmentable {
  2668. id: () => Promise<AsyncIterator<ID_Output>>;
  2669. title: () => Promise<AsyncIterator<String>>;
  2670. artist: () => Promise<AsyncIterator<String>>;
  2671. duration: () => Promise<AsyncIterator<Int>>;
  2672. link: () => Promise<AsyncIterator<String>>;
  2673. }
  2674. export interface TrackNullablePromise
  2675. extends Promise<Track | null>,
  2676. Fragmentable {
  2677. id: () => Promise<ID_Output>;
  2678. title: () => Promise<String>;
  2679. artist: () => Promise<String>;
  2680. duration: () => Promise<Int>;
  2681. link: () => Promise<String>;
  2682. }
  2683. export interface BlockConnection {
  2684. pageInfo: PageInfo;
  2685. edges: BlockEdge[];
  2686. }
  2687. export interface BlockConnectionPromise
  2688. extends Promise<BlockConnection>,
  2689. Fragmentable {
  2690. pageInfo: <T = PageInfoPromise>() => T;
  2691. edges: <T = FragmentableArray<BlockEdge>>() => T;
  2692. aggregate: <T = AggregateBlockPromise>() => T;
  2693. }
  2694. export interface BlockConnectionSubscription
  2695. extends Promise<AsyncIterator<BlockConnection>>,
  2696. Fragmentable {
  2697. pageInfo: <T = PageInfoSubscription>() => T;
  2698. edges: <T = Promise<AsyncIterator<BlockEdgeSubscription>>>() => T;
  2699. aggregate: <T = AggregateBlockSubscription>() => T;
  2700. }
  2701. export interface BlockEdge {
  2702. node: Block;
  2703. cursor: String;
  2704. }
  2705. export interface BlockEdgePromise extends Promise<BlockEdge>, Fragmentable {
  2706. node: <T = BlockPromise>() => T;
  2707. cursor: () => Promise<String>;
  2708. }
  2709. export interface BlockEdgeSubscription
  2710. extends Promise<AsyncIterator<BlockEdge>>,
  2711. Fragmentable {
  2712. node: <T = BlockSubscription>() => T;
  2713. cursor: () => Promise<AsyncIterator<String>>;
  2714. }
  2715. export interface AggregateBlock {
  2716. count: Int;
  2717. }
  2718. export interface AggregateBlockPromise
  2719. extends Promise<AggregateBlock>,
  2720. Fragmentable {
  2721. count: () => Promise<Int>;
  2722. }
  2723. export interface AggregateBlockSubscription
  2724. extends Promise<AsyncIterator<AggregateBlock>>,
  2725. Fragmentable {
  2726. count: () => Promise<AsyncIterator<Int>>;
  2727. }
  2728. export interface Comment {
  2729. id: ID_Output;
  2730. text: String;
  2731. createdAt: DateTimeOutput;
  2732. }
  2733. export interface CommentPromise extends Promise<Comment>, Fragmentable {
  2734. id: () => Promise<ID_Output>;
  2735. text: () => Promise<String>;
  2736. author: <T = UserPromise>() => T;
  2737. createdAt: () => Promise<DateTimeOutput>;
  2738. }
  2739. export interface CommentSubscription
  2740. extends Promise<AsyncIterator<Comment>>,
  2741. Fragmentable {
  2742. id: () => Promise<AsyncIterator<ID_Output>>;
  2743. text: () => Promise<AsyncIterator<String>>;
  2744. author: <T = UserSubscription>() => T;
  2745. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  2746. }
  2747. export interface CommentNullablePromise
  2748. extends Promise<Comment | null>,
  2749. Fragmentable {
  2750. id: () => Promise<ID_Output>;
  2751. text: () => Promise<String>;
  2752. author: <T = UserPromise>() => T;
  2753. createdAt: () => Promise<DateTimeOutput>;
  2754. }
  2755. export interface User {
  2756. id: ID_Output;
  2757. email: String;
  2758. name: String;
  2759. password: String;
  2760. createdAt: DateTimeOutput;
  2761. permissions: Permission[];
  2762. interests: String[];
  2763. }
  2764. export interface UserPromise extends Promise<User>, Fragmentable {
  2765. id: () => Promise<ID_Output>;
  2766. email: () => Promise<String>;
  2767. name: () => Promise<String>;
  2768. password: () => Promise<String>;
  2769. createdAt: () => Promise<DateTimeOutput>;
  2770. comments: <T = FragmentableArray<Comment>>(args?: {
  2771. where?: CommentWhereInput;
  2772. orderBy?: CommentOrderByInput;
  2773. skip?: Int;
  2774. after?: String;
  2775. before?: String;
  2776. first?: Int;
  2777. last?: Int;
  2778. }) => T;
  2779. ratings: <T = FragmentableArray<Rating>>(args?: {
  2780. where?: RatingWhereInput;
  2781. orderBy?: RatingOrderByInput;
  2782. skip?: Int;
  2783. after?: String;
  2784. before?: String;
  2785. first?: Int;
  2786. last?: Int;
  2787. }) => T;
  2788. permissions: () => Promise<Permission[]>;
  2789. interests: () => Promise<String[]>;
  2790. }
  2791. export interface UserSubscription
  2792. extends Promise<AsyncIterator<User>>,
  2793. Fragmentable {
  2794. id: () => Promise<AsyncIterator<ID_Output>>;
  2795. email: () => Promise<AsyncIterator<String>>;
  2796. name: () => Promise<AsyncIterator<String>>;
  2797. password: () => Promise<AsyncIterator<String>>;
  2798. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  2799. comments: <T = Promise<AsyncIterator<CommentSubscription>>>(args?: {
  2800. where?: CommentWhereInput;
  2801. orderBy?: CommentOrderByInput;
  2802. skip?: Int;
  2803. after?: String;
  2804. before?: String;
  2805. first?: Int;
  2806. last?: Int;
  2807. }) => T;
  2808. ratings: <T = Promise<AsyncIterator<RatingSubscription>>>(args?: {
  2809. where?: RatingWhereInput;
  2810. orderBy?: RatingOrderByInput;
  2811. skip?: Int;
  2812. after?: String;
  2813. before?: String;
  2814. first?: Int;
  2815. last?: Int;
  2816. }) => T;
  2817. permissions: () => Promise<AsyncIterator<Permission[]>>;
  2818. interests: () => Promise<AsyncIterator<String[]>>;
  2819. }
  2820. export interface UserNullablePromise
  2821. extends Promise<User | null>,
  2822. Fragmentable {
  2823. id: () => Promise<ID_Output>;
  2824. email: () => Promise<String>;
  2825. name: () => Promise<String>;
  2826. password: () => Promise<String>;
  2827. createdAt: () => Promise<DateTimeOutput>;
  2828. comments: <T = FragmentableArray<Comment>>(args?: {
  2829. where?: CommentWhereInput;
  2830. orderBy?: CommentOrderByInput;
  2831. skip?: Int;
  2832. after?: String;
  2833. before?: String;
  2834. first?: Int;
  2835. last?: Int;
  2836. }) => T;
  2837. ratings: <T = FragmentableArray<Rating>>(args?: {
  2838. where?: RatingWhereInput;
  2839. orderBy?: RatingOrderByInput;
  2840. skip?: Int;
  2841. after?: String;
  2842. before?: String;
  2843. first?: Int;
  2844. last?: Int;
  2845. }) => T;
  2846. permissions: () => Promise<Permission[]>;
  2847. interests: () => Promise<String[]>;
  2848. }
  2849. export interface Rating {
  2850. id: ID_Output;
  2851. value: Int;
  2852. comment: String;
  2853. createdAt: DateTimeOutput;
  2854. }
  2855. export interface RatingPromise extends Promise<Rating>, Fragmentable {
  2856. id: () => Promise<ID_Output>;
  2857. user: <T = UserPromise>() => T;
  2858. value: () => Promise<Int>;
  2859. comment: () => Promise<String>;
  2860. createdAt: () => Promise<DateTimeOutput>;
  2861. }
  2862. export interface RatingSubscription
  2863. extends Promise<AsyncIterator<Rating>>,
  2864. Fragmentable {
  2865. id: () => Promise<AsyncIterator<ID_Output>>;
  2866. user: <T = UserSubscription>() => T;
  2867. value: () => Promise<AsyncIterator<Int>>;
  2868. comment: () => Promise<AsyncIterator<String>>;
  2869. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  2870. }
  2871. export interface RatingNullablePromise
  2872. extends Promise<Rating | null>,
  2873. Fragmentable {
  2874. id: () => Promise<ID_Output>;
  2875. user: <T = UserPromise>() => T;
  2876. value: () => Promise<Int>;
  2877. comment: () => Promise<String>;
  2878. createdAt: () => Promise<DateTimeOutput>;
  2879. }
  2880. export interface CommentConnection {
  2881. pageInfo: PageInfo;
  2882. edges: CommentEdge[];
  2883. }
  2884. export interface CommentConnectionPromise
  2885. extends Promise<CommentConnection>,
  2886. Fragmentable {
  2887. pageInfo: <T = PageInfoPromise>() => T;
  2888. edges: <T = FragmentableArray<CommentEdge>>() => T;
  2889. aggregate: <T = AggregateCommentPromise>() => T;
  2890. }
  2891. export interface CommentConnectionSubscription
  2892. extends Promise<AsyncIterator<CommentConnection>>,
  2893. Fragmentable {
  2894. pageInfo: <T = PageInfoSubscription>() => T;
  2895. edges: <T = Promise<AsyncIterator<CommentEdgeSubscription>>>() => T;
  2896. aggregate: <T = AggregateCommentSubscription>() => T;
  2897. }
  2898. export interface CommentEdge {
  2899. node: Comment;
  2900. cursor: String;
  2901. }
  2902. export interface CommentEdgePromise extends Promise<CommentEdge>, Fragmentable {
  2903. node: <T = CommentPromise>() => T;
  2904. cursor: () => Promise<String>;
  2905. }
  2906. export interface CommentEdgeSubscription
  2907. extends Promise<AsyncIterator<CommentEdge>>,
  2908. Fragmentable {
  2909. node: <T = CommentSubscription>() => T;
  2910. cursor: () => Promise<AsyncIterator<String>>;
  2911. }
  2912. export interface AggregateComment {
  2913. count: Int;
  2914. }
  2915. export interface AggregateCommentPromise
  2916. extends Promise<AggregateComment>,
  2917. Fragmentable {
  2918. count: () => Promise<Int>;
  2919. }
  2920. export interface AggregateCommentSubscription
  2921. extends Promise<AsyncIterator<AggregateComment>>,
  2922. Fragmentable {
  2923. count: () => Promise<AsyncIterator<Int>>;
  2924. }
  2925. export interface ExerciseConnection {
  2926. pageInfo: PageInfo;
  2927. edges: ExerciseEdge[];
  2928. }
  2929. export interface ExerciseConnectionPromise
  2930. extends Promise<ExerciseConnection>,
  2931. Fragmentable {
  2932. pageInfo: <T = PageInfoPromise>() => T;
  2933. edges: <T = FragmentableArray<ExerciseEdge>>() => T;
  2934. aggregate: <T = AggregateExercisePromise>() => T;
  2935. }
  2936. export interface ExerciseConnectionSubscription
  2937. extends Promise<AsyncIterator<ExerciseConnection>>,
  2938. Fragmentable {
  2939. pageInfo: <T = PageInfoSubscription>() => T;
  2940. edges: <T = Promise<AsyncIterator<ExerciseEdgeSubscription>>>() => T;
  2941. aggregate: <T = AggregateExerciseSubscription>() => T;
  2942. }
  2943. export interface ExerciseEdge {
  2944. node: Exercise;
  2945. cursor: String;
  2946. }
  2947. export interface ExerciseEdgePromise
  2948. extends Promise<ExerciseEdge>,
  2949. Fragmentable {
  2950. node: <T = ExercisePromise>() => T;
  2951. cursor: () => Promise<String>;
  2952. }
  2953. export interface ExerciseEdgeSubscription
  2954. extends Promise<AsyncIterator<ExerciseEdge>>,
  2955. Fragmentable {
  2956. node: <T = ExerciseSubscription>() => T;
  2957. cursor: () => Promise<AsyncIterator<String>>;
  2958. }
  2959. export interface AggregateExercise {
  2960. count: Int;
  2961. }
  2962. export interface AggregateExercisePromise
  2963. extends Promise<AggregateExercise>,
  2964. Fragmentable {
  2965. count: () => Promise<Int>;
  2966. }
  2967. export interface AggregateExerciseSubscription
  2968. extends Promise<AsyncIterator<AggregateExercise>>,
  2969. Fragmentable {
  2970. count: () => Promise<AsyncIterator<Int>>;
  2971. }
  2972. export interface FormatConnection {
  2973. pageInfo: PageInfo;
  2974. edges: FormatEdge[];
  2975. }
  2976. export interface FormatConnectionPromise
  2977. extends Promise<FormatConnection>,
  2978. Fragmentable {
  2979. pageInfo: <T = PageInfoPromise>() => T;
  2980. edges: <T = FragmentableArray<FormatEdge>>() => T;
  2981. aggregate: <T = AggregateFormatPromise>() => T;
  2982. }
  2983. export interface FormatConnectionSubscription
  2984. extends Promise<AsyncIterator<FormatConnection>>,
  2985. Fragmentable {
  2986. pageInfo: <T = PageInfoSubscription>() => T;
  2987. edges: <T = Promise<AsyncIterator<FormatEdgeSubscription>>>() => T;
  2988. aggregate: <T = AggregateFormatSubscription>() => T;
  2989. }
  2990. export interface FormatEdge {
  2991. node: Format;
  2992. cursor: String;
  2993. }
  2994. export interface FormatEdgePromise extends Promise<FormatEdge>, Fragmentable {
  2995. node: <T = FormatPromise>() => T;
  2996. cursor: () => Promise<String>;
  2997. }
  2998. export interface FormatEdgeSubscription
  2999. extends Promise<AsyncIterator<FormatEdge>>,
  3000. Fragmentable {
  3001. node: <T = FormatSubscription>() => T;
  3002. cursor: () => Promise<AsyncIterator<String>>;
  3003. }
  3004. export interface AggregateFormat {
  3005. count: Int;
  3006. }
  3007. export interface AggregateFormatPromise
  3008. extends Promise<AggregateFormat>,
  3009. Fragmentable {
  3010. count: () => Promise<Int>;
  3011. }
  3012. export interface AggregateFormatSubscription
  3013. extends Promise<AsyncIterator<AggregateFormat>>,
  3014. Fragmentable {
  3015. count: () => Promise<AsyncIterator<Int>>;
  3016. }
  3017. export interface RatingConnection {
  3018. pageInfo: PageInfo;
  3019. edges: RatingEdge[];
  3020. }
  3021. export interface RatingConnectionPromise
  3022. extends Promise<RatingConnection>,
  3023. Fragmentable {
  3024. pageInfo: <T = PageInfoPromise>() => T;
  3025. edges: <T = FragmentableArray<RatingEdge>>() => T;
  3026. aggregate: <T = AggregateRatingPromise>() => T;
  3027. }
  3028. export interface RatingConnectionSubscription
  3029. extends Promise<AsyncIterator<RatingConnection>>,
  3030. Fragmentable {
  3031. pageInfo: <T = PageInfoSubscription>() => T;
  3032. edges: <T = Promise<AsyncIterator<RatingEdgeSubscription>>>() => T;
  3033. aggregate: <T = AggregateRatingSubscription>() => T;
  3034. }
  3035. export interface RatingEdge {
  3036. node: Rating;
  3037. cursor: String;
  3038. }
  3039. export interface RatingEdgePromise extends Promise<RatingEdge>, Fragmentable {
  3040. node: <T = RatingPromise>() => T;
  3041. cursor: () => Promise<String>;
  3042. }
  3043. export interface RatingEdgeSubscription
  3044. extends Promise<AsyncIterator<RatingEdge>>,
  3045. Fragmentable {
  3046. node: <T = RatingSubscription>() => T;
  3047. cursor: () => Promise<AsyncIterator<String>>;
  3048. }
  3049. export interface AggregateRating {
  3050. count: Int;
  3051. }
  3052. export interface AggregateRatingPromise
  3053. extends Promise<AggregateRating>,
  3054. Fragmentable {
  3055. count: () => Promise<Int>;
  3056. }
  3057. export interface AggregateRatingSubscription
  3058. extends Promise<AsyncIterator<AggregateRating>>,
  3059. Fragmentable {
  3060. count: () => Promise<AsyncIterator<Int>>;
  3061. }
  3062. export interface TrackConnection {
  3063. pageInfo: PageInfo;
  3064. edges: TrackEdge[];
  3065. }
  3066. export interface TrackConnectionPromise
  3067. extends Promise<TrackConnection>,
  3068. Fragmentable {
  3069. pageInfo: <T = PageInfoPromise>() => T;
  3070. edges: <T = FragmentableArray<TrackEdge>>() => T;
  3071. aggregate: <T = AggregateTrackPromise>() => T;
  3072. }
  3073. export interface TrackConnectionSubscription
  3074. extends Promise<AsyncIterator<TrackConnection>>,
  3075. Fragmentable {
  3076. pageInfo: <T = PageInfoSubscription>() => T;
  3077. edges: <T = Promise<AsyncIterator<TrackEdgeSubscription>>>() => T;
  3078. aggregate: <T = AggregateTrackSubscription>() => T;
  3079. }
  3080. export interface TrackEdge {
  3081. node: Track;
  3082. cursor: String;
  3083. }
  3084. export interface TrackEdgePromise extends Promise<TrackEdge>, Fragmentable {
  3085. node: <T = TrackPromise>() => T;
  3086. cursor: () => Promise<String>;
  3087. }
  3088. export interface TrackEdgeSubscription
  3089. extends Promise<AsyncIterator<TrackEdge>>,
  3090. Fragmentable {
  3091. node: <T = TrackSubscription>() => T;
  3092. cursor: () => Promise<AsyncIterator<String>>;
  3093. }
  3094. export interface AggregateTrack {
  3095. count: Int;
  3096. }
  3097. export interface AggregateTrackPromise
  3098. extends Promise<AggregateTrack>,
  3099. Fragmentable {
  3100. count: () => Promise<Int>;
  3101. }
  3102. export interface AggregateTrackSubscription
  3103. extends Promise<AsyncIterator<AggregateTrack>>,
  3104. Fragmentable {
  3105. count: () => Promise<AsyncIterator<Int>>;
  3106. }
  3107. export interface Training {
  3108. id: ID_Output;
  3109. title: String;
  3110. createdAt: DateTimeOutput;
  3111. trainingDate: DateTimeOutput;
  3112. location: String;
  3113. attendance: Int;
  3114. published: Boolean;
  3115. }
  3116. export interface TrainingPromise extends Promise<Training>, Fragmentable {
  3117. id: () => Promise<ID_Output>;
  3118. title: () => Promise<String>;
  3119. type: <T = TrainingTypePromise>() => T;
  3120. content: <T = FragmentableArray<Block>>(args?: {
  3121. where?: BlockWhereInput;
  3122. orderBy?: BlockOrderByInput;
  3123. skip?: Int;
  3124. after?: String;
  3125. before?: String;
  3126. first?: Int;
  3127. last?: Int;
  3128. }) => T;
  3129. createdAt: () => Promise<DateTimeOutput>;
  3130. trainingDate: () => Promise<DateTimeOutput>;
  3131. location: () => Promise<String>;
  3132. registration: <T = FragmentableArray<User>>(args?: {
  3133. where?: UserWhereInput;
  3134. orderBy?: UserOrderByInput;
  3135. skip?: Int;
  3136. after?: String;
  3137. before?: String;
  3138. first?: Int;
  3139. last?: Int;
  3140. }) => T;
  3141. attendance: () => Promise<Int>;
  3142. ratings: <T = FragmentableArray<Rating>>(args?: {
  3143. where?: RatingWhereInput;
  3144. orderBy?: RatingOrderByInput;
  3145. skip?: Int;
  3146. after?: String;
  3147. before?: String;
  3148. first?: Int;
  3149. last?: Int;
  3150. }) => T;
  3151. published: () => Promise<Boolean>;
  3152. }
  3153. export interface TrainingSubscription
  3154. extends Promise<AsyncIterator<Training>>,
  3155. Fragmentable {
  3156. id: () => Promise<AsyncIterator<ID_Output>>;
  3157. title: () => Promise<AsyncIterator<String>>;
  3158. type: <T = TrainingTypeSubscription>() => T;
  3159. content: <T = Promise<AsyncIterator<BlockSubscription>>>(args?: {
  3160. where?: BlockWhereInput;
  3161. orderBy?: BlockOrderByInput;
  3162. skip?: Int;
  3163. after?: String;
  3164. before?: String;
  3165. first?: Int;
  3166. last?: Int;
  3167. }) => T;
  3168. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  3169. trainingDate: () => Promise<AsyncIterator<DateTimeOutput>>;
  3170. location: () => Promise<AsyncIterator<String>>;
  3171. registration: <T = Promise<AsyncIterator<UserSubscription>>>(args?: {
  3172. where?: UserWhereInput;
  3173. orderBy?: UserOrderByInput;
  3174. skip?: Int;
  3175. after?: String;
  3176. before?: String;
  3177. first?: Int;
  3178. last?: Int;
  3179. }) => T;
  3180. attendance: () => Promise<AsyncIterator<Int>>;
  3181. ratings: <T = Promise<AsyncIterator<RatingSubscription>>>(args?: {
  3182. where?: RatingWhereInput;
  3183. orderBy?: RatingOrderByInput;
  3184. skip?: Int;
  3185. after?: String;
  3186. before?: String;
  3187. first?: Int;
  3188. last?: Int;
  3189. }) => T;
  3190. published: () => Promise<AsyncIterator<Boolean>>;
  3191. }
  3192. export interface TrainingNullablePromise
  3193. extends Promise<Training | null>,
  3194. Fragmentable {
  3195. id: () => Promise<ID_Output>;
  3196. title: () => Promise<String>;
  3197. type: <T = TrainingTypePromise>() => T;
  3198. content: <T = FragmentableArray<Block>>(args?: {
  3199. where?: BlockWhereInput;
  3200. orderBy?: BlockOrderByInput;
  3201. skip?: Int;
  3202. after?: String;
  3203. before?: String;
  3204. first?: Int;
  3205. last?: Int;
  3206. }) => T;
  3207. createdAt: () => Promise<DateTimeOutput>;
  3208. trainingDate: () => Promise<DateTimeOutput>;
  3209. location: () => Promise<String>;
  3210. registration: <T = FragmentableArray<User>>(args?: {
  3211. where?: UserWhereInput;
  3212. orderBy?: UserOrderByInput;
  3213. skip?: Int;
  3214. after?: String;
  3215. before?: String;
  3216. first?: Int;
  3217. last?: Int;
  3218. }) => T;
  3219. attendance: () => Promise<Int>;
  3220. ratings: <T = FragmentableArray<Rating>>(args?: {
  3221. where?: RatingWhereInput;
  3222. orderBy?: RatingOrderByInput;
  3223. skip?: Int;
  3224. after?: String;
  3225. before?: String;
  3226. first?: Int;
  3227. last?: Int;
  3228. }) => T;
  3229. published: () => Promise<Boolean>;
  3230. }
  3231. export interface TrainingType {
  3232. id: ID_Output;
  3233. name: String;
  3234. description: String;
  3235. }
  3236. export interface TrainingTypePromise
  3237. extends Promise<TrainingType>,
  3238. Fragmentable {
  3239. id: () => Promise<ID_Output>;
  3240. name: () => Promise<String>;
  3241. description: () => Promise<String>;
  3242. }
  3243. export interface TrainingTypeSubscription
  3244. extends Promise<AsyncIterator<TrainingType>>,
  3245. Fragmentable {
  3246. id: () => Promise<AsyncIterator<ID_Output>>;
  3247. name: () => Promise<AsyncIterator<String>>;
  3248. description: () => Promise<AsyncIterator<String>>;
  3249. }
  3250. export interface TrainingTypeNullablePromise
  3251. extends Promise<TrainingType | null>,
  3252. Fragmentable {
  3253. id: () => Promise<ID_Output>;
  3254. name: () => Promise<String>;
  3255. description: () => Promise<String>;
  3256. }
  3257. export interface TrainingConnection {
  3258. pageInfo: PageInfo;
  3259. edges: TrainingEdge[];
  3260. }
  3261. export interface TrainingConnectionPromise
  3262. extends Promise<TrainingConnection>,
  3263. Fragmentable {
  3264. pageInfo: <T = PageInfoPromise>() => T;
  3265. edges: <T = FragmentableArray<TrainingEdge>>() => T;
  3266. aggregate: <T = AggregateTrainingPromise>() => T;
  3267. }
  3268. export interface TrainingConnectionSubscription
  3269. extends Promise<AsyncIterator<TrainingConnection>>,
  3270. Fragmentable {
  3271. pageInfo: <T = PageInfoSubscription>() => T;
  3272. edges: <T = Promise<AsyncIterator<TrainingEdgeSubscription>>>() => T;
  3273. aggregate: <T = AggregateTrainingSubscription>() => T;
  3274. }
  3275. export interface TrainingEdge {
  3276. node: Training;
  3277. cursor: String;
  3278. }
  3279. export interface TrainingEdgePromise
  3280. extends Promise<TrainingEdge>,
  3281. Fragmentable {
  3282. node: <T = TrainingPromise>() => T;
  3283. cursor: () => Promise<String>;
  3284. }
  3285. export interface TrainingEdgeSubscription
  3286. extends Promise<AsyncIterator<TrainingEdge>>,
  3287. Fragmentable {
  3288. node: <T = TrainingSubscription>() => T;
  3289. cursor: () => Promise<AsyncIterator<String>>;
  3290. }
  3291. export interface AggregateTraining {
  3292. count: Int;
  3293. }
  3294. export interface AggregateTrainingPromise
  3295. extends Promise<AggregateTraining>,
  3296. Fragmentable {
  3297. count: () => Promise<Int>;
  3298. }
  3299. export interface AggregateTrainingSubscription
  3300. extends Promise<AsyncIterator<AggregateTraining>>,
  3301. Fragmentable {
  3302. count: () => Promise<AsyncIterator<Int>>;
  3303. }
  3304. export interface TrainingTypeConnection {
  3305. pageInfo: PageInfo;
  3306. edges: TrainingTypeEdge[];
  3307. }
  3308. export interface TrainingTypeConnectionPromise
  3309. extends Promise<TrainingTypeConnection>,
  3310. Fragmentable {
  3311. pageInfo: <T = PageInfoPromise>() => T;
  3312. edges: <T = FragmentableArray<TrainingTypeEdge>>() => T;
  3313. aggregate: <T = AggregateTrainingTypePromise>() => T;
  3314. }
  3315. export interface TrainingTypeConnectionSubscription
  3316. extends Promise<AsyncIterator<TrainingTypeConnection>>,
  3317. Fragmentable {
  3318. pageInfo: <T = PageInfoSubscription>() => T;
  3319. edges: <T = Promise<AsyncIterator<TrainingTypeEdgeSubscription>>>() => T;
  3320. aggregate: <T = AggregateTrainingTypeSubscription>() => T;
  3321. }
  3322. export interface TrainingTypeEdge {
  3323. node: TrainingType;
  3324. cursor: String;
  3325. }
  3326. export interface TrainingTypeEdgePromise
  3327. extends Promise<TrainingTypeEdge>,
  3328. Fragmentable {
  3329. node: <T = TrainingTypePromise>() => T;
  3330. cursor: () => Promise<String>;
  3331. }
  3332. export interface TrainingTypeEdgeSubscription
  3333. extends Promise<AsyncIterator<TrainingTypeEdge>>,
  3334. Fragmentable {
  3335. node: <T = TrainingTypeSubscription>() => T;
  3336. cursor: () => Promise<AsyncIterator<String>>;
  3337. }
  3338. export interface AggregateTrainingType {
  3339. count: Int;
  3340. }
  3341. export interface AggregateTrainingTypePromise
  3342. extends Promise<AggregateTrainingType>,
  3343. Fragmentable {
  3344. count: () => Promise<Int>;
  3345. }
  3346. export interface AggregateTrainingTypeSubscription
  3347. extends Promise<AsyncIterator<AggregateTrainingType>>,
  3348. Fragmentable {
  3349. count: () => Promise<AsyncIterator<Int>>;
  3350. }
  3351. export interface UserConnection {
  3352. pageInfo: PageInfo;
  3353. edges: UserEdge[];
  3354. }
  3355. export interface UserConnectionPromise
  3356. extends Promise<UserConnection>,
  3357. Fragmentable {
  3358. pageInfo: <T = PageInfoPromise>() => T;
  3359. edges: <T = FragmentableArray<UserEdge>>() => T;
  3360. aggregate: <T = AggregateUserPromise>() => T;
  3361. }
  3362. export interface UserConnectionSubscription
  3363. extends Promise<AsyncIterator<UserConnection>>,
  3364. Fragmentable {
  3365. pageInfo: <T = PageInfoSubscription>() => T;
  3366. edges: <T = Promise<AsyncIterator<UserEdgeSubscription>>>() => T;
  3367. aggregate: <T = AggregateUserSubscription>() => T;
  3368. }
  3369. export interface UserEdge {
  3370. node: User;
  3371. cursor: String;
  3372. }
  3373. export interface UserEdgePromise extends Promise<UserEdge>, Fragmentable {
  3374. node: <T = UserPromise>() => T;
  3375. cursor: () => Promise<String>;
  3376. }
  3377. export interface UserEdgeSubscription
  3378. extends Promise<AsyncIterator<UserEdge>>,
  3379. Fragmentable {
  3380. node: <T = UserSubscription>() => T;
  3381. cursor: () => Promise<AsyncIterator<String>>;
  3382. }
  3383. export interface AggregateUser {
  3384. count: Int;
  3385. }
  3386. export interface AggregateUserPromise
  3387. extends Promise<AggregateUser>,
  3388. Fragmentable {
  3389. count: () => Promise<Int>;
  3390. }
  3391. export interface AggregateUserSubscription
  3392. extends Promise<AsyncIterator<AggregateUser>>,
  3393. Fragmentable {
  3394. count: () => Promise<AsyncIterator<Int>>;
  3395. }
  3396. export interface BatchPayload {
  3397. count: Long;
  3398. }
  3399. export interface BatchPayloadPromise
  3400. extends Promise<BatchPayload>,
  3401. Fragmentable {
  3402. count: () => Promise<Long>;
  3403. }
  3404. export interface BatchPayloadSubscription
  3405. extends Promise<AsyncIterator<BatchPayload>>,
  3406. Fragmentable {
  3407. count: () => Promise<AsyncIterator<Long>>;
  3408. }
  3409. export interface BaseExerciseSubscriptionPayload {
  3410. mutation: MutationType;
  3411. node: BaseExercise;
  3412. updatedFields: String[];
  3413. previousValues: BaseExercisePreviousValues;
  3414. }
  3415. export interface BaseExerciseSubscriptionPayloadPromise
  3416. extends Promise<BaseExerciseSubscriptionPayload>,
  3417. Fragmentable {
  3418. mutation: () => Promise<MutationType>;
  3419. node: <T = BaseExercisePromise>() => T;
  3420. updatedFields: () => Promise<String[]>;
  3421. previousValues: <T = BaseExercisePreviousValuesPromise>() => T;
  3422. }
  3423. export interface BaseExerciseSubscriptionPayloadSubscription
  3424. extends Promise<AsyncIterator<BaseExerciseSubscriptionPayload>>,
  3425. Fragmentable {
  3426. mutation: () => Promise<AsyncIterator<MutationType>>;
  3427. node: <T = BaseExerciseSubscription>() => T;
  3428. updatedFields: () => Promise<AsyncIterator<String[]>>;
  3429. previousValues: <T = BaseExercisePreviousValuesSubscription>() => T;
  3430. }
  3431. export interface BaseExercisePreviousValues {
  3432. id: ID_Output;
  3433. name: String;
  3434. }
  3435. export interface BaseExercisePreviousValuesPromise
  3436. extends Promise<BaseExercisePreviousValues>,
  3437. Fragmentable {
  3438. id: () => Promise<ID_Output>;
  3439. name: () => Promise<String>;
  3440. }
  3441. export interface BaseExercisePreviousValuesSubscription
  3442. extends Promise<AsyncIterator<BaseExercisePreviousValues>>,
  3443. Fragmentable {
  3444. id: () => Promise<AsyncIterator<ID_Output>>;
  3445. name: () => Promise<AsyncIterator<String>>;
  3446. }
  3447. export interface BlockSubscriptionPayload {
  3448. mutation: MutationType;
  3449. node: Block;
  3450. updatedFields: String[];
  3451. previousValues: BlockPreviousValues;
  3452. }
  3453. export interface BlockSubscriptionPayloadPromise
  3454. extends Promise<BlockSubscriptionPayload>,
  3455. Fragmentable {
  3456. mutation: () => Promise<MutationType>;
  3457. node: <T = BlockPromise>() => T;
  3458. updatedFields: () => Promise<String[]>;
  3459. previousValues: <T = BlockPreviousValuesPromise>() => T;
  3460. }
  3461. export interface BlockSubscriptionPayloadSubscription
  3462. extends Promise<AsyncIterator<BlockSubscriptionPayload>>,
  3463. Fragmentable {
  3464. mutation: () => Promise<AsyncIterator<MutationType>>;
  3465. node: <T = BlockSubscription>() => T;
  3466. updatedFields: () => Promise<AsyncIterator<String[]>>;
  3467. previousValues: <T = BlockPreviousValuesSubscription>() => T;
  3468. }
  3469. export interface BlockPreviousValues {
  3470. id: ID_Output;
  3471. sequence: Int;
  3472. title: String;
  3473. duration: Int;
  3474. variation?: String;
  3475. description: String;
  3476. }
  3477. export interface BlockPreviousValuesPromise
  3478. extends Promise<BlockPreviousValues>,
  3479. Fragmentable {
  3480. id: () => Promise<ID_Output>;
  3481. sequence: () => Promise<Int>;
  3482. title: () => Promise<String>;
  3483. duration: () => Promise<Int>;
  3484. variation: () => Promise<String>;
  3485. description: () => Promise<String>;
  3486. }
  3487. export interface BlockPreviousValuesSubscription
  3488. extends Promise<AsyncIterator<BlockPreviousValues>>,
  3489. Fragmentable {
  3490. id: () => Promise<AsyncIterator<ID_Output>>;
  3491. sequence: () => Promise<AsyncIterator<Int>>;
  3492. title: () => Promise<AsyncIterator<String>>;
  3493. duration: () => Promise<AsyncIterator<Int>>;
  3494. variation: () => Promise<AsyncIterator<String>>;
  3495. description: () => Promise<AsyncIterator<String>>;
  3496. }
  3497. export interface CommentSubscriptionPayload {
  3498. mutation: MutationType;
  3499. node: Comment;
  3500. updatedFields: String[];
  3501. previousValues: CommentPreviousValues;
  3502. }
  3503. export interface CommentSubscriptionPayloadPromise
  3504. extends Promise<CommentSubscriptionPayload>,
  3505. Fragmentable {
  3506. mutation: () => Promise<MutationType>;
  3507. node: <T = CommentPromise>() => T;
  3508. updatedFields: () => Promise<String[]>;
  3509. previousValues: <T = CommentPreviousValuesPromise>() => T;
  3510. }
  3511. export interface CommentSubscriptionPayloadSubscription
  3512. extends Promise<AsyncIterator<CommentSubscriptionPayload>>,
  3513. Fragmentable {
  3514. mutation: () => Promise<AsyncIterator<MutationType>>;
  3515. node: <T = CommentSubscription>() => T;
  3516. updatedFields: () => Promise<AsyncIterator<String[]>>;
  3517. previousValues: <T = CommentPreviousValuesSubscription>() => T;
  3518. }
  3519. export interface CommentPreviousValues {
  3520. id: ID_Output;
  3521. text: String;
  3522. createdAt: DateTimeOutput;
  3523. }
  3524. export interface CommentPreviousValuesPromise
  3525. extends Promise<CommentPreviousValues>,
  3526. Fragmentable {
  3527. id: () => Promise<ID_Output>;
  3528. text: () => Promise<String>;
  3529. createdAt: () => Promise<DateTimeOutput>;
  3530. }
  3531. export interface CommentPreviousValuesSubscription
  3532. extends Promise<AsyncIterator<CommentPreviousValues>>,
  3533. Fragmentable {
  3534. id: () => Promise<AsyncIterator<ID_Output>>;
  3535. text: () => Promise<AsyncIterator<String>>;
  3536. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  3537. }
  3538. export interface ExerciseSubscriptionPayload {
  3539. mutation: MutationType;
  3540. node: Exercise;
  3541. updatedFields: String[];
  3542. previousValues: ExercisePreviousValues;
  3543. }
  3544. export interface ExerciseSubscriptionPayloadPromise
  3545. extends Promise<ExerciseSubscriptionPayload>,
  3546. Fragmentable {
  3547. mutation: () => Promise<MutationType>;
  3548. node: <T = ExercisePromise>() => T;
  3549. updatedFields: () => Promise<String[]>;
  3550. previousValues: <T = ExercisePreviousValuesPromise>() => T;
  3551. }
  3552. export interface ExerciseSubscriptionPayloadSubscription
  3553. extends Promise<AsyncIterator<ExerciseSubscriptionPayload>>,
  3554. Fragmentable {
  3555. mutation: () => Promise<AsyncIterator<MutationType>>;
  3556. node: <T = ExerciseSubscription>() => T;
  3557. updatedFields: () => Promise<AsyncIterator<String[]>>;
  3558. previousValues: <T = ExercisePreviousValuesSubscription>() => T;
  3559. }
  3560. export interface ExercisePreviousValues {
  3561. id: ID_Output;
  3562. name: String;
  3563. description: String;
  3564. video: String;
  3565. targets: String[];
  3566. }
  3567. export interface ExercisePreviousValuesPromise
  3568. extends Promise<ExercisePreviousValues>,
  3569. Fragmentable {
  3570. id: () => Promise<ID_Output>;
  3571. name: () => Promise<String>;
  3572. description: () => Promise<String>;
  3573. video: () => Promise<String>;
  3574. targets: () => Promise<String[]>;
  3575. }
  3576. export interface ExercisePreviousValuesSubscription
  3577. extends Promise<AsyncIterator<ExercisePreviousValues>>,
  3578. Fragmentable {
  3579. id: () => Promise<AsyncIterator<ID_Output>>;
  3580. name: () => Promise<AsyncIterator<String>>;
  3581. description: () => Promise<AsyncIterator<String>>;
  3582. video: () => Promise<AsyncIterator<String>>;
  3583. targets: () => Promise<AsyncIterator<String[]>>;
  3584. }
  3585. export interface FormatSubscriptionPayload {
  3586. mutation: MutationType;
  3587. node: Format;
  3588. updatedFields: String[];
  3589. previousValues: FormatPreviousValues;
  3590. }
  3591. export interface FormatSubscriptionPayloadPromise
  3592. extends Promise<FormatSubscriptionPayload>,
  3593. Fragmentable {
  3594. mutation: () => Promise<MutationType>;
  3595. node: <T = FormatPromise>() => T;
  3596. updatedFields: () => Promise<String[]>;
  3597. previousValues: <T = FormatPreviousValuesPromise>() => T;
  3598. }
  3599. export interface FormatSubscriptionPayloadSubscription
  3600. extends Promise<AsyncIterator<FormatSubscriptionPayload>>,
  3601. Fragmentable {
  3602. mutation: () => Promise<AsyncIterator<MutationType>>;
  3603. node: <T = FormatSubscription>() => T;
  3604. updatedFields: () => Promise<AsyncIterator<String[]>>;
  3605. previousValues: <T = FormatPreviousValuesSubscription>() => T;
  3606. }
  3607. export interface FormatPreviousValues {
  3608. id: ID_Output;
  3609. name: String;
  3610. description: String;
  3611. }
  3612. export interface FormatPreviousValuesPromise
  3613. extends Promise<FormatPreviousValues>,
  3614. Fragmentable {
  3615. id: () => Promise<ID_Output>;
  3616. name: () => Promise<String>;
  3617. description: () => Promise<String>;
  3618. }
  3619. export interface FormatPreviousValuesSubscription
  3620. extends Promise<AsyncIterator<FormatPreviousValues>>,
  3621. Fragmentable {
  3622. id: () => Promise<AsyncIterator<ID_Output>>;
  3623. name: () => Promise<AsyncIterator<String>>;
  3624. description: () => Promise<AsyncIterator<String>>;
  3625. }
  3626. export interface RatingSubscriptionPayload {
  3627. mutation: MutationType;
  3628. node: Rating;
  3629. updatedFields: String[];
  3630. previousValues: RatingPreviousValues;
  3631. }
  3632. export interface RatingSubscriptionPayloadPromise
  3633. extends Promise<RatingSubscriptionPayload>,
  3634. Fragmentable {
  3635. mutation: () => Promise<MutationType>;
  3636. node: <T = RatingPromise>() => T;
  3637. updatedFields: () => Promise<String[]>;
  3638. previousValues: <T = RatingPreviousValuesPromise>() => T;
  3639. }
  3640. export interface RatingSubscriptionPayloadSubscription
  3641. extends Promise<AsyncIterator<RatingSubscriptionPayload>>,
  3642. Fragmentable {
  3643. mutation: () => Promise<AsyncIterator<MutationType>>;
  3644. node: <T = RatingSubscription>() => T;
  3645. updatedFields: () => Promise<AsyncIterator<String[]>>;
  3646. previousValues: <T = RatingPreviousValuesSubscription>() => T;
  3647. }
  3648. export interface RatingPreviousValues {
  3649. id: ID_Output;
  3650. value: Int;
  3651. comment: String;
  3652. createdAt: DateTimeOutput;
  3653. }
  3654. export interface RatingPreviousValuesPromise
  3655. extends Promise<RatingPreviousValues>,
  3656. Fragmentable {
  3657. id: () => Promise<ID_Output>;
  3658. value: () => Promise<Int>;
  3659. comment: () => Promise<String>;
  3660. createdAt: () => Promise<DateTimeOutput>;
  3661. }
  3662. export interface RatingPreviousValuesSubscription
  3663. extends Promise<AsyncIterator<RatingPreviousValues>>,
  3664. Fragmentable {
  3665. id: () => Promise<AsyncIterator<ID_Output>>;
  3666. value: () => Promise<AsyncIterator<Int>>;
  3667. comment: () => Promise<AsyncIterator<String>>;
  3668. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  3669. }
  3670. export interface TrackSubscriptionPayload {
  3671. mutation: MutationType;
  3672. node: Track;
  3673. updatedFields: String[];
  3674. previousValues: TrackPreviousValues;
  3675. }
  3676. export interface TrackSubscriptionPayloadPromise
  3677. extends Promise<TrackSubscriptionPayload>,
  3678. Fragmentable {
  3679. mutation: () => Promise<MutationType>;
  3680. node: <T = TrackPromise>() => T;
  3681. updatedFields: () => Promise<String[]>;
  3682. previousValues: <T = TrackPreviousValuesPromise>() => T;
  3683. }
  3684. export interface TrackSubscriptionPayloadSubscription
  3685. extends Promise<AsyncIterator<TrackSubscriptionPayload>>,
  3686. Fragmentable {
  3687. mutation: () => Promise<AsyncIterator<MutationType>>;
  3688. node: <T = TrackSubscription>() => T;
  3689. updatedFields: () => Promise<AsyncIterator<String[]>>;
  3690. previousValues: <T = TrackPreviousValuesSubscription>() => T;
  3691. }
  3692. export interface TrackPreviousValues {
  3693. id: ID_Output;
  3694. title: String;
  3695. artist: String;
  3696. duration: Int;
  3697. link: String;
  3698. }
  3699. export interface TrackPreviousValuesPromise
  3700. extends Promise<TrackPreviousValues>,
  3701. Fragmentable {
  3702. id: () => Promise<ID_Output>;
  3703. title: () => Promise<String>;
  3704. artist: () => Promise<String>;
  3705. duration: () => Promise<Int>;
  3706. link: () => Promise<String>;
  3707. }
  3708. export interface TrackPreviousValuesSubscription
  3709. extends Promise<AsyncIterator<TrackPreviousValues>>,
  3710. Fragmentable {
  3711. id: () => Promise<AsyncIterator<ID_Output>>;
  3712. title: () => Promise<AsyncIterator<String>>;
  3713. artist: () => Promise<AsyncIterator<String>>;
  3714. duration: () => Promise<AsyncIterator<Int>>;
  3715. link: () => Promise<AsyncIterator<String>>;
  3716. }
  3717. export interface TrainingSubscriptionPayload {
  3718. mutation: MutationType;
  3719. node: Training;
  3720. updatedFields: String[];
  3721. previousValues: TrainingPreviousValues;
  3722. }
  3723. export interface TrainingSubscriptionPayloadPromise
  3724. extends Promise<TrainingSubscriptionPayload>,
  3725. Fragmentable {
  3726. mutation: () => Promise<MutationType>;
  3727. node: <T = TrainingPromise>() => T;
  3728. updatedFields: () => Promise<String[]>;
  3729. previousValues: <T = TrainingPreviousValuesPromise>() => T;
  3730. }
  3731. export interface TrainingSubscriptionPayloadSubscription
  3732. extends Promise<AsyncIterator<TrainingSubscriptionPayload>>,
  3733. Fragmentable {
  3734. mutation: () => Promise<AsyncIterator<MutationType>>;
  3735. node: <T = TrainingSubscription>() => T;
  3736. updatedFields: () => Promise<AsyncIterator<String[]>>;
  3737. previousValues: <T = TrainingPreviousValuesSubscription>() => T;
  3738. }
  3739. export interface TrainingPreviousValues {
  3740. id: ID_Output;
  3741. title: String;
  3742. createdAt: DateTimeOutput;
  3743. trainingDate: DateTimeOutput;
  3744. location: String;
  3745. attendance: Int;
  3746. published: Boolean;
  3747. }
  3748. export interface TrainingPreviousValuesPromise
  3749. extends Promise<TrainingPreviousValues>,
  3750. Fragmentable {
  3751. id: () => Promise<ID_Output>;
  3752. title: () => Promise<String>;
  3753. createdAt: () => Promise<DateTimeOutput>;
  3754. trainingDate: () => Promise<DateTimeOutput>;
  3755. location: () => Promise<String>;
  3756. attendance: () => Promise<Int>;
  3757. published: () => Promise<Boolean>;
  3758. }
  3759. export interface TrainingPreviousValuesSubscription
  3760. extends Promise<AsyncIterator<TrainingPreviousValues>>,
  3761. Fragmentable {
  3762. id: () => Promise<AsyncIterator<ID_Output>>;
  3763. title: () => Promise<AsyncIterator<String>>;
  3764. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  3765. trainingDate: () => Promise<AsyncIterator<DateTimeOutput>>;
  3766. location: () => Promise<AsyncIterator<String>>;
  3767. attendance: () => Promise<AsyncIterator<Int>>;
  3768. published: () => Promise<AsyncIterator<Boolean>>;
  3769. }
  3770. export interface TrainingTypeSubscriptionPayload {
  3771. mutation: MutationType;
  3772. node: TrainingType;
  3773. updatedFields: String[];
  3774. previousValues: TrainingTypePreviousValues;
  3775. }
  3776. export interface TrainingTypeSubscriptionPayloadPromise
  3777. extends Promise<TrainingTypeSubscriptionPayload>,
  3778. Fragmentable {
  3779. mutation: () => Promise<MutationType>;
  3780. node: <T = TrainingTypePromise>() => T;
  3781. updatedFields: () => Promise<String[]>;
  3782. previousValues: <T = TrainingTypePreviousValuesPromise>() => T;
  3783. }
  3784. export interface TrainingTypeSubscriptionPayloadSubscription
  3785. extends Promise<AsyncIterator<TrainingTypeSubscriptionPayload>>,
  3786. Fragmentable {
  3787. mutation: () => Promise<AsyncIterator<MutationType>>;
  3788. node: <T = TrainingTypeSubscription>() => T;
  3789. updatedFields: () => Promise<AsyncIterator<String[]>>;
  3790. previousValues: <T = TrainingTypePreviousValuesSubscription>() => T;
  3791. }
  3792. export interface TrainingTypePreviousValues {
  3793. id: ID_Output;
  3794. name: String;
  3795. description: String;
  3796. }
  3797. export interface TrainingTypePreviousValuesPromise
  3798. extends Promise<TrainingTypePreviousValues>,
  3799. Fragmentable {
  3800. id: () => Promise<ID_Output>;
  3801. name: () => Promise<String>;
  3802. description: () => Promise<String>;
  3803. }
  3804. export interface TrainingTypePreviousValuesSubscription
  3805. extends Promise<AsyncIterator<TrainingTypePreviousValues>>,
  3806. Fragmentable {
  3807. id: () => Promise<AsyncIterator<ID_Output>>;
  3808. name: () => Promise<AsyncIterator<String>>;
  3809. description: () => Promise<AsyncIterator<String>>;
  3810. }
  3811. export interface UserSubscriptionPayload {
  3812. mutation: MutationType;
  3813. node: User;
  3814. updatedFields: String[];
  3815. previousValues: UserPreviousValues;
  3816. }
  3817. export interface UserSubscriptionPayloadPromise
  3818. extends Promise<UserSubscriptionPayload>,
  3819. Fragmentable {
  3820. mutation: () => Promise<MutationType>;
  3821. node: <T = UserPromise>() => T;
  3822. updatedFields: () => Promise<String[]>;
  3823. previousValues: <T = UserPreviousValuesPromise>() => T;
  3824. }
  3825. export interface UserSubscriptionPayloadSubscription
  3826. extends Promise<AsyncIterator<UserSubscriptionPayload>>,
  3827. Fragmentable {
  3828. mutation: () => Promise<AsyncIterator<MutationType>>;
  3829. node: <T = UserSubscription>() => T;
  3830. updatedFields: () => Promise<AsyncIterator<String[]>>;
  3831. previousValues: <T = UserPreviousValuesSubscription>() => T;
  3832. }
  3833. export interface UserPreviousValues {
  3834. id: ID_Output;
  3835. email: String;
  3836. name: String;
  3837. password: String;
  3838. createdAt: DateTimeOutput;
  3839. permissions: Permission[];
  3840. interests: String[];
  3841. }
  3842. export interface UserPreviousValuesPromise
  3843. extends Promise<UserPreviousValues>,
  3844. Fragmentable {
  3845. id: () => Promise<ID_Output>;
  3846. email: () => Promise<String>;
  3847. name: () => Promise<String>;
  3848. password: () => Promise<String>;
  3849. createdAt: () => Promise<DateTimeOutput>;
  3850. permissions: () => Promise<Permission[]>;
  3851. interests: () => Promise<String[]>;
  3852. }
  3853. export interface UserPreviousValuesSubscription
  3854. extends Promise<AsyncIterator<UserPreviousValues>>,
  3855. Fragmentable {
  3856. id: () => Promise<AsyncIterator<ID_Output>>;
  3857. email: () => Promise<AsyncIterator<String>>;
  3858. name: () => Promise<AsyncIterator<String>>;
  3859. password: () => Promise<AsyncIterator<String>>;
  3860. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  3861. permissions: () => Promise<AsyncIterator<Permission[]>>;
  3862. interests: () => Promise<AsyncIterator<String[]>>;
  3863. }
  3864. /*
  3865. 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.
  3866. */
  3867. export type ID_Input = string | number;
  3868. export type ID_Output = string;
  3869. /*
  3870. 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.
  3871. */
  3872. export type String = string;
  3873. /*
  3874. The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
  3875. */
  3876. export type Int = number;
  3877. /*
  3878. The `Boolean` scalar type represents `true` or `false`.
  3879. */
  3880. export type Boolean = boolean;
  3881. /*
  3882. DateTime scalar input type, allowing Date
  3883. */
  3884. export type DateTimeInput = Date | string;
  3885. /*
  3886. DateTime scalar output type, which is always a string
  3887. */
  3888. export type DateTimeOutput = string;
  3889. export type Long = string;
  3890. /**
  3891. * Model Metadata
  3892. */
  3893. export const models: Model[] = [
  3894. {
  3895. name: "User",
  3896. embedded: false
  3897. },
  3898. {
  3899. name: "Permission",
  3900. embedded: false
  3901. },
  3902. {
  3903. name: "Training",
  3904. embedded: false
  3905. },
  3906. {
  3907. name: "TrainingType",
  3908. embedded: false
  3909. },
  3910. {
  3911. name: "Block",
  3912. embedded: false
  3913. },
  3914. {
  3915. name: "Format",
  3916. embedded: false
  3917. },
  3918. {
  3919. name: "Track",
  3920. embedded: false
  3921. },
  3922. {
  3923. name: "Exercise",
  3924. embedded: false
  3925. },
  3926. {
  3927. name: "BaseExercise",
  3928. embedded: false
  3929. },
  3930. {
  3931. name: "Rating",
  3932. embedded: false
  3933. },
  3934. {
  3935. name: "Comment",
  3936. embedded: false
  3937. }
  3938. ];
  3939. /**
  3940. * Type Defs
  3941. */
  3942. export const prisma: Prisma;