index.ts 149 KB

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