index.d.ts 129 KB

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