index.d.ts 129 KB

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