index.ts 206 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956
  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. file: (where?: FileWhereInput) => Promise<boolean>;
  21. format: (where?: FormatWhereInput) => Promise<boolean>;
  22. link: (where?: LinkWhereInput) => Promise<boolean>;
  23. picture: (where?: PictureWhereInput) => Promise<boolean>;
  24. rating: (where?: RatingWhereInput) => Promise<boolean>;
  25. track: (where?: TrackWhereInput) => Promise<boolean>;
  26. training: (where?: TrainingWhereInput) => Promise<boolean>;
  27. trainingType: (where?: TrainingTypeWhereInput) => Promise<boolean>;
  28. user: (where?: UserWhereInput) => Promise<boolean>;
  29. video: (where?: VideoWhereInput) => Promise<boolean>;
  30. }
  31. export interface Node {}
  32. export type FragmentableArray<T> = Promise<Array<T>> & Fragmentable;
  33. export interface Fragmentable {
  34. $fragment<T>(fragment: string | DocumentNode): Promise<T>;
  35. }
  36. export interface Prisma {
  37. $exists: Exists;
  38. $graphql: <T = any>(
  39. query: string,
  40. variables?: { [key: string]: any }
  41. ) => Promise<T>;
  42. /**
  43. * Queries
  44. */
  45. block: (where: BlockWhereUniqueInput) => BlockNullablePromise;
  46. blocks: (args?: {
  47. where?: BlockWhereInput;
  48. orderBy?: BlockOrderByInput;
  49. skip?: Int;
  50. after?: String;
  51. before?: String;
  52. first?: Int;
  53. last?: Int;
  54. }) => FragmentableArray<Block>;
  55. blocksConnection: (args?: {
  56. where?: BlockWhereInput;
  57. orderBy?: BlockOrderByInput;
  58. skip?: Int;
  59. after?: String;
  60. before?: String;
  61. first?: Int;
  62. last?: Int;
  63. }) => BlockConnectionPromise;
  64. blockInstance: (
  65. where: BlockInstanceWhereUniqueInput
  66. ) => BlockInstanceNullablePromise;
  67. blockInstances: (args?: {
  68. where?: BlockInstanceWhereInput;
  69. orderBy?: BlockInstanceOrderByInput;
  70. skip?: Int;
  71. after?: String;
  72. before?: String;
  73. first?: Int;
  74. last?: Int;
  75. }) => FragmentableArray<BlockInstance>;
  76. blockInstancesConnection: (args?: {
  77. where?: BlockInstanceWhereInput;
  78. orderBy?: BlockInstanceOrderByInput;
  79. skip?: Int;
  80. after?: String;
  81. before?: String;
  82. first?: Int;
  83. last?: Int;
  84. }) => BlockInstanceConnectionPromise;
  85. comment: (where: CommentWhereUniqueInput) => CommentNullablePromise;
  86. comments: (args?: {
  87. where?: CommentWhereInput;
  88. orderBy?: CommentOrderByInput;
  89. skip?: Int;
  90. after?: String;
  91. before?: String;
  92. first?: Int;
  93. last?: Int;
  94. }) => FragmentableArray<Comment>;
  95. commentsConnection: (args?: {
  96. where?: CommentWhereInput;
  97. orderBy?: CommentOrderByInput;
  98. skip?: Int;
  99. after?: String;
  100. before?: String;
  101. first?: Int;
  102. last?: Int;
  103. }) => CommentConnectionPromise;
  104. exercise: (where: ExerciseWhereUniqueInput) => ExerciseNullablePromise;
  105. exercises: (args?: {
  106. where?: ExerciseWhereInput;
  107. orderBy?: ExerciseOrderByInput;
  108. skip?: Int;
  109. after?: String;
  110. before?: String;
  111. first?: Int;
  112. last?: Int;
  113. }) => FragmentableArray<Exercise>;
  114. exercisesConnection: (args?: {
  115. where?: ExerciseWhereInput;
  116. orderBy?: ExerciseOrderByInput;
  117. skip?: Int;
  118. after?: String;
  119. before?: String;
  120. first?: Int;
  121. last?: Int;
  122. }) => ExerciseConnectionPromise;
  123. exerciseInstance: (
  124. where: ExerciseInstanceWhereUniqueInput
  125. ) => ExerciseInstanceNullablePromise;
  126. exerciseInstances: (args?: {
  127. where?: ExerciseInstanceWhereInput;
  128. orderBy?: ExerciseInstanceOrderByInput;
  129. skip?: Int;
  130. after?: String;
  131. before?: String;
  132. first?: Int;
  133. last?: Int;
  134. }) => FragmentableArray<ExerciseInstance>;
  135. exerciseInstancesConnection: (args?: {
  136. where?: ExerciseInstanceWhereInput;
  137. orderBy?: ExerciseInstanceOrderByInput;
  138. skip?: Int;
  139. after?: String;
  140. before?: String;
  141. first?: Int;
  142. last?: Int;
  143. }) => ExerciseInstanceConnectionPromise;
  144. file: (where: FileWhereUniqueInput) => FileNullablePromise;
  145. files: (args?: {
  146. where?: FileWhereInput;
  147. orderBy?: FileOrderByInput;
  148. skip?: Int;
  149. after?: String;
  150. before?: String;
  151. first?: Int;
  152. last?: Int;
  153. }) => FragmentableArray<File>;
  154. filesConnection: (args?: {
  155. where?: FileWhereInput;
  156. orderBy?: FileOrderByInput;
  157. skip?: Int;
  158. after?: String;
  159. before?: String;
  160. first?: Int;
  161. last?: Int;
  162. }) => FileConnectionPromise;
  163. format: (where: FormatWhereUniqueInput) => FormatNullablePromise;
  164. formats: (args?: {
  165. where?: FormatWhereInput;
  166. orderBy?: FormatOrderByInput;
  167. skip?: Int;
  168. after?: String;
  169. before?: String;
  170. first?: Int;
  171. last?: Int;
  172. }) => FragmentableArray<Format>;
  173. formatsConnection: (args?: {
  174. where?: FormatWhereInput;
  175. orderBy?: FormatOrderByInput;
  176. skip?: Int;
  177. after?: String;
  178. before?: String;
  179. first?: Int;
  180. last?: Int;
  181. }) => FormatConnectionPromise;
  182. link: (where: LinkWhereUniqueInput) => LinkNullablePromise;
  183. links: (args?: {
  184. where?: LinkWhereInput;
  185. orderBy?: LinkOrderByInput;
  186. skip?: Int;
  187. after?: String;
  188. before?: String;
  189. first?: Int;
  190. last?: Int;
  191. }) => FragmentableArray<Link>;
  192. linksConnection: (args?: {
  193. where?: LinkWhereInput;
  194. orderBy?: LinkOrderByInput;
  195. skip?: Int;
  196. after?: String;
  197. before?: String;
  198. first?: Int;
  199. last?: Int;
  200. }) => LinkConnectionPromise;
  201. picture: (where: PictureWhereUniqueInput) => PictureNullablePromise;
  202. pictures: (args?: {
  203. where?: PictureWhereInput;
  204. orderBy?: PictureOrderByInput;
  205. skip?: Int;
  206. after?: String;
  207. before?: String;
  208. first?: Int;
  209. last?: Int;
  210. }) => FragmentableArray<Picture>;
  211. picturesConnection: (args?: {
  212. where?: PictureWhereInput;
  213. orderBy?: PictureOrderByInput;
  214. skip?: Int;
  215. after?: String;
  216. before?: String;
  217. first?: Int;
  218. last?: Int;
  219. }) => PictureConnectionPromise;
  220. rating: (where: RatingWhereUniqueInput) => RatingNullablePromise;
  221. ratings: (args?: {
  222. where?: RatingWhereInput;
  223. orderBy?: RatingOrderByInput;
  224. skip?: Int;
  225. after?: String;
  226. before?: String;
  227. first?: Int;
  228. last?: Int;
  229. }) => FragmentableArray<Rating>;
  230. ratingsConnection: (args?: {
  231. where?: RatingWhereInput;
  232. orderBy?: RatingOrderByInput;
  233. skip?: Int;
  234. after?: String;
  235. before?: String;
  236. first?: Int;
  237. last?: Int;
  238. }) => RatingConnectionPromise;
  239. track: (where: TrackWhereUniqueInput) => TrackNullablePromise;
  240. tracks: (args?: {
  241. where?: TrackWhereInput;
  242. orderBy?: TrackOrderByInput;
  243. skip?: Int;
  244. after?: String;
  245. before?: String;
  246. first?: Int;
  247. last?: Int;
  248. }) => FragmentableArray<Track>;
  249. tracksConnection: (args?: {
  250. where?: TrackWhereInput;
  251. orderBy?: TrackOrderByInput;
  252. skip?: Int;
  253. after?: String;
  254. before?: String;
  255. first?: Int;
  256. last?: Int;
  257. }) => TrackConnectionPromise;
  258. training: (where: TrainingWhereUniqueInput) => TrainingNullablePromise;
  259. trainings: (args?: {
  260. where?: TrainingWhereInput;
  261. orderBy?: TrainingOrderByInput;
  262. skip?: Int;
  263. after?: String;
  264. before?: String;
  265. first?: Int;
  266. last?: Int;
  267. }) => FragmentableArray<Training>;
  268. trainingsConnection: (args?: {
  269. where?: TrainingWhereInput;
  270. orderBy?: TrainingOrderByInput;
  271. skip?: Int;
  272. after?: String;
  273. before?: String;
  274. first?: Int;
  275. last?: Int;
  276. }) => TrainingConnectionPromise;
  277. trainingType: (
  278. where: TrainingTypeWhereUniqueInput
  279. ) => TrainingTypeNullablePromise;
  280. trainingTypes: (args?: {
  281. where?: TrainingTypeWhereInput;
  282. orderBy?: TrainingTypeOrderByInput;
  283. skip?: Int;
  284. after?: String;
  285. before?: String;
  286. first?: Int;
  287. last?: Int;
  288. }) => FragmentableArray<TrainingType>;
  289. trainingTypesConnection: (args?: {
  290. where?: TrainingTypeWhereInput;
  291. orderBy?: TrainingTypeOrderByInput;
  292. skip?: Int;
  293. after?: String;
  294. before?: String;
  295. first?: Int;
  296. last?: Int;
  297. }) => TrainingTypeConnectionPromise;
  298. user: (where: UserWhereUniqueInput) => UserNullablePromise;
  299. users: (args?: {
  300. where?: UserWhereInput;
  301. orderBy?: UserOrderByInput;
  302. skip?: Int;
  303. after?: String;
  304. before?: String;
  305. first?: Int;
  306. last?: Int;
  307. }) => FragmentableArray<User>;
  308. usersConnection: (args?: {
  309. where?: UserWhereInput;
  310. orderBy?: UserOrderByInput;
  311. skip?: Int;
  312. after?: String;
  313. before?: String;
  314. first?: Int;
  315. last?: Int;
  316. }) => UserConnectionPromise;
  317. video: (where: VideoWhereUniqueInput) => VideoNullablePromise;
  318. videos: (args?: {
  319. where?: VideoWhereInput;
  320. orderBy?: VideoOrderByInput;
  321. skip?: Int;
  322. after?: String;
  323. before?: String;
  324. first?: Int;
  325. last?: Int;
  326. }) => FragmentableArray<Video>;
  327. videosConnection: (args?: {
  328. where?: VideoWhereInput;
  329. orderBy?: VideoOrderByInput;
  330. skip?: Int;
  331. after?: String;
  332. before?: String;
  333. first?: Int;
  334. last?: Int;
  335. }) => VideoConnectionPromise;
  336. node: (args: { id: ID_Output }) => Node;
  337. /**
  338. * Mutations
  339. */
  340. createBlock: (data: BlockCreateInput) => BlockPromise;
  341. updateBlock: (args: {
  342. data: BlockUpdateInput;
  343. where: BlockWhereUniqueInput;
  344. }) => BlockPromise;
  345. updateManyBlocks: (args: {
  346. data: BlockUpdateManyMutationInput;
  347. where?: BlockWhereInput;
  348. }) => BatchPayloadPromise;
  349. upsertBlock: (args: {
  350. where: BlockWhereUniqueInput;
  351. create: BlockCreateInput;
  352. update: BlockUpdateInput;
  353. }) => BlockPromise;
  354. deleteBlock: (where: BlockWhereUniqueInput) => BlockPromise;
  355. deleteManyBlocks: (where?: BlockWhereInput) => BatchPayloadPromise;
  356. createBlockInstance: (data: BlockInstanceCreateInput) => BlockInstancePromise;
  357. updateBlockInstance: (args: {
  358. data: BlockInstanceUpdateInput;
  359. where: BlockInstanceWhereUniqueInput;
  360. }) => BlockInstancePromise;
  361. updateManyBlockInstances: (args: {
  362. data: BlockInstanceUpdateManyMutationInput;
  363. where?: BlockInstanceWhereInput;
  364. }) => BatchPayloadPromise;
  365. upsertBlockInstance: (args: {
  366. where: BlockInstanceWhereUniqueInput;
  367. create: BlockInstanceCreateInput;
  368. update: BlockInstanceUpdateInput;
  369. }) => BlockInstancePromise;
  370. deleteBlockInstance: (
  371. where: BlockInstanceWhereUniqueInput
  372. ) => BlockInstancePromise;
  373. deleteManyBlockInstances: (
  374. where?: BlockInstanceWhereInput
  375. ) => BatchPayloadPromise;
  376. createComment: (data: CommentCreateInput) => CommentPromise;
  377. updateComment: (args: {
  378. data: CommentUpdateInput;
  379. where: CommentWhereUniqueInput;
  380. }) => CommentPromise;
  381. updateManyComments: (args: {
  382. data: CommentUpdateManyMutationInput;
  383. where?: CommentWhereInput;
  384. }) => BatchPayloadPromise;
  385. upsertComment: (args: {
  386. where: CommentWhereUniqueInput;
  387. create: CommentCreateInput;
  388. update: CommentUpdateInput;
  389. }) => CommentPromise;
  390. deleteComment: (where: CommentWhereUniqueInput) => CommentPromise;
  391. deleteManyComments: (where?: CommentWhereInput) => BatchPayloadPromise;
  392. createExercise: (data: ExerciseCreateInput) => ExercisePromise;
  393. updateExercise: (args: {
  394. data: ExerciseUpdateInput;
  395. where: ExerciseWhereUniqueInput;
  396. }) => ExercisePromise;
  397. updateManyExercises: (args: {
  398. data: ExerciseUpdateManyMutationInput;
  399. where?: ExerciseWhereInput;
  400. }) => BatchPayloadPromise;
  401. upsertExercise: (args: {
  402. where: ExerciseWhereUniqueInput;
  403. create: ExerciseCreateInput;
  404. update: ExerciseUpdateInput;
  405. }) => ExercisePromise;
  406. deleteExercise: (where: ExerciseWhereUniqueInput) => ExercisePromise;
  407. deleteManyExercises: (where?: ExerciseWhereInput) => BatchPayloadPromise;
  408. createExerciseInstance: (
  409. data: ExerciseInstanceCreateInput
  410. ) => ExerciseInstancePromise;
  411. updateExerciseInstance: (args: {
  412. data: ExerciseInstanceUpdateInput;
  413. where: ExerciseInstanceWhereUniqueInput;
  414. }) => ExerciseInstancePromise;
  415. updateManyExerciseInstances: (args: {
  416. data: ExerciseInstanceUpdateManyMutationInput;
  417. where?: ExerciseInstanceWhereInput;
  418. }) => BatchPayloadPromise;
  419. upsertExerciseInstance: (args: {
  420. where: ExerciseInstanceWhereUniqueInput;
  421. create: ExerciseInstanceCreateInput;
  422. update: ExerciseInstanceUpdateInput;
  423. }) => ExerciseInstancePromise;
  424. deleteExerciseInstance: (
  425. where: ExerciseInstanceWhereUniqueInput
  426. ) => ExerciseInstancePromise;
  427. deleteManyExerciseInstances: (
  428. where?: ExerciseInstanceWhereInput
  429. ) => BatchPayloadPromise;
  430. createFile: (data: FileCreateInput) => FilePromise;
  431. updateFile: (args: {
  432. data: FileUpdateInput;
  433. where: FileWhereUniqueInput;
  434. }) => FilePromise;
  435. updateManyFiles: (args: {
  436. data: FileUpdateManyMutationInput;
  437. where?: FileWhereInput;
  438. }) => BatchPayloadPromise;
  439. upsertFile: (args: {
  440. where: FileWhereUniqueInput;
  441. create: FileCreateInput;
  442. update: FileUpdateInput;
  443. }) => FilePromise;
  444. deleteFile: (where: FileWhereUniqueInput) => FilePromise;
  445. deleteManyFiles: (where?: FileWhereInput) => BatchPayloadPromise;
  446. createFormat: (data: FormatCreateInput) => FormatPromise;
  447. updateFormat: (args: {
  448. data: FormatUpdateInput;
  449. where: FormatWhereUniqueInput;
  450. }) => FormatPromise;
  451. updateManyFormats: (args: {
  452. data: FormatUpdateManyMutationInput;
  453. where?: FormatWhereInput;
  454. }) => BatchPayloadPromise;
  455. upsertFormat: (args: {
  456. where: FormatWhereUniqueInput;
  457. create: FormatCreateInput;
  458. update: FormatUpdateInput;
  459. }) => FormatPromise;
  460. deleteFormat: (where: FormatWhereUniqueInput) => FormatPromise;
  461. deleteManyFormats: (where?: FormatWhereInput) => BatchPayloadPromise;
  462. createLink: (data: LinkCreateInput) => LinkPromise;
  463. updateLink: (args: {
  464. data: LinkUpdateInput;
  465. where: LinkWhereUniqueInput;
  466. }) => LinkPromise;
  467. updateManyLinks: (args: {
  468. data: LinkUpdateManyMutationInput;
  469. where?: LinkWhereInput;
  470. }) => BatchPayloadPromise;
  471. upsertLink: (args: {
  472. where: LinkWhereUniqueInput;
  473. create: LinkCreateInput;
  474. update: LinkUpdateInput;
  475. }) => LinkPromise;
  476. deleteLink: (where: LinkWhereUniqueInput) => LinkPromise;
  477. deleteManyLinks: (where?: LinkWhereInput) => BatchPayloadPromise;
  478. createPicture: (data: PictureCreateInput) => PicturePromise;
  479. updatePicture: (args: {
  480. data: PictureUpdateInput;
  481. where: PictureWhereUniqueInput;
  482. }) => PicturePromise;
  483. updateManyPictures: (args: {
  484. data: PictureUpdateManyMutationInput;
  485. where?: PictureWhereInput;
  486. }) => BatchPayloadPromise;
  487. upsertPicture: (args: {
  488. where: PictureWhereUniqueInput;
  489. create: PictureCreateInput;
  490. update: PictureUpdateInput;
  491. }) => PicturePromise;
  492. deletePicture: (where: PictureWhereUniqueInput) => PicturePromise;
  493. deleteManyPictures: (where?: PictureWhereInput) => BatchPayloadPromise;
  494. createRating: (data: RatingCreateInput) => RatingPromise;
  495. updateRating: (args: {
  496. data: RatingUpdateInput;
  497. where: RatingWhereUniqueInput;
  498. }) => RatingPromise;
  499. updateManyRatings: (args: {
  500. data: RatingUpdateManyMutationInput;
  501. where?: RatingWhereInput;
  502. }) => BatchPayloadPromise;
  503. upsertRating: (args: {
  504. where: RatingWhereUniqueInput;
  505. create: RatingCreateInput;
  506. update: RatingUpdateInput;
  507. }) => RatingPromise;
  508. deleteRating: (where: RatingWhereUniqueInput) => RatingPromise;
  509. deleteManyRatings: (where?: RatingWhereInput) => BatchPayloadPromise;
  510. createTrack: (data: TrackCreateInput) => TrackPromise;
  511. updateTrack: (args: {
  512. data: TrackUpdateInput;
  513. where: TrackWhereUniqueInput;
  514. }) => TrackPromise;
  515. updateManyTracks: (args: {
  516. data: TrackUpdateManyMutationInput;
  517. where?: TrackWhereInput;
  518. }) => BatchPayloadPromise;
  519. upsertTrack: (args: {
  520. where: TrackWhereUniqueInput;
  521. create: TrackCreateInput;
  522. update: TrackUpdateInput;
  523. }) => TrackPromise;
  524. deleteTrack: (where: TrackWhereUniqueInput) => TrackPromise;
  525. deleteManyTracks: (where?: TrackWhereInput) => BatchPayloadPromise;
  526. createTraining: (data: TrainingCreateInput) => TrainingPromise;
  527. updateTraining: (args: {
  528. data: TrainingUpdateInput;
  529. where: TrainingWhereUniqueInput;
  530. }) => TrainingPromise;
  531. updateManyTrainings: (args: {
  532. data: TrainingUpdateManyMutationInput;
  533. where?: TrainingWhereInput;
  534. }) => BatchPayloadPromise;
  535. upsertTraining: (args: {
  536. where: TrainingWhereUniqueInput;
  537. create: TrainingCreateInput;
  538. update: TrainingUpdateInput;
  539. }) => TrainingPromise;
  540. deleteTraining: (where: TrainingWhereUniqueInput) => TrainingPromise;
  541. deleteManyTrainings: (where?: TrainingWhereInput) => BatchPayloadPromise;
  542. createTrainingType: (data: TrainingTypeCreateInput) => TrainingTypePromise;
  543. updateTrainingType: (args: {
  544. data: TrainingTypeUpdateInput;
  545. where: TrainingTypeWhereUniqueInput;
  546. }) => TrainingTypePromise;
  547. updateManyTrainingTypes: (args: {
  548. data: TrainingTypeUpdateManyMutationInput;
  549. where?: TrainingTypeWhereInput;
  550. }) => BatchPayloadPromise;
  551. upsertTrainingType: (args: {
  552. where: TrainingTypeWhereUniqueInput;
  553. create: TrainingTypeCreateInput;
  554. update: TrainingTypeUpdateInput;
  555. }) => TrainingTypePromise;
  556. deleteTrainingType: (
  557. where: TrainingTypeWhereUniqueInput
  558. ) => TrainingTypePromise;
  559. deleteManyTrainingTypes: (
  560. where?: TrainingTypeWhereInput
  561. ) => BatchPayloadPromise;
  562. createUser: (data: UserCreateInput) => UserPromise;
  563. updateUser: (args: {
  564. data: UserUpdateInput;
  565. where: UserWhereUniqueInput;
  566. }) => UserPromise;
  567. updateManyUsers: (args: {
  568. data: UserUpdateManyMutationInput;
  569. where?: UserWhereInput;
  570. }) => BatchPayloadPromise;
  571. upsertUser: (args: {
  572. where: UserWhereUniqueInput;
  573. create: UserCreateInput;
  574. update: UserUpdateInput;
  575. }) => UserPromise;
  576. deleteUser: (where: UserWhereUniqueInput) => UserPromise;
  577. deleteManyUsers: (where?: UserWhereInput) => BatchPayloadPromise;
  578. createVideo: (data: VideoCreateInput) => VideoPromise;
  579. updateVideo: (args: {
  580. data: VideoUpdateInput;
  581. where: VideoWhereUniqueInput;
  582. }) => VideoPromise;
  583. updateManyVideos: (args: {
  584. data: VideoUpdateManyMutationInput;
  585. where?: VideoWhereInput;
  586. }) => BatchPayloadPromise;
  587. upsertVideo: (args: {
  588. where: VideoWhereUniqueInput;
  589. create: VideoCreateInput;
  590. update: VideoUpdateInput;
  591. }) => VideoPromise;
  592. deleteVideo: (where: VideoWhereUniqueInput) => VideoPromise;
  593. deleteManyVideos: (where?: VideoWhereInput) => BatchPayloadPromise;
  594. /**
  595. * Subscriptions
  596. */
  597. $subscribe: Subscription;
  598. }
  599. export interface Subscription {
  600. block: (
  601. where?: BlockSubscriptionWhereInput
  602. ) => BlockSubscriptionPayloadSubscription;
  603. blockInstance: (
  604. where?: BlockInstanceSubscriptionWhereInput
  605. ) => BlockInstanceSubscriptionPayloadSubscription;
  606. comment: (
  607. where?: CommentSubscriptionWhereInput
  608. ) => CommentSubscriptionPayloadSubscription;
  609. exercise: (
  610. where?: ExerciseSubscriptionWhereInput
  611. ) => ExerciseSubscriptionPayloadSubscription;
  612. exerciseInstance: (
  613. where?: ExerciseInstanceSubscriptionWhereInput
  614. ) => ExerciseInstanceSubscriptionPayloadSubscription;
  615. file: (
  616. where?: FileSubscriptionWhereInput
  617. ) => FileSubscriptionPayloadSubscription;
  618. format: (
  619. where?: FormatSubscriptionWhereInput
  620. ) => FormatSubscriptionPayloadSubscription;
  621. link: (
  622. where?: LinkSubscriptionWhereInput
  623. ) => LinkSubscriptionPayloadSubscription;
  624. picture: (
  625. where?: PictureSubscriptionWhereInput
  626. ) => PictureSubscriptionPayloadSubscription;
  627. rating: (
  628. where?: RatingSubscriptionWhereInput
  629. ) => RatingSubscriptionPayloadSubscription;
  630. track: (
  631. where?: TrackSubscriptionWhereInput
  632. ) => TrackSubscriptionPayloadSubscription;
  633. training: (
  634. where?: TrainingSubscriptionWhereInput
  635. ) => TrainingSubscriptionPayloadSubscription;
  636. trainingType: (
  637. where?: TrainingTypeSubscriptionWhereInput
  638. ) => TrainingTypeSubscriptionPayloadSubscription;
  639. user: (
  640. where?: UserSubscriptionWhereInput
  641. ) => UserSubscriptionPayloadSubscription;
  642. video: (
  643. where?: VideoSubscriptionWhereInput
  644. ) => VideoSubscriptionPayloadSubscription;
  645. }
  646. export interface ClientConstructor<T> {
  647. new (options?: BaseClientOptions): T;
  648. }
  649. /**
  650. * Types
  651. */
  652. export type TrackOrderByInput =
  653. | "id_ASC"
  654. | "id_DESC"
  655. | "createdAt_ASC"
  656. | "createdAt_DESC"
  657. | "updatedAt_ASC"
  658. | "updatedAt_DESC"
  659. | "order_ASC"
  660. | "order_DESC";
  661. export type CommentOrderByInput =
  662. | "id_ASC"
  663. | "id_DESC"
  664. | "text_ASC"
  665. | "text_DESC"
  666. | "createdAt_ASC"
  667. | "createdAt_DESC";
  668. export type RatingOrderByInput =
  669. | "id_ASC"
  670. | "id_DESC"
  671. | "value_ASC"
  672. | "value_DESC"
  673. | "comment_ASC"
  674. | "comment_DESC"
  675. | "createdAt_ASC"
  676. | "createdAt_DESC";
  677. export type Permission = "ADMIN" | "INSTRUCTOR";
  678. export type VideoOrderByInput =
  679. | "id_ASC"
  680. | "id_DESC"
  681. | "createdAt_ASC"
  682. | "createdAt_DESC"
  683. | "updatedAt_ASC"
  684. | "updatedAt_DESC"
  685. | "order_ASC"
  686. | "order_DESC";
  687. export type PictureOrderByInput =
  688. | "id_ASC"
  689. | "id_DESC"
  690. | "createdAt_ASC"
  691. | "createdAt_DESC"
  692. | "updatedAt_ASC"
  693. | "updatedAt_DESC"
  694. | "order_ASC"
  695. | "order_DESC";
  696. export type BlockInstanceOrderByInput =
  697. | "id_ASC"
  698. | "id_DESC"
  699. | "order_ASC"
  700. | "order_DESC"
  701. | "rounds_ASC"
  702. | "rounds_DESC"
  703. | "variation_ASC"
  704. | "variation_DESC";
  705. export type UserOrderByInput =
  706. | "id_ASC"
  707. | "id_DESC"
  708. | "email_ASC"
  709. | "email_DESC"
  710. | "name_ASC"
  711. | "name_DESC"
  712. | "password_ASC"
  713. | "password_DESC"
  714. | "resetToken_ASC"
  715. | "resetToken_DESC"
  716. | "resetTokenExpiry_ASC"
  717. | "resetTokenExpiry_DESC"
  718. | "createdAt_ASC"
  719. | "createdAt_DESC";
  720. export type ExerciseInstanceOrderByInput =
  721. | "id_ASC"
  722. | "id_DESC"
  723. | "order_ASC"
  724. | "order_DESC"
  725. | "repetitions_ASC"
  726. | "repetitions_DESC"
  727. | "variation_ASC"
  728. | "variation_DESC";
  729. export type BlockOrderByInput =
  730. | "id_ASC"
  731. | "id_DESC"
  732. | "title_ASC"
  733. | "title_DESC"
  734. | "description_ASC"
  735. | "description_DESC"
  736. | "duration_ASC"
  737. | "duration_DESC"
  738. | "rest_ASC"
  739. | "rest_DESC";
  740. export type ExerciseOrderByInput =
  741. | "id_ASC"
  742. | "id_DESC"
  743. | "name_ASC"
  744. | "name_DESC"
  745. | "description_ASC"
  746. | "description_DESC";
  747. export type FileOrderByInput =
  748. | "id_ASC"
  749. | "id_DESC"
  750. | "createdAt_ASC"
  751. | "createdAt_DESC"
  752. | "updatedAt_ASC"
  753. | "updatedAt_DESC"
  754. | "path_ASC"
  755. | "path_DESC"
  756. | "comment_ASC"
  757. | "comment_DESC"
  758. | "mimetype_ASC"
  759. | "mimetype_DESC"
  760. | "thumbnail_ASC"
  761. | "thumbnail_DESC"
  762. | "filename_ASC"
  763. | "filename_DESC"
  764. | "encoding_ASC"
  765. | "encoding_DESC"
  766. | "size_ASC"
  767. | "size_DESC"
  768. | "width_ASC"
  769. | "width_DESC"
  770. | "height_ASC"
  771. | "height_DESC"
  772. | "duration_ASC"
  773. | "duration_DESC"
  774. | "title_ASC"
  775. | "title_DESC"
  776. | "artist_ASC"
  777. | "artist_DESC";
  778. export type FormatOrderByInput =
  779. | "id_ASC"
  780. | "id_DESC"
  781. | "name_ASC"
  782. | "name_DESC"
  783. | "description_ASC"
  784. | "description_DESC";
  785. export type LinkOrderByInput =
  786. | "id_ASC"
  787. | "id_DESC"
  788. | "createdAt_ASC"
  789. | "createdAt_DESC"
  790. | "updatedAt_ASC"
  791. | "updatedAt_DESC"
  792. | "url_ASC"
  793. | "url_DESC"
  794. | "comment_ASC"
  795. | "comment_DESC"
  796. | "duration_ASC"
  797. | "duration_DESC"
  798. | "title_ASC"
  799. | "title_DESC"
  800. | "artist_ASC"
  801. | "artist_DESC";
  802. export type TrainingOrderByInput =
  803. | "id_ASC"
  804. | "id_DESC"
  805. | "title_ASC"
  806. | "title_DESC"
  807. | "createdAt_ASC"
  808. | "createdAt_DESC"
  809. | "trainingDate_ASC"
  810. | "trainingDate_DESC"
  811. | "location_ASC"
  812. | "location_DESC"
  813. | "attendance_ASC"
  814. | "attendance_DESC"
  815. | "published_ASC"
  816. | "published_DESC";
  817. export type TrainingTypeOrderByInput =
  818. | "id_ASC"
  819. | "id_DESC"
  820. | "name_ASC"
  821. | "name_DESC"
  822. | "description_ASC"
  823. | "description_DESC";
  824. export type MutationType = "CREATED" | "UPDATED" | "DELETED";
  825. export type BlockWhereUniqueInput = AtLeastOne<{
  826. id: Maybe<ID_Input>;
  827. }>;
  828. export interface TrackWhereInput {
  829. id?: Maybe<ID_Input>;
  830. id_not?: Maybe<ID_Input>;
  831. id_in?: Maybe<ID_Input[] | ID_Input>;
  832. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  833. id_lt?: Maybe<ID_Input>;
  834. id_lte?: Maybe<ID_Input>;
  835. id_gt?: Maybe<ID_Input>;
  836. id_gte?: Maybe<ID_Input>;
  837. id_contains?: Maybe<ID_Input>;
  838. id_not_contains?: Maybe<ID_Input>;
  839. id_starts_with?: Maybe<ID_Input>;
  840. id_not_starts_with?: Maybe<ID_Input>;
  841. id_ends_with?: Maybe<ID_Input>;
  842. id_not_ends_with?: Maybe<ID_Input>;
  843. createdAt?: Maybe<DateTimeInput>;
  844. createdAt_not?: Maybe<DateTimeInput>;
  845. createdAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  846. createdAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  847. createdAt_lt?: Maybe<DateTimeInput>;
  848. createdAt_lte?: Maybe<DateTimeInput>;
  849. createdAt_gt?: Maybe<DateTimeInput>;
  850. createdAt_gte?: Maybe<DateTimeInput>;
  851. updatedAt?: Maybe<DateTimeInput>;
  852. updatedAt_not?: Maybe<DateTimeInput>;
  853. updatedAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  854. updatedAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  855. updatedAt_lt?: Maybe<DateTimeInput>;
  856. updatedAt_lte?: Maybe<DateTimeInput>;
  857. updatedAt_gt?: Maybe<DateTimeInput>;
  858. updatedAt_gte?: Maybe<DateTimeInput>;
  859. order?: Maybe<Int>;
  860. order_not?: Maybe<Int>;
  861. order_in?: Maybe<Int[] | Int>;
  862. order_not_in?: Maybe<Int[] | Int>;
  863. order_lt?: Maybe<Int>;
  864. order_lte?: Maybe<Int>;
  865. order_gt?: Maybe<Int>;
  866. order_gte?: Maybe<Int>;
  867. file?: Maybe<FileWhereInput>;
  868. link?: Maybe<LinkWhereInput>;
  869. AND?: Maybe<TrackWhereInput[] | TrackWhereInput>;
  870. OR?: Maybe<TrackWhereInput[] | TrackWhereInput>;
  871. NOT?: Maybe<TrackWhereInput[] | TrackWhereInput>;
  872. }
  873. export interface FileWhereInput {
  874. id?: Maybe<ID_Input>;
  875. id_not?: Maybe<ID_Input>;
  876. id_in?: Maybe<ID_Input[] | ID_Input>;
  877. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  878. id_lt?: Maybe<ID_Input>;
  879. id_lte?: Maybe<ID_Input>;
  880. id_gt?: Maybe<ID_Input>;
  881. id_gte?: Maybe<ID_Input>;
  882. id_contains?: Maybe<ID_Input>;
  883. id_not_contains?: Maybe<ID_Input>;
  884. id_starts_with?: Maybe<ID_Input>;
  885. id_not_starts_with?: Maybe<ID_Input>;
  886. id_ends_with?: Maybe<ID_Input>;
  887. id_not_ends_with?: Maybe<ID_Input>;
  888. createdAt?: Maybe<DateTimeInput>;
  889. createdAt_not?: Maybe<DateTimeInput>;
  890. createdAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  891. createdAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  892. createdAt_lt?: Maybe<DateTimeInput>;
  893. createdAt_lte?: Maybe<DateTimeInput>;
  894. createdAt_gt?: Maybe<DateTimeInput>;
  895. createdAt_gte?: Maybe<DateTimeInput>;
  896. updatedAt?: Maybe<DateTimeInput>;
  897. updatedAt_not?: Maybe<DateTimeInput>;
  898. updatedAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  899. updatedAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  900. updatedAt_lt?: Maybe<DateTimeInput>;
  901. updatedAt_lte?: Maybe<DateTimeInput>;
  902. updatedAt_gt?: Maybe<DateTimeInput>;
  903. updatedAt_gte?: Maybe<DateTimeInput>;
  904. user?: Maybe<UserWhereInput>;
  905. path?: Maybe<String>;
  906. path_not?: Maybe<String>;
  907. path_in?: Maybe<String[] | String>;
  908. path_not_in?: Maybe<String[] | String>;
  909. path_lt?: Maybe<String>;
  910. path_lte?: Maybe<String>;
  911. path_gt?: Maybe<String>;
  912. path_gte?: Maybe<String>;
  913. path_contains?: Maybe<String>;
  914. path_not_contains?: Maybe<String>;
  915. path_starts_with?: Maybe<String>;
  916. path_not_starts_with?: Maybe<String>;
  917. path_ends_with?: Maybe<String>;
  918. path_not_ends_with?: Maybe<String>;
  919. comment?: Maybe<String>;
  920. comment_not?: Maybe<String>;
  921. comment_in?: Maybe<String[] | String>;
  922. comment_not_in?: Maybe<String[] | String>;
  923. comment_lt?: Maybe<String>;
  924. comment_lte?: Maybe<String>;
  925. comment_gt?: Maybe<String>;
  926. comment_gte?: Maybe<String>;
  927. comment_contains?: Maybe<String>;
  928. comment_not_contains?: Maybe<String>;
  929. comment_starts_with?: Maybe<String>;
  930. comment_not_starts_with?: Maybe<String>;
  931. comment_ends_with?: Maybe<String>;
  932. comment_not_ends_with?: Maybe<String>;
  933. mimetype?: Maybe<String>;
  934. mimetype_not?: Maybe<String>;
  935. mimetype_in?: Maybe<String[] | String>;
  936. mimetype_not_in?: Maybe<String[] | String>;
  937. mimetype_lt?: Maybe<String>;
  938. mimetype_lte?: Maybe<String>;
  939. mimetype_gt?: Maybe<String>;
  940. mimetype_gte?: Maybe<String>;
  941. mimetype_contains?: Maybe<String>;
  942. mimetype_not_contains?: Maybe<String>;
  943. mimetype_starts_with?: Maybe<String>;
  944. mimetype_not_starts_with?: Maybe<String>;
  945. mimetype_ends_with?: Maybe<String>;
  946. mimetype_not_ends_with?: Maybe<String>;
  947. thumbnail?: Maybe<String>;
  948. thumbnail_not?: Maybe<String>;
  949. thumbnail_in?: Maybe<String[] | String>;
  950. thumbnail_not_in?: Maybe<String[] | String>;
  951. thumbnail_lt?: Maybe<String>;
  952. thumbnail_lte?: Maybe<String>;
  953. thumbnail_gt?: Maybe<String>;
  954. thumbnail_gte?: Maybe<String>;
  955. thumbnail_contains?: Maybe<String>;
  956. thumbnail_not_contains?: Maybe<String>;
  957. thumbnail_starts_with?: Maybe<String>;
  958. thumbnail_not_starts_with?: Maybe<String>;
  959. thumbnail_ends_with?: Maybe<String>;
  960. thumbnail_not_ends_with?: Maybe<String>;
  961. filename?: Maybe<String>;
  962. filename_not?: Maybe<String>;
  963. filename_in?: Maybe<String[] | String>;
  964. filename_not_in?: Maybe<String[] | String>;
  965. filename_lt?: Maybe<String>;
  966. filename_lte?: Maybe<String>;
  967. filename_gt?: Maybe<String>;
  968. filename_gte?: Maybe<String>;
  969. filename_contains?: Maybe<String>;
  970. filename_not_contains?: Maybe<String>;
  971. filename_starts_with?: Maybe<String>;
  972. filename_not_starts_with?: Maybe<String>;
  973. filename_ends_with?: Maybe<String>;
  974. filename_not_ends_with?: Maybe<String>;
  975. encoding?: Maybe<String>;
  976. encoding_not?: Maybe<String>;
  977. encoding_in?: Maybe<String[] | String>;
  978. encoding_not_in?: Maybe<String[] | String>;
  979. encoding_lt?: Maybe<String>;
  980. encoding_lte?: Maybe<String>;
  981. encoding_gt?: Maybe<String>;
  982. encoding_gte?: Maybe<String>;
  983. encoding_contains?: Maybe<String>;
  984. encoding_not_contains?: Maybe<String>;
  985. encoding_starts_with?: Maybe<String>;
  986. encoding_not_starts_with?: Maybe<String>;
  987. encoding_ends_with?: Maybe<String>;
  988. encoding_not_ends_with?: Maybe<String>;
  989. size?: Maybe<Int>;
  990. size_not?: Maybe<Int>;
  991. size_in?: Maybe<Int[] | Int>;
  992. size_not_in?: Maybe<Int[] | Int>;
  993. size_lt?: Maybe<Int>;
  994. size_lte?: Maybe<Int>;
  995. size_gt?: Maybe<Int>;
  996. size_gte?: Maybe<Int>;
  997. width?: Maybe<Int>;
  998. width_not?: Maybe<Int>;
  999. width_in?: Maybe<Int[] | Int>;
  1000. width_not_in?: Maybe<Int[] | Int>;
  1001. width_lt?: Maybe<Int>;
  1002. width_lte?: Maybe<Int>;
  1003. width_gt?: Maybe<Int>;
  1004. width_gte?: Maybe<Int>;
  1005. height?: Maybe<Int>;
  1006. height_not?: Maybe<Int>;
  1007. height_in?: Maybe<Int[] | Int>;
  1008. height_not_in?: Maybe<Int[] | Int>;
  1009. height_lt?: Maybe<Int>;
  1010. height_lte?: Maybe<Int>;
  1011. height_gt?: Maybe<Int>;
  1012. height_gte?: Maybe<Int>;
  1013. duration?: Maybe<Float>;
  1014. duration_not?: Maybe<Float>;
  1015. duration_in?: Maybe<Float[] | Float>;
  1016. duration_not_in?: Maybe<Float[] | Float>;
  1017. duration_lt?: Maybe<Float>;
  1018. duration_lte?: Maybe<Float>;
  1019. duration_gt?: Maybe<Float>;
  1020. duration_gte?: Maybe<Float>;
  1021. title?: Maybe<String>;
  1022. title_not?: Maybe<String>;
  1023. title_in?: Maybe<String[] | String>;
  1024. title_not_in?: Maybe<String[] | String>;
  1025. title_lt?: Maybe<String>;
  1026. title_lte?: Maybe<String>;
  1027. title_gt?: Maybe<String>;
  1028. title_gte?: Maybe<String>;
  1029. title_contains?: Maybe<String>;
  1030. title_not_contains?: Maybe<String>;
  1031. title_starts_with?: Maybe<String>;
  1032. title_not_starts_with?: Maybe<String>;
  1033. title_ends_with?: Maybe<String>;
  1034. title_not_ends_with?: Maybe<String>;
  1035. artist?: Maybe<String>;
  1036. artist_not?: Maybe<String>;
  1037. artist_in?: Maybe<String[] | String>;
  1038. artist_not_in?: Maybe<String[] | String>;
  1039. artist_lt?: Maybe<String>;
  1040. artist_lte?: Maybe<String>;
  1041. artist_gt?: Maybe<String>;
  1042. artist_gte?: Maybe<String>;
  1043. artist_contains?: Maybe<String>;
  1044. artist_not_contains?: Maybe<String>;
  1045. artist_starts_with?: Maybe<String>;
  1046. artist_not_starts_with?: Maybe<String>;
  1047. artist_ends_with?: Maybe<String>;
  1048. artist_not_ends_with?: Maybe<String>;
  1049. AND?: Maybe<FileWhereInput[] | FileWhereInput>;
  1050. OR?: Maybe<FileWhereInput[] | FileWhereInput>;
  1051. NOT?: Maybe<FileWhereInput[] | FileWhereInput>;
  1052. }
  1053. export interface UserWhereInput {
  1054. id?: Maybe<ID_Input>;
  1055. id_not?: Maybe<ID_Input>;
  1056. id_in?: Maybe<ID_Input[] | ID_Input>;
  1057. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  1058. id_lt?: Maybe<ID_Input>;
  1059. id_lte?: Maybe<ID_Input>;
  1060. id_gt?: Maybe<ID_Input>;
  1061. id_gte?: Maybe<ID_Input>;
  1062. id_contains?: Maybe<ID_Input>;
  1063. id_not_contains?: Maybe<ID_Input>;
  1064. id_starts_with?: Maybe<ID_Input>;
  1065. id_not_starts_with?: Maybe<ID_Input>;
  1066. id_ends_with?: Maybe<ID_Input>;
  1067. id_not_ends_with?: Maybe<ID_Input>;
  1068. email?: Maybe<String>;
  1069. email_not?: Maybe<String>;
  1070. email_in?: Maybe<String[] | String>;
  1071. email_not_in?: Maybe<String[] | String>;
  1072. email_lt?: Maybe<String>;
  1073. email_lte?: Maybe<String>;
  1074. email_gt?: Maybe<String>;
  1075. email_gte?: Maybe<String>;
  1076. email_contains?: Maybe<String>;
  1077. email_not_contains?: Maybe<String>;
  1078. email_starts_with?: Maybe<String>;
  1079. email_not_starts_with?: Maybe<String>;
  1080. email_ends_with?: Maybe<String>;
  1081. email_not_ends_with?: Maybe<String>;
  1082. name?: Maybe<String>;
  1083. name_not?: Maybe<String>;
  1084. name_in?: Maybe<String[] | String>;
  1085. name_not_in?: Maybe<String[] | String>;
  1086. name_lt?: Maybe<String>;
  1087. name_lte?: Maybe<String>;
  1088. name_gt?: Maybe<String>;
  1089. name_gte?: Maybe<String>;
  1090. name_contains?: Maybe<String>;
  1091. name_not_contains?: Maybe<String>;
  1092. name_starts_with?: Maybe<String>;
  1093. name_not_starts_with?: Maybe<String>;
  1094. name_ends_with?: Maybe<String>;
  1095. name_not_ends_with?: Maybe<String>;
  1096. password?: Maybe<String>;
  1097. password_not?: Maybe<String>;
  1098. password_in?: Maybe<String[] | String>;
  1099. password_not_in?: Maybe<String[] | String>;
  1100. password_lt?: Maybe<String>;
  1101. password_lte?: Maybe<String>;
  1102. password_gt?: Maybe<String>;
  1103. password_gte?: Maybe<String>;
  1104. password_contains?: Maybe<String>;
  1105. password_not_contains?: Maybe<String>;
  1106. password_starts_with?: Maybe<String>;
  1107. password_not_starts_with?: Maybe<String>;
  1108. password_ends_with?: Maybe<String>;
  1109. password_not_ends_with?: Maybe<String>;
  1110. resetToken?: Maybe<String>;
  1111. resetToken_not?: Maybe<String>;
  1112. resetToken_in?: Maybe<String[] | String>;
  1113. resetToken_not_in?: Maybe<String[] | String>;
  1114. resetToken_lt?: Maybe<String>;
  1115. resetToken_lte?: Maybe<String>;
  1116. resetToken_gt?: Maybe<String>;
  1117. resetToken_gte?: Maybe<String>;
  1118. resetToken_contains?: Maybe<String>;
  1119. resetToken_not_contains?: Maybe<String>;
  1120. resetToken_starts_with?: Maybe<String>;
  1121. resetToken_not_starts_with?: Maybe<String>;
  1122. resetToken_ends_with?: Maybe<String>;
  1123. resetToken_not_ends_with?: Maybe<String>;
  1124. resetTokenExpiry?: Maybe<Float>;
  1125. resetTokenExpiry_not?: Maybe<Float>;
  1126. resetTokenExpiry_in?: Maybe<Float[] | Float>;
  1127. resetTokenExpiry_not_in?: Maybe<Float[] | Float>;
  1128. resetTokenExpiry_lt?: Maybe<Float>;
  1129. resetTokenExpiry_lte?: Maybe<Float>;
  1130. resetTokenExpiry_gt?: Maybe<Float>;
  1131. resetTokenExpiry_gte?: Maybe<Float>;
  1132. createdAt?: Maybe<DateTimeInput>;
  1133. createdAt_not?: Maybe<DateTimeInput>;
  1134. createdAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1135. createdAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1136. createdAt_lt?: Maybe<DateTimeInput>;
  1137. createdAt_lte?: Maybe<DateTimeInput>;
  1138. createdAt_gt?: Maybe<DateTimeInput>;
  1139. createdAt_gte?: Maybe<DateTimeInput>;
  1140. comments_every?: Maybe<CommentWhereInput>;
  1141. comments_some?: Maybe<CommentWhereInput>;
  1142. comments_none?: Maybe<CommentWhereInput>;
  1143. ratings_every?: Maybe<RatingWhereInput>;
  1144. ratings_some?: Maybe<RatingWhereInput>;
  1145. ratings_none?: Maybe<RatingWhereInput>;
  1146. AND?: Maybe<UserWhereInput[] | UserWhereInput>;
  1147. OR?: Maybe<UserWhereInput[] | UserWhereInput>;
  1148. NOT?: Maybe<UserWhereInput[] | UserWhereInput>;
  1149. }
  1150. export interface CommentWhereInput {
  1151. id?: Maybe<ID_Input>;
  1152. id_not?: Maybe<ID_Input>;
  1153. id_in?: Maybe<ID_Input[] | ID_Input>;
  1154. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  1155. id_lt?: Maybe<ID_Input>;
  1156. id_lte?: Maybe<ID_Input>;
  1157. id_gt?: Maybe<ID_Input>;
  1158. id_gte?: Maybe<ID_Input>;
  1159. id_contains?: Maybe<ID_Input>;
  1160. id_not_contains?: Maybe<ID_Input>;
  1161. id_starts_with?: Maybe<ID_Input>;
  1162. id_not_starts_with?: Maybe<ID_Input>;
  1163. id_ends_with?: Maybe<ID_Input>;
  1164. id_not_ends_with?: Maybe<ID_Input>;
  1165. text?: Maybe<String>;
  1166. text_not?: Maybe<String>;
  1167. text_in?: Maybe<String[] | String>;
  1168. text_not_in?: Maybe<String[] | String>;
  1169. text_lt?: Maybe<String>;
  1170. text_lte?: Maybe<String>;
  1171. text_gt?: Maybe<String>;
  1172. text_gte?: Maybe<String>;
  1173. text_contains?: Maybe<String>;
  1174. text_not_contains?: Maybe<String>;
  1175. text_starts_with?: Maybe<String>;
  1176. text_not_starts_with?: Maybe<String>;
  1177. text_ends_with?: Maybe<String>;
  1178. text_not_ends_with?: Maybe<String>;
  1179. author?: Maybe<UserWhereInput>;
  1180. createdAt?: Maybe<DateTimeInput>;
  1181. createdAt_not?: Maybe<DateTimeInput>;
  1182. createdAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1183. createdAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1184. createdAt_lt?: Maybe<DateTimeInput>;
  1185. createdAt_lte?: Maybe<DateTimeInput>;
  1186. createdAt_gt?: Maybe<DateTimeInput>;
  1187. createdAt_gte?: Maybe<DateTimeInput>;
  1188. AND?: Maybe<CommentWhereInput[] | CommentWhereInput>;
  1189. OR?: Maybe<CommentWhereInput[] | CommentWhereInput>;
  1190. NOT?: Maybe<CommentWhereInput[] | CommentWhereInput>;
  1191. }
  1192. export interface RatingWhereInput {
  1193. id?: Maybe<ID_Input>;
  1194. id_not?: Maybe<ID_Input>;
  1195. id_in?: Maybe<ID_Input[] | ID_Input>;
  1196. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  1197. id_lt?: Maybe<ID_Input>;
  1198. id_lte?: Maybe<ID_Input>;
  1199. id_gt?: Maybe<ID_Input>;
  1200. id_gte?: Maybe<ID_Input>;
  1201. id_contains?: Maybe<ID_Input>;
  1202. id_not_contains?: Maybe<ID_Input>;
  1203. id_starts_with?: Maybe<ID_Input>;
  1204. id_not_starts_with?: Maybe<ID_Input>;
  1205. id_ends_with?: Maybe<ID_Input>;
  1206. id_not_ends_with?: Maybe<ID_Input>;
  1207. user?: Maybe<UserWhereInput>;
  1208. value?: Maybe<Int>;
  1209. value_not?: Maybe<Int>;
  1210. value_in?: Maybe<Int[] | Int>;
  1211. value_not_in?: Maybe<Int[] | Int>;
  1212. value_lt?: Maybe<Int>;
  1213. value_lte?: Maybe<Int>;
  1214. value_gt?: Maybe<Int>;
  1215. value_gte?: Maybe<Int>;
  1216. comment?: Maybe<String>;
  1217. comment_not?: Maybe<String>;
  1218. comment_in?: Maybe<String[] | String>;
  1219. comment_not_in?: Maybe<String[] | String>;
  1220. comment_lt?: Maybe<String>;
  1221. comment_lte?: Maybe<String>;
  1222. comment_gt?: Maybe<String>;
  1223. comment_gte?: Maybe<String>;
  1224. comment_contains?: Maybe<String>;
  1225. comment_not_contains?: Maybe<String>;
  1226. comment_starts_with?: Maybe<String>;
  1227. comment_not_starts_with?: Maybe<String>;
  1228. comment_ends_with?: Maybe<String>;
  1229. comment_not_ends_with?: Maybe<String>;
  1230. createdAt?: Maybe<DateTimeInput>;
  1231. createdAt_not?: Maybe<DateTimeInput>;
  1232. createdAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1233. createdAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1234. createdAt_lt?: Maybe<DateTimeInput>;
  1235. createdAt_lte?: Maybe<DateTimeInput>;
  1236. createdAt_gt?: Maybe<DateTimeInput>;
  1237. createdAt_gte?: Maybe<DateTimeInput>;
  1238. AND?: Maybe<RatingWhereInput[] | RatingWhereInput>;
  1239. OR?: Maybe<RatingWhereInput[] | RatingWhereInput>;
  1240. NOT?: Maybe<RatingWhereInput[] | RatingWhereInput>;
  1241. }
  1242. export interface LinkWhereInput {
  1243. id?: Maybe<ID_Input>;
  1244. id_not?: Maybe<ID_Input>;
  1245. id_in?: Maybe<ID_Input[] | ID_Input>;
  1246. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  1247. id_lt?: Maybe<ID_Input>;
  1248. id_lte?: Maybe<ID_Input>;
  1249. id_gt?: Maybe<ID_Input>;
  1250. id_gte?: Maybe<ID_Input>;
  1251. id_contains?: Maybe<ID_Input>;
  1252. id_not_contains?: Maybe<ID_Input>;
  1253. id_starts_with?: Maybe<ID_Input>;
  1254. id_not_starts_with?: Maybe<ID_Input>;
  1255. id_ends_with?: Maybe<ID_Input>;
  1256. id_not_ends_with?: Maybe<ID_Input>;
  1257. createdAt?: Maybe<DateTimeInput>;
  1258. createdAt_not?: Maybe<DateTimeInput>;
  1259. createdAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1260. createdAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1261. createdAt_lt?: Maybe<DateTimeInput>;
  1262. createdAt_lte?: Maybe<DateTimeInput>;
  1263. createdAt_gt?: Maybe<DateTimeInput>;
  1264. createdAt_gte?: Maybe<DateTimeInput>;
  1265. updatedAt?: Maybe<DateTimeInput>;
  1266. updatedAt_not?: Maybe<DateTimeInput>;
  1267. updatedAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1268. updatedAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1269. updatedAt_lt?: Maybe<DateTimeInput>;
  1270. updatedAt_lte?: Maybe<DateTimeInput>;
  1271. updatedAt_gt?: Maybe<DateTimeInput>;
  1272. updatedAt_gte?: Maybe<DateTimeInput>;
  1273. url?: Maybe<String>;
  1274. url_not?: Maybe<String>;
  1275. url_in?: Maybe<String[] | String>;
  1276. url_not_in?: Maybe<String[] | String>;
  1277. url_lt?: Maybe<String>;
  1278. url_lte?: Maybe<String>;
  1279. url_gt?: Maybe<String>;
  1280. url_gte?: Maybe<String>;
  1281. url_contains?: Maybe<String>;
  1282. url_not_contains?: Maybe<String>;
  1283. url_starts_with?: Maybe<String>;
  1284. url_not_starts_with?: Maybe<String>;
  1285. url_ends_with?: Maybe<String>;
  1286. url_not_ends_with?: Maybe<String>;
  1287. user?: Maybe<UserWhereInput>;
  1288. comment?: Maybe<String>;
  1289. comment_not?: Maybe<String>;
  1290. comment_in?: Maybe<String[] | String>;
  1291. comment_not_in?: Maybe<String[] | String>;
  1292. comment_lt?: Maybe<String>;
  1293. comment_lte?: Maybe<String>;
  1294. comment_gt?: Maybe<String>;
  1295. comment_gte?: Maybe<String>;
  1296. comment_contains?: Maybe<String>;
  1297. comment_not_contains?: Maybe<String>;
  1298. comment_starts_with?: Maybe<String>;
  1299. comment_not_starts_with?: Maybe<String>;
  1300. comment_ends_with?: Maybe<String>;
  1301. comment_not_ends_with?: Maybe<String>;
  1302. duration?: Maybe<Int>;
  1303. duration_not?: Maybe<Int>;
  1304. duration_in?: Maybe<Int[] | Int>;
  1305. duration_not_in?: Maybe<Int[] | Int>;
  1306. duration_lt?: Maybe<Int>;
  1307. duration_lte?: Maybe<Int>;
  1308. duration_gt?: Maybe<Int>;
  1309. duration_gte?: Maybe<Int>;
  1310. title?: Maybe<String>;
  1311. title_not?: Maybe<String>;
  1312. title_in?: Maybe<String[] | String>;
  1313. title_not_in?: Maybe<String[] | String>;
  1314. title_lt?: Maybe<String>;
  1315. title_lte?: Maybe<String>;
  1316. title_gt?: Maybe<String>;
  1317. title_gte?: Maybe<String>;
  1318. title_contains?: Maybe<String>;
  1319. title_not_contains?: Maybe<String>;
  1320. title_starts_with?: Maybe<String>;
  1321. title_not_starts_with?: Maybe<String>;
  1322. title_ends_with?: Maybe<String>;
  1323. title_not_ends_with?: Maybe<String>;
  1324. artist?: Maybe<String>;
  1325. artist_not?: Maybe<String>;
  1326. artist_in?: Maybe<String[] | String>;
  1327. artist_not_in?: Maybe<String[] | String>;
  1328. artist_lt?: Maybe<String>;
  1329. artist_lte?: Maybe<String>;
  1330. artist_gt?: Maybe<String>;
  1331. artist_gte?: Maybe<String>;
  1332. artist_contains?: Maybe<String>;
  1333. artist_not_contains?: Maybe<String>;
  1334. artist_starts_with?: Maybe<String>;
  1335. artist_not_starts_with?: Maybe<String>;
  1336. artist_ends_with?: Maybe<String>;
  1337. artist_not_ends_with?: Maybe<String>;
  1338. AND?: Maybe<LinkWhereInput[] | LinkWhereInput>;
  1339. OR?: Maybe<LinkWhereInput[] | LinkWhereInput>;
  1340. NOT?: Maybe<LinkWhereInput[] | LinkWhereInput>;
  1341. }
  1342. export interface VideoWhereInput {
  1343. id?: Maybe<ID_Input>;
  1344. id_not?: Maybe<ID_Input>;
  1345. id_in?: Maybe<ID_Input[] | ID_Input>;
  1346. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  1347. id_lt?: Maybe<ID_Input>;
  1348. id_lte?: Maybe<ID_Input>;
  1349. id_gt?: Maybe<ID_Input>;
  1350. id_gte?: Maybe<ID_Input>;
  1351. id_contains?: Maybe<ID_Input>;
  1352. id_not_contains?: Maybe<ID_Input>;
  1353. id_starts_with?: Maybe<ID_Input>;
  1354. id_not_starts_with?: Maybe<ID_Input>;
  1355. id_ends_with?: Maybe<ID_Input>;
  1356. id_not_ends_with?: Maybe<ID_Input>;
  1357. createdAt?: Maybe<DateTimeInput>;
  1358. createdAt_not?: Maybe<DateTimeInput>;
  1359. createdAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1360. createdAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1361. createdAt_lt?: Maybe<DateTimeInput>;
  1362. createdAt_lte?: Maybe<DateTimeInput>;
  1363. createdAt_gt?: Maybe<DateTimeInput>;
  1364. createdAt_gte?: Maybe<DateTimeInput>;
  1365. updatedAt?: Maybe<DateTimeInput>;
  1366. updatedAt_not?: Maybe<DateTimeInput>;
  1367. updatedAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1368. updatedAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1369. updatedAt_lt?: Maybe<DateTimeInput>;
  1370. updatedAt_lte?: Maybe<DateTimeInput>;
  1371. updatedAt_gt?: Maybe<DateTimeInput>;
  1372. updatedAt_gte?: Maybe<DateTimeInput>;
  1373. order?: Maybe<Int>;
  1374. order_not?: Maybe<Int>;
  1375. order_in?: Maybe<Int[] | Int>;
  1376. order_not_in?: Maybe<Int[] | Int>;
  1377. order_lt?: Maybe<Int>;
  1378. order_lte?: Maybe<Int>;
  1379. order_gt?: Maybe<Int>;
  1380. order_gte?: Maybe<Int>;
  1381. file?: Maybe<FileWhereInput>;
  1382. link?: Maybe<LinkWhereInput>;
  1383. AND?: Maybe<VideoWhereInput[] | VideoWhereInput>;
  1384. OR?: Maybe<VideoWhereInput[] | VideoWhereInput>;
  1385. NOT?: Maybe<VideoWhereInput[] | VideoWhereInput>;
  1386. }
  1387. export interface PictureWhereInput {
  1388. id?: Maybe<ID_Input>;
  1389. id_not?: Maybe<ID_Input>;
  1390. id_in?: Maybe<ID_Input[] | ID_Input>;
  1391. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  1392. id_lt?: Maybe<ID_Input>;
  1393. id_lte?: Maybe<ID_Input>;
  1394. id_gt?: Maybe<ID_Input>;
  1395. id_gte?: Maybe<ID_Input>;
  1396. id_contains?: Maybe<ID_Input>;
  1397. id_not_contains?: Maybe<ID_Input>;
  1398. id_starts_with?: Maybe<ID_Input>;
  1399. id_not_starts_with?: Maybe<ID_Input>;
  1400. id_ends_with?: Maybe<ID_Input>;
  1401. id_not_ends_with?: Maybe<ID_Input>;
  1402. createdAt?: Maybe<DateTimeInput>;
  1403. createdAt_not?: Maybe<DateTimeInput>;
  1404. createdAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1405. createdAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1406. createdAt_lt?: Maybe<DateTimeInput>;
  1407. createdAt_lte?: Maybe<DateTimeInput>;
  1408. createdAt_gt?: Maybe<DateTimeInput>;
  1409. createdAt_gte?: Maybe<DateTimeInput>;
  1410. updatedAt?: Maybe<DateTimeInput>;
  1411. updatedAt_not?: Maybe<DateTimeInput>;
  1412. updatedAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1413. updatedAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1414. updatedAt_lt?: Maybe<DateTimeInput>;
  1415. updatedAt_lte?: Maybe<DateTimeInput>;
  1416. updatedAt_gt?: Maybe<DateTimeInput>;
  1417. updatedAt_gte?: Maybe<DateTimeInput>;
  1418. order?: Maybe<Int>;
  1419. order_not?: Maybe<Int>;
  1420. order_in?: Maybe<Int[] | Int>;
  1421. order_not_in?: Maybe<Int[] | Int>;
  1422. order_lt?: Maybe<Int>;
  1423. order_lte?: Maybe<Int>;
  1424. order_gt?: Maybe<Int>;
  1425. order_gte?: Maybe<Int>;
  1426. file?: Maybe<FileWhereInput>;
  1427. link?: Maybe<LinkWhereInput>;
  1428. AND?: Maybe<PictureWhereInput[] | PictureWhereInput>;
  1429. OR?: Maybe<PictureWhereInput[] | PictureWhereInput>;
  1430. NOT?: Maybe<PictureWhereInput[] | PictureWhereInput>;
  1431. }
  1432. export interface BlockInstanceWhereInput {
  1433. id?: Maybe<ID_Input>;
  1434. id_not?: Maybe<ID_Input>;
  1435. id_in?: Maybe<ID_Input[] | ID_Input>;
  1436. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  1437. id_lt?: Maybe<ID_Input>;
  1438. id_lte?: Maybe<ID_Input>;
  1439. id_gt?: Maybe<ID_Input>;
  1440. id_gte?: Maybe<ID_Input>;
  1441. id_contains?: Maybe<ID_Input>;
  1442. id_not_contains?: Maybe<ID_Input>;
  1443. id_starts_with?: Maybe<ID_Input>;
  1444. id_not_starts_with?: Maybe<ID_Input>;
  1445. id_ends_with?: Maybe<ID_Input>;
  1446. id_not_ends_with?: Maybe<ID_Input>;
  1447. block?: Maybe<BlockWhereInput>;
  1448. parentBlock?: Maybe<BlockWhereInput>;
  1449. parentTraining?: Maybe<TrainingWhereInput>;
  1450. order?: Maybe<Int>;
  1451. order_not?: Maybe<Int>;
  1452. order_in?: Maybe<Int[] | Int>;
  1453. order_not_in?: Maybe<Int[] | Int>;
  1454. order_lt?: Maybe<Int>;
  1455. order_lte?: Maybe<Int>;
  1456. order_gt?: Maybe<Int>;
  1457. order_gte?: Maybe<Int>;
  1458. rounds?: Maybe<Int>;
  1459. rounds_not?: Maybe<Int>;
  1460. rounds_in?: Maybe<Int[] | Int>;
  1461. rounds_not_in?: Maybe<Int[] | Int>;
  1462. rounds_lt?: Maybe<Int>;
  1463. rounds_lte?: Maybe<Int>;
  1464. rounds_gt?: Maybe<Int>;
  1465. rounds_gte?: Maybe<Int>;
  1466. variation?: Maybe<String>;
  1467. variation_not?: Maybe<String>;
  1468. variation_in?: Maybe<String[] | String>;
  1469. variation_not_in?: Maybe<String[] | String>;
  1470. variation_lt?: Maybe<String>;
  1471. variation_lte?: Maybe<String>;
  1472. variation_gt?: Maybe<String>;
  1473. variation_gte?: Maybe<String>;
  1474. variation_contains?: Maybe<String>;
  1475. variation_not_contains?: Maybe<String>;
  1476. variation_starts_with?: Maybe<String>;
  1477. variation_not_starts_with?: Maybe<String>;
  1478. variation_ends_with?: Maybe<String>;
  1479. variation_not_ends_with?: Maybe<String>;
  1480. AND?: Maybe<BlockInstanceWhereInput[] | BlockInstanceWhereInput>;
  1481. OR?: Maybe<BlockInstanceWhereInput[] | BlockInstanceWhereInput>;
  1482. NOT?: Maybe<BlockInstanceWhereInput[] | BlockInstanceWhereInput>;
  1483. }
  1484. export interface BlockWhereInput {
  1485. id?: Maybe<ID_Input>;
  1486. id_not?: Maybe<ID_Input>;
  1487. id_in?: Maybe<ID_Input[] | ID_Input>;
  1488. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  1489. id_lt?: Maybe<ID_Input>;
  1490. id_lte?: Maybe<ID_Input>;
  1491. id_gt?: Maybe<ID_Input>;
  1492. id_gte?: Maybe<ID_Input>;
  1493. id_contains?: Maybe<ID_Input>;
  1494. id_not_contains?: Maybe<ID_Input>;
  1495. id_starts_with?: Maybe<ID_Input>;
  1496. id_not_starts_with?: Maybe<ID_Input>;
  1497. id_ends_with?: Maybe<ID_Input>;
  1498. id_not_ends_with?: Maybe<ID_Input>;
  1499. title?: Maybe<String>;
  1500. title_not?: Maybe<String>;
  1501. title_in?: Maybe<String[] | String>;
  1502. title_not_in?: Maybe<String[] | String>;
  1503. title_lt?: Maybe<String>;
  1504. title_lte?: Maybe<String>;
  1505. title_gt?: Maybe<String>;
  1506. title_gte?: Maybe<String>;
  1507. title_contains?: Maybe<String>;
  1508. title_not_contains?: Maybe<String>;
  1509. title_starts_with?: Maybe<String>;
  1510. title_not_starts_with?: Maybe<String>;
  1511. title_ends_with?: Maybe<String>;
  1512. title_not_ends_with?: Maybe<String>;
  1513. description?: Maybe<String>;
  1514. description_not?: Maybe<String>;
  1515. description_in?: Maybe<String[] | String>;
  1516. description_not_in?: Maybe<String[] | String>;
  1517. description_lt?: Maybe<String>;
  1518. description_lte?: Maybe<String>;
  1519. description_gt?: Maybe<String>;
  1520. description_gte?: Maybe<String>;
  1521. description_contains?: Maybe<String>;
  1522. description_not_contains?: Maybe<String>;
  1523. description_starts_with?: Maybe<String>;
  1524. description_not_starts_with?: Maybe<String>;
  1525. description_ends_with?: Maybe<String>;
  1526. description_not_ends_with?: Maybe<String>;
  1527. duration?: Maybe<Int>;
  1528. duration_not?: Maybe<Int>;
  1529. duration_in?: Maybe<Int[] | Int>;
  1530. duration_not_in?: Maybe<Int[] | Int>;
  1531. duration_lt?: Maybe<Int>;
  1532. duration_lte?: Maybe<Int>;
  1533. duration_gt?: Maybe<Int>;
  1534. duration_gte?: Maybe<Int>;
  1535. format?: Maybe<FormatWhereInput>;
  1536. rest?: Maybe<Int>;
  1537. rest_not?: Maybe<Int>;
  1538. rest_in?: Maybe<Int[] | Int>;
  1539. rest_not_in?: Maybe<Int[] | Int>;
  1540. rest_lt?: Maybe<Int>;
  1541. rest_lte?: Maybe<Int>;
  1542. rest_gt?: Maybe<Int>;
  1543. rest_gte?: Maybe<Int>;
  1544. tracks_every?: Maybe<TrackWhereInput>;
  1545. tracks_some?: Maybe<TrackWhereInput>;
  1546. tracks_none?: Maybe<TrackWhereInput>;
  1547. videos_every?: Maybe<VideoWhereInput>;
  1548. videos_some?: Maybe<VideoWhereInput>;
  1549. videos_none?: Maybe<VideoWhereInput>;
  1550. pictures_every?: Maybe<PictureWhereInput>;
  1551. pictures_some?: Maybe<PictureWhereInput>;
  1552. pictures_none?: Maybe<PictureWhereInput>;
  1553. blocks_every?: Maybe<BlockInstanceWhereInput>;
  1554. blocks_some?: Maybe<BlockInstanceWhereInput>;
  1555. blocks_none?: Maybe<BlockInstanceWhereInput>;
  1556. parentBlockInstances_every?: Maybe<BlockInstanceWhereInput>;
  1557. parentBlockInstances_some?: Maybe<BlockInstanceWhereInput>;
  1558. parentBlockInstances_none?: Maybe<BlockInstanceWhereInput>;
  1559. exercises_every?: Maybe<ExerciseInstanceWhereInput>;
  1560. exercises_some?: Maybe<ExerciseInstanceWhereInput>;
  1561. exercises_none?: Maybe<ExerciseInstanceWhereInput>;
  1562. AND?: Maybe<BlockWhereInput[] | BlockWhereInput>;
  1563. OR?: Maybe<BlockWhereInput[] | BlockWhereInput>;
  1564. NOT?: Maybe<BlockWhereInput[] | BlockWhereInput>;
  1565. }
  1566. export interface FormatWhereInput {
  1567. id?: Maybe<ID_Input>;
  1568. id_not?: Maybe<ID_Input>;
  1569. id_in?: Maybe<ID_Input[] | ID_Input>;
  1570. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  1571. id_lt?: Maybe<ID_Input>;
  1572. id_lte?: Maybe<ID_Input>;
  1573. id_gt?: Maybe<ID_Input>;
  1574. id_gte?: Maybe<ID_Input>;
  1575. id_contains?: Maybe<ID_Input>;
  1576. id_not_contains?: Maybe<ID_Input>;
  1577. id_starts_with?: Maybe<ID_Input>;
  1578. id_not_starts_with?: Maybe<ID_Input>;
  1579. id_ends_with?: Maybe<ID_Input>;
  1580. id_not_ends_with?: Maybe<ID_Input>;
  1581. name?: Maybe<String>;
  1582. name_not?: Maybe<String>;
  1583. name_in?: Maybe<String[] | String>;
  1584. name_not_in?: Maybe<String[] | String>;
  1585. name_lt?: Maybe<String>;
  1586. name_lte?: Maybe<String>;
  1587. name_gt?: Maybe<String>;
  1588. name_gte?: Maybe<String>;
  1589. name_contains?: Maybe<String>;
  1590. name_not_contains?: Maybe<String>;
  1591. name_starts_with?: Maybe<String>;
  1592. name_not_starts_with?: Maybe<String>;
  1593. name_ends_with?: Maybe<String>;
  1594. name_not_ends_with?: Maybe<String>;
  1595. description?: Maybe<String>;
  1596. description_not?: Maybe<String>;
  1597. description_in?: Maybe<String[] | String>;
  1598. description_not_in?: Maybe<String[] | String>;
  1599. description_lt?: Maybe<String>;
  1600. description_lte?: Maybe<String>;
  1601. description_gt?: Maybe<String>;
  1602. description_gte?: Maybe<String>;
  1603. description_contains?: Maybe<String>;
  1604. description_not_contains?: Maybe<String>;
  1605. description_starts_with?: Maybe<String>;
  1606. description_not_starts_with?: Maybe<String>;
  1607. description_ends_with?: Maybe<String>;
  1608. description_not_ends_with?: Maybe<String>;
  1609. AND?: Maybe<FormatWhereInput[] | FormatWhereInput>;
  1610. OR?: Maybe<FormatWhereInput[] | FormatWhereInput>;
  1611. NOT?: Maybe<FormatWhereInput[] | FormatWhereInput>;
  1612. }
  1613. export interface ExerciseInstanceWhereInput {
  1614. id?: Maybe<ID_Input>;
  1615. id_not?: Maybe<ID_Input>;
  1616. id_in?: Maybe<ID_Input[] | ID_Input>;
  1617. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  1618. id_lt?: Maybe<ID_Input>;
  1619. id_lte?: Maybe<ID_Input>;
  1620. id_gt?: Maybe<ID_Input>;
  1621. id_gte?: Maybe<ID_Input>;
  1622. id_contains?: Maybe<ID_Input>;
  1623. id_not_contains?: Maybe<ID_Input>;
  1624. id_starts_with?: Maybe<ID_Input>;
  1625. id_not_starts_with?: Maybe<ID_Input>;
  1626. id_ends_with?: Maybe<ID_Input>;
  1627. id_not_ends_with?: Maybe<ID_Input>;
  1628. exercise?: Maybe<ExerciseWhereInput>;
  1629. order?: Maybe<Int>;
  1630. order_not?: Maybe<Int>;
  1631. order_in?: Maybe<Int[] | Int>;
  1632. order_not_in?: Maybe<Int[] | Int>;
  1633. order_lt?: Maybe<Int>;
  1634. order_lte?: Maybe<Int>;
  1635. order_gt?: Maybe<Int>;
  1636. order_gte?: Maybe<Int>;
  1637. repetitions?: Maybe<Int>;
  1638. repetitions_not?: Maybe<Int>;
  1639. repetitions_in?: Maybe<Int[] | Int>;
  1640. repetitions_not_in?: Maybe<Int[] | Int>;
  1641. repetitions_lt?: Maybe<Int>;
  1642. repetitions_lte?: Maybe<Int>;
  1643. repetitions_gt?: Maybe<Int>;
  1644. repetitions_gte?: Maybe<Int>;
  1645. variation?: Maybe<String>;
  1646. variation_not?: Maybe<String>;
  1647. variation_in?: Maybe<String[] | String>;
  1648. variation_not_in?: Maybe<String[] | String>;
  1649. variation_lt?: Maybe<String>;
  1650. variation_lte?: Maybe<String>;
  1651. variation_gt?: Maybe<String>;
  1652. variation_gte?: Maybe<String>;
  1653. variation_contains?: Maybe<String>;
  1654. variation_not_contains?: Maybe<String>;
  1655. variation_starts_with?: Maybe<String>;
  1656. variation_not_starts_with?: Maybe<String>;
  1657. variation_ends_with?: Maybe<String>;
  1658. variation_not_ends_with?: Maybe<String>;
  1659. parentBlockInstances?: Maybe<BlockWhereInput>;
  1660. AND?: Maybe<ExerciseInstanceWhereInput[] | ExerciseInstanceWhereInput>;
  1661. OR?: Maybe<ExerciseInstanceWhereInput[] | ExerciseInstanceWhereInput>;
  1662. NOT?: Maybe<ExerciseInstanceWhereInput[] | ExerciseInstanceWhereInput>;
  1663. }
  1664. export interface ExerciseWhereInput {
  1665. id?: Maybe<ID_Input>;
  1666. id_not?: Maybe<ID_Input>;
  1667. id_in?: Maybe<ID_Input[] | ID_Input>;
  1668. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  1669. id_lt?: Maybe<ID_Input>;
  1670. id_lte?: Maybe<ID_Input>;
  1671. id_gt?: Maybe<ID_Input>;
  1672. id_gte?: Maybe<ID_Input>;
  1673. id_contains?: Maybe<ID_Input>;
  1674. id_not_contains?: Maybe<ID_Input>;
  1675. id_starts_with?: Maybe<ID_Input>;
  1676. id_not_starts_with?: Maybe<ID_Input>;
  1677. id_ends_with?: Maybe<ID_Input>;
  1678. id_not_ends_with?: Maybe<ID_Input>;
  1679. name?: Maybe<String>;
  1680. name_not?: Maybe<String>;
  1681. name_in?: Maybe<String[] | String>;
  1682. name_not_in?: Maybe<String[] | String>;
  1683. name_lt?: Maybe<String>;
  1684. name_lte?: Maybe<String>;
  1685. name_gt?: Maybe<String>;
  1686. name_gte?: Maybe<String>;
  1687. name_contains?: Maybe<String>;
  1688. name_not_contains?: Maybe<String>;
  1689. name_starts_with?: Maybe<String>;
  1690. name_not_starts_with?: Maybe<String>;
  1691. name_ends_with?: Maybe<String>;
  1692. name_not_ends_with?: Maybe<String>;
  1693. description?: Maybe<String>;
  1694. description_not?: Maybe<String>;
  1695. description_in?: Maybe<String[] | String>;
  1696. description_not_in?: Maybe<String[] | String>;
  1697. description_lt?: Maybe<String>;
  1698. description_lte?: Maybe<String>;
  1699. description_gt?: Maybe<String>;
  1700. description_gte?: Maybe<String>;
  1701. description_contains?: Maybe<String>;
  1702. description_not_contains?: Maybe<String>;
  1703. description_starts_with?: Maybe<String>;
  1704. description_not_starts_with?: Maybe<String>;
  1705. description_ends_with?: Maybe<String>;
  1706. description_not_ends_with?: Maybe<String>;
  1707. videos_every?: Maybe<VideoWhereInput>;
  1708. videos_some?: Maybe<VideoWhereInput>;
  1709. videos_none?: Maybe<VideoWhereInput>;
  1710. pictures_every?: Maybe<PictureWhereInput>;
  1711. pictures_some?: Maybe<PictureWhereInput>;
  1712. pictures_none?: Maybe<PictureWhereInput>;
  1713. parentExerciseInstances_every?: Maybe<ExerciseInstanceWhereInput>;
  1714. parentExerciseInstances_some?: Maybe<ExerciseInstanceWhereInput>;
  1715. parentExerciseInstances_none?: Maybe<ExerciseInstanceWhereInput>;
  1716. AND?: Maybe<ExerciseWhereInput[] | ExerciseWhereInput>;
  1717. OR?: Maybe<ExerciseWhereInput[] | ExerciseWhereInput>;
  1718. NOT?: Maybe<ExerciseWhereInput[] | ExerciseWhereInput>;
  1719. }
  1720. export interface TrainingWhereInput {
  1721. id?: Maybe<ID_Input>;
  1722. id_not?: Maybe<ID_Input>;
  1723. id_in?: Maybe<ID_Input[] | ID_Input>;
  1724. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  1725. id_lt?: Maybe<ID_Input>;
  1726. id_lte?: Maybe<ID_Input>;
  1727. id_gt?: Maybe<ID_Input>;
  1728. id_gte?: Maybe<ID_Input>;
  1729. id_contains?: Maybe<ID_Input>;
  1730. id_not_contains?: Maybe<ID_Input>;
  1731. id_starts_with?: Maybe<ID_Input>;
  1732. id_not_starts_with?: Maybe<ID_Input>;
  1733. id_ends_with?: Maybe<ID_Input>;
  1734. id_not_ends_with?: Maybe<ID_Input>;
  1735. title?: Maybe<String>;
  1736. title_not?: Maybe<String>;
  1737. title_in?: Maybe<String[] | String>;
  1738. title_not_in?: Maybe<String[] | String>;
  1739. title_lt?: Maybe<String>;
  1740. title_lte?: Maybe<String>;
  1741. title_gt?: Maybe<String>;
  1742. title_gte?: Maybe<String>;
  1743. title_contains?: Maybe<String>;
  1744. title_not_contains?: Maybe<String>;
  1745. title_starts_with?: Maybe<String>;
  1746. title_not_starts_with?: Maybe<String>;
  1747. title_ends_with?: Maybe<String>;
  1748. title_not_ends_with?: Maybe<String>;
  1749. type?: Maybe<TrainingTypeWhereInput>;
  1750. createdAt?: Maybe<DateTimeInput>;
  1751. createdAt_not?: Maybe<DateTimeInput>;
  1752. createdAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1753. createdAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1754. createdAt_lt?: Maybe<DateTimeInput>;
  1755. createdAt_lte?: Maybe<DateTimeInput>;
  1756. createdAt_gt?: Maybe<DateTimeInput>;
  1757. createdAt_gte?: Maybe<DateTimeInput>;
  1758. trainingDate?: Maybe<DateTimeInput>;
  1759. trainingDate_not?: Maybe<DateTimeInput>;
  1760. trainingDate_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1761. trainingDate_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  1762. trainingDate_lt?: Maybe<DateTimeInput>;
  1763. trainingDate_lte?: Maybe<DateTimeInput>;
  1764. trainingDate_gt?: Maybe<DateTimeInput>;
  1765. trainingDate_gte?: Maybe<DateTimeInput>;
  1766. location?: Maybe<String>;
  1767. location_not?: Maybe<String>;
  1768. location_in?: Maybe<String[] | String>;
  1769. location_not_in?: Maybe<String[] | String>;
  1770. location_lt?: Maybe<String>;
  1771. location_lte?: Maybe<String>;
  1772. location_gt?: Maybe<String>;
  1773. location_gte?: Maybe<String>;
  1774. location_contains?: Maybe<String>;
  1775. location_not_contains?: Maybe<String>;
  1776. location_starts_with?: Maybe<String>;
  1777. location_not_starts_with?: Maybe<String>;
  1778. location_ends_with?: Maybe<String>;
  1779. location_not_ends_with?: Maybe<String>;
  1780. registrations_every?: Maybe<UserWhereInput>;
  1781. registrations_some?: Maybe<UserWhereInput>;
  1782. registrations_none?: Maybe<UserWhereInput>;
  1783. attendance?: Maybe<Int>;
  1784. attendance_not?: Maybe<Int>;
  1785. attendance_in?: Maybe<Int[] | Int>;
  1786. attendance_not_in?: Maybe<Int[] | Int>;
  1787. attendance_lt?: Maybe<Int>;
  1788. attendance_lte?: Maybe<Int>;
  1789. attendance_gt?: Maybe<Int>;
  1790. attendance_gte?: Maybe<Int>;
  1791. ratings_every?: Maybe<RatingWhereInput>;
  1792. ratings_some?: Maybe<RatingWhereInput>;
  1793. ratings_none?: Maybe<RatingWhereInput>;
  1794. published?: Maybe<Boolean>;
  1795. published_not?: Maybe<Boolean>;
  1796. blocks_every?: Maybe<BlockInstanceWhereInput>;
  1797. blocks_some?: Maybe<BlockInstanceWhereInput>;
  1798. blocks_none?: Maybe<BlockInstanceWhereInput>;
  1799. AND?: Maybe<TrainingWhereInput[] | TrainingWhereInput>;
  1800. OR?: Maybe<TrainingWhereInput[] | TrainingWhereInput>;
  1801. NOT?: Maybe<TrainingWhereInput[] | TrainingWhereInput>;
  1802. }
  1803. export interface TrainingTypeWhereInput {
  1804. id?: Maybe<ID_Input>;
  1805. id_not?: Maybe<ID_Input>;
  1806. id_in?: Maybe<ID_Input[] | ID_Input>;
  1807. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  1808. id_lt?: Maybe<ID_Input>;
  1809. id_lte?: Maybe<ID_Input>;
  1810. id_gt?: Maybe<ID_Input>;
  1811. id_gte?: Maybe<ID_Input>;
  1812. id_contains?: Maybe<ID_Input>;
  1813. id_not_contains?: Maybe<ID_Input>;
  1814. id_starts_with?: Maybe<ID_Input>;
  1815. id_not_starts_with?: Maybe<ID_Input>;
  1816. id_ends_with?: Maybe<ID_Input>;
  1817. id_not_ends_with?: Maybe<ID_Input>;
  1818. name?: Maybe<String>;
  1819. name_not?: Maybe<String>;
  1820. name_in?: Maybe<String[] | String>;
  1821. name_not_in?: Maybe<String[] | String>;
  1822. name_lt?: Maybe<String>;
  1823. name_lte?: Maybe<String>;
  1824. name_gt?: Maybe<String>;
  1825. name_gte?: Maybe<String>;
  1826. name_contains?: Maybe<String>;
  1827. name_not_contains?: Maybe<String>;
  1828. name_starts_with?: Maybe<String>;
  1829. name_not_starts_with?: Maybe<String>;
  1830. name_ends_with?: Maybe<String>;
  1831. name_not_ends_with?: Maybe<String>;
  1832. description?: Maybe<String>;
  1833. description_not?: Maybe<String>;
  1834. description_in?: Maybe<String[] | String>;
  1835. description_not_in?: Maybe<String[] | String>;
  1836. description_lt?: Maybe<String>;
  1837. description_lte?: Maybe<String>;
  1838. description_gt?: Maybe<String>;
  1839. description_gte?: Maybe<String>;
  1840. description_contains?: Maybe<String>;
  1841. description_not_contains?: Maybe<String>;
  1842. description_starts_with?: Maybe<String>;
  1843. description_not_starts_with?: Maybe<String>;
  1844. description_ends_with?: Maybe<String>;
  1845. description_not_ends_with?: Maybe<String>;
  1846. AND?: Maybe<TrainingTypeWhereInput[] | TrainingTypeWhereInput>;
  1847. OR?: Maybe<TrainingTypeWhereInput[] | TrainingTypeWhereInput>;
  1848. NOT?: Maybe<TrainingTypeWhereInput[] | TrainingTypeWhereInput>;
  1849. }
  1850. export type BlockInstanceWhereUniqueInput = AtLeastOne<{
  1851. id: Maybe<ID_Input>;
  1852. }>;
  1853. export type CommentWhereUniqueInput = AtLeastOne<{
  1854. id: Maybe<ID_Input>;
  1855. }>;
  1856. export type ExerciseWhereUniqueInput = AtLeastOne<{
  1857. id: Maybe<ID_Input>;
  1858. }>;
  1859. export type ExerciseInstanceWhereUniqueInput = AtLeastOne<{
  1860. id: Maybe<ID_Input>;
  1861. }>;
  1862. export type FileWhereUniqueInput = AtLeastOne<{
  1863. id: Maybe<ID_Input>;
  1864. }>;
  1865. export type FormatWhereUniqueInput = AtLeastOne<{
  1866. id: Maybe<ID_Input>;
  1867. }>;
  1868. export type LinkWhereUniqueInput = AtLeastOne<{
  1869. id: Maybe<ID_Input>;
  1870. }>;
  1871. export type PictureWhereUniqueInput = AtLeastOne<{
  1872. id: Maybe<ID_Input>;
  1873. }>;
  1874. export type RatingWhereUniqueInput = AtLeastOne<{
  1875. id: Maybe<ID_Input>;
  1876. }>;
  1877. export type TrackWhereUniqueInput = AtLeastOne<{
  1878. id: Maybe<ID_Input>;
  1879. }>;
  1880. export type TrainingWhereUniqueInput = AtLeastOne<{
  1881. id: Maybe<ID_Input>;
  1882. }>;
  1883. export type TrainingTypeWhereUniqueInput = AtLeastOne<{
  1884. id: Maybe<ID_Input>;
  1885. name?: Maybe<String>;
  1886. }>;
  1887. export type UserWhereUniqueInput = AtLeastOne<{
  1888. id: Maybe<ID_Input>;
  1889. email?: Maybe<String>;
  1890. }>;
  1891. export type VideoWhereUniqueInput = AtLeastOne<{
  1892. id: Maybe<ID_Input>;
  1893. }>;
  1894. export interface BlockCreateInput {
  1895. id?: Maybe<ID_Input>;
  1896. title: String;
  1897. description?: Maybe<String>;
  1898. duration?: Maybe<Int>;
  1899. format: FormatCreateOneInput;
  1900. rest?: Maybe<Int>;
  1901. tracks?: Maybe<TrackCreateManyInput>;
  1902. videos?: Maybe<VideoCreateManyInput>;
  1903. pictures?: Maybe<PictureCreateManyInput>;
  1904. blocks?: Maybe<BlockInstanceCreateManyWithoutParentBlockInput>;
  1905. parentBlockInstances?: Maybe<BlockInstanceCreateManyWithoutBlockInput>;
  1906. exercises?: Maybe<ExerciseInstanceCreateManyWithoutParentBlockInstancesInput>;
  1907. }
  1908. export interface FormatCreateOneInput {
  1909. create?: Maybe<FormatCreateInput>;
  1910. connect?: Maybe<FormatWhereUniqueInput>;
  1911. }
  1912. export interface FormatCreateInput {
  1913. id?: Maybe<ID_Input>;
  1914. name: String;
  1915. description: String;
  1916. }
  1917. export interface TrackCreateManyInput {
  1918. create?: Maybe<TrackCreateInput[] | TrackCreateInput>;
  1919. connect?: Maybe<TrackWhereUniqueInput[] | TrackWhereUniqueInput>;
  1920. }
  1921. export interface TrackCreateInput {
  1922. id?: Maybe<ID_Input>;
  1923. order: Int;
  1924. file?: Maybe<FileCreateOneInput>;
  1925. link?: Maybe<LinkCreateOneInput>;
  1926. }
  1927. export interface FileCreateOneInput {
  1928. create?: Maybe<FileCreateInput>;
  1929. connect?: Maybe<FileWhereUniqueInput>;
  1930. }
  1931. export interface FileCreateInput {
  1932. id?: Maybe<ID_Input>;
  1933. user: UserCreateOneInput;
  1934. path: String;
  1935. comment?: Maybe<String>;
  1936. mimetype?: Maybe<String>;
  1937. thumbnail?: Maybe<String>;
  1938. filename?: Maybe<String>;
  1939. encoding?: Maybe<String>;
  1940. size?: Maybe<Int>;
  1941. width?: Maybe<Int>;
  1942. height?: Maybe<Int>;
  1943. duration?: Maybe<Float>;
  1944. title?: Maybe<String>;
  1945. artist?: Maybe<String>;
  1946. }
  1947. export interface UserCreateOneInput {
  1948. create?: Maybe<UserCreateInput>;
  1949. connect?: Maybe<UserWhereUniqueInput>;
  1950. }
  1951. export interface UserCreateInput {
  1952. id?: Maybe<ID_Input>;
  1953. email: String;
  1954. name: String;
  1955. password: String;
  1956. resetToken?: Maybe<String>;
  1957. resetTokenExpiry?: Maybe<Float>;
  1958. comments?: Maybe<CommentCreateManyWithoutAuthorInput>;
  1959. ratings?: Maybe<RatingCreateManyWithoutUserInput>;
  1960. permissions?: Maybe<UserCreatepermissionsInput>;
  1961. interests?: Maybe<UserCreateinterestsInput>;
  1962. }
  1963. export interface CommentCreateManyWithoutAuthorInput {
  1964. create?: Maybe<
  1965. CommentCreateWithoutAuthorInput[] | CommentCreateWithoutAuthorInput
  1966. >;
  1967. connect?: Maybe<CommentWhereUniqueInput[] | CommentWhereUniqueInput>;
  1968. }
  1969. export interface CommentCreateWithoutAuthorInput {
  1970. id?: Maybe<ID_Input>;
  1971. text: String;
  1972. }
  1973. export interface RatingCreateManyWithoutUserInput {
  1974. create?: Maybe<RatingCreateWithoutUserInput[] | RatingCreateWithoutUserInput>;
  1975. connect?: Maybe<RatingWhereUniqueInput[] | RatingWhereUniqueInput>;
  1976. }
  1977. export interface RatingCreateWithoutUserInput {
  1978. id?: Maybe<ID_Input>;
  1979. value: Int;
  1980. comment: String;
  1981. }
  1982. export interface UserCreatepermissionsInput {
  1983. set?: Maybe<Permission[] | Permission>;
  1984. }
  1985. export interface UserCreateinterestsInput {
  1986. set?: Maybe<String[] | String>;
  1987. }
  1988. export interface LinkCreateOneInput {
  1989. create?: Maybe<LinkCreateInput>;
  1990. connect?: Maybe<LinkWhereUniqueInput>;
  1991. }
  1992. export interface LinkCreateInput {
  1993. id?: Maybe<ID_Input>;
  1994. url: String;
  1995. user: UserCreateOneInput;
  1996. comment?: Maybe<String>;
  1997. duration?: Maybe<Int>;
  1998. title?: Maybe<String>;
  1999. artist?: Maybe<String>;
  2000. }
  2001. export interface VideoCreateManyInput {
  2002. create?: Maybe<VideoCreateInput[] | VideoCreateInput>;
  2003. connect?: Maybe<VideoWhereUniqueInput[] | VideoWhereUniqueInput>;
  2004. }
  2005. export interface VideoCreateInput {
  2006. id?: Maybe<ID_Input>;
  2007. order: Int;
  2008. file?: Maybe<FileCreateOneInput>;
  2009. link?: Maybe<LinkCreateOneInput>;
  2010. }
  2011. export interface PictureCreateManyInput {
  2012. create?: Maybe<PictureCreateInput[] | PictureCreateInput>;
  2013. connect?: Maybe<PictureWhereUniqueInput[] | PictureWhereUniqueInput>;
  2014. }
  2015. export interface PictureCreateInput {
  2016. id?: Maybe<ID_Input>;
  2017. order: Int;
  2018. file?: Maybe<FileCreateOneInput>;
  2019. link?: Maybe<LinkCreateOneInput>;
  2020. }
  2021. export interface BlockInstanceCreateManyWithoutParentBlockInput {
  2022. create?: Maybe<
  2023. | BlockInstanceCreateWithoutParentBlockInput[]
  2024. | BlockInstanceCreateWithoutParentBlockInput
  2025. >;
  2026. connect?: Maybe<
  2027. BlockInstanceWhereUniqueInput[] | BlockInstanceWhereUniqueInput
  2028. >;
  2029. }
  2030. export interface BlockInstanceCreateWithoutParentBlockInput {
  2031. id?: Maybe<ID_Input>;
  2032. block: BlockCreateOneWithoutParentBlockInstancesInput;
  2033. parentTraining?: Maybe<TrainingCreateOneWithoutBlocksInput>;
  2034. order: Int;
  2035. rounds?: Maybe<Int>;
  2036. variation?: Maybe<String>;
  2037. }
  2038. export interface BlockCreateOneWithoutParentBlockInstancesInput {
  2039. create?: Maybe<BlockCreateWithoutParentBlockInstancesInput>;
  2040. connect?: Maybe<BlockWhereUniqueInput>;
  2041. }
  2042. export interface BlockCreateWithoutParentBlockInstancesInput {
  2043. id?: Maybe<ID_Input>;
  2044. title: String;
  2045. description?: Maybe<String>;
  2046. duration?: Maybe<Int>;
  2047. format: FormatCreateOneInput;
  2048. rest?: Maybe<Int>;
  2049. tracks?: Maybe<TrackCreateManyInput>;
  2050. videos?: Maybe<VideoCreateManyInput>;
  2051. pictures?: Maybe<PictureCreateManyInput>;
  2052. blocks?: Maybe<BlockInstanceCreateManyWithoutParentBlockInput>;
  2053. exercises?: Maybe<ExerciseInstanceCreateManyWithoutParentBlockInstancesInput>;
  2054. }
  2055. export interface ExerciseInstanceCreateManyWithoutParentBlockInstancesInput {
  2056. create?: Maybe<
  2057. | ExerciseInstanceCreateWithoutParentBlockInstancesInput[]
  2058. | ExerciseInstanceCreateWithoutParentBlockInstancesInput
  2059. >;
  2060. connect?: Maybe<
  2061. ExerciseInstanceWhereUniqueInput[] | ExerciseInstanceWhereUniqueInput
  2062. >;
  2063. }
  2064. export interface ExerciseInstanceCreateWithoutParentBlockInstancesInput {
  2065. id?: Maybe<ID_Input>;
  2066. exercise: ExerciseCreateOneWithoutParentExerciseInstancesInput;
  2067. order: Int;
  2068. repetitions?: Maybe<Int>;
  2069. variation?: Maybe<String>;
  2070. }
  2071. export interface ExerciseCreateOneWithoutParentExerciseInstancesInput {
  2072. create?: Maybe<ExerciseCreateWithoutParentExerciseInstancesInput>;
  2073. connect?: Maybe<ExerciseWhereUniqueInput>;
  2074. }
  2075. export interface ExerciseCreateWithoutParentExerciseInstancesInput {
  2076. id?: Maybe<ID_Input>;
  2077. name: String;
  2078. description?: Maybe<String>;
  2079. videos?: Maybe<VideoCreateManyInput>;
  2080. pictures?: Maybe<PictureCreateManyInput>;
  2081. targets?: Maybe<ExerciseCreatetargetsInput>;
  2082. baseExercise?: Maybe<ExerciseCreatebaseExerciseInput>;
  2083. }
  2084. export interface ExerciseCreatetargetsInput {
  2085. set?: Maybe<String[] | String>;
  2086. }
  2087. export interface ExerciseCreatebaseExerciseInput {
  2088. set?: Maybe<String[] | String>;
  2089. }
  2090. export interface TrainingCreateOneWithoutBlocksInput {
  2091. create?: Maybe<TrainingCreateWithoutBlocksInput>;
  2092. connect?: Maybe<TrainingWhereUniqueInput>;
  2093. }
  2094. export interface TrainingCreateWithoutBlocksInput {
  2095. id?: Maybe<ID_Input>;
  2096. title: String;
  2097. type: TrainingTypeCreateOneInput;
  2098. trainingDate: DateTimeInput;
  2099. location: String;
  2100. registrations?: Maybe<UserCreateManyInput>;
  2101. attendance?: Maybe<Int>;
  2102. ratings?: Maybe<RatingCreateManyInput>;
  2103. published: Boolean;
  2104. }
  2105. export interface TrainingTypeCreateOneInput {
  2106. create?: Maybe<TrainingTypeCreateInput>;
  2107. connect?: Maybe<TrainingTypeWhereUniqueInput>;
  2108. }
  2109. export interface TrainingTypeCreateInput {
  2110. id?: Maybe<ID_Input>;
  2111. name: String;
  2112. description: String;
  2113. }
  2114. export interface UserCreateManyInput {
  2115. create?: Maybe<UserCreateInput[] | UserCreateInput>;
  2116. connect?: Maybe<UserWhereUniqueInput[] | UserWhereUniqueInput>;
  2117. }
  2118. export interface RatingCreateManyInput {
  2119. create?: Maybe<RatingCreateInput[] | RatingCreateInput>;
  2120. connect?: Maybe<RatingWhereUniqueInput[] | RatingWhereUniqueInput>;
  2121. }
  2122. export interface RatingCreateInput {
  2123. id?: Maybe<ID_Input>;
  2124. user: UserCreateOneWithoutRatingsInput;
  2125. value: Int;
  2126. comment: String;
  2127. }
  2128. export interface UserCreateOneWithoutRatingsInput {
  2129. create?: Maybe<UserCreateWithoutRatingsInput>;
  2130. connect?: Maybe<UserWhereUniqueInput>;
  2131. }
  2132. export interface UserCreateWithoutRatingsInput {
  2133. id?: Maybe<ID_Input>;
  2134. email: String;
  2135. name: String;
  2136. password: String;
  2137. resetToken?: Maybe<String>;
  2138. resetTokenExpiry?: Maybe<Float>;
  2139. comments?: Maybe<CommentCreateManyWithoutAuthorInput>;
  2140. permissions?: Maybe<UserCreatepermissionsInput>;
  2141. interests?: Maybe<UserCreateinterestsInput>;
  2142. }
  2143. export interface BlockInstanceCreateManyWithoutBlockInput {
  2144. create?: Maybe<
  2145. | BlockInstanceCreateWithoutBlockInput[]
  2146. | BlockInstanceCreateWithoutBlockInput
  2147. >;
  2148. connect?: Maybe<
  2149. BlockInstanceWhereUniqueInput[] | BlockInstanceWhereUniqueInput
  2150. >;
  2151. }
  2152. export interface BlockInstanceCreateWithoutBlockInput {
  2153. id?: Maybe<ID_Input>;
  2154. parentBlock?: Maybe<BlockCreateOneWithoutBlocksInput>;
  2155. parentTraining?: Maybe<TrainingCreateOneWithoutBlocksInput>;
  2156. order: Int;
  2157. rounds?: Maybe<Int>;
  2158. variation?: Maybe<String>;
  2159. }
  2160. export interface BlockCreateOneWithoutBlocksInput {
  2161. create?: Maybe<BlockCreateWithoutBlocksInput>;
  2162. connect?: Maybe<BlockWhereUniqueInput>;
  2163. }
  2164. export interface BlockCreateWithoutBlocksInput {
  2165. id?: Maybe<ID_Input>;
  2166. title: String;
  2167. description?: Maybe<String>;
  2168. duration?: Maybe<Int>;
  2169. format: FormatCreateOneInput;
  2170. rest?: Maybe<Int>;
  2171. tracks?: Maybe<TrackCreateManyInput>;
  2172. videos?: Maybe<VideoCreateManyInput>;
  2173. pictures?: Maybe<PictureCreateManyInput>;
  2174. parentBlockInstances?: Maybe<BlockInstanceCreateManyWithoutBlockInput>;
  2175. exercises?: Maybe<ExerciseInstanceCreateManyWithoutParentBlockInstancesInput>;
  2176. }
  2177. export interface BlockUpdateInput {
  2178. title?: Maybe<String>;
  2179. description?: Maybe<String>;
  2180. duration?: Maybe<Int>;
  2181. format?: Maybe<FormatUpdateOneRequiredInput>;
  2182. rest?: Maybe<Int>;
  2183. tracks?: Maybe<TrackUpdateManyInput>;
  2184. videos?: Maybe<VideoUpdateManyInput>;
  2185. pictures?: Maybe<PictureUpdateManyInput>;
  2186. blocks?: Maybe<BlockInstanceUpdateManyWithoutParentBlockInput>;
  2187. parentBlockInstances?: Maybe<BlockInstanceUpdateManyWithoutBlockInput>;
  2188. exercises?: Maybe<ExerciseInstanceUpdateManyWithoutParentBlockInstancesInput>;
  2189. }
  2190. export interface FormatUpdateOneRequiredInput {
  2191. create?: Maybe<FormatCreateInput>;
  2192. update?: Maybe<FormatUpdateDataInput>;
  2193. upsert?: Maybe<FormatUpsertNestedInput>;
  2194. connect?: Maybe<FormatWhereUniqueInput>;
  2195. }
  2196. export interface FormatUpdateDataInput {
  2197. name?: Maybe<String>;
  2198. description?: Maybe<String>;
  2199. }
  2200. export interface FormatUpsertNestedInput {
  2201. update: FormatUpdateDataInput;
  2202. create: FormatCreateInput;
  2203. }
  2204. export interface TrackUpdateManyInput {
  2205. create?: Maybe<TrackCreateInput[] | TrackCreateInput>;
  2206. update?: Maybe<
  2207. | TrackUpdateWithWhereUniqueNestedInput[]
  2208. | TrackUpdateWithWhereUniqueNestedInput
  2209. >;
  2210. upsert?: Maybe<
  2211. | TrackUpsertWithWhereUniqueNestedInput[]
  2212. | TrackUpsertWithWhereUniqueNestedInput
  2213. >;
  2214. delete?: Maybe<TrackWhereUniqueInput[] | TrackWhereUniqueInput>;
  2215. connect?: Maybe<TrackWhereUniqueInput[] | TrackWhereUniqueInput>;
  2216. set?: Maybe<TrackWhereUniqueInput[] | TrackWhereUniqueInput>;
  2217. disconnect?: Maybe<TrackWhereUniqueInput[] | TrackWhereUniqueInput>;
  2218. deleteMany?: Maybe<TrackScalarWhereInput[] | TrackScalarWhereInput>;
  2219. updateMany?: Maybe<
  2220. TrackUpdateManyWithWhereNestedInput[] | TrackUpdateManyWithWhereNestedInput
  2221. >;
  2222. }
  2223. export interface TrackUpdateWithWhereUniqueNestedInput {
  2224. where: TrackWhereUniqueInput;
  2225. data: TrackUpdateDataInput;
  2226. }
  2227. export interface TrackUpdateDataInput {
  2228. order?: Maybe<Int>;
  2229. file?: Maybe<FileUpdateOneInput>;
  2230. link?: Maybe<LinkUpdateOneInput>;
  2231. }
  2232. export interface FileUpdateOneInput {
  2233. create?: Maybe<FileCreateInput>;
  2234. update?: Maybe<FileUpdateDataInput>;
  2235. upsert?: Maybe<FileUpsertNestedInput>;
  2236. delete?: Maybe<Boolean>;
  2237. disconnect?: Maybe<Boolean>;
  2238. connect?: Maybe<FileWhereUniqueInput>;
  2239. }
  2240. export interface FileUpdateDataInput {
  2241. user?: Maybe<UserUpdateOneRequiredInput>;
  2242. path?: Maybe<String>;
  2243. comment?: Maybe<String>;
  2244. mimetype?: Maybe<String>;
  2245. thumbnail?: Maybe<String>;
  2246. filename?: Maybe<String>;
  2247. encoding?: Maybe<String>;
  2248. size?: Maybe<Int>;
  2249. width?: Maybe<Int>;
  2250. height?: Maybe<Int>;
  2251. duration?: Maybe<Float>;
  2252. title?: Maybe<String>;
  2253. artist?: Maybe<String>;
  2254. }
  2255. export interface UserUpdateOneRequiredInput {
  2256. create?: Maybe<UserCreateInput>;
  2257. update?: Maybe<UserUpdateDataInput>;
  2258. upsert?: Maybe<UserUpsertNestedInput>;
  2259. connect?: Maybe<UserWhereUniqueInput>;
  2260. }
  2261. export interface UserUpdateDataInput {
  2262. email?: Maybe<String>;
  2263. name?: Maybe<String>;
  2264. password?: Maybe<String>;
  2265. resetToken?: Maybe<String>;
  2266. resetTokenExpiry?: Maybe<Float>;
  2267. comments?: Maybe<CommentUpdateManyWithoutAuthorInput>;
  2268. ratings?: Maybe<RatingUpdateManyWithoutUserInput>;
  2269. permissions?: Maybe<UserUpdatepermissionsInput>;
  2270. interests?: Maybe<UserUpdateinterestsInput>;
  2271. }
  2272. export interface CommentUpdateManyWithoutAuthorInput {
  2273. create?: Maybe<
  2274. CommentCreateWithoutAuthorInput[] | CommentCreateWithoutAuthorInput
  2275. >;
  2276. delete?: Maybe<CommentWhereUniqueInput[] | CommentWhereUniqueInput>;
  2277. connect?: Maybe<CommentWhereUniqueInput[] | CommentWhereUniqueInput>;
  2278. set?: Maybe<CommentWhereUniqueInput[] | CommentWhereUniqueInput>;
  2279. disconnect?: Maybe<CommentWhereUniqueInput[] | CommentWhereUniqueInput>;
  2280. update?: Maybe<
  2281. | CommentUpdateWithWhereUniqueWithoutAuthorInput[]
  2282. | CommentUpdateWithWhereUniqueWithoutAuthorInput
  2283. >;
  2284. upsert?: Maybe<
  2285. | CommentUpsertWithWhereUniqueWithoutAuthorInput[]
  2286. | CommentUpsertWithWhereUniqueWithoutAuthorInput
  2287. >;
  2288. deleteMany?: Maybe<CommentScalarWhereInput[] | CommentScalarWhereInput>;
  2289. updateMany?: Maybe<
  2290. | CommentUpdateManyWithWhereNestedInput[]
  2291. | CommentUpdateManyWithWhereNestedInput
  2292. >;
  2293. }
  2294. export interface CommentUpdateWithWhereUniqueWithoutAuthorInput {
  2295. where: CommentWhereUniqueInput;
  2296. data: CommentUpdateWithoutAuthorDataInput;
  2297. }
  2298. export interface CommentUpdateWithoutAuthorDataInput {
  2299. text?: Maybe<String>;
  2300. }
  2301. export interface CommentUpsertWithWhereUniqueWithoutAuthorInput {
  2302. where: CommentWhereUniqueInput;
  2303. update: CommentUpdateWithoutAuthorDataInput;
  2304. create: CommentCreateWithoutAuthorInput;
  2305. }
  2306. export interface CommentScalarWhereInput {
  2307. id?: Maybe<ID_Input>;
  2308. id_not?: Maybe<ID_Input>;
  2309. id_in?: Maybe<ID_Input[] | ID_Input>;
  2310. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  2311. id_lt?: Maybe<ID_Input>;
  2312. id_lte?: Maybe<ID_Input>;
  2313. id_gt?: Maybe<ID_Input>;
  2314. id_gte?: Maybe<ID_Input>;
  2315. id_contains?: Maybe<ID_Input>;
  2316. id_not_contains?: Maybe<ID_Input>;
  2317. id_starts_with?: Maybe<ID_Input>;
  2318. id_not_starts_with?: Maybe<ID_Input>;
  2319. id_ends_with?: Maybe<ID_Input>;
  2320. id_not_ends_with?: Maybe<ID_Input>;
  2321. text?: Maybe<String>;
  2322. text_not?: Maybe<String>;
  2323. text_in?: Maybe<String[] | String>;
  2324. text_not_in?: Maybe<String[] | String>;
  2325. text_lt?: Maybe<String>;
  2326. text_lte?: Maybe<String>;
  2327. text_gt?: Maybe<String>;
  2328. text_gte?: Maybe<String>;
  2329. text_contains?: Maybe<String>;
  2330. text_not_contains?: Maybe<String>;
  2331. text_starts_with?: Maybe<String>;
  2332. text_not_starts_with?: Maybe<String>;
  2333. text_ends_with?: Maybe<String>;
  2334. text_not_ends_with?: Maybe<String>;
  2335. createdAt?: Maybe<DateTimeInput>;
  2336. createdAt_not?: Maybe<DateTimeInput>;
  2337. createdAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  2338. createdAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  2339. createdAt_lt?: Maybe<DateTimeInput>;
  2340. createdAt_lte?: Maybe<DateTimeInput>;
  2341. createdAt_gt?: Maybe<DateTimeInput>;
  2342. createdAt_gte?: Maybe<DateTimeInput>;
  2343. AND?: Maybe<CommentScalarWhereInput[] | CommentScalarWhereInput>;
  2344. OR?: Maybe<CommentScalarWhereInput[] | CommentScalarWhereInput>;
  2345. NOT?: Maybe<CommentScalarWhereInput[] | CommentScalarWhereInput>;
  2346. }
  2347. export interface CommentUpdateManyWithWhereNestedInput {
  2348. where: CommentScalarWhereInput;
  2349. data: CommentUpdateManyDataInput;
  2350. }
  2351. export interface CommentUpdateManyDataInput {
  2352. text?: Maybe<String>;
  2353. }
  2354. export interface RatingUpdateManyWithoutUserInput {
  2355. create?: Maybe<RatingCreateWithoutUserInput[] | RatingCreateWithoutUserInput>;
  2356. delete?: Maybe<RatingWhereUniqueInput[] | RatingWhereUniqueInput>;
  2357. connect?: Maybe<RatingWhereUniqueInput[] | RatingWhereUniqueInput>;
  2358. set?: Maybe<RatingWhereUniqueInput[] | RatingWhereUniqueInput>;
  2359. disconnect?: Maybe<RatingWhereUniqueInput[] | RatingWhereUniqueInput>;
  2360. update?: Maybe<
  2361. | RatingUpdateWithWhereUniqueWithoutUserInput[]
  2362. | RatingUpdateWithWhereUniqueWithoutUserInput
  2363. >;
  2364. upsert?: Maybe<
  2365. | RatingUpsertWithWhereUniqueWithoutUserInput[]
  2366. | RatingUpsertWithWhereUniqueWithoutUserInput
  2367. >;
  2368. deleteMany?: Maybe<RatingScalarWhereInput[] | RatingScalarWhereInput>;
  2369. updateMany?: Maybe<
  2370. | RatingUpdateManyWithWhereNestedInput[]
  2371. | RatingUpdateManyWithWhereNestedInput
  2372. >;
  2373. }
  2374. export interface RatingUpdateWithWhereUniqueWithoutUserInput {
  2375. where: RatingWhereUniqueInput;
  2376. data: RatingUpdateWithoutUserDataInput;
  2377. }
  2378. export interface RatingUpdateWithoutUserDataInput {
  2379. value?: Maybe<Int>;
  2380. comment?: Maybe<String>;
  2381. }
  2382. export interface RatingUpsertWithWhereUniqueWithoutUserInput {
  2383. where: RatingWhereUniqueInput;
  2384. update: RatingUpdateWithoutUserDataInput;
  2385. create: RatingCreateWithoutUserInput;
  2386. }
  2387. export interface RatingScalarWhereInput {
  2388. id?: Maybe<ID_Input>;
  2389. id_not?: Maybe<ID_Input>;
  2390. id_in?: Maybe<ID_Input[] | ID_Input>;
  2391. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  2392. id_lt?: Maybe<ID_Input>;
  2393. id_lte?: Maybe<ID_Input>;
  2394. id_gt?: Maybe<ID_Input>;
  2395. id_gte?: Maybe<ID_Input>;
  2396. id_contains?: Maybe<ID_Input>;
  2397. id_not_contains?: Maybe<ID_Input>;
  2398. id_starts_with?: Maybe<ID_Input>;
  2399. id_not_starts_with?: Maybe<ID_Input>;
  2400. id_ends_with?: Maybe<ID_Input>;
  2401. id_not_ends_with?: Maybe<ID_Input>;
  2402. value?: Maybe<Int>;
  2403. value_not?: Maybe<Int>;
  2404. value_in?: Maybe<Int[] | Int>;
  2405. value_not_in?: Maybe<Int[] | Int>;
  2406. value_lt?: Maybe<Int>;
  2407. value_lte?: Maybe<Int>;
  2408. value_gt?: Maybe<Int>;
  2409. value_gte?: Maybe<Int>;
  2410. comment?: Maybe<String>;
  2411. comment_not?: Maybe<String>;
  2412. comment_in?: Maybe<String[] | String>;
  2413. comment_not_in?: Maybe<String[] | String>;
  2414. comment_lt?: Maybe<String>;
  2415. comment_lte?: Maybe<String>;
  2416. comment_gt?: Maybe<String>;
  2417. comment_gte?: Maybe<String>;
  2418. comment_contains?: Maybe<String>;
  2419. comment_not_contains?: Maybe<String>;
  2420. comment_starts_with?: Maybe<String>;
  2421. comment_not_starts_with?: Maybe<String>;
  2422. comment_ends_with?: Maybe<String>;
  2423. comment_not_ends_with?: Maybe<String>;
  2424. createdAt?: Maybe<DateTimeInput>;
  2425. createdAt_not?: Maybe<DateTimeInput>;
  2426. createdAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  2427. createdAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  2428. createdAt_lt?: Maybe<DateTimeInput>;
  2429. createdAt_lte?: Maybe<DateTimeInput>;
  2430. createdAt_gt?: Maybe<DateTimeInput>;
  2431. createdAt_gte?: Maybe<DateTimeInput>;
  2432. AND?: Maybe<RatingScalarWhereInput[] | RatingScalarWhereInput>;
  2433. OR?: Maybe<RatingScalarWhereInput[] | RatingScalarWhereInput>;
  2434. NOT?: Maybe<RatingScalarWhereInput[] | RatingScalarWhereInput>;
  2435. }
  2436. export interface RatingUpdateManyWithWhereNestedInput {
  2437. where: RatingScalarWhereInput;
  2438. data: RatingUpdateManyDataInput;
  2439. }
  2440. export interface RatingUpdateManyDataInput {
  2441. value?: Maybe<Int>;
  2442. comment?: Maybe<String>;
  2443. }
  2444. export interface UserUpdatepermissionsInput {
  2445. set?: Maybe<Permission[] | Permission>;
  2446. }
  2447. export interface UserUpdateinterestsInput {
  2448. set?: Maybe<String[] | String>;
  2449. }
  2450. export interface UserUpsertNestedInput {
  2451. update: UserUpdateDataInput;
  2452. create: UserCreateInput;
  2453. }
  2454. export interface FileUpsertNestedInput {
  2455. update: FileUpdateDataInput;
  2456. create: FileCreateInput;
  2457. }
  2458. export interface LinkUpdateOneInput {
  2459. create?: Maybe<LinkCreateInput>;
  2460. update?: Maybe<LinkUpdateDataInput>;
  2461. upsert?: Maybe<LinkUpsertNestedInput>;
  2462. delete?: Maybe<Boolean>;
  2463. disconnect?: Maybe<Boolean>;
  2464. connect?: Maybe<LinkWhereUniqueInput>;
  2465. }
  2466. export interface LinkUpdateDataInput {
  2467. url?: Maybe<String>;
  2468. user?: Maybe<UserUpdateOneRequiredInput>;
  2469. comment?: Maybe<String>;
  2470. duration?: Maybe<Int>;
  2471. title?: Maybe<String>;
  2472. artist?: Maybe<String>;
  2473. }
  2474. export interface LinkUpsertNestedInput {
  2475. update: LinkUpdateDataInput;
  2476. create: LinkCreateInput;
  2477. }
  2478. export interface TrackUpsertWithWhereUniqueNestedInput {
  2479. where: TrackWhereUniqueInput;
  2480. update: TrackUpdateDataInput;
  2481. create: TrackCreateInput;
  2482. }
  2483. export interface TrackScalarWhereInput {
  2484. id?: Maybe<ID_Input>;
  2485. id_not?: Maybe<ID_Input>;
  2486. id_in?: Maybe<ID_Input[] | ID_Input>;
  2487. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  2488. id_lt?: Maybe<ID_Input>;
  2489. id_lte?: Maybe<ID_Input>;
  2490. id_gt?: Maybe<ID_Input>;
  2491. id_gte?: Maybe<ID_Input>;
  2492. id_contains?: Maybe<ID_Input>;
  2493. id_not_contains?: Maybe<ID_Input>;
  2494. id_starts_with?: Maybe<ID_Input>;
  2495. id_not_starts_with?: Maybe<ID_Input>;
  2496. id_ends_with?: Maybe<ID_Input>;
  2497. id_not_ends_with?: Maybe<ID_Input>;
  2498. createdAt?: Maybe<DateTimeInput>;
  2499. createdAt_not?: Maybe<DateTimeInput>;
  2500. createdAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  2501. createdAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  2502. createdAt_lt?: Maybe<DateTimeInput>;
  2503. createdAt_lte?: Maybe<DateTimeInput>;
  2504. createdAt_gt?: Maybe<DateTimeInput>;
  2505. createdAt_gte?: Maybe<DateTimeInput>;
  2506. updatedAt?: Maybe<DateTimeInput>;
  2507. updatedAt_not?: Maybe<DateTimeInput>;
  2508. updatedAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  2509. updatedAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  2510. updatedAt_lt?: Maybe<DateTimeInput>;
  2511. updatedAt_lte?: Maybe<DateTimeInput>;
  2512. updatedAt_gt?: Maybe<DateTimeInput>;
  2513. updatedAt_gte?: Maybe<DateTimeInput>;
  2514. order?: Maybe<Int>;
  2515. order_not?: Maybe<Int>;
  2516. order_in?: Maybe<Int[] | Int>;
  2517. order_not_in?: Maybe<Int[] | Int>;
  2518. order_lt?: Maybe<Int>;
  2519. order_lte?: Maybe<Int>;
  2520. order_gt?: Maybe<Int>;
  2521. order_gte?: Maybe<Int>;
  2522. AND?: Maybe<TrackScalarWhereInput[] | TrackScalarWhereInput>;
  2523. OR?: Maybe<TrackScalarWhereInput[] | TrackScalarWhereInput>;
  2524. NOT?: Maybe<TrackScalarWhereInput[] | TrackScalarWhereInput>;
  2525. }
  2526. export interface TrackUpdateManyWithWhereNestedInput {
  2527. where: TrackScalarWhereInput;
  2528. data: TrackUpdateManyDataInput;
  2529. }
  2530. export interface TrackUpdateManyDataInput {
  2531. order?: Maybe<Int>;
  2532. }
  2533. export interface VideoUpdateManyInput {
  2534. create?: Maybe<VideoCreateInput[] | VideoCreateInput>;
  2535. update?: Maybe<
  2536. | VideoUpdateWithWhereUniqueNestedInput[]
  2537. | VideoUpdateWithWhereUniqueNestedInput
  2538. >;
  2539. upsert?: Maybe<
  2540. | VideoUpsertWithWhereUniqueNestedInput[]
  2541. | VideoUpsertWithWhereUniqueNestedInput
  2542. >;
  2543. delete?: Maybe<VideoWhereUniqueInput[] | VideoWhereUniqueInput>;
  2544. connect?: Maybe<VideoWhereUniqueInput[] | VideoWhereUniqueInput>;
  2545. set?: Maybe<VideoWhereUniqueInput[] | VideoWhereUniqueInput>;
  2546. disconnect?: Maybe<VideoWhereUniqueInput[] | VideoWhereUniqueInput>;
  2547. deleteMany?: Maybe<VideoScalarWhereInput[] | VideoScalarWhereInput>;
  2548. updateMany?: Maybe<
  2549. VideoUpdateManyWithWhereNestedInput[] | VideoUpdateManyWithWhereNestedInput
  2550. >;
  2551. }
  2552. export interface VideoUpdateWithWhereUniqueNestedInput {
  2553. where: VideoWhereUniqueInput;
  2554. data: VideoUpdateDataInput;
  2555. }
  2556. export interface VideoUpdateDataInput {
  2557. order?: Maybe<Int>;
  2558. file?: Maybe<FileUpdateOneInput>;
  2559. link?: Maybe<LinkUpdateOneInput>;
  2560. }
  2561. export interface VideoUpsertWithWhereUniqueNestedInput {
  2562. where: VideoWhereUniqueInput;
  2563. update: VideoUpdateDataInput;
  2564. create: VideoCreateInput;
  2565. }
  2566. export interface VideoScalarWhereInput {
  2567. id?: Maybe<ID_Input>;
  2568. id_not?: Maybe<ID_Input>;
  2569. id_in?: Maybe<ID_Input[] | ID_Input>;
  2570. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  2571. id_lt?: Maybe<ID_Input>;
  2572. id_lte?: Maybe<ID_Input>;
  2573. id_gt?: Maybe<ID_Input>;
  2574. id_gte?: Maybe<ID_Input>;
  2575. id_contains?: Maybe<ID_Input>;
  2576. id_not_contains?: Maybe<ID_Input>;
  2577. id_starts_with?: Maybe<ID_Input>;
  2578. id_not_starts_with?: Maybe<ID_Input>;
  2579. id_ends_with?: Maybe<ID_Input>;
  2580. id_not_ends_with?: Maybe<ID_Input>;
  2581. createdAt?: Maybe<DateTimeInput>;
  2582. createdAt_not?: Maybe<DateTimeInput>;
  2583. createdAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  2584. createdAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  2585. createdAt_lt?: Maybe<DateTimeInput>;
  2586. createdAt_lte?: Maybe<DateTimeInput>;
  2587. createdAt_gt?: Maybe<DateTimeInput>;
  2588. createdAt_gte?: Maybe<DateTimeInput>;
  2589. updatedAt?: Maybe<DateTimeInput>;
  2590. updatedAt_not?: Maybe<DateTimeInput>;
  2591. updatedAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  2592. updatedAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  2593. updatedAt_lt?: Maybe<DateTimeInput>;
  2594. updatedAt_lte?: Maybe<DateTimeInput>;
  2595. updatedAt_gt?: Maybe<DateTimeInput>;
  2596. updatedAt_gte?: Maybe<DateTimeInput>;
  2597. order?: Maybe<Int>;
  2598. order_not?: Maybe<Int>;
  2599. order_in?: Maybe<Int[] | Int>;
  2600. order_not_in?: Maybe<Int[] | Int>;
  2601. order_lt?: Maybe<Int>;
  2602. order_lte?: Maybe<Int>;
  2603. order_gt?: Maybe<Int>;
  2604. order_gte?: Maybe<Int>;
  2605. AND?: Maybe<VideoScalarWhereInput[] | VideoScalarWhereInput>;
  2606. OR?: Maybe<VideoScalarWhereInput[] | VideoScalarWhereInput>;
  2607. NOT?: Maybe<VideoScalarWhereInput[] | VideoScalarWhereInput>;
  2608. }
  2609. export interface VideoUpdateManyWithWhereNestedInput {
  2610. where: VideoScalarWhereInput;
  2611. data: VideoUpdateManyDataInput;
  2612. }
  2613. export interface VideoUpdateManyDataInput {
  2614. order?: Maybe<Int>;
  2615. }
  2616. export interface PictureUpdateManyInput {
  2617. create?: Maybe<PictureCreateInput[] | PictureCreateInput>;
  2618. update?: Maybe<
  2619. | PictureUpdateWithWhereUniqueNestedInput[]
  2620. | PictureUpdateWithWhereUniqueNestedInput
  2621. >;
  2622. upsert?: Maybe<
  2623. | PictureUpsertWithWhereUniqueNestedInput[]
  2624. | PictureUpsertWithWhereUniqueNestedInput
  2625. >;
  2626. delete?: Maybe<PictureWhereUniqueInput[] | PictureWhereUniqueInput>;
  2627. connect?: Maybe<PictureWhereUniqueInput[] | PictureWhereUniqueInput>;
  2628. set?: Maybe<PictureWhereUniqueInput[] | PictureWhereUniqueInput>;
  2629. disconnect?: Maybe<PictureWhereUniqueInput[] | PictureWhereUniqueInput>;
  2630. deleteMany?: Maybe<PictureScalarWhereInput[] | PictureScalarWhereInput>;
  2631. updateMany?: Maybe<
  2632. | PictureUpdateManyWithWhereNestedInput[]
  2633. | PictureUpdateManyWithWhereNestedInput
  2634. >;
  2635. }
  2636. export interface PictureUpdateWithWhereUniqueNestedInput {
  2637. where: PictureWhereUniqueInput;
  2638. data: PictureUpdateDataInput;
  2639. }
  2640. export interface PictureUpdateDataInput {
  2641. order?: Maybe<Int>;
  2642. file?: Maybe<FileUpdateOneInput>;
  2643. link?: Maybe<LinkUpdateOneInput>;
  2644. }
  2645. export interface PictureUpsertWithWhereUniqueNestedInput {
  2646. where: PictureWhereUniqueInput;
  2647. update: PictureUpdateDataInput;
  2648. create: PictureCreateInput;
  2649. }
  2650. export interface PictureScalarWhereInput {
  2651. id?: Maybe<ID_Input>;
  2652. id_not?: Maybe<ID_Input>;
  2653. id_in?: Maybe<ID_Input[] | ID_Input>;
  2654. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  2655. id_lt?: Maybe<ID_Input>;
  2656. id_lte?: Maybe<ID_Input>;
  2657. id_gt?: Maybe<ID_Input>;
  2658. id_gte?: Maybe<ID_Input>;
  2659. id_contains?: Maybe<ID_Input>;
  2660. id_not_contains?: Maybe<ID_Input>;
  2661. id_starts_with?: Maybe<ID_Input>;
  2662. id_not_starts_with?: Maybe<ID_Input>;
  2663. id_ends_with?: Maybe<ID_Input>;
  2664. id_not_ends_with?: Maybe<ID_Input>;
  2665. createdAt?: Maybe<DateTimeInput>;
  2666. createdAt_not?: Maybe<DateTimeInput>;
  2667. createdAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  2668. createdAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  2669. createdAt_lt?: Maybe<DateTimeInput>;
  2670. createdAt_lte?: Maybe<DateTimeInput>;
  2671. createdAt_gt?: Maybe<DateTimeInput>;
  2672. createdAt_gte?: Maybe<DateTimeInput>;
  2673. updatedAt?: Maybe<DateTimeInput>;
  2674. updatedAt_not?: Maybe<DateTimeInput>;
  2675. updatedAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  2676. updatedAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  2677. updatedAt_lt?: Maybe<DateTimeInput>;
  2678. updatedAt_lte?: Maybe<DateTimeInput>;
  2679. updatedAt_gt?: Maybe<DateTimeInput>;
  2680. updatedAt_gte?: Maybe<DateTimeInput>;
  2681. order?: Maybe<Int>;
  2682. order_not?: Maybe<Int>;
  2683. order_in?: Maybe<Int[] | Int>;
  2684. order_not_in?: Maybe<Int[] | Int>;
  2685. order_lt?: Maybe<Int>;
  2686. order_lte?: Maybe<Int>;
  2687. order_gt?: Maybe<Int>;
  2688. order_gte?: Maybe<Int>;
  2689. AND?: Maybe<PictureScalarWhereInput[] | PictureScalarWhereInput>;
  2690. OR?: Maybe<PictureScalarWhereInput[] | PictureScalarWhereInput>;
  2691. NOT?: Maybe<PictureScalarWhereInput[] | PictureScalarWhereInput>;
  2692. }
  2693. export interface PictureUpdateManyWithWhereNestedInput {
  2694. where: PictureScalarWhereInput;
  2695. data: PictureUpdateManyDataInput;
  2696. }
  2697. export interface PictureUpdateManyDataInput {
  2698. order?: Maybe<Int>;
  2699. }
  2700. export interface BlockInstanceUpdateManyWithoutParentBlockInput {
  2701. create?: Maybe<
  2702. | BlockInstanceCreateWithoutParentBlockInput[]
  2703. | BlockInstanceCreateWithoutParentBlockInput
  2704. >;
  2705. delete?: Maybe<
  2706. BlockInstanceWhereUniqueInput[] | BlockInstanceWhereUniqueInput
  2707. >;
  2708. connect?: Maybe<
  2709. BlockInstanceWhereUniqueInput[] | BlockInstanceWhereUniqueInput
  2710. >;
  2711. set?: Maybe<BlockInstanceWhereUniqueInput[] | BlockInstanceWhereUniqueInput>;
  2712. disconnect?: Maybe<
  2713. BlockInstanceWhereUniqueInput[] | BlockInstanceWhereUniqueInput
  2714. >;
  2715. update?: Maybe<
  2716. | BlockInstanceUpdateWithWhereUniqueWithoutParentBlockInput[]
  2717. | BlockInstanceUpdateWithWhereUniqueWithoutParentBlockInput
  2718. >;
  2719. upsert?: Maybe<
  2720. | BlockInstanceUpsertWithWhereUniqueWithoutParentBlockInput[]
  2721. | BlockInstanceUpsertWithWhereUniqueWithoutParentBlockInput
  2722. >;
  2723. deleteMany?: Maybe<
  2724. BlockInstanceScalarWhereInput[] | BlockInstanceScalarWhereInput
  2725. >;
  2726. updateMany?: Maybe<
  2727. | BlockInstanceUpdateManyWithWhereNestedInput[]
  2728. | BlockInstanceUpdateManyWithWhereNestedInput
  2729. >;
  2730. }
  2731. export interface BlockInstanceUpdateWithWhereUniqueWithoutParentBlockInput {
  2732. where: BlockInstanceWhereUniqueInput;
  2733. data: BlockInstanceUpdateWithoutParentBlockDataInput;
  2734. }
  2735. export interface BlockInstanceUpdateWithoutParentBlockDataInput {
  2736. block?: Maybe<BlockUpdateOneRequiredWithoutParentBlockInstancesInput>;
  2737. parentTraining?: Maybe<TrainingUpdateOneWithoutBlocksInput>;
  2738. order?: Maybe<Int>;
  2739. rounds?: Maybe<Int>;
  2740. variation?: Maybe<String>;
  2741. }
  2742. export interface BlockUpdateOneRequiredWithoutParentBlockInstancesInput {
  2743. create?: Maybe<BlockCreateWithoutParentBlockInstancesInput>;
  2744. update?: Maybe<BlockUpdateWithoutParentBlockInstancesDataInput>;
  2745. upsert?: Maybe<BlockUpsertWithoutParentBlockInstancesInput>;
  2746. connect?: Maybe<BlockWhereUniqueInput>;
  2747. }
  2748. export interface BlockUpdateWithoutParentBlockInstancesDataInput {
  2749. title?: Maybe<String>;
  2750. description?: Maybe<String>;
  2751. duration?: Maybe<Int>;
  2752. format?: Maybe<FormatUpdateOneRequiredInput>;
  2753. rest?: Maybe<Int>;
  2754. tracks?: Maybe<TrackUpdateManyInput>;
  2755. videos?: Maybe<VideoUpdateManyInput>;
  2756. pictures?: Maybe<PictureUpdateManyInput>;
  2757. blocks?: Maybe<BlockInstanceUpdateManyWithoutParentBlockInput>;
  2758. exercises?: Maybe<ExerciseInstanceUpdateManyWithoutParentBlockInstancesInput>;
  2759. }
  2760. export interface ExerciseInstanceUpdateManyWithoutParentBlockInstancesInput {
  2761. create?: Maybe<
  2762. | ExerciseInstanceCreateWithoutParentBlockInstancesInput[]
  2763. | ExerciseInstanceCreateWithoutParentBlockInstancesInput
  2764. >;
  2765. delete?: Maybe<
  2766. ExerciseInstanceWhereUniqueInput[] | ExerciseInstanceWhereUniqueInput
  2767. >;
  2768. connect?: Maybe<
  2769. ExerciseInstanceWhereUniqueInput[] | ExerciseInstanceWhereUniqueInput
  2770. >;
  2771. set?: Maybe<
  2772. ExerciseInstanceWhereUniqueInput[] | ExerciseInstanceWhereUniqueInput
  2773. >;
  2774. disconnect?: Maybe<
  2775. ExerciseInstanceWhereUniqueInput[] | ExerciseInstanceWhereUniqueInput
  2776. >;
  2777. update?: Maybe<
  2778. | ExerciseInstanceUpdateWithWhereUniqueWithoutParentBlockInstancesInput[]
  2779. | ExerciseInstanceUpdateWithWhereUniqueWithoutParentBlockInstancesInput
  2780. >;
  2781. upsert?: Maybe<
  2782. | ExerciseInstanceUpsertWithWhereUniqueWithoutParentBlockInstancesInput[]
  2783. | ExerciseInstanceUpsertWithWhereUniqueWithoutParentBlockInstancesInput
  2784. >;
  2785. deleteMany?: Maybe<
  2786. ExerciseInstanceScalarWhereInput[] | ExerciseInstanceScalarWhereInput
  2787. >;
  2788. updateMany?: Maybe<
  2789. | ExerciseInstanceUpdateManyWithWhereNestedInput[]
  2790. | ExerciseInstanceUpdateManyWithWhereNestedInput
  2791. >;
  2792. }
  2793. export interface ExerciseInstanceUpdateWithWhereUniqueWithoutParentBlockInstancesInput {
  2794. where: ExerciseInstanceWhereUniqueInput;
  2795. data: ExerciseInstanceUpdateWithoutParentBlockInstancesDataInput;
  2796. }
  2797. export interface ExerciseInstanceUpdateWithoutParentBlockInstancesDataInput {
  2798. exercise?: Maybe<
  2799. ExerciseUpdateOneRequiredWithoutParentExerciseInstancesInput
  2800. >;
  2801. order?: Maybe<Int>;
  2802. repetitions?: Maybe<Int>;
  2803. variation?: Maybe<String>;
  2804. }
  2805. export interface ExerciseUpdateOneRequiredWithoutParentExerciseInstancesInput {
  2806. create?: Maybe<ExerciseCreateWithoutParentExerciseInstancesInput>;
  2807. update?: Maybe<ExerciseUpdateWithoutParentExerciseInstancesDataInput>;
  2808. upsert?: Maybe<ExerciseUpsertWithoutParentExerciseInstancesInput>;
  2809. connect?: Maybe<ExerciseWhereUniqueInput>;
  2810. }
  2811. export interface ExerciseUpdateWithoutParentExerciseInstancesDataInput {
  2812. name?: Maybe<String>;
  2813. description?: Maybe<String>;
  2814. videos?: Maybe<VideoUpdateManyInput>;
  2815. pictures?: Maybe<PictureUpdateManyInput>;
  2816. targets?: Maybe<ExerciseUpdatetargetsInput>;
  2817. baseExercise?: Maybe<ExerciseUpdatebaseExerciseInput>;
  2818. }
  2819. export interface ExerciseUpdatetargetsInput {
  2820. set?: Maybe<String[] | String>;
  2821. }
  2822. export interface ExerciseUpdatebaseExerciseInput {
  2823. set?: Maybe<String[] | String>;
  2824. }
  2825. export interface ExerciseUpsertWithoutParentExerciseInstancesInput {
  2826. update: ExerciseUpdateWithoutParentExerciseInstancesDataInput;
  2827. create: ExerciseCreateWithoutParentExerciseInstancesInput;
  2828. }
  2829. export interface ExerciseInstanceUpsertWithWhereUniqueWithoutParentBlockInstancesInput {
  2830. where: ExerciseInstanceWhereUniqueInput;
  2831. update: ExerciseInstanceUpdateWithoutParentBlockInstancesDataInput;
  2832. create: ExerciseInstanceCreateWithoutParentBlockInstancesInput;
  2833. }
  2834. export interface ExerciseInstanceScalarWhereInput {
  2835. id?: Maybe<ID_Input>;
  2836. id_not?: Maybe<ID_Input>;
  2837. id_in?: Maybe<ID_Input[] | ID_Input>;
  2838. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  2839. id_lt?: Maybe<ID_Input>;
  2840. id_lte?: Maybe<ID_Input>;
  2841. id_gt?: Maybe<ID_Input>;
  2842. id_gte?: Maybe<ID_Input>;
  2843. id_contains?: Maybe<ID_Input>;
  2844. id_not_contains?: Maybe<ID_Input>;
  2845. id_starts_with?: Maybe<ID_Input>;
  2846. id_not_starts_with?: Maybe<ID_Input>;
  2847. id_ends_with?: Maybe<ID_Input>;
  2848. id_not_ends_with?: Maybe<ID_Input>;
  2849. order?: Maybe<Int>;
  2850. order_not?: Maybe<Int>;
  2851. order_in?: Maybe<Int[] | Int>;
  2852. order_not_in?: Maybe<Int[] | Int>;
  2853. order_lt?: Maybe<Int>;
  2854. order_lte?: Maybe<Int>;
  2855. order_gt?: Maybe<Int>;
  2856. order_gte?: Maybe<Int>;
  2857. repetitions?: Maybe<Int>;
  2858. repetitions_not?: Maybe<Int>;
  2859. repetitions_in?: Maybe<Int[] | Int>;
  2860. repetitions_not_in?: Maybe<Int[] | Int>;
  2861. repetitions_lt?: Maybe<Int>;
  2862. repetitions_lte?: Maybe<Int>;
  2863. repetitions_gt?: Maybe<Int>;
  2864. repetitions_gte?: Maybe<Int>;
  2865. variation?: Maybe<String>;
  2866. variation_not?: Maybe<String>;
  2867. variation_in?: Maybe<String[] | String>;
  2868. variation_not_in?: Maybe<String[] | String>;
  2869. variation_lt?: Maybe<String>;
  2870. variation_lte?: Maybe<String>;
  2871. variation_gt?: Maybe<String>;
  2872. variation_gte?: Maybe<String>;
  2873. variation_contains?: Maybe<String>;
  2874. variation_not_contains?: Maybe<String>;
  2875. variation_starts_with?: Maybe<String>;
  2876. variation_not_starts_with?: Maybe<String>;
  2877. variation_ends_with?: Maybe<String>;
  2878. variation_not_ends_with?: Maybe<String>;
  2879. AND?: Maybe<
  2880. ExerciseInstanceScalarWhereInput[] | ExerciseInstanceScalarWhereInput
  2881. >;
  2882. OR?: Maybe<
  2883. ExerciseInstanceScalarWhereInput[] | ExerciseInstanceScalarWhereInput
  2884. >;
  2885. NOT?: Maybe<
  2886. ExerciseInstanceScalarWhereInput[] | ExerciseInstanceScalarWhereInput
  2887. >;
  2888. }
  2889. export interface ExerciseInstanceUpdateManyWithWhereNestedInput {
  2890. where: ExerciseInstanceScalarWhereInput;
  2891. data: ExerciseInstanceUpdateManyDataInput;
  2892. }
  2893. export interface ExerciseInstanceUpdateManyDataInput {
  2894. order?: Maybe<Int>;
  2895. repetitions?: Maybe<Int>;
  2896. variation?: Maybe<String>;
  2897. }
  2898. export interface BlockUpsertWithoutParentBlockInstancesInput {
  2899. update: BlockUpdateWithoutParentBlockInstancesDataInput;
  2900. create: BlockCreateWithoutParentBlockInstancesInput;
  2901. }
  2902. export interface TrainingUpdateOneWithoutBlocksInput {
  2903. create?: Maybe<TrainingCreateWithoutBlocksInput>;
  2904. update?: Maybe<TrainingUpdateWithoutBlocksDataInput>;
  2905. upsert?: Maybe<TrainingUpsertWithoutBlocksInput>;
  2906. delete?: Maybe<Boolean>;
  2907. disconnect?: Maybe<Boolean>;
  2908. connect?: Maybe<TrainingWhereUniqueInput>;
  2909. }
  2910. export interface TrainingUpdateWithoutBlocksDataInput {
  2911. title?: Maybe<String>;
  2912. type?: Maybe<TrainingTypeUpdateOneRequiredInput>;
  2913. trainingDate?: Maybe<DateTimeInput>;
  2914. location?: Maybe<String>;
  2915. registrations?: Maybe<UserUpdateManyInput>;
  2916. attendance?: Maybe<Int>;
  2917. ratings?: Maybe<RatingUpdateManyInput>;
  2918. published?: Maybe<Boolean>;
  2919. }
  2920. export interface TrainingTypeUpdateOneRequiredInput {
  2921. create?: Maybe<TrainingTypeCreateInput>;
  2922. update?: Maybe<TrainingTypeUpdateDataInput>;
  2923. upsert?: Maybe<TrainingTypeUpsertNestedInput>;
  2924. connect?: Maybe<TrainingTypeWhereUniqueInput>;
  2925. }
  2926. export interface TrainingTypeUpdateDataInput {
  2927. name?: Maybe<String>;
  2928. description?: Maybe<String>;
  2929. }
  2930. export interface TrainingTypeUpsertNestedInput {
  2931. update: TrainingTypeUpdateDataInput;
  2932. create: TrainingTypeCreateInput;
  2933. }
  2934. export interface UserUpdateManyInput {
  2935. create?: Maybe<UserCreateInput[] | UserCreateInput>;
  2936. update?: Maybe<
  2937. | UserUpdateWithWhereUniqueNestedInput[]
  2938. | UserUpdateWithWhereUniqueNestedInput
  2939. >;
  2940. upsert?: Maybe<
  2941. | UserUpsertWithWhereUniqueNestedInput[]
  2942. | UserUpsertWithWhereUniqueNestedInput
  2943. >;
  2944. delete?: Maybe<UserWhereUniqueInput[] | UserWhereUniqueInput>;
  2945. connect?: Maybe<UserWhereUniqueInput[] | UserWhereUniqueInput>;
  2946. set?: Maybe<UserWhereUniqueInput[] | UserWhereUniqueInput>;
  2947. disconnect?: Maybe<UserWhereUniqueInput[] | UserWhereUniqueInput>;
  2948. deleteMany?: Maybe<UserScalarWhereInput[] | UserScalarWhereInput>;
  2949. updateMany?: Maybe<
  2950. UserUpdateManyWithWhereNestedInput[] | UserUpdateManyWithWhereNestedInput
  2951. >;
  2952. }
  2953. export interface UserUpdateWithWhereUniqueNestedInput {
  2954. where: UserWhereUniqueInput;
  2955. data: UserUpdateDataInput;
  2956. }
  2957. export interface UserUpsertWithWhereUniqueNestedInput {
  2958. where: UserWhereUniqueInput;
  2959. update: UserUpdateDataInput;
  2960. create: UserCreateInput;
  2961. }
  2962. export interface UserScalarWhereInput {
  2963. id?: Maybe<ID_Input>;
  2964. id_not?: Maybe<ID_Input>;
  2965. id_in?: Maybe<ID_Input[] | ID_Input>;
  2966. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  2967. id_lt?: Maybe<ID_Input>;
  2968. id_lte?: Maybe<ID_Input>;
  2969. id_gt?: Maybe<ID_Input>;
  2970. id_gte?: Maybe<ID_Input>;
  2971. id_contains?: Maybe<ID_Input>;
  2972. id_not_contains?: Maybe<ID_Input>;
  2973. id_starts_with?: Maybe<ID_Input>;
  2974. id_not_starts_with?: Maybe<ID_Input>;
  2975. id_ends_with?: Maybe<ID_Input>;
  2976. id_not_ends_with?: Maybe<ID_Input>;
  2977. email?: Maybe<String>;
  2978. email_not?: Maybe<String>;
  2979. email_in?: Maybe<String[] | String>;
  2980. email_not_in?: Maybe<String[] | String>;
  2981. email_lt?: Maybe<String>;
  2982. email_lte?: Maybe<String>;
  2983. email_gt?: Maybe<String>;
  2984. email_gte?: Maybe<String>;
  2985. email_contains?: Maybe<String>;
  2986. email_not_contains?: Maybe<String>;
  2987. email_starts_with?: Maybe<String>;
  2988. email_not_starts_with?: Maybe<String>;
  2989. email_ends_with?: Maybe<String>;
  2990. email_not_ends_with?: Maybe<String>;
  2991. name?: Maybe<String>;
  2992. name_not?: Maybe<String>;
  2993. name_in?: Maybe<String[] | String>;
  2994. name_not_in?: Maybe<String[] | String>;
  2995. name_lt?: Maybe<String>;
  2996. name_lte?: Maybe<String>;
  2997. name_gt?: Maybe<String>;
  2998. name_gte?: Maybe<String>;
  2999. name_contains?: Maybe<String>;
  3000. name_not_contains?: Maybe<String>;
  3001. name_starts_with?: Maybe<String>;
  3002. name_not_starts_with?: Maybe<String>;
  3003. name_ends_with?: Maybe<String>;
  3004. name_not_ends_with?: Maybe<String>;
  3005. password?: Maybe<String>;
  3006. password_not?: Maybe<String>;
  3007. password_in?: Maybe<String[] | String>;
  3008. password_not_in?: Maybe<String[] | String>;
  3009. password_lt?: Maybe<String>;
  3010. password_lte?: Maybe<String>;
  3011. password_gt?: Maybe<String>;
  3012. password_gte?: Maybe<String>;
  3013. password_contains?: Maybe<String>;
  3014. password_not_contains?: Maybe<String>;
  3015. password_starts_with?: Maybe<String>;
  3016. password_not_starts_with?: Maybe<String>;
  3017. password_ends_with?: Maybe<String>;
  3018. password_not_ends_with?: Maybe<String>;
  3019. resetToken?: Maybe<String>;
  3020. resetToken_not?: Maybe<String>;
  3021. resetToken_in?: Maybe<String[] | String>;
  3022. resetToken_not_in?: Maybe<String[] | String>;
  3023. resetToken_lt?: Maybe<String>;
  3024. resetToken_lte?: Maybe<String>;
  3025. resetToken_gt?: Maybe<String>;
  3026. resetToken_gte?: Maybe<String>;
  3027. resetToken_contains?: Maybe<String>;
  3028. resetToken_not_contains?: Maybe<String>;
  3029. resetToken_starts_with?: Maybe<String>;
  3030. resetToken_not_starts_with?: Maybe<String>;
  3031. resetToken_ends_with?: Maybe<String>;
  3032. resetToken_not_ends_with?: Maybe<String>;
  3033. resetTokenExpiry?: Maybe<Float>;
  3034. resetTokenExpiry_not?: Maybe<Float>;
  3035. resetTokenExpiry_in?: Maybe<Float[] | Float>;
  3036. resetTokenExpiry_not_in?: Maybe<Float[] | Float>;
  3037. resetTokenExpiry_lt?: Maybe<Float>;
  3038. resetTokenExpiry_lte?: Maybe<Float>;
  3039. resetTokenExpiry_gt?: Maybe<Float>;
  3040. resetTokenExpiry_gte?: Maybe<Float>;
  3041. createdAt?: Maybe<DateTimeInput>;
  3042. createdAt_not?: Maybe<DateTimeInput>;
  3043. createdAt_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  3044. createdAt_not_in?: Maybe<DateTimeInput[] | DateTimeInput>;
  3045. createdAt_lt?: Maybe<DateTimeInput>;
  3046. createdAt_lte?: Maybe<DateTimeInput>;
  3047. createdAt_gt?: Maybe<DateTimeInput>;
  3048. createdAt_gte?: Maybe<DateTimeInput>;
  3049. AND?: Maybe<UserScalarWhereInput[] | UserScalarWhereInput>;
  3050. OR?: Maybe<UserScalarWhereInput[] | UserScalarWhereInput>;
  3051. NOT?: Maybe<UserScalarWhereInput[] | UserScalarWhereInput>;
  3052. }
  3053. export interface UserUpdateManyWithWhereNestedInput {
  3054. where: UserScalarWhereInput;
  3055. data: UserUpdateManyDataInput;
  3056. }
  3057. export interface UserUpdateManyDataInput {
  3058. email?: Maybe<String>;
  3059. name?: Maybe<String>;
  3060. password?: Maybe<String>;
  3061. resetToken?: Maybe<String>;
  3062. resetTokenExpiry?: Maybe<Float>;
  3063. permissions?: Maybe<UserUpdatepermissionsInput>;
  3064. interests?: Maybe<UserUpdateinterestsInput>;
  3065. }
  3066. export interface RatingUpdateManyInput {
  3067. create?: Maybe<RatingCreateInput[] | RatingCreateInput>;
  3068. update?: Maybe<
  3069. | RatingUpdateWithWhereUniqueNestedInput[]
  3070. | RatingUpdateWithWhereUniqueNestedInput
  3071. >;
  3072. upsert?: Maybe<
  3073. | RatingUpsertWithWhereUniqueNestedInput[]
  3074. | RatingUpsertWithWhereUniqueNestedInput
  3075. >;
  3076. delete?: Maybe<RatingWhereUniqueInput[] | RatingWhereUniqueInput>;
  3077. connect?: Maybe<RatingWhereUniqueInput[] | RatingWhereUniqueInput>;
  3078. set?: Maybe<RatingWhereUniqueInput[] | RatingWhereUniqueInput>;
  3079. disconnect?: Maybe<RatingWhereUniqueInput[] | RatingWhereUniqueInput>;
  3080. deleteMany?: Maybe<RatingScalarWhereInput[] | RatingScalarWhereInput>;
  3081. updateMany?: Maybe<
  3082. | RatingUpdateManyWithWhereNestedInput[]
  3083. | RatingUpdateManyWithWhereNestedInput
  3084. >;
  3085. }
  3086. export interface RatingUpdateWithWhereUniqueNestedInput {
  3087. where: RatingWhereUniqueInput;
  3088. data: RatingUpdateDataInput;
  3089. }
  3090. export interface RatingUpdateDataInput {
  3091. user?: Maybe<UserUpdateOneRequiredWithoutRatingsInput>;
  3092. value?: Maybe<Int>;
  3093. comment?: Maybe<String>;
  3094. }
  3095. export interface UserUpdateOneRequiredWithoutRatingsInput {
  3096. create?: Maybe<UserCreateWithoutRatingsInput>;
  3097. update?: Maybe<UserUpdateWithoutRatingsDataInput>;
  3098. upsert?: Maybe<UserUpsertWithoutRatingsInput>;
  3099. connect?: Maybe<UserWhereUniqueInput>;
  3100. }
  3101. export interface UserUpdateWithoutRatingsDataInput {
  3102. email?: Maybe<String>;
  3103. name?: Maybe<String>;
  3104. password?: Maybe<String>;
  3105. resetToken?: Maybe<String>;
  3106. resetTokenExpiry?: Maybe<Float>;
  3107. comments?: Maybe<CommentUpdateManyWithoutAuthorInput>;
  3108. permissions?: Maybe<UserUpdatepermissionsInput>;
  3109. interests?: Maybe<UserUpdateinterestsInput>;
  3110. }
  3111. export interface UserUpsertWithoutRatingsInput {
  3112. update: UserUpdateWithoutRatingsDataInput;
  3113. create: UserCreateWithoutRatingsInput;
  3114. }
  3115. export interface RatingUpsertWithWhereUniqueNestedInput {
  3116. where: RatingWhereUniqueInput;
  3117. update: RatingUpdateDataInput;
  3118. create: RatingCreateInput;
  3119. }
  3120. export interface TrainingUpsertWithoutBlocksInput {
  3121. update: TrainingUpdateWithoutBlocksDataInput;
  3122. create: TrainingCreateWithoutBlocksInput;
  3123. }
  3124. export interface BlockInstanceUpsertWithWhereUniqueWithoutParentBlockInput {
  3125. where: BlockInstanceWhereUniqueInput;
  3126. update: BlockInstanceUpdateWithoutParentBlockDataInput;
  3127. create: BlockInstanceCreateWithoutParentBlockInput;
  3128. }
  3129. export interface BlockInstanceScalarWhereInput {
  3130. id?: Maybe<ID_Input>;
  3131. id_not?: Maybe<ID_Input>;
  3132. id_in?: Maybe<ID_Input[] | ID_Input>;
  3133. id_not_in?: Maybe<ID_Input[] | ID_Input>;
  3134. id_lt?: Maybe<ID_Input>;
  3135. id_lte?: Maybe<ID_Input>;
  3136. id_gt?: Maybe<ID_Input>;
  3137. id_gte?: Maybe<ID_Input>;
  3138. id_contains?: Maybe<ID_Input>;
  3139. id_not_contains?: Maybe<ID_Input>;
  3140. id_starts_with?: Maybe<ID_Input>;
  3141. id_not_starts_with?: Maybe<ID_Input>;
  3142. id_ends_with?: Maybe<ID_Input>;
  3143. id_not_ends_with?: Maybe<ID_Input>;
  3144. order?: Maybe<Int>;
  3145. order_not?: Maybe<Int>;
  3146. order_in?: Maybe<Int[] | Int>;
  3147. order_not_in?: Maybe<Int[] | Int>;
  3148. order_lt?: Maybe<Int>;
  3149. order_lte?: Maybe<Int>;
  3150. order_gt?: Maybe<Int>;
  3151. order_gte?: Maybe<Int>;
  3152. rounds?: Maybe<Int>;
  3153. rounds_not?: Maybe<Int>;
  3154. rounds_in?: Maybe<Int[] | Int>;
  3155. rounds_not_in?: Maybe<Int[] | Int>;
  3156. rounds_lt?: Maybe<Int>;
  3157. rounds_lte?: Maybe<Int>;
  3158. rounds_gt?: Maybe<Int>;
  3159. rounds_gte?: Maybe<Int>;
  3160. variation?: Maybe<String>;
  3161. variation_not?: Maybe<String>;
  3162. variation_in?: Maybe<String[] | String>;
  3163. variation_not_in?: Maybe<String[] | String>;
  3164. variation_lt?: Maybe<String>;
  3165. variation_lte?: Maybe<String>;
  3166. variation_gt?: Maybe<String>;
  3167. variation_gte?: Maybe<String>;
  3168. variation_contains?: Maybe<String>;
  3169. variation_not_contains?: Maybe<String>;
  3170. variation_starts_with?: Maybe<String>;
  3171. variation_not_starts_with?: Maybe<String>;
  3172. variation_ends_with?: Maybe<String>;
  3173. variation_not_ends_with?: Maybe<String>;
  3174. AND?: Maybe<BlockInstanceScalarWhereInput[] | BlockInstanceScalarWhereInput>;
  3175. OR?: Maybe<BlockInstanceScalarWhereInput[] | BlockInstanceScalarWhereInput>;
  3176. NOT?: Maybe<BlockInstanceScalarWhereInput[] | BlockInstanceScalarWhereInput>;
  3177. }
  3178. export interface BlockInstanceUpdateManyWithWhereNestedInput {
  3179. where: BlockInstanceScalarWhereInput;
  3180. data: BlockInstanceUpdateManyDataInput;
  3181. }
  3182. export interface BlockInstanceUpdateManyDataInput {
  3183. order?: Maybe<Int>;
  3184. rounds?: Maybe<Int>;
  3185. variation?: Maybe<String>;
  3186. }
  3187. export interface BlockInstanceUpdateManyWithoutBlockInput {
  3188. create?: Maybe<
  3189. | BlockInstanceCreateWithoutBlockInput[]
  3190. | BlockInstanceCreateWithoutBlockInput
  3191. >;
  3192. delete?: Maybe<
  3193. BlockInstanceWhereUniqueInput[] | BlockInstanceWhereUniqueInput
  3194. >;
  3195. connect?: Maybe<
  3196. BlockInstanceWhereUniqueInput[] | BlockInstanceWhereUniqueInput
  3197. >;
  3198. set?: Maybe<BlockInstanceWhereUniqueInput[] | BlockInstanceWhereUniqueInput>;
  3199. disconnect?: Maybe<
  3200. BlockInstanceWhereUniqueInput[] | BlockInstanceWhereUniqueInput
  3201. >;
  3202. update?: Maybe<
  3203. | BlockInstanceUpdateWithWhereUniqueWithoutBlockInput[]
  3204. | BlockInstanceUpdateWithWhereUniqueWithoutBlockInput
  3205. >;
  3206. upsert?: Maybe<
  3207. | BlockInstanceUpsertWithWhereUniqueWithoutBlockInput[]
  3208. | BlockInstanceUpsertWithWhereUniqueWithoutBlockInput
  3209. >;
  3210. deleteMany?: Maybe<
  3211. BlockInstanceScalarWhereInput[] | BlockInstanceScalarWhereInput
  3212. >;
  3213. updateMany?: Maybe<
  3214. | BlockInstanceUpdateManyWithWhereNestedInput[]
  3215. | BlockInstanceUpdateManyWithWhereNestedInput
  3216. >;
  3217. }
  3218. export interface BlockInstanceUpdateWithWhereUniqueWithoutBlockInput {
  3219. where: BlockInstanceWhereUniqueInput;
  3220. data: BlockInstanceUpdateWithoutBlockDataInput;
  3221. }
  3222. export interface BlockInstanceUpdateWithoutBlockDataInput {
  3223. parentBlock?: Maybe<BlockUpdateOneWithoutBlocksInput>;
  3224. parentTraining?: Maybe<TrainingUpdateOneWithoutBlocksInput>;
  3225. order?: Maybe<Int>;
  3226. rounds?: Maybe<Int>;
  3227. variation?: Maybe<String>;
  3228. }
  3229. export interface BlockUpdateOneWithoutBlocksInput {
  3230. create?: Maybe<BlockCreateWithoutBlocksInput>;
  3231. update?: Maybe<BlockUpdateWithoutBlocksDataInput>;
  3232. upsert?: Maybe<BlockUpsertWithoutBlocksInput>;
  3233. delete?: Maybe<Boolean>;
  3234. disconnect?: Maybe<Boolean>;
  3235. connect?: Maybe<BlockWhereUniqueInput>;
  3236. }
  3237. export interface BlockUpdateWithoutBlocksDataInput {
  3238. title?: Maybe<String>;
  3239. description?: Maybe<String>;
  3240. duration?: Maybe<Int>;
  3241. format?: Maybe<FormatUpdateOneRequiredInput>;
  3242. rest?: Maybe<Int>;
  3243. tracks?: Maybe<TrackUpdateManyInput>;
  3244. videos?: Maybe<VideoUpdateManyInput>;
  3245. pictures?: Maybe<PictureUpdateManyInput>;
  3246. parentBlockInstances?: Maybe<BlockInstanceUpdateManyWithoutBlockInput>;
  3247. exercises?: Maybe<ExerciseInstanceUpdateManyWithoutParentBlockInstancesInput>;
  3248. }
  3249. export interface BlockUpsertWithoutBlocksInput {
  3250. update: BlockUpdateWithoutBlocksDataInput;
  3251. create: BlockCreateWithoutBlocksInput;
  3252. }
  3253. export interface BlockInstanceUpsertWithWhereUniqueWithoutBlockInput {
  3254. where: BlockInstanceWhereUniqueInput;
  3255. update: BlockInstanceUpdateWithoutBlockDataInput;
  3256. create: BlockInstanceCreateWithoutBlockInput;
  3257. }
  3258. export interface BlockUpdateManyMutationInput {
  3259. title?: Maybe<String>;
  3260. description?: Maybe<String>;
  3261. duration?: Maybe<Int>;
  3262. rest?: Maybe<Int>;
  3263. }
  3264. export interface BlockInstanceCreateInput {
  3265. id?: Maybe<ID_Input>;
  3266. block: BlockCreateOneWithoutParentBlockInstancesInput;
  3267. parentBlock?: Maybe<BlockCreateOneWithoutBlocksInput>;
  3268. parentTraining?: Maybe<TrainingCreateOneWithoutBlocksInput>;
  3269. order: Int;
  3270. rounds?: Maybe<Int>;
  3271. variation?: Maybe<String>;
  3272. }
  3273. export interface BlockInstanceUpdateInput {
  3274. block?: Maybe<BlockUpdateOneRequiredWithoutParentBlockInstancesInput>;
  3275. parentBlock?: Maybe<BlockUpdateOneWithoutBlocksInput>;
  3276. parentTraining?: Maybe<TrainingUpdateOneWithoutBlocksInput>;
  3277. order?: Maybe<Int>;
  3278. rounds?: Maybe<Int>;
  3279. variation?: Maybe<String>;
  3280. }
  3281. export interface BlockInstanceUpdateManyMutationInput {
  3282. order?: Maybe<Int>;
  3283. rounds?: Maybe<Int>;
  3284. variation?: Maybe<String>;
  3285. }
  3286. export interface CommentCreateInput {
  3287. id?: Maybe<ID_Input>;
  3288. text: String;
  3289. author: UserCreateOneWithoutCommentsInput;
  3290. }
  3291. export interface UserCreateOneWithoutCommentsInput {
  3292. create?: Maybe<UserCreateWithoutCommentsInput>;
  3293. connect?: Maybe<UserWhereUniqueInput>;
  3294. }
  3295. export interface UserCreateWithoutCommentsInput {
  3296. id?: Maybe<ID_Input>;
  3297. email: String;
  3298. name: String;
  3299. password: String;
  3300. resetToken?: Maybe<String>;
  3301. resetTokenExpiry?: Maybe<Float>;
  3302. ratings?: Maybe<RatingCreateManyWithoutUserInput>;
  3303. permissions?: Maybe<UserCreatepermissionsInput>;
  3304. interests?: Maybe<UserCreateinterestsInput>;
  3305. }
  3306. export interface CommentUpdateInput {
  3307. text?: Maybe<String>;
  3308. author?: Maybe<UserUpdateOneRequiredWithoutCommentsInput>;
  3309. }
  3310. export interface UserUpdateOneRequiredWithoutCommentsInput {
  3311. create?: Maybe<UserCreateWithoutCommentsInput>;
  3312. update?: Maybe<UserUpdateWithoutCommentsDataInput>;
  3313. upsert?: Maybe<UserUpsertWithoutCommentsInput>;
  3314. connect?: Maybe<UserWhereUniqueInput>;
  3315. }
  3316. export interface UserUpdateWithoutCommentsDataInput {
  3317. email?: Maybe<String>;
  3318. name?: Maybe<String>;
  3319. password?: Maybe<String>;
  3320. resetToken?: Maybe<String>;
  3321. resetTokenExpiry?: Maybe<Float>;
  3322. ratings?: Maybe<RatingUpdateManyWithoutUserInput>;
  3323. permissions?: Maybe<UserUpdatepermissionsInput>;
  3324. interests?: Maybe<UserUpdateinterestsInput>;
  3325. }
  3326. export interface UserUpsertWithoutCommentsInput {
  3327. update: UserUpdateWithoutCommentsDataInput;
  3328. create: UserCreateWithoutCommentsInput;
  3329. }
  3330. export interface CommentUpdateManyMutationInput {
  3331. text?: Maybe<String>;
  3332. }
  3333. export interface ExerciseCreateInput {
  3334. id?: Maybe<ID_Input>;
  3335. name: String;
  3336. description?: Maybe<String>;
  3337. videos?: Maybe<VideoCreateManyInput>;
  3338. pictures?: Maybe<PictureCreateManyInput>;
  3339. targets?: Maybe<ExerciseCreatetargetsInput>;
  3340. baseExercise?: Maybe<ExerciseCreatebaseExerciseInput>;
  3341. parentExerciseInstances?: Maybe<
  3342. ExerciseInstanceCreateManyWithoutExerciseInput
  3343. >;
  3344. }
  3345. export interface ExerciseInstanceCreateManyWithoutExerciseInput {
  3346. create?: Maybe<
  3347. | ExerciseInstanceCreateWithoutExerciseInput[]
  3348. | ExerciseInstanceCreateWithoutExerciseInput
  3349. >;
  3350. connect?: Maybe<
  3351. ExerciseInstanceWhereUniqueInput[] | ExerciseInstanceWhereUniqueInput
  3352. >;
  3353. }
  3354. export interface ExerciseInstanceCreateWithoutExerciseInput {
  3355. id?: Maybe<ID_Input>;
  3356. order: Int;
  3357. repetitions?: Maybe<Int>;
  3358. variation?: Maybe<String>;
  3359. parentBlockInstances: BlockCreateOneWithoutExercisesInput;
  3360. }
  3361. export interface BlockCreateOneWithoutExercisesInput {
  3362. create?: Maybe<BlockCreateWithoutExercisesInput>;
  3363. connect?: Maybe<BlockWhereUniqueInput>;
  3364. }
  3365. export interface BlockCreateWithoutExercisesInput {
  3366. id?: Maybe<ID_Input>;
  3367. title: String;
  3368. description?: Maybe<String>;
  3369. duration?: Maybe<Int>;
  3370. format: FormatCreateOneInput;
  3371. rest?: Maybe<Int>;
  3372. tracks?: Maybe<TrackCreateManyInput>;
  3373. videos?: Maybe<VideoCreateManyInput>;
  3374. pictures?: Maybe<PictureCreateManyInput>;
  3375. blocks?: Maybe<BlockInstanceCreateManyWithoutParentBlockInput>;
  3376. parentBlockInstances?: Maybe<BlockInstanceCreateManyWithoutBlockInput>;
  3377. }
  3378. export interface ExerciseUpdateInput {
  3379. name?: Maybe<String>;
  3380. description?: Maybe<String>;
  3381. videos?: Maybe<VideoUpdateManyInput>;
  3382. pictures?: Maybe<PictureUpdateManyInput>;
  3383. targets?: Maybe<ExerciseUpdatetargetsInput>;
  3384. baseExercise?: Maybe<ExerciseUpdatebaseExerciseInput>;
  3385. parentExerciseInstances?: Maybe<
  3386. ExerciseInstanceUpdateManyWithoutExerciseInput
  3387. >;
  3388. }
  3389. export interface ExerciseInstanceUpdateManyWithoutExerciseInput {
  3390. create?: Maybe<
  3391. | ExerciseInstanceCreateWithoutExerciseInput[]
  3392. | ExerciseInstanceCreateWithoutExerciseInput
  3393. >;
  3394. delete?: Maybe<
  3395. ExerciseInstanceWhereUniqueInput[] | ExerciseInstanceWhereUniqueInput
  3396. >;
  3397. connect?: Maybe<
  3398. ExerciseInstanceWhereUniqueInput[] | ExerciseInstanceWhereUniqueInput
  3399. >;
  3400. set?: Maybe<
  3401. ExerciseInstanceWhereUniqueInput[] | ExerciseInstanceWhereUniqueInput
  3402. >;
  3403. disconnect?: Maybe<
  3404. ExerciseInstanceWhereUniqueInput[] | ExerciseInstanceWhereUniqueInput
  3405. >;
  3406. update?: Maybe<
  3407. | ExerciseInstanceUpdateWithWhereUniqueWithoutExerciseInput[]
  3408. | ExerciseInstanceUpdateWithWhereUniqueWithoutExerciseInput
  3409. >;
  3410. upsert?: Maybe<
  3411. | ExerciseInstanceUpsertWithWhereUniqueWithoutExerciseInput[]
  3412. | ExerciseInstanceUpsertWithWhereUniqueWithoutExerciseInput
  3413. >;
  3414. deleteMany?: Maybe<
  3415. ExerciseInstanceScalarWhereInput[] | ExerciseInstanceScalarWhereInput
  3416. >;
  3417. updateMany?: Maybe<
  3418. | ExerciseInstanceUpdateManyWithWhereNestedInput[]
  3419. | ExerciseInstanceUpdateManyWithWhereNestedInput
  3420. >;
  3421. }
  3422. export interface ExerciseInstanceUpdateWithWhereUniqueWithoutExerciseInput {
  3423. where: ExerciseInstanceWhereUniqueInput;
  3424. data: ExerciseInstanceUpdateWithoutExerciseDataInput;
  3425. }
  3426. export interface ExerciseInstanceUpdateWithoutExerciseDataInput {
  3427. order?: Maybe<Int>;
  3428. repetitions?: Maybe<Int>;
  3429. variation?: Maybe<String>;
  3430. parentBlockInstances?: Maybe<BlockUpdateOneRequiredWithoutExercisesInput>;
  3431. }
  3432. export interface BlockUpdateOneRequiredWithoutExercisesInput {
  3433. create?: Maybe<BlockCreateWithoutExercisesInput>;
  3434. update?: Maybe<BlockUpdateWithoutExercisesDataInput>;
  3435. upsert?: Maybe<BlockUpsertWithoutExercisesInput>;
  3436. connect?: Maybe<BlockWhereUniqueInput>;
  3437. }
  3438. export interface BlockUpdateWithoutExercisesDataInput {
  3439. title?: Maybe<String>;
  3440. description?: Maybe<String>;
  3441. duration?: Maybe<Int>;
  3442. format?: Maybe<FormatUpdateOneRequiredInput>;
  3443. rest?: Maybe<Int>;
  3444. tracks?: Maybe<TrackUpdateManyInput>;
  3445. videos?: Maybe<VideoUpdateManyInput>;
  3446. pictures?: Maybe<PictureUpdateManyInput>;
  3447. blocks?: Maybe<BlockInstanceUpdateManyWithoutParentBlockInput>;
  3448. parentBlockInstances?: Maybe<BlockInstanceUpdateManyWithoutBlockInput>;
  3449. }
  3450. export interface BlockUpsertWithoutExercisesInput {
  3451. update: BlockUpdateWithoutExercisesDataInput;
  3452. create: BlockCreateWithoutExercisesInput;
  3453. }
  3454. export interface ExerciseInstanceUpsertWithWhereUniqueWithoutExerciseInput {
  3455. where: ExerciseInstanceWhereUniqueInput;
  3456. update: ExerciseInstanceUpdateWithoutExerciseDataInput;
  3457. create: ExerciseInstanceCreateWithoutExerciseInput;
  3458. }
  3459. export interface ExerciseUpdateManyMutationInput {
  3460. name?: Maybe<String>;
  3461. description?: Maybe<String>;
  3462. targets?: Maybe<ExerciseUpdatetargetsInput>;
  3463. baseExercise?: Maybe<ExerciseUpdatebaseExerciseInput>;
  3464. }
  3465. export interface ExerciseInstanceCreateInput {
  3466. id?: Maybe<ID_Input>;
  3467. exercise: ExerciseCreateOneWithoutParentExerciseInstancesInput;
  3468. order: Int;
  3469. repetitions?: Maybe<Int>;
  3470. variation?: Maybe<String>;
  3471. parentBlockInstances: BlockCreateOneWithoutExercisesInput;
  3472. }
  3473. export interface ExerciseInstanceUpdateInput {
  3474. exercise?: Maybe<
  3475. ExerciseUpdateOneRequiredWithoutParentExerciseInstancesInput
  3476. >;
  3477. order?: Maybe<Int>;
  3478. repetitions?: Maybe<Int>;
  3479. variation?: Maybe<String>;
  3480. parentBlockInstances?: Maybe<BlockUpdateOneRequiredWithoutExercisesInput>;
  3481. }
  3482. export interface ExerciseInstanceUpdateManyMutationInput {
  3483. order?: Maybe<Int>;
  3484. repetitions?: Maybe<Int>;
  3485. variation?: Maybe<String>;
  3486. }
  3487. export interface FileUpdateInput {
  3488. user?: Maybe<UserUpdateOneRequiredInput>;
  3489. path?: Maybe<String>;
  3490. comment?: Maybe<String>;
  3491. mimetype?: Maybe<String>;
  3492. thumbnail?: Maybe<String>;
  3493. filename?: Maybe<String>;
  3494. encoding?: Maybe<String>;
  3495. size?: Maybe<Int>;
  3496. width?: Maybe<Int>;
  3497. height?: Maybe<Int>;
  3498. duration?: Maybe<Float>;
  3499. title?: Maybe<String>;
  3500. artist?: Maybe<String>;
  3501. }
  3502. export interface FileUpdateManyMutationInput {
  3503. path?: Maybe<String>;
  3504. comment?: Maybe<String>;
  3505. mimetype?: Maybe<String>;
  3506. thumbnail?: Maybe<String>;
  3507. filename?: Maybe<String>;
  3508. encoding?: Maybe<String>;
  3509. size?: Maybe<Int>;
  3510. width?: Maybe<Int>;
  3511. height?: Maybe<Int>;
  3512. duration?: Maybe<Float>;
  3513. title?: Maybe<String>;
  3514. artist?: Maybe<String>;
  3515. }
  3516. export interface FormatUpdateInput {
  3517. name?: Maybe<String>;
  3518. description?: Maybe<String>;
  3519. }
  3520. export interface FormatUpdateManyMutationInput {
  3521. name?: Maybe<String>;
  3522. description?: Maybe<String>;
  3523. }
  3524. export interface LinkUpdateInput {
  3525. url?: Maybe<String>;
  3526. user?: Maybe<UserUpdateOneRequiredInput>;
  3527. comment?: Maybe<String>;
  3528. duration?: Maybe<Int>;
  3529. title?: Maybe<String>;
  3530. artist?: Maybe<String>;
  3531. }
  3532. export interface LinkUpdateManyMutationInput {
  3533. url?: Maybe<String>;
  3534. comment?: Maybe<String>;
  3535. duration?: Maybe<Int>;
  3536. title?: Maybe<String>;
  3537. artist?: Maybe<String>;
  3538. }
  3539. export interface PictureUpdateInput {
  3540. order?: Maybe<Int>;
  3541. file?: Maybe<FileUpdateOneInput>;
  3542. link?: Maybe<LinkUpdateOneInput>;
  3543. }
  3544. export interface PictureUpdateManyMutationInput {
  3545. order?: Maybe<Int>;
  3546. }
  3547. export interface RatingUpdateInput {
  3548. user?: Maybe<UserUpdateOneRequiredWithoutRatingsInput>;
  3549. value?: Maybe<Int>;
  3550. comment?: Maybe<String>;
  3551. }
  3552. export interface RatingUpdateManyMutationInput {
  3553. value?: Maybe<Int>;
  3554. comment?: Maybe<String>;
  3555. }
  3556. export interface TrackUpdateInput {
  3557. order?: Maybe<Int>;
  3558. file?: Maybe<FileUpdateOneInput>;
  3559. link?: Maybe<LinkUpdateOneInput>;
  3560. }
  3561. export interface TrackUpdateManyMutationInput {
  3562. order?: Maybe<Int>;
  3563. }
  3564. export interface TrainingCreateInput {
  3565. id?: Maybe<ID_Input>;
  3566. title: String;
  3567. type: TrainingTypeCreateOneInput;
  3568. trainingDate: DateTimeInput;
  3569. location: String;
  3570. registrations?: Maybe<UserCreateManyInput>;
  3571. attendance?: Maybe<Int>;
  3572. ratings?: Maybe<RatingCreateManyInput>;
  3573. published: Boolean;
  3574. blocks?: Maybe<BlockInstanceCreateManyWithoutParentTrainingInput>;
  3575. }
  3576. export interface BlockInstanceCreateManyWithoutParentTrainingInput {
  3577. create?: Maybe<
  3578. | BlockInstanceCreateWithoutParentTrainingInput[]
  3579. | BlockInstanceCreateWithoutParentTrainingInput
  3580. >;
  3581. connect?: Maybe<
  3582. BlockInstanceWhereUniqueInput[] | BlockInstanceWhereUniqueInput
  3583. >;
  3584. }
  3585. export interface BlockInstanceCreateWithoutParentTrainingInput {
  3586. id?: Maybe<ID_Input>;
  3587. block: BlockCreateOneWithoutParentBlockInstancesInput;
  3588. parentBlock?: Maybe<BlockCreateOneWithoutBlocksInput>;
  3589. order: Int;
  3590. rounds?: Maybe<Int>;
  3591. variation?: Maybe<String>;
  3592. }
  3593. export interface TrainingUpdateInput {
  3594. title?: Maybe<String>;
  3595. type?: Maybe<TrainingTypeUpdateOneRequiredInput>;
  3596. trainingDate?: Maybe<DateTimeInput>;
  3597. location?: Maybe<String>;
  3598. registrations?: Maybe<UserUpdateManyInput>;
  3599. attendance?: Maybe<Int>;
  3600. ratings?: Maybe<RatingUpdateManyInput>;
  3601. published?: Maybe<Boolean>;
  3602. blocks?: Maybe<BlockInstanceUpdateManyWithoutParentTrainingInput>;
  3603. }
  3604. export interface BlockInstanceUpdateManyWithoutParentTrainingInput {
  3605. create?: Maybe<
  3606. | BlockInstanceCreateWithoutParentTrainingInput[]
  3607. | BlockInstanceCreateWithoutParentTrainingInput
  3608. >;
  3609. delete?: Maybe<
  3610. BlockInstanceWhereUniqueInput[] | BlockInstanceWhereUniqueInput
  3611. >;
  3612. connect?: Maybe<
  3613. BlockInstanceWhereUniqueInput[] | BlockInstanceWhereUniqueInput
  3614. >;
  3615. set?: Maybe<BlockInstanceWhereUniqueInput[] | BlockInstanceWhereUniqueInput>;
  3616. disconnect?: Maybe<
  3617. BlockInstanceWhereUniqueInput[] | BlockInstanceWhereUniqueInput
  3618. >;
  3619. update?: Maybe<
  3620. | BlockInstanceUpdateWithWhereUniqueWithoutParentTrainingInput[]
  3621. | BlockInstanceUpdateWithWhereUniqueWithoutParentTrainingInput
  3622. >;
  3623. upsert?: Maybe<
  3624. | BlockInstanceUpsertWithWhereUniqueWithoutParentTrainingInput[]
  3625. | BlockInstanceUpsertWithWhereUniqueWithoutParentTrainingInput
  3626. >;
  3627. deleteMany?: Maybe<
  3628. BlockInstanceScalarWhereInput[] | BlockInstanceScalarWhereInput
  3629. >;
  3630. updateMany?: Maybe<
  3631. | BlockInstanceUpdateManyWithWhereNestedInput[]
  3632. | BlockInstanceUpdateManyWithWhereNestedInput
  3633. >;
  3634. }
  3635. export interface BlockInstanceUpdateWithWhereUniqueWithoutParentTrainingInput {
  3636. where: BlockInstanceWhereUniqueInput;
  3637. data: BlockInstanceUpdateWithoutParentTrainingDataInput;
  3638. }
  3639. export interface BlockInstanceUpdateWithoutParentTrainingDataInput {
  3640. block?: Maybe<BlockUpdateOneRequiredWithoutParentBlockInstancesInput>;
  3641. parentBlock?: Maybe<BlockUpdateOneWithoutBlocksInput>;
  3642. order?: Maybe<Int>;
  3643. rounds?: Maybe<Int>;
  3644. variation?: Maybe<String>;
  3645. }
  3646. export interface BlockInstanceUpsertWithWhereUniqueWithoutParentTrainingInput {
  3647. where: BlockInstanceWhereUniqueInput;
  3648. update: BlockInstanceUpdateWithoutParentTrainingDataInput;
  3649. create: BlockInstanceCreateWithoutParentTrainingInput;
  3650. }
  3651. export interface TrainingUpdateManyMutationInput {
  3652. title?: Maybe<String>;
  3653. trainingDate?: Maybe<DateTimeInput>;
  3654. location?: Maybe<String>;
  3655. attendance?: Maybe<Int>;
  3656. published?: Maybe<Boolean>;
  3657. }
  3658. export interface TrainingTypeUpdateInput {
  3659. name?: Maybe<String>;
  3660. description?: Maybe<String>;
  3661. }
  3662. export interface TrainingTypeUpdateManyMutationInput {
  3663. name?: Maybe<String>;
  3664. description?: Maybe<String>;
  3665. }
  3666. export interface UserUpdateInput {
  3667. email?: Maybe<String>;
  3668. name?: Maybe<String>;
  3669. password?: Maybe<String>;
  3670. resetToken?: Maybe<String>;
  3671. resetTokenExpiry?: Maybe<Float>;
  3672. comments?: Maybe<CommentUpdateManyWithoutAuthorInput>;
  3673. ratings?: Maybe<RatingUpdateManyWithoutUserInput>;
  3674. permissions?: Maybe<UserUpdatepermissionsInput>;
  3675. interests?: Maybe<UserUpdateinterestsInput>;
  3676. }
  3677. export interface UserUpdateManyMutationInput {
  3678. email?: Maybe<String>;
  3679. name?: Maybe<String>;
  3680. password?: Maybe<String>;
  3681. resetToken?: Maybe<String>;
  3682. resetTokenExpiry?: Maybe<Float>;
  3683. permissions?: Maybe<UserUpdatepermissionsInput>;
  3684. interests?: Maybe<UserUpdateinterestsInput>;
  3685. }
  3686. export interface VideoUpdateInput {
  3687. order?: Maybe<Int>;
  3688. file?: Maybe<FileUpdateOneInput>;
  3689. link?: Maybe<LinkUpdateOneInput>;
  3690. }
  3691. export interface VideoUpdateManyMutationInput {
  3692. order?: Maybe<Int>;
  3693. }
  3694. export interface BlockSubscriptionWhereInput {
  3695. mutation_in?: Maybe<MutationType[] | MutationType>;
  3696. updatedFields_contains?: Maybe<String>;
  3697. updatedFields_contains_every?: Maybe<String[] | String>;
  3698. updatedFields_contains_some?: Maybe<String[] | String>;
  3699. node?: Maybe<BlockWhereInput>;
  3700. AND?: Maybe<BlockSubscriptionWhereInput[] | BlockSubscriptionWhereInput>;
  3701. OR?: Maybe<BlockSubscriptionWhereInput[] | BlockSubscriptionWhereInput>;
  3702. NOT?: Maybe<BlockSubscriptionWhereInput[] | BlockSubscriptionWhereInput>;
  3703. }
  3704. export interface BlockInstanceSubscriptionWhereInput {
  3705. mutation_in?: Maybe<MutationType[] | MutationType>;
  3706. updatedFields_contains?: Maybe<String>;
  3707. updatedFields_contains_every?: Maybe<String[] | String>;
  3708. updatedFields_contains_some?: Maybe<String[] | String>;
  3709. node?: Maybe<BlockInstanceWhereInput>;
  3710. AND?: Maybe<
  3711. BlockInstanceSubscriptionWhereInput[] | BlockInstanceSubscriptionWhereInput
  3712. >;
  3713. OR?: Maybe<
  3714. BlockInstanceSubscriptionWhereInput[] | BlockInstanceSubscriptionWhereInput
  3715. >;
  3716. NOT?: Maybe<
  3717. BlockInstanceSubscriptionWhereInput[] | BlockInstanceSubscriptionWhereInput
  3718. >;
  3719. }
  3720. export interface CommentSubscriptionWhereInput {
  3721. mutation_in?: Maybe<MutationType[] | MutationType>;
  3722. updatedFields_contains?: Maybe<String>;
  3723. updatedFields_contains_every?: Maybe<String[] | String>;
  3724. updatedFields_contains_some?: Maybe<String[] | String>;
  3725. node?: Maybe<CommentWhereInput>;
  3726. AND?: Maybe<CommentSubscriptionWhereInput[] | CommentSubscriptionWhereInput>;
  3727. OR?: Maybe<CommentSubscriptionWhereInput[] | CommentSubscriptionWhereInput>;
  3728. NOT?: Maybe<CommentSubscriptionWhereInput[] | CommentSubscriptionWhereInput>;
  3729. }
  3730. export interface ExerciseSubscriptionWhereInput {
  3731. mutation_in?: Maybe<MutationType[] | MutationType>;
  3732. updatedFields_contains?: Maybe<String>;
  3733. updatedFields_contains_every?: Maybe<String[] | String>;
  3734. updatedFields_contains_some?: Maybe<String[] | String>;
  3735. node?: Maybe<ExerciseWhereInput>;
  3736. AND?: Maybe<
  3737. ExerciseSubscriptionWhereInput[] | ExerciseSubscriptionWhereInput
  3738. >;
  3739. OR?: Maybe<ExerciseSubscriptionWhereInput[] | ExerciseSubscriptionWhereInput>;
  3740. NOT?: Maybe<
  3741. ExerciseSubscriptionWhereInput[] | ExerciseSubscriptionWhereInput
  3742. >;
  3743. }
  3744. export interface ExerciseInstanceSubscriptionWhereInput {
  3745. mutation_in?: Maybe<MutationType[] | MutationType>;
  3746. updatedFields_contains?: Maybe<String>;
  3747. updatedFields_contains_every?: Maybe<String[] | String>;
  3748. updatedFields_contains_some?: Maybe<String[] | String>;
  3749. node?: Maybe<ExerciseInstanceWhereInput>;
  3750. AND?: Maybe<
  3751. | ExerciseInstanceSubscriptionWhereInput[]
  3752. | ExerciseInstanceSubscriptionWhereInput
  3753. >;
  3754. OR?: Maybe<
  3755. | ExerciseInstanceSubscriptionWhereInput[]
  3756. | ExerciseInstanceSubscriptionWhereInput
  3757. >;
  3758. NOT?: Maybe<
  3759. | ExerciseInstanceSubscriptionWhereInput[]
  3760. | ExerciseInstanceSubscriptionWhereInput
  3761. >;
  3762. }
  3763. export interface FileSubscriptionWhereInput {
  3764. mutation_in?: Maybe<MutationType[] | MutationType>;
  3765. updatedFields_contains?: Maybe<String>;
  3766. updatedFields_contains_every?: Maybe<String[] | String>;
  3767. updatedFields_contains_some?: Maybe<String[] | String>;
  3768. node?: Maybe<FileWhereInput>;
  3769. AND?: Maybe<FileSubscriptionWhereInput[] | FileSubscriptionWhereInput>;
  3770. OR?: Maybe<FileSubscriptionWhereInput[] | FileSubscriptionWhereInput>;
  3771. NOT?: Maybe<FileSubscriptionWhereInput[] | FileSubscriptionWhereInput>;
  3772. }
  3773. export interface FormatSubscriptionWhereInput {
  3774. mutation_in?: Maybe<MutationType[] | MutationType>;
  3775. updatedFields_contains?: Maybe<String>;
  3776. updatedFields_contains_every?: Maybe<String[] | String>;
  3777. updatedFields_contains_some?: Maybe<String[] | String>;
  3778. node?: Maybe<FormatWhereInput>;
  3779. AND?: Maybe<FormatSubscriptionWhereInput[] | FormatSubscriptionWhereInput>;
  3780. OR?: Maybe<FormatSubscriptionWhereInput[] | FormatSubscriptionWhereInput>;
  3781. NOT?: Maybe<FormatSubscriptionWhereInput[] | FormatSubscriptionWhereInput>;
  3782. }
  3783. export interface LinkSubscriptionWhereInput {
  3784. mutation_in?: Maybe<MutationType[] | MutationType>;
  3785. updatedFields_contains?: Maybe<String>;
  3786. updatedFields_contains_every?: Maybe<String[] | String>;
  3787. updatedFields_contains_some?: Maybe<String[] | String>;
  3788. node?: Maybe<LinkWhereInput>;
  3789. AND?: Maybe<LinkSubscriptionWhereInput[] | LinkSubscriptionWhereInput>;
  3790. OR?: Maybe<LinkSubscriptionWhereInput[] | LinkSubscriptionWhereInput>;
  3791. NOT?: Maybe<LinkSubscriptionWhereInput[] | LinkSubscriptionWhereInput>;
  3792. }
  3793. export interface PictureSubscriptionWhereInput {
  3794. mutation_in?: Maybe<MutationType[] | MutationType>;
  3795. updatedFields_contains?: Maybe<String>;
  3796. updatedFields_contains_every?: Maybe<String[] | String>;
  3797. updatedFields_contains_some?: Maybe<String[] | String>;
  3798. node?: Maybe<PictureWhereInput>;
  3799. AND?: Maybe<PictureSubscriptionWhereInput[] | PictureSubscriptionWhereInput>;
  3800. OR?: Maybe<PictureSubscriptionWhereInput[] | PictureSubscriptionWhereInput>;
  3801. NOT?: Maybe<PictureSubscriptionWhereInput[] | PictureSubscriptionWhereInput>;
  3802. }
  3803. export interface RatingSubscriptionWhereInput {
  3804. mutation_in?: Maybe<MutationType[] | MutationType>;
  3805. updatedFields_contains?: Maybe<String>;
  3806. updatedFields_contains_every?: Maybe<String[] | String>;
  3807. updatedFields_contains_some?: Maybe<String[] | String>;
  3808. node?: Maybe<RatingWhereInput>;
  3809. AND?: Maybe<RatingSubscriptionWhereInput[] | RatingSubscriptionWhereInput>;
  3810. OR?: Maybe<RatingSubscriptionWhereInput[] | RatingSubscriptionWhereInput>;
  3811. NOT?: Maybe<RatingSubscriptionWhereInput[] | RatingSubscriptionWhereInput>;
  3812. }
  3813. export interface TrackSubscriptionWhereInput {
  3814. mutation_in?: Maybe<MutationType[] | MutationType>;
  3815. updatedFields_contains?: Maybe<String>;
  3816. updatedFields_contains_every?: Maybe<String[] | String>;
  3817. updatedFields_contains_some?: Maybe<String[] | String>;
  3818. node?: Maybe<TrackWhereInput>;
  3819. AND?: Maybe<TrackSubscriptionWhereInput[] | TrackSubscriptionWhereInput>;
  3820. OR?: Maybe<TrackSubscriptionWhereInput[] | TrackSubscriptionWhereInput>;
  3821. NOT?: Maybe<TrackSubscriptionWhereInput[] | TrackSubscriptionWhereInput>;
  3822. }
  3823. export interface TrainingSubscriptionWhereInput {
  3824. mutation_in?: Maybe<MutationType[] | MutationType>;
  3825. updatedFields_contains?: Maybe<String>;
  3826. updatedFields_contains_every?: Maybe<String[] | String>;
  3827. updatedFields_contains_some?: Maybe<String[] | String>;
  3828. node?: Maybe<TrainingWhereInput>;
  3829. AND?: Maybe<
  3830. TrainingSubscriptionWhereInput[] | TrainingSubscriptionWhereInput
  3831. >;
  3832. OR?: Maybe<TrainingSubscriptionWhereInput[] | TrainingSubscriptionWhereInput>;
  3833. NOT?: Maybe<
  3834. TrainingSubscriptionWhereInput[] | TrainingSubscriptionWhereInput
  3835. >;
  3836. }
  3837. export interface TrainingTypeSubscriptionWhereInput {
  3838. mutation_in?: Maybe<MutationType[] | MutationType>;
  3839. updatedFields_contains?: Maybe<String>;
  3840. updatedFields_contains_every?: Maybe<String[] | String>;
  3841. updatedFields_contains_some?: Maybe<String[] | String>;
  3842. node?: Maybe<TrainingTypeWhereInput>;
  3843. AND?: Maybe<
  3844. TrainingTypeSubscriptionWhereInput[] | TrainingTypeSubscriptionWhereInput
  3845. >;
  3846. OR?: Maybe<
  3847. TrainingTypeSubscriptionWhereInput[] | TrainingTypeSubscriptionWhereInput
  3848. >;
  3849. NOT?: Maybe<
  3850. TrainingTypeSubscriptionWhereInput[] | TrainingTypeSubscriptionWhereInput
  3851. >;
  3852. }
  3853. export interface UserSubscriptionWhereInput {
  3854. mutation_in?: Maybe<MutationType[] | MutationType>;
  3855. updatedFields_contains?: Maybe<String>;
  3856. updatedFields_contains_every?: Maybe<String[] | String>;
  3857. updatedFields_contains_some?: Maybe<String[] | String>;
  3858. node?: Maybe<UserWhereInput>;
  3859. AND?: Maybe<UserSubscriptionWhereInput[] | UserSubscriptionWhereInput>;
  3860. OR?: Maybe<UserSubscriptionWhereInput[] | UserSubscriptionWhereInput>;
  3861. NOT?: Maybe<UserSubscriptionWhereInput[] | UserSubscriptionWhereInput>;
  3862. }
  3863. export interface VideoSubscriptionWhereInput {
  3864. mutation_in?: Maybe<MutationType[] | MutationType>;
  3865. updatedFields_contains?: Maybe<String>;
  3866. updatedFields_contains_every?: Maybe<String[] | String>;
  3867. updatedFields_contains_some?: Maybe<String[] | String>;
  3868. node?: Maybe<VideoWhereInput>;
  3869. AND?: Maybe<VideoSubscriptionWhereInput[] | VideoSubscriptionWhereInput>;
  3870. OR?: Maybe<VideoSubscriptionWhereInput[] | VideoSubscriptionWhereInput>;
  3871. NOT?: Maybe<VideoSubscriptionWhereInput[] | VideoSubscriptionWhereInput>;
  3872. }
  3873. export interface NodeNode {
  3874. id: ID_Output;
  3875. }
  3876. export interface Block {
  3877. id: ID_Output;
  3878. title: String;
  3879. description?: String;
  3880. duration?: Int;
  3881. rest?: Int;
  3882. }
  3883. export interface BlockPromise extends Promise<Block>, Fragmentable {
  3884. id: () => Promise<ID_Output>;
  3885. title: () => Promise<String>;
  3886. description: () => Promise<String>;
  3887. duration: () => Promise<Int>;
  3888. format: <T = FormatPromise>() => T;
  3889. rest: () => Promise<Int>;
  3890. tracks: <T = FragmentableArray<Track>>(args?: {
  3891. where?: TrackWhereInput;
  3892. orderBy?: TrackOrderByInput;
  3893. skip?: Int;
  3894. after?: String;
  3895. before?: String;
  3896. first?: Int;
  3897. last?: Int;
  3898. }) => T;
  3899. videos: <T = FragmentableArray<Video>>(args?: {
  3900. where?: VideoWhereInput;
  3901. orderBy?: VideoOrderByInput;
  3902. skip?: Int;
  3903. after?: String;
  3904. before?: String;
  3905. first?: Int;
  3906. last?: Int;
  3907. }) => T;
  3908. pictures: <T = FragmentableArray<Picture>>(args?: {
  3909. where?: PictureWhereInput;
  3910. orderBy?: PictureOrderByInput;
  3911. skip?: Int;
  3912. after?: String;
  3913. before?: String;
  3914. first?: Int;
  3915. last?: Int;
  3916. }) => T;
  3917. blocks: <T = FragmentableArray<BlockInstance>>(args?: {
  3918. where?: BlockInstanceWhereInput;
  3919. orderBy?: BlockInstanceOrderByInput;
  3920. skip?: Int;
  3921. after?: String;
  3922. before?: String;
  3923. first?: Int;
  3924. last?: Int;
  3925. }) => T;
  3926. parentBlockInstances: <T = FragmentableArray<BlockInstance>>(args?: {
  3927. where?: BlockInstanceWhereInput;
  3928. orderBy?: BlockInstanceOrderByInput;
  3929. skip?: Int;
  3930. after?: String;
  3931. before?: String;
  3932. first?: Int;
  3933. last?: Int;
  3934. }) => T;
  3935. exercises: <T = FragmentableArray<ExerciseInstance>>(args?: {
  3936. where?: ExerciseInstanceWhereInput;
  3937. orderBy?: ExerciseInstanceOrderByInput;
  3938. skip?: Int;
  3939. after?: String;
  3940. before?: String;
  3941. first?: Int;
  3942. last?: Int;
  3943. }) => T;
  3944. }
  3945. export interface BlockSubscription
  3946. extends Promise<AsyncIterator<Block>>,
  3947. Fragmentable {
  3948. id: () => Promise<AsyncIterator<ID_Output>>;
  3949. title: () => Promise<AsyncIterator<String>>;
  3950. description: () => Promise<AsyncIterator<String>>;
  3951. duration: () => Promise<AsyncIterator<Int>>;
  3952. format: <T = FormatSubscription>() => T;
  3953. rest: () => Promise<AsyncIterator<Int>>;
  3954. tracks: <T = Promise<AsyncIterator<TrackSubscription>>>(args?: {
  3955. where?: TrackWhereInput;
  3956. orderBy?: TrackOrderByInput;
  3957. skip?: Int;
  3958. after?: String;
  3959. before?: String;
  3960. first?: Int;
  3961. last?: Int;
  3962. }) => T;
  3963. videos: <T = Promise<AsyncIterator<VideoSubscription>>>(args?: {
  3964. where?: VideoWhereInput;
  3965. orderBy?: VideoOrderByInput;
  3966. skip?: Int;
  3967. after?: String;
  3968. before?: String;
  3969. first?: Int;
  3970. last?: Int;
  3971. }) => T;
  3972. pictures: <T = Promise<AsyncIterator<PictureSubscription>>>(args?: {
  3973. where?: PictureWhereInput;
  3974. orderBy?: PictureOrderByInput;
  3975. skip?: Int;
  3976. after?: String;
  3977. before?: String;
  3978. first?: Int;
  3979. last?: Int;
  3980. }) => T;
  3981. blocks: <T = Promise<AsyncIterator<BlockInstanceSubscription>>>(args?: {
  3982. where?: BlockInstanceWhereInput;
  3983. orderBy?: BlockInstanceOrderByInput;
  3984. skip?: Int;
  3985. after?: String;
  3986. before?: String;
  3987. first?: Int;
  3988. last?: Int;
  3989. }) => T;
  3990. parentBlockInstances: <
  3991. T = Promise<AsyncIterator<BlockInstanceSubscription>>
  3992. >(args?: {
  3993. where?: BlockInstanceWhereInput;
  3994. orderBy?: BlockInstanceOrderByInput;
  3995. skip?: Int;
  3996. after?: String;
  3997. before?: String;
  3998. first?: Int;
  3999. last?: Int;
  4000. }) => T;
  4001. exercises: <T = Promise<AsyncIterator<ExerciseInstanceSubscription>>>(args?: {
  4002. where?: ExerciseInstanceWhereInput;
  4003. orderBy?: ExerciseInstanceOrderByInput;
  4004. skip?: Int;
  4005. after?: String;
  4006. before?: String;
  4007. first?: Int;
  4008. last?: Int;
  4009. }) => T;
  4010. }
  4011. export interface BlockNullablePromise
  4012. extends Promise<Block | null>,
  4013. Fragmentable {
  4014. id: () => Promise<ID_Output>;
  4015. title: () => Promise<String>;
  4016. description: () => Promise<String>;
  4017. duration: () => Promise<Int>;
  4018. format: <T = FormatPromise>() => T;
  4019. rest: () => Promise<Int>;
  4020. tracks: <T = FragmentableArray<Track>>(args?: {
  4021. where?: TrackWhereInput;
  4022. orderBy?: TrackOrderByInput;
  4023. skip?: Int;
  4024. after?: String;
  4025. before?: String;
  4026. first?: Int;
  4027. last?: Int;
  4028. }) => T;
  4029. videos: <T = FragmentableArray<Video>>(args?: {
  4030. where?: VideoWhereInput;
  4031. orderBy?: VideoOrderByInput;
  4032. skip?: Int;
  4033. after?: String;
  4034. before?: String;
  4035. first?: Int;
  4036. last?: Int;
  4037. }) => T;
  4038. pictures: <T = FragmentableArray<Picture>>(args?: {
  4039. where?: PictureWhereInput;
  4040. orderBy?: PictureOrderByInput;
  4041. skip?: Int;
  4042. after?: String;
  4043. before?: String;
  4044. first?: Int;
  4045. last?: Int;
  4046. }) => T;
  4047. blocks: <T = FragmentableArray<BlockInstance>>(args?: {
  4048. where?: BlockInstanceWhereInput;
  4049. orderBy?: BlockInstanceOrderByInput;
  4050. skip?: Int;
  4051. after?: String;
  4052. before?: String;
  4053. first?: Int;
  4054. last?: Int;
  4055. }) => T;
  4056. parentBlockInstances: <T = FragmentableArray<BlockInstance>>(args?: {
  4057. where?: BlockInstanceWhereInput;
  4058. orderBy?: BlockInstanceOrderByInput;
  4059. skip?: Int;
  4060. after?: String;
  4061. before?: String;
  4062. first?: Int;
  4063. last?: Int;
  4064. }) => T;
  4065. exercises: <T = FragmentableArray<ExerciseInstance>>(args?: {
  4066. where?: ExerciseInstanceWhereInput;
  4067. orderBy?: ExerciseInstanceOrderByInput;
  4068. skip?: Int;
  4069. after?: String;
  4070. before?: String;
  4071. first?: Int;
  4072. last?: Int;
  4073. }) => T;
  4074. }
  4075. export interface Format {
  4076. id: ID_Output;
  4077. name: String;
  4078. description: String;
  4079. }
  4080. export interface FormatPromise extends Promise<Format>, Fragmentable {
  4081. id: () => Promise<ID_Output>;
  4082. name: () => Promise<String>;
  4083. description: () => Promise<String>;
  4084. }
  4085. export interface FormatSubscription
  4086. extends Promise<AsyncIterator<Format>>,
  4087. Fragmentable {
  4088. id: () => Promise<AsyncIterator<ID_Output>>;
  4089. name: () => Promise<AsyncIterator<String>>;
  4090. description: () => Promise<AsyncIterator<String>>;
  4091. }
  4092. export interface FormatNullablePromise
  4093. extends Promise<Format | null>,
  4094. Fragmentable {
  4095. id: () => Promise<ID_Output>;
  4096. name: () => Promise<String>;
  4097. description: () => Promise<String>;
  4098. }
  4099. export interface Track {
  4100. id: ID_Output;
  4101. createdAt: DateTimeOutput;
  4102. updatedAt: DateTimeOutput;
  4103. order: Int;
  4104. }
  4105. export interface TrackPromise extends Promise<Track>, Fragmentable {
  4106. id: () => Promise<ID_Output>;
  4107. createdAt: () => Promise<DateTimeOutput>;
  4108. updatedAt: () => Promise<DateTimeOutput>;
  4109. order: () => Promise<Int>;
  4110. file: <T = FilePromise>() => T;
  4111. link: <T = LinkPromise>() => T;
  4112. }
  4113. export interface TrackSubscription
  4114. extends Promise<AsyncIterator<Track>>,
  4115. Fragmentable {
  4116. id: () => Promise<AsyncIterator<ID_Output>>;
  4117. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  4118. updatedAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  4119. order: () => Promise<AsyncIterator<Int>>;
  4120. file: <T = FileSubscription>() => T;
  4121. link: <T = LinkSubscription>() => T;
  4122. }
  4123. export interface TrackNullablePromise
  4124. extends Promise<Track | null>,
  4125. Fragmentable {
  4126. id: () => Promise<ID_Output>;
  4127. createdAt: () => Promise<DateTimeOutput>;
  4128. updatedAt: () => Promise<DateTimeOutput>;
  4129. order: () => Promise<Int>;
  4130. file: <T = FilePromise>() => T;
  4131. link: <T = LinkPromise>() => T;
  4132. }
  4133. export interface File {
  4134. id: ID_Output;
  4135. createdAt: DateTimeOutput;
  4136. updatedAt: DateTimeOutput;
  4137. path: String;
  4138. comment?: String;
  4139. mimetype?: String;
  4140. thumbnail?: String;
  4141. filename?: String;
  4142. encoding?: String;
  4143. size?: Int;
  4144. width?: Int;
  4145. height?: Int;
  4146. duration?: Float;
  4147. title?: String;
  4148. artist?: String;
  4149. }
  4150. export interface FilePromise extends Promise<File>, Fragmentable {
  4151. id: () => Promise<ID_Output>;
  4152. createdAt: () => Promise<DateTimeOutput>;
  4153. updatedAt: () => Promise<DateTimeOutput>;
  4154. user: <T = UserPromise>() => T;
  4155. path: () => Promise<String>;
  4156. comment: () => Promise<String>;
  4157. mimetype: () => Promise<String>;
  4158. thumbnail: () => Promise<String>;
  4159. filename: () => Promise<String>;
  4160. encoding: () => Promise<String>;
  4161. size: () => Promise<Int>;
  4162. width: () => Promise<Int>;
  4163. height: () => Promise<Int>;
  4164. duration: () => Promise<Float>;
  4165. title: () => Promise<String>;
  4166. artist: () => Promise<String>;
  4167. }
  4168. export interface FileSubscription
  4169. extends Promise<AsyncIterator<File>>,
  4170. Fragmentable {
  4171. id: () => Promise<AsyncIterator<ID_Output>>;
  4172. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  4173. updatedAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  4174. user: <T = UserSubscription>() => T;
  4175. path: () => Promise<AsyncIterator<String>>;
  4176. comment: () => Promise<AsyncIterator<String>>;
  4177. mimetype: () => Promise<AsyncIterator<String>>;
  4178. thumbnail: () => Promise<AsyncIterator<String>>;
  4179. filename: () => Promise<AsyncIterator<String>>;
  4180. encoding: () => Promise<AsyncIterator<String>>;
  4181. size: () => Promise<AsyncIterator<Int>>;
  4182. width: () => Promise<AsyncIterator<Int>>;
  4183. height: () => Promise<AsyncIterator<Int>>;
  4184. duration: () => Promise<AsyncIterator<Float>>;
  4185. title: () => Promise<AsyncIterator<String>>;
  4186. artist: () => Promise<AsyncIterator<String>>;
  4187. }
  4188. export interface FileNullablePromise
  4189. extends Promise<File | null>,
  4190. Fragmentable {
  4191. id: () => Promise<ID_Output>;
  4192. createdAt: () => Promise<DateTimeOutput>;
  4193. updatedAt: () => Promise<DateTimeOutput>;
  4194. user: <T = UserPromise>() => T;
  4195. path: () => Promise<String>;
  4196. comment: () => Promise<String>;
  4197. mimetype: () => Promise<String>;
  4198. thumbnail: () => Promise<String>;
  4199. filename: () => Promise<String>;
  4200. encoding: () => Promise<String>;
  4201. size: () => Promise<Int>;
  4202. width: () => Promise<Int>;
  4203. height: () => Promise<Int>;
  4204. duration: () => Promise<Float>;
  4205. title: () => Promise<String>;
  4206. artist: () => Promise<String>;
  4207. }
  4208. export interface User {
  4209. id: ID_Output;
  4210. email: String;
  4211. name: String;
  4212. password: String;
  4213. resetToken?: String;
  4214. resetTokenExpiry?: Float;
  4215. createdAt: DateTimeOutput;
  4216. permissions: Permission[];
  4217. interests: String[];
  4218. }
  4219. export interface UserPromise extends Promise<User>, Fragmentable {
  4220. id: () => Promise<ID_Output>;
  4221. email: () => Promise<String>;
  4222. name: () => Promise<String>;
  4223. password: () => Promise<String>;
  4224. resetToken: () => Promise<String>;
  4225. resetTokenExpiry: () => Promise<Float>;
  4226. createdAt: () => Promise<DateTimeOutput>;
  4227. comments: <T = FragmentableArray<Comment>>(args?: {
  4228. where?: CommentWhereInput;
  4229. orderBy?: CommentOrderByInput;
  4230. skip?: Int;
  4231. after?: String;
  4232. before?: String;
  4233. first?: Int;
  4234. last?: Int;
  4235. }) => T;
  4236. ratings: <T = FragmentableArray<Rating>>(args?: {
  4237. where?: RatingWhereInput;
  4238. orderBy?: RatingOrderByInput;
  4239. skip?: Int;
  4240. after?: String;
  4241. before?: String;
  4242. first?: Int;
  4243. last?: Int;
  4244. }) => T;
  4245. permissions: () => Promise<Permission[]>;
  4246. interests: () => Promise<String[]>;
  4247. }
  4248. export interface UserSubscription
  4249. extends Promise<AsyncIterator<User>>,
  4250. Fragmentable {
  4251. id: () => Promise<AsyncIterator<ID_Output>>;
  4252. email: () => Promise<AsyncIterator<String>>;
  4253. name: () => Promise<AsyncIterator<String>>;
  4254. password: () => Promise<AsyncIterator<String>>;
  4255. resetToken: () => Promise<AsyncIterator<String>>;
  4256. resetTokenExpiry: () => Promise<AsyncIterator<Float>>;
  4257. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  4258. comments: <T = Promise<AsyncIterator<CommentSubscription>>>(args?: {
  4259. where?: CommentWhereInput;
  4260. orderBy?: CommentOrderByInput;
  4261. skip?: Int;
  4262. after?: String;
  4263. before?: String;
  4264. first?: Int;
  4265. last?: Int;
  4266. }) => T;
  4267. ratings: <T = Promise<AsyncIterator<RatingSubscription>>>(args?: {
  4268. where?: RatingWhereInput;
  4269. orderBy?: RatingOrderByInput;
  4270. skip?: Int;
  4271. after?: String;
  4272. before?: String;
  4273. first?: Int;
  4274. last?: Int;
  4275. }) => T;
  4276. permissions: () => Promise<AsyncIterator<Permission[]>>;
  4277. interests: () => Promise<AsyncIterator<String[]>>;
  4278. }
  4279. export interface UserNullablePromise
  4280. extends Promise<User | null>,
  4281. Fragmentable {
  4282. id: () => Promise<ID_Output>;
  4283. email: () => Promise<String>;
  4284. name: () => Promise<String>;
  4285. password: () => Promise<String>;
  4286. resetToken: () => Promise<String>;
  4287. resetTokenExpiry: () => Promise<Float>;
  4288. createdAt: () => Promise<DateTimeOutput>;
  4289. comments: <T = FragmentableArray<Comment>>(args?: {
  4290. where?: CommentWhereInput;
  4291. orderBy?: CommentOrderByInput;
  4292. skip?: Int;
  4293. after?: String;
  4294. before?: String;
  4295. first?: Int;
  4296. last?: Int;
  4297. }) => T;
  4298. ratings: <T = FragmentableArray<Rating>>(args?: {
  4299. where?: RatingWhereInput;
  4300. orderBy?: RatingOrderByInput;
  4301. skip?: Int;
  4302. after?: String;
  4303. before?: String;
  4304. first?: Int;
  4305. last?: Int;
  4306. }) => T;
  4307. permissions: () => Promise<Permission[]>;
  4308. interests: () => Promise<String[]>;
  4309. }
  4310. export interface Comment {
  4311. id: ID_Output;
  4312. text: String;
  4313. createdAt: DateTimeOutput;
  4314. }
  4315. export interface CommentPromise extends Promise<Comment>, Fragmentable {
  4316. id: () => Promise<ID_Output>;
  4317. text: () => Promise<String>;
  4318. author: <T = UserPromise>() => T;
  4319. createdAt: () => Promise<DateTimeOutput>;
  4320. }
  4321. export interface CommentSubscription
  4322. extends Promise<AsyncIterator<Comment>>,
  4323. Fragmentable {
  4324. id: () => Promise<AsyncIterator<ID_Output>>;
  4325. text: () => Promise<AsyncIterator<String>>;
  4326. author: <T = UserSubscription>() => T;
  4327. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  4328. }
  4329. export interface CommentNullablePromise
  4330. extends Promise<Comment | null>,
  4331. Fragmentable {
  4332. id: () => Promise<ID_Output>;
  4333. text: () => Promise<String>;
  4334. author: <T = UserPromise>() => T;
  4335. createdAt: () => Promise<DateTimeOutput>;
  4336. }
  4337. export interface Rating {
  4338. id: ID_Output;
  4339. value: Int;
  4340. comment: String;
  4341. createdAt: DateTimeOutput;
  4342. }
  4343. export interface RatingPromise extends Promise<Rating>, Fragmentable {
  4344. id: () => Promise<ID_Output>;
  4345. user: <T = UserPromise>() => T;
  4346. value: () => Promise<Int>;
  4347. comment: () => Promise<String>;
  4348. createdAt: () => Promise<DateTimeOutput>;
  4349. }
  4350. export interface RatingSubscription
  4351. extends Promise<AsyncIterator<Rating>>,
  4352. Fragmentable {
  4353. id: () => Promise<AsyncIterator<ID_Output>>;
  4354. user: <T = UserSubscription>() => T;
  4355. value: () => Promise<AsyncIterator<Int>>;
  4356. comment: () => Promise<AsyncIterator<String>>;
  4357. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  4358. }
  4359. export interface RatingNullablePromise
  4360. extends Promise<Rating | null>,
  4361. Fragmentable {
  4362. id: () => Promise<ID_Output>;
  4363. user: <T = UserPromise>() => T;
  4364. value: () => Promise<Int>;
  4365. comment: () => Promise<String>;
  4366. createdAt: () => Promise<DateTimeOutput>;
  4367. }
  4368. export interface Link {
  4369. id: ID_Output;
  4370. createdAt: DateTimeOutput;
  4371. updatedAt: DateTimeOutput;
  4372. url: String;
  4373. comment?: String;
  4374. duration?: Int;
  4375. title?: String;
  4376. artist?: String;
  4377. }
  4378. export interface LinkPromise extends Promise<Link>, Fragmentable {
  4379. id: () => Promise<ID_Output>;
  4380. createdAt: () => Promise<DateTimeOutput>;
  4381. updatedAt: () => Promise<DateTimeOutput>;
  4382. url: () => Promise<String>;
  4383. user: <T = UserPromise>() => T;
  4384. comment: () => Promise<String>;
  4385. duration: () => Promise<Int>;
  4386. title: () => Promise<String>;
  4387. artist: () => Promise<String>;
  4388. }
  4389. export interface LinkSubscription
  4390. extends Promise<AsyncIterator<Link>>,
  4391. Fragmentable {
  4392. id: () => Promise<AsyncIterator<ID_Output>>;
  4393. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  4394. updatedAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  4395. url: () => Promise<AsyncIterator<String>>;
  4396. user: <T = UserSubscription>() => T;
  4397. comment: () => Promise<AsyncIterator<String>>;
  4398. duration: () => Promise<AsyncIterator<Int>>;
  4399. title: () => Promise<AsyncIterator<String>>;
  4400. artist: () => Promise<AsyncIterator<String>>;
  4401. }
  4402. export interface LinkNullablePromise
  4403. extends Promise<Link | null>,
  4404. Fragmentable {
  4405. id: () => Promise<ID_Output>;
  4406. createdAt: () => Promise<DateTimeOutput>;
  4407. updatedAt: () => Promise<DateTimeOutput>;
  4408. url: () => Promise<String>;
  4409. user: <T = UserPromise>() => T;
  4410. comment: () => Promise<String>;
  4411. duration: () => Promise<Int>;
  4412. title: () => Promise<String>;
  4413. artist: () => Promise<String>;
  4414. }
  4415. export interface Video {
  4416. id: ID_Output;
  4417. createdAt: DateTimeOutput;
  4418. updatedAt: DateTimeOutput;
  4419. order: Int;
  4420. }
  4421. export interface VideoPromise extends Promise<Video>, Fragmentable {
  4422. id: () => Promise<ID_Output>;
  4423. createdAt: () => Promise<DateTimeOutput>;
  4424. updatedAt: () => Promise<DateTimeOutput>;
  4425. order: () => Promise<Int>;
  4426. file: <T = FilePromise>() => T;
  4427. link: <T = LinkPromise>() => T;
  4428. }
  4429. export interface VideoSubscription
  4430. extends Promise<AsyncIterator<Video>>,
  4431. Fragmentable {
  4432. id: () => Promise<AsyncIterator<ID_Output>>;
  4433. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  4434. updatedAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  4435. order: () => Promise<AsyncIterator<Int>>;
  4436. file: <T = FileSubscription>() => T;
  4437. link: <T = LinkSubscription>() => T;
  4438. }
  4439. export interface VideoNullablePromise
  4440. extends Promise<Video | null>,
  4441. Fragmentable {
  4442. id: () => Promise<ID_Output>;
  4443. createdAt: () => Promise<DateTimeOutput>;
  4444. updatedAt: () => Promise<DateTimeOutput>;
  4445. order: () => Promise<Int>;
  4446. file: <T = FilePromise>() => T;
  4447. link: <T = LinkPromise>() => T;
  4448. }
  4449. export interface Picture {
  4450. id: ID_Output;
  4451. createdAt: DateTimeOutput;
  4452. updatedAt: DateTimeOutput;
  4453. order: Int;
  4454. }
  4455. export interface PicturePromise extends Promise<Picture>, Fragmentable {
  4456. id: () => Promise<ID_Output>;
  4457. createdAt: () => Promise<DateTimeOutput>;
  4458. updatedAt: () => Promise<DateTimeOutput>;
  4459. order: () => Promise<Int>;
  4460. file: <T = FilePromise>() => T;
  4461. link: <T = LinkPromise>() => T;
  4462. }
  4463. export interface PictureSubscription
  4464. extends Promise<AsyncIterator<Picture>>,
  4465. Fragmentable {
  4466. id: () => Promise<AsyncIterator<ID_Output>>;
  4467. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  4468. updatedAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  4469. order: () => Promise<AsyncIterator<Int>>;
  4470. file: <T = FileSubscription>() => T;
  4471. link: <T = LinkSubscription>() => T;
  4472. }
  4473. export interface PictureNullablePromise
  4474. extends Promise<Picture | null>,
  4475. Fragmentable {
  4476. id: () => Promise<ID_Output>;
  4477. createdAt: () => Promise<DateTimeOutput>;
  4478. updatedAt: () => Promise<DateTimeOutput>;
  4479. order: () => Promise<Int>;
  4480. file: <T = FilePromise>() => T;
  4481. link: <T = LinkPromise>() => T;
  4482. }
  4483. export interface BlockInstance {
  4484. id: ID_Output;
  4485. order: Int;
  4486. rounds?: Int;
  4487. variation?: String;
  4488. }
  4489. export interface BlockInstancePromise
  4490. extends Promise<BlockInstance>,
  4491. Fragmentable {
  4492. id: () => Promise<ID_Output>;
  4493. block: <T = BlockPromise>() => T;
  4494. parentBlock: <T = BlockPromise>() => T;
  4495. parentTraining: <T = TrainingPromise>() => T;
  4496. order: () => Promise<Int>;
  4497. rounds: () => Promise<Int>;
  4498. variation: () => Promise<String>;
  4499. }
  4500. export interface BlockInstanceSubscription
  4501. extends Promise<AsyncIterator<BlockInstance>>,
  4502. Fragmentable {
  4503. id: () => Promise<AsyncIterator<ID_Output>>;
  4504. block: <T = BlockSubscription>() => T;
  4505. parentBlock: <T = BlockSubscription>() => T;
  4506. parentTraining: <T = TrainingSubscription>() => T;
  4507. order: () => Promise<AsyncIterator<Int>>;
  4508. rounds: () => Promise<AsyncIterator<Int>>;
  4509. variation: () => Promise<AsyncIterator<String>>;
  4510. }
  4511. export interface BlockInstanceNullablePromise
  4512. extends Promise<BlockInstance | null>,
  4513. Fragmentable {
  4514. id: () => Promise<ID_Output>;
  4515. block: <T = BlockPromise>() => T;
  4516. parentBlock: <T = BlockPromise>() => T;
  4517. parentTraining: <T = TrainingPromise>() => T;
  4518. order: () => Promise<Int>;
  4519. rounds: () => Promise<Int>;
  4520. variation: () => Promise<String>;
  4521. }
  4522. export interface Training {
  4523. id: ID_Output;
  4524. title: String;
  4525. createdAt: DateTimeOutput;
  4526. trainingDate: DateTimeOutput;
  4527. location: String;
  4528. attendance?: Int;
  4529. published: Boolean;
  4530. }
  4531. export interface TrainingPromise extends Promise<Training>, Fragmentable {
  4532. id: () => Promise<ID_Output>;
  4533. title: () => Promise<String>;
  4534. type: <T = TrainingTypePromise>() => T;
  4535. createdAt: () => Promise<DateTimeOutput>;
  4536. trainingDate: () => Promise<DateTimeOutput>;
  4537. location: () => Promise<String>;
  4538. registrations: <T = FragmentableArray<User>>(args?: {
  4539. where?: UserWhereInput;
  4540. orderBy?: UserOrderByInput;
  4541. skip?: Int;
  4542. after?: String;
  4543. before?: String;
  4544. first?: Int;
  4545. last?: Int;
  4546. }) => T;
  4547. attendance: () => Promise<Int>;
  4548. ratings: <T = FragmentableArray<Rating>>(args?: {
  4549. where?: RatingWhereInput;
  4550. orderBy?: RatingOrderByInput;
  4551. skip?: Int;
  4552. after?: String;
  4553. before?: String;
  4554. first?: Int;
  4555. last?: Int;
  4556. }) => T;
  4557. published: () => Promise<Boolean>;
  4558. blocks: <T = FragmentableArray<BlockInstance>>(args?: {
  4559. where?: BlockInstanceWhereInput;
  4560. orderBy?: BlockInstanceOrderByInput;
  4561. skip?: Int;
  4562. after?: String;
  4563. before?: String;
  4564. first?: Int;
  4565. last?: Int;
  4566. }) => T;
  4567. }
  4568. export interface TrainingSubscription
  4569. extends Promise<AsyncIterator<Training>>,
  4570. Fragmentable {
  4571. id: () => Promise<AsyncIterator<ID_Output>>;
  4572. title: () => Promise<AsyncIterator<String>>;
  4573. type: <T = TrainingTypeSubscription>() => T;
  4574. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  4575. trainingDate: () => Promise<AsyncIterator<DateTimeOutput>>;
  4576. location: () => Promise<AsyncIterator<String>>;
  4577. registrations: <T = Promise<AsyncIterator<UserSubscription>>>(args?: {
  4578. where?: UserWhereInput;
  4579. orderBy?: UserOrderByInput;
  4580. skip?: Int;
  4581. after?: String;
  4582. before?: String;
  4583. first?: Int;
  4584. last?: Int;
  4585. }) => T;
  4586. attendance: () => Promise<AsyncIterator<Int>>;
  4587. ratings: <T = Promise<AsyncIterator<RatingSubscription>>>(args?: {
  4588. where?: RatingWhereInput;
  4589. orderBy?: RatingOrderByInput;
  4590. skip?: Int;
  4591. after?: String;
  4592. before?: String;
  4593. first?: Int;
  4594. last?: Int;
  4595. }) => T;
  4596. published: () => Promise<AsyncIterator<Boolean>>;
  4597. blocks: <T = Promise<AsyncIterator<BlockInstanceSubscription>>>(args?: {
  4598. where?: BlockInstanceWhereInput;
  4599. orderBy?: BlockInstanceOrderByInput;
  4600. skip?: Int;
  4601. after?: String;
  4602. before?: String;
  4603. first?: Int;
  4604. last?: Int;
  4605. }) => T;
  4606. }
  4607. export interface TrainingNullablePromise
  4608. extends Promise<Training | null>,
  4609. Fragmentable {
  4610. id: () => Promise<ID_Output>;
  4611. title: () => Promise<String>;
  4612. type: <T = TrainingTypePromise>() => T;
  4613. createdAt: () => Promise<DateTimeOutput>;
  4614. trainingDate: () => Promise<DateTimeOutput>;
  4615. location: () => Promise<String>;
  4616. registrations: <T = FragmentableArray<User>>(args?: {
  4617. where?: UserWhereInput;
  4618. orderBy?: UserOrderByInput;
  4619. skip?: Int;
  4620. after?: String;
  4621. before?: String;
  4622. first?: Int;
  4623. last?: Int;
  4624. }) => T;
  4625. attendance: () => Promise<Int>;
  4626. ratings: <T = FragmentableArray<Rating>>(args?: {
  4627. where?: RatingWhereInput;
  4628. orderBy?: RatingOrderByInput;
  4629. skip?: Int;
  4630. after?: String;
  4631. before?: String;
  4632. first?: Int;
  4633. last?: Int;
  4634. }) => T;
  4635. published: () => Promise<Boolean>;
  4636. blocks: <T = FragmentableArray<BlockInstance>>(args?: {
  4637. where?: BlockInstanceWhereInput;
  4638. orderBy?: BlockInstanceOrderByInput;
  4639. skip?: Int;
  4640. after?: String;
  4641. before?: String;
  4642. first?: Int;
  4643. last?: Int;
  4644. }) => T;
  4645. }
  4646. export interface TrainingType {
  4647. id: ID_Output;
  4648. name: String;
  4649. description: String;
  4650. }
  4651. export interface TrainingTypePromise
  4652. extends Promise<TrainingType>,
  4653. Fragmentable {
  4654. id: () => Promise<ID_Output>;
  4655. name: () => Promise<String>;
  4656. description: () => Promise<String>;
  4657. }
  4658. export interface TrainingTypeSubscription
  4659. extends Promise<AsyncIterator<TrainingType>>,
  4660. Fragmentable {
  4661. id: () => Promise<AsyncIterator<ID_Output>>;
  4662. name: () => Promise<AsyncIterator<String>>;
  4663. description: () => Promise<AsyncIterator<String>>;
  4664. }
  4665. export interface TrainingTypeNullablePromise
  4666. extends Promise<TrainingType | null>,
  4667. Fragmentable {
  4668. id: () => Promise<ID_Output>;
  4669. name: () => Promise<String>;
  4670. description: () => Promise<String>;
  4671. }
  4672. export interface ExerciseInstance {
  4673. id: ID_Output;
  4674. order: Int;
  4675. repetitions?: Int;
  4676. variation?: String;
  4677. }
  4678. export interface ExerciseInstancePromise
  4679. extends Promise<ExerciseInstance>,
  4680. Fragmentable {
  4681. id: () => Promise<ID_Output>;
  4682. exercise: <T = ExercisePromise>() => T;
  4683. order: () => Promise<Int>;
  4684. repetitions: () => Promise<Int>;
  4685. variation: () => Promise<String>;
  4686. parentBlockInstances: <T = BlockPromise>() => T;
  4687. }
  4688. export interface ExerciseInstanceSubscription
  4689. extends Promise<AsyncIterator<ExerciseInstance>>,
  4690. Fragmentable {
  4691. id: () => Promise<AsyncIterator<ID_Output>>;
  4692. exercise: <T = ExerciseSubscription>() => T;
  4693. order: () => Promise<AsyncIterator<Int>>;
  4694. repetitions: () => Promise<AsyncIterator<Int>>;
  4695. variation: () => Promise<AsyncIterator<String>>;
  4696. parentBlockInstances: <T = BlockSubscription>() => T;
  4697. }
  4698. export interface ExerciseInstanceNullablePromise
  4699. extends Promise<ExerciseInstance | null>,
  4700. Fragmentable {
  4701. id: () => Promise<ID_Output>;
  4702. exercise: <T = ExercisePromise>() => T;
  4703. order: () => Promise<Int>;
  4704. repetitions: () => Promise<Int>;
  4705. variation: () => Promise<String>;
  4706. parentBlockInstances: <T = BlockPromise>() => T;
  4707. }
  4708. export interface Exercise {
  4709. id: ID_Output;
  4710. name: String;
  4711. description?: String;
  4712. targets: String[];
  4713. baseExercise: String[];
  4714. }
  4715. export interface ExercisePromise extends Promise<Exercise>, Fragmentable {
  4716. id: () => Promise<ID_Output>;
  4717. name: () => Promise<String>;
  4718. description: () => Promise<String>;
  4719. videos: <T = FragmentableArray<Video>>(args?: {
  4720. where?: VideoWhereInput;
  4721. orderBy?: VideoOrderByInput;
  4722. skip?: Int;
  4723. after?: String;
  4724. before?: String;
  4725. first?: Int;
  4726. last?: Int;
  4727. }) => T;
  4728. pictures: <T = FragmentableArray<Picture>>(args?: {
  4729. where?: PictureWhereInput;
  4730. orderBy?: PictureOrderByInput;
  4731. skip?: Int;
  4732. after?: String;
  4733. before?: String;
  4734. first?: Int;
  4735. last?: Int;
  4736. }) => T;
  4737. targets: () => Promise<String[]>;
  4738. baseExercise: () => Promise<String[]>;
  4739. parentExerciseInstances: <T = FragmentableArray<ExerciseInstance>>(args?: {
  4740. where?: ExerciseInstanceWhereInput;
  4741. orderBy?: ExerciseInstanceOrderByInput;
  4742. skip?: Int;
  4743. after?: String;
  4744. before?: String;
  4745. first?: Int;
  4746. last?: Int;
  4747. }) => T;
  4748. }
  4749. export interface ExerciseSubscription
  4750. extends Promise<AsyncIterator<Exercise>>,
  4751. Fragmentable {
  4752. id: () => Promise<AsyncIterator<ID_Output>>;
  4753. name: () => Promise<AsyncIterator<String>>;
  4754. description: () => Promise<AsyncIterator<String>>;
  4755. videos: <T = Promise<AsyncIterator<VideoSubscription>>>(args?: {
  4756. where?: VideoWhereInput;
  4757. orderBy?: VideoOrderByInput;
  4758. skip?: Int;
  4759. after?: String;
  4760. before?: String;
  4761. first?: Int;
  4762. last?: Int;
  4763. }) => T;
  4764. pictures: <T = Promise<AsyncIterator<PictureSubscription>>>(args?: {
  4765. where?: PictureWhereInput;
  4766. orderBy?: PictureOrderByInput;
  4767. skip?: Int;
  4768. after?: String;
  4769. before?: String;
  4770. first?: Int;
  4771. last?: Int;
  4772. }) => T;
  4773. targets: () => Promise<AsyncIterator<String[]>>;
  4774. baseExercise: () => Promise<AsyncIterator<String[]>>;
  4775. parentExerciseInstances: <
  4776. T = Promise<AsyncIterator<ExerciseInstanceSubscription>>
  4777. >(args?: {
  4778. where?: ExerciseInstanceWhereInput;
  4779. orderBy?: ExerciseInstanceOrderByInput;
  4780. skip?: Int;
  4781. after?: String;
  4782. before?: String;
  4783. first?: Int;
  4784. last?: Int;
  4785. }) => T;
  4786. }
  4787. export interface ExerciseNullablePromise
  4788. extends Promise<Exercise | null>,
  4789. Fragmentable {
  4790. id: () => Promise<ID_Output>;
  4791. name: () => Promise<String>;
  4792. description: () => Promise<String>;
  4793. videos: <T = FragmentableArray<Video>>(args?: {
  4794. where?: VideoWhereInput;
  4795. orderBy?: VideoOrderByInput;
  4796. skip?: Int;
  4797. after?: String;
  4798. before?: String;
  4799. first?: Int;
  4800. last?: Int;
  4801. }) => T;
  4802. pictures: <T = FragmentableArray<Picture>>(args?: {
  4803. where?: PictureWhereInput;
  4804. orderBy?: PictureOrderByInput;
  4805. skip?: Int;
  4806. after?: String;
  4807. before?: String;
  4808. first?: Int;
  4809. last?: Int;
  4810. }) => T;
  4811. targets: () => Promise<String[]>;
  4812. baseExercise: () => Promise<String[]>;
  4813. parentExerciseInstances: <T = FragmentableArray<ExerciseInstance>>(args?: {
  4814. where?: ExerciseInstanceWhereInput;
  4815. orderBy?: ExerciseInstanceOrderByInput;
  4816. skip?: Int;
  4817. after?: String;
  4818. before?: String;
  4819. first?: Int;
  4820. last?: Int;
  4821. }) => T;
  4822. }
  4823. export interface BlockConnection {
  4824. pageInfo: PageInfo;
  4825. edges: BlockEdge[];
  4826. }
  4827. export interface BlockConnectionPromise
  4828. extends Promise<BlockConnection>,
  4829. Fragmentable {
  4830. pageInfo: <T = PageInfoPromise>() => T;
  4831. edges: <T = FragmentableArray<BlockEdge>>() => T;
  4832. aggregate: <T = AggregateBlockPromise>() => T;
  4833. }
  4834. export interface BlockConnectionSubscription
  4835. extends Promise<AsyncIterator<BlockConnection>>,
  4836. Fragmentable {
  4837. pageInfo: <T = PageInfoSubscription>() => T;
  4838. edges: <T = Promise<AsyncIterator<BlockEdgeSubscription>>>() => T;
  4839. aggregate: <T = AggregateBlockSubscription>() => T;
  4840. }
  4841. export interface PageInfo {
  4842. hasNextPage: Boolean;
  4843. hasPreviousPage: Boolean;
  4844. startCursor?: String;
  4845. endCursor?: String;
  4846. }
  4847. export interface PageInfoPromise extends Promise<PageInfo>, Fragmentable {
  4848. hasNextPage: () => Promise<Boolean>;
  4849. hasPreviousPage: () => Promise<Boolean>;
  4850. startCursor: () => Promise<String>;
  4851. endCursor: () => Promise<String>;
  4852. }
  4853. export interface PageInfoSubscription
  4854. extends Promise<AsyncIterator<PageInfo>>,
  4855. Fragmentable {
  4856. hasNextPage: () => Promise<AsyncIterator<Boolean>>;
  4857. hasPreviousPage: () => Promise<AsyncIterator<Boolean>>;
  4858. startCursor: () => Promise<AsyncIterator<String>>;
  4859. endCursor: () => Promise<AsyncIterator<String>>;
  4860. }
  4861. export interface BlockEdge {
  4862. node: Block;
  4863. cursor: String;
  4864. }
  4865. export interface BlockEdgePromise extends Promise<BlockEdge>, Fragmentable {
  4866. node: <T = BlockPromise>() => T;
  4867. cursor: () => Promise<String>;
  4868. }
  4869. export interface BlockEdgeSubscription
  4870. extends Promise<AsyncIterator<BlockEdge>>,
  4871. Fragmentable {
  4872. node: <T = BlockSubscription>() => T;
  4873. cursor: () => Promise<AsyncIterator<String>>;
  4874. }
  4875. export interface AggregateBlock {
  4876. count: Int;
  4877. }
  4878. export interface AggregateBlockPromise
  4879. extends Promise<AggregateBlock>,
  4880. Fragmentable {
  4881. count: () => Promise<Int>;
  4882. }
  4883. export interface AggregateBlockSubscription
  4884. extends Promise<AsyncIterator<AggregateBlock>>,
  4885. Fragmentable {
  4886. count: () => Promise<AsyncIterator<Int>>;
  4887. }
  4888. export interface BlockInstanceConnection {
  4889. pageInfo: PageInfo;
  4890. edges: BlockInstanceEdge[];
  4891. }
  4892. export interface BlockInstanceConnectionPromise
  4893. extends Promise<BlockInstanceConnection>,
  4894. Fragmentable {
  4895. pageInfo: <T = PageInfoPromise>() => T;
  4896. edges: <T = FragmentableArray<BlockInstanceEdge>>() => T;
  4897. aggregate: <T = AggregateBlockInstancePromise>() => T;
  4898. }
  4899. export interface BlockInstanceConnectionSubscription
  4900. extends Promise<AsyncIterator<BlockInstanceConnection>>,
  4901. Fragmentable {
  4902. pageInfo: <T = PageInfoSubscription>() => T;
  4903. edges: <T = Promise<AsyncIterator<BlockInstanceEdgeSubscription>>>() => T;
  4904. aggregate: <T = AggregateBlockInstanceSubscription>() => T;
  4905. }
  4906. export interface BlockInstanceEdge {
  4907. node: BlockInstance;
  4908. cursor: String;
  4909. }
  4910. export interface BlockInstanceEdgePromise
  4911. extends Promise<BlockInstanceEdge>,
  4912. Fragmentable {
  4913. node: <T = BlockInstancePromise>() => T;
  4914. cursor: () => Promise<String>;
  4915. }
  4916. export interface BlockInstanceEdgeSubscription
  4917. extends Promise<AsyncIterator<BlockInstanceEdge>>,
  4918. Fragmentable {
  4919. node: <T = BlockInstanceSubscription>() => T;
  4920. cursor: () => Promise<AsyncIterator<String>>;
  4921. }
  4922. export interface AggregateBlockInstance {
  4923. count: Int;
  4924. }
  4925. export interface AggregateBlockInstancePromise
  4926. extends Promise<AggregateBlockInstance>,
  4927. Fragmentable {
  4928. count: () => Promise<Int>;
  4929. }
  4930. export interface AggregateBlockInstanceSubscription
  4931. extends Promise<AsyncIterator<AggregateBlockInstance>>,
  4932. Fragmentable {
  4933. count: () => Promise<AsyncIterator<Int>>;
  4934. }
  4935. export interface CommentConnection {
  4936. pageInfo: PageInfo;
  4937. edges: CommentEdge[];
  4938. }
  4939. export interface CommentConnectionPromise
  4940. extends Promise<CommentConnection>,
  4941. Fragmentable {
  4942. pageInfo: <T = PageInfoPromise>() => T;
  4943. edges: <T = FragmentableArray<CommentEdge>>() => T;
  4944. aggregate: <T = AggregateCommentPromise>() => T;
  4945. }
  4946. export interface CommentConnectionSubscription
  4947. extends Promise<AsyncIterator<CommentConnection>>,
  4948. Fragmentable {
  4949. pageInfo: <T = PageInfoSubscription>() => T;
  4950. edges: <T = Promise<AsyncIterator<CommentEdgeSubscription>>>() => T;
  4951. aggregate: <T = AggregateCommentSubscription>() => T;
  4952. }
  4953. export interface CommentEdge {
  4954. node: Comment;
  4955. cursor: String;
  4956. }
  4957. export interface CommentEdgePromise extends Promise<CommentEdge>, Fragmentable {
  4958. node: <T = CommentPromise>() => T;
  4959. cursor: () => Promise<String>;
  4960. }
  4961. export interface CommentEdgeSubscription
  4962. extends Promise<AsyncIterator<CommentEdge>>,
  4963. Fragmentable {
  4964. node: <T = CommentSubscription>() => T;
  4965. cursor: () => Promise<AsyncIterator<String>>;
  4966. }
  4967. export interface AggregateComment {
  4968. count: Int;
  4969. }
  4970. export interface AggregateCommentPromise
  4971. extends Promise<AggregateComment>,
  4972. Fragmentable {
  4973. count: () => Promise<Int>;
  4974. }
  4975. export interface AggregateCommentSubscription
  4976. extends Promise<AsyncIterator<AggregateComment>>,
  4977. Fragmentable {
  4978. count: () => Promise<AsyncIterator<Int>>;
  4979. }
  4980. export interface ExerciseConnection {
  4981. pageInfo: PageInfo;
  4982. edges: ExerciseEdge[];
  4983. }
  4984. export interface ExerciseConnectionPromise
  4985. extends Promise<ExerciseConnection>,
  4986. Fragmentable {
  4987. pageInfo: <T = PageInfoPromise>() => T;
  4988. edges: <T = FragmentableArray<ExerciseEdge>>() => T;
  4989. aggregate: <T = AggregateExercisePromise>() => T;
  4990. }
  4991. export interface ExerciseConnectionSubscription
  4992. extends Promise<AsyncIterator<ExerciseConnection>>,
  4993. Fragmentable {
  4994. pageInfo: <T = PageInfoSubscription>() => T;
  4995. edges: <T = Promise<AsyncIterator<ExerciseEdgeSubscription>>>() => T;
  4996. aggregate: <T = AggregateExerciseSubscription>() => T;
  4997. }
  4998. export interface ExerciseEdge {
  4999. node: Exercise;
  5000. cursor: String;
  5001. }
  5002. export interface ExerciseEdgePromise
  5003. extends Promise<ExerciseEdge>,
  5004. Fragmentable {
  5005. node: <T = ExercisePromise>() => T;
  5006. cursor: () => Promise<String>;
  5007. }
  5008. export interface ExerciseEdgeSubscription
  5009. extends Promise<AsyncIterator<ExerciseEdge>>,
  5010. Fragmentable {
  5011. node: <T = ExerciseSubscription>() => T;
  5012. cursor: () => Promise<AsyncIterator<String>>;
  5013. }
  5014. export interface AggregateExercise {
  5015. count: Int;
  5016. }
  5017. export interface AggregateExercisePromise
  5018. extends Promise<AggregateExercise>,
  5019. Fragmentable {
  5020. count: () => Promise<Int>;
  5021. }
  5022. export interface AggregateExerciseSubscription
  5023. extends Promise<AsyncIterator<AggregateExercise>>,
  5024. Fragmentable {
  5025. count: () => Promise<AsyncIterator<Int>>;
  5026. }
  5027. export interface ExerciseInstanceConnection {
  5028. pageInfo: PageInfo;
  5029. edges: ExerciseInstanceEdge[];
  5030. }
  5031. export interface ExerciseInstanceConnectionPromise
  5032. extends Promise<ExerciseInstanceConnection>,
  5033. Fragmentable {
  5034. pageInfo: <T = PageInfoPromise>() => T;
  5035. edges: <T = FragmentableArray<ExerciseInstanceEdge>>() => T;
  5036. aggregate: <T = AggregateExerciseInstancePromise>() => T;
  5037. }
  5038. export interface ExerciseInstanceConnectionSubscription
  5039. extends Promise<AsyncIterator<ExerciseInstanceConnection>>,
  5040. Fragmentable {
  5041. pageInfo: <T = PageInfoSubscription>() => T;
  5042. edges: <T = Promise<AsyncIterator<ExerciseInstanceEdgeSubscription>>>() => T;
  5043. aggregate: <T = AggregateExerciseInstanceSubscription>() => T;
  5044. }
  5045. export interface ExerciseInstanceEdge {
  5046. node: ExerciseInstance;
  5047. cursor: String;
  5048. }
  5049. export interface ExerciseInstanceEdgePromise
  5050. extends Promise<ExerciseInstanceEdge>,
  5051. Fragmentable {
  5052. node: <T = ExerciseInstancePromise>() => T;
  5053. cursor: () => Promise<String>;
  5054. }
  5055. export interface ExerciseInstanceEdgeSubscription
  5056. extends Promise<AsyncIterator<ExerciseInstanceEdge>>,
  5057. Fragmentable {
  5058. node: <T = ExerciseInstanceSubscription>() => T;
  5059. cursor: () => Promise<AsyncIterator<String>>;
  5060. }
  5061. export interface AggregateExerciseInstance {
  5062. count: Int;
  5063. }
  5064. export interface AggregateExerciseInstancePromise
  5065. extends Promise<AggregateExerciseInstance>,
  5066. Fragmentable {
  5067. count: () => Promise<Int>;
  5068. }
  5069. export interface AggregateExerciseInstanceSubscription
  5070. extends Promise<AsyncIterator<AggregateExerciseInstance>>,
  5071. Fragmentable {
  5072. count: () => Promise<AsyncIterator<Int>>;
  5073. }
  5074. export interface FileConnection {
  5075. pageInfo: PageInfo;
  5076. edges: FileEdge[];
  5077. }
  5078. export interface FileConnectionPromise
  5079. extends Promise<FileConnection>,
  5080. Fragmentable {
  5081. pageInfo: <T = PageInfoPromise>() => T;
  5082. edges: <T = FragmentableArray<FileEdge>>() => T;
  5083. aggregate: <T = AggregateFilePromise>() => T;
  5084. }
  5085. export interface FileConnectionSubscription
  5086. extends Promise<AsyncIterator<FileConnection>>,
  5087. Fragmentable {
  5088. pageInfo: <T = PageInfoSubscription>() => T;
  5089. edges: <T = Promise<AsyncIterator<FileEdgeSubscription>>>() => T;
  5090. aggregate: <T = AggregateFileSubscription>() => T;
  5091. }
  5092. export interface FileEdge {
  5093. node: File;
  5094. cursor: String;
  5095. }
  5096. export interface FileEdgePromise extends Promise<FileEdge>, Fragmentable {
  5097. node: <T = FilePromise>() => T;
  5098. cursor: () => Promise<String>;
  5099. }
  5100. export interface FileEdgeSubscription
  5101. extends Promise<AsyncIterator<FileEdge>>,
  5102. Fragmentable {
  5103. node: <T = FileSubscription>() => T;
  5104. cursor: () => Promise<AsyncIterator<String>>;
  5105. }
  5106. export interface AggregateFile {
  5107. count: Int;
  5108. }
  5109. export interface AggregateFilePromise
  5110. extends Promise<AggregateFile>,
  5111. Fragmentable {
  5112. count: () => Promise<Int>;
  5113. }
  5114. export interface AggregateFileSubscription
  5115. extends Promise<AsyncIterator<AggregateFile>>,
  5116. Fragmentable {
  5117. count: () => Promise<AsyncIterator<Int>>;
  5118. }
  5119. export interface FormatConnection {
  5120. pageInfo: PageInfo;
  5121. edges: FormatEdge[];
  5122. }
  5123. export interface FormatConnectionPromise
  5124. extends Promise<FormatConnection>,
  5125. Fragmentable {
  5126. pageInfo: <T = PageInfoPromise>() => T;
  5127. edges: <T = FragmentableArray<FormatEdge>>() => T;
  5128. aggregate: <T = AggregateFormatPromise>() => T;
  5129. }
  5130. export interface FormatConnectionSubscription
  5131. extends Promise<AsyncIterator<FormatConnection>>,
  5132. Fragmentable {
  5133. pageInfo: <T = PageInfoSubscription>() => T;
  5134. edges: <T = Promise<AsyncIterator<FormatEdgeSubscription>>>() => T;
  5135. aggregate: <T = AggregateFormatSubscription>() => T;
  5136. }
  5137. export interface FormatEdge {
  5138. node: Format;
  5139. cursor: String;
  5140. }
  5141. export interface FormatEdgePromise extends Promise<FormatEdge>, Fragmentable {
  5142. node: <T = FormatPromise>() => T;
  5143. cursor: () => Promise<String>;
  5144. }
  5145. export interface FormatEdgeSubscription
  5146. extends Promise<AsyncIterator<FormatEdge>>,
  5147. Fragmentable {
  5148. node: <T = FormatSubscription>() => T;
  5149. cursor: () => Promise<AsyncIterator<String>>;
  5150. }
  5151. export interface AggregateFormat {
  5152. count: Int;
  5153. }
  5154. export interface AggregateFormatPromise
  5155. extends Promise<AggregateFormat>,
  5156. Fragmentable {
  5157. count: () => Promise<Int>;
  5158. }
  5159. export interface AggregateFormatSubscription
  5160. extends Promise<AsyncIterator<AggregateFormat>>,
  5161. Fragmentable {
  5162. count: () => Promise<AsyncIterator<Int>>;
  5163. }
  5164. export interface LinkConnection {
  5165. pageInfo: PageInfo;
  5166. edges: LinkEdge[];
  5167. }
  5168. export interface LinkConnectionPromise
  5169. extends Promise<LinkConnection>,
  5170. Fragmentable {
  5171. pageInfo: <T = PageInfoPromise>() => T;
  5172. edges: <T = FragmentableArray<LinkEdge>>() => T;
  5173. aggregate: <T = AggregateLinkPromise>() => T;
  5174. }
  5175. export interface LinkConnectionSubscription
  5176. extends Promise<AsyncIterator<LinkConnection>>,
  5177. Fragmentable {
  5178. pageInfo: <T = PageInfoSubscription>() => T;
  5179. edges: <T = Promise<AsyncIterator<LinkEdgeSubscription>>>() => T;
  5180. aggregate: <T = AggregateLinkSubscription>() => T;
  5181. }
  5182. export interface LinkEdge {
  5183. node: Link;
  5184. cursor: String;
  5185. }
  5186. export interface LinkEdgePromise extends Promise<LinkEdge>, Fragmentable {
  5187. node: <T = LinkPromise>() => T;
  5188. cursor: () => Promise<String>;
  5189. }
  5190. export interface LinkEdgeSubscription
  5191. extends Promise<AsyncIterator<LinkEdge>>,
  5192. Fragmentable {
  5193. node: <T = LinkSubscription>() => T;
  5194. cursor: () => Promise<AsyncIterator<String>>;
  5195. }
  5196. export interface AggregateLink {
  5197. count: Int;
  5198. }
  5199. export interface AggregateLinkPromise
  5200. extends Promise<AggregateLink>,
  5201. Fragmentable {
  5202. count: () => Promise<Int>;
  5203. }
  5204. export interface AggregateLinkSubscription
  5205. extends Promise<AsyncIterator<AggregateLink>>,
  5206. Fragmentable {
  5207. count: () => Promise<AsyncIterator<Int>>;
  5208. }
  5209. export interface PictureConnection {
  5210. pageInfo: PageInfo;
  5211. edges: PictureEdge[];
  5212. }
  5213. export interface PictureConnectionPromise
  5214. extends Promise<PictureConnection>,
  5215. Fragmentable {
  5216. pageInfo: <T = PageInfoPromise>() => T;
  5217. edges: <T = FragmentableArray<PictureEdge>>() => T;
  5218. aggregate: <T = AggregatePicturePromise>() => T;
  5219. }
  5220. export interface PictureConnectionSubscription
  5221. extends Promise<AsyncIterator<PictureConnection>>,
  5222. Fragmentable {
  5223. pageInfo: <T = PageInfoSubscription>() => T;
  5224. edges: <T = Promise<AsyncIterator<PictureEdgeSubscription>>>() => T;
  5225. aggregate: <T = AggregatePictureSubscription>() => T;
  5226. }
  5227. export interface PictureEdge {
  5228. node: Picture;
  5229. cursor: String;
  5230. }
  5231. export interface PictureEdgePromise extends Promise<PictureEdge>, Fragmentable {
  5232. node: <T = PicturePromise>() => T;
  5233. cursor: () => Promise<String>;
  5234. }
  5235. export interface PictureEdgeSubscription
  5236. extends Promise<AsyncIterator<PictureEdge>>,
  5237. Fragmentable {
  5238. node: <T = PictureSubscription>() => T;
  5239. cursor: () => Promise<AsyncIterator<String>>;
  5240. }
  5241. export interface AggregatePicture {
  5242. count: Int;
  5243. }
  5244. export interface AggregatePicturePromise
  5245. extends Promise<AggregatePicture>,
  5246. Fragmentable {
  5247. count: () => Promise<Int>;
  5248. }
  5249. export interface AggregatePictureSubscription
  5250. extends Promise<AsyncIterator<AggregatePicture>>,
  5251. Fragmentable {
  5252. count: () => Promise<AsyncIterator<Int>>;
  5253. }
  5254. export interface RatingConnection {
  5255. pageInfo: PageInfo;
  5256. edges: RatingEdge[];
  5257. }
  5258. export interface RatingConnectionPromise
  5259. extends Promise<RatingConnection>,
  5260. Fragmentable {
  5261. pageInfo: <T = PageInfoPromise>() => T;
  5262. edges: <T = FragmentableArray<RatingEdge>>() => T;
  5263. aggregate: <T = AggregateRatingPromise>() => T;
  5264. }
  5265. export interface RatingConnectionSubscription
  5266. extends Promise<AsyncIterator<RatingConnection>>,
  5267. Fragmentable {
  5268. pageInfo: <T = PageInfoSubscription>() => T;
  5269. edges: <T = Promise<AsyncIterator<RatingEdgeSubscription>>>() => T;
  5270. aggregate: <T = AggregateRatingSubscription>() => T;
  5271. }
  5272. export interface RatingEdge {
  5273. node: Rating;
  5274. cursor: String;
  5275. }
  5276. export interface RatingEdgePromise extends Promise<RatingEdge>, Fragmentable {
  5277. node: <T = RatingPromise>() => T;
  5278. cursor: () => Promise<String>;
  5279. }
  5280. export interface RatingEdgeSubscription
  5281. extends Promise<AsyncIterator<RatingEdge>>,
  5282. Fragmentable {
  5283. node: <T = RatingSubscription>() => T;
  5284. cursor: () => Promise<AsyncIterator<String>>;
  5285. }
  5286. export interface AggregateRating {
  5287. count: Int;
  5288. }
  5289. export interface AggregateRatingPromise
  5290. extends Promise<AggregateRating>,
  5291. Fragmentable {
  5292. count: () => Promise<Int>;
  5293. }
  5294. export interface AggregateRatingSubscription
  5295. extends Promise<AsyncIterator<AggregateRating>>,
  5296. Fragmentable {
  5297. count: () => Promise<AsyncIterator<Int>>;
  5298. }
  5299. export interface TrackConnection {
  5300. pageInfo: PageInfo;
  5301. edges: TrackEdge[];
  5302. }
  5303. export interface TrackConnectionPromise
  5304. extends Promise<TrackConnection>,
  5305. Fragmentable {
  5306. pageInfo: <T = PageInfoPromise>() => T;
  5307. edges: <T = FragmentableArray<TrackEdge>>() => T;
  5308. aggregate: <T = AggregateTrackPromise>() => T;
  5309. }
  5310. export interface TrackConnectionSubscription
  5311. extends Promise<AsyncIterator<TrackConnection>>,
  5312. Fragmentable {
  5313. pageInfo: <T = PageInfoSubscription>() => T;
  5314. edges: <T = Promise<AsyncIterator<TrackEdgeSubscription>>>() => T;
  5315. aggregate: <T = AggregateTrackSubscription>() => T;
  5316. }
  5317. export interface TrackEdge {
  5318. node: Track;
  5319. cursor: String;
  5320. }
  5321. export interface TrackEdgePromise extends Promise<TrackEdge>, Fragmentable {
  5322. node: <T = TrackPromise>() => T;
  5323. cursor: () => Promise<String>;
  5324. }
  5325. export interface TrackEdgeSubscription
  5326. extends Promise<AsyncIterator<TrackEdge>>,
  5327. Fragmentable {
  5328. node: <T = TrackSubscription>() => T;
  5329. cursor: () => Promise<AsyncIterator<String>>;
  5330. }
  5331. export interface AggregateTrack {
  5332. count: Int;
  5333. }
  5334. export interface AggregateTrackPromise
  5335. extends Promise<AggregateTrack>,
  5336. Fragmentable {
  5337. count: () => Promise<Int>;
  5338. }
  5339. export interface AggregateTrackSubscription
  5340. extends Promise<AsyncIterator<AggregateTrack>>,
  5341. Fragmentable {
  5342. count: () => Promise<AsyncIterator<Int>>;
  5343. }
  5344. export interface TrainingConnection {
  5345. pageInfo: PageInfo;
  5346. edges: TrainingEdge[];
  5347. }
  5348. export interface TrainingConnectionPromise
  5349. extends Promise<TrainingConnection>,
  5350. Fragmentable {
  5351. pageInfo: <T = PageInfoPromise>() => T;
  5352. edges: <T = FragmentableArray<TrainingEdge>>() => T;
  5353. aggregate: <T = AggregateTrainingPromise>() => T;
  5354. }
  5355. export interface TrainingConnectionSubscription
  5356. extends Promise<AsyncIterator<TrainingConnection>>,
  5357. Fragmentable {
  5358. pageInfo: <T = PageInfoSubscription>() => T;
  5359. edges: <T = Promise<AsyncIterator<TrainingEdgeSubscription>>>() => T;
  5360. aggregate: <T = AggregateTrainingSubscription>() => T;
  5361. }
  5362. export interface TrainingEdge {
  5363. node: Training;
  5364. cursor: String;
  5365. }
  5366. export interface TrainingEdgePromise
  5367. extends Promise<TrainingEdge>,
  5368. Fragmentable {
  5369. node: <T = TrainingPromise>() => T;
  5370. cursor: () => Promise<String>;
  5371. }
  5372. export interface TrainingEdgeSubscription
  5373. extends Promise<AsyncIterator<TrainingEdge>>,
  5374. Fragmentable {
  5375. node: <T = TrainingSubscription>() => T;
  5376. cursor: () => Promise<AsyncIterator<String>>;
  5377. }
  5378. export interface AggregateTraining {
  5379. count: Int;
  5380. }
  5381. export interface AggregateTrainingPromise
  5382. extends Promise<AggregateTraining>,
  5383. Fragmentable {
  5384. count: () => Promise<Int>;
  5385. }
  5386. export interface AggregateTrainingSubscription
  5387. extends Promise<AsyncIterator<AggregateTraining>>,
  5388. Fragmentable {
  5389. count: () => Promise<AsyncIterator<Int>>;
  5390. }
  5391. export interface TrainingTypeConnection {
  5392. pageInfo: PageInfo;
  5393. edges: TrainingTypeEdge[];
  5394. }
  5395. export interface TrainingTypeConnectionPromise
  5396. extends Promise<TrainingTypeConnection>,
  5397. Fragmentable {
  5398. pageInfo: <T = PageInfoPromise>() => T;
  5399. edges: <T = FragmentableArray<TrainingTypeEdge>>() => T;
  5400. aggregate: <T = AggregateTrainingTypePromise>() => T;
  5401. }
  5402. export interface TrainingTypeConnectionSubscription
  5403. extends Promise<AsyncIterator<TrainingTypeConnection>>,
  5404. Fragmentable {
  5405. pageInfo: <T = PageInfoSubscription>() => T;
  5406. edges: <T = Promise<AsyncIterator<TrainingTypeEdgeSubscription>>>() => T;
  5407. aggregate: <T = AggregateTrainingTypeSubscription>() => T;
  5408. }
  5409. export interface TrainingTypeEdge {
  5410. node: TrainingType;
  5411. cursor: String;
  5412. }
  5413. export interface TrainingTypeEdgePromise
  5414. extends Promise<TrainingTypeEdge>,
  5415. Fragmentable {
  5416. node: <T = TrainingTypePromise>() => T;
  5417. cursor: () => Promise<String>;
  5418. }
  5419. export interface TrainingTypeEdgeSubscription
  5420. extends Promise<AsyncIterator<TrainingTypeEdge>>,
  5421. Fragmentable {
  5422. node: <T = TrainingTypeSubscription>() => T;
  5423. cursor: () => Promise<AsyncIterator<String>>;
  5424. }
  5425. export interface AggregateTrainingType {
  5426. count: Int;
  5427. }
  5428. export interface AggregateTrainingTypePromise
  5429. extends Promise<AggregateTrainingType>,
  5430. Fragmentable {
  5431. count: () => Promise<Int>;
  5432. }
  5433. export interface AggregateTrainingTypeSubscription
  5434. extends Promise<AsyncIterator<AggregateTrainingType>>,
  5435. Fragmentable {
  5436. count: () => Promise<AsyncIterator<Int>>;
  5437. }
  5438. export interface UserConnection {
  5439. pageInfo: PageInfo;
  5440. edges: UserEdge[];
  5441. }
  5442. export interface UserConnectionPromise
  5443. extends Promise<UserConnection>,
  5444. Fragmentable {
  5445. pageInfo: <T = PageInfoPromise>() => T;
  5446. edges: <T = FragmentableArray<UserEdge>>() => T;
  5447. aggregate: <T = AggregateUserPromise>() => T;
  5448. }
  5449. export interface UserConnectionSubscription
  5450. extends Promise<AsyncIterator<UserConnection>>,
  5451. Fragmentable {
  5452. pageInfo: <T = PageInfoSubscription>() => T;
  5453. edges: <T = Promise<AsyncIterator<UserEdgeSubscription>>>() => T;
  5454. aggregate: <T = AggregateUserSubscription>() => T;
  5455. }
  5456. export interface UserEdge {
  5457. node: User;
  5458. cursor: String;
  5459. }
  5460. export interface UserEdgePromise extends Promise<UserEdge>, Fragmentable {
  5461. node: <T = UserPromise>() => T;
  5462. cursor: () => Promise<String>;
  5463. }
  5464. export interface UserEdgeSubscription
  5465. extends Promise<AsyncIterator<UserEdge>>,
  5466. Fragmentable {
  5467. node: <T = UserSubscription>() => T;
  5468. cursor: () => Promise<AsyncIterator<String>>;
  5469. }
  5470. export interface AggregateUser {
  5471. count: Int;
  5472. }
  5473. export interface AggregateUserPromise
  5474. extends Promise<AggregateUser>,
  5475. Fragmentable {
  5476. count: () => Promise<Int>;
  5477. }
  5478. export interface AggregateUserSubscription
  5479. extends Promise<AsyncIterator<AggregateUser>>,
  5480. Fragmentable {
  5481. count: () => Promise<AsyncIterator<Int>>;
  5482. }
  5483. export interface VideoConnection {
  5484. pageInfo: PageInfo;
  5485. edges: VideoEdge[];
  5486. }
  5487. export interface VideoConnectionPromise
  5488. extends Promise<VideoConnection>,
  5489. Fragmentable {
  5490. pageInfo: <T = PageInfoPromise>() => T;
  5491. edges: <T = FragmentableArray<VideoEdge>>() => T;
  5492. aggregate: <T = AggregateVideoPromise>() => T;
  5493. }
  5494. export interface VideoConnectionSubscription
  5495. extends Promise<AsyncIterator<VideoConnection>>,
  5496. Fragmentable {
  5497. pageInfo: <T = PageInfoSubscription>() => T;
  5498. edges: <T = Promise<AsyncIterator<VideoEdgeSubscription>>>() => T;
  5499. aggregate: <T = AggregateVideoSubscription>() => T;
  5500. }
  5501. export interface VideoEdge {
  5502. node: Video;
  5503. cursor: String;
  5504. }
  5505. export interface VideoEdgePromise extends Promise<VideoEdge>, Fragmentable {
  5506. node: <T = VideoPromise>() => T;
  5507. cursor: () => Promise<String>;
  5508. }
  5509. export interface VideoEdgeSubscription
  5510. extends Promise<AsyncIterator<VideoEdge>>,
  5511. Fragmentable {
  5512. node: <T = VideoSubscription>() => T;
  5513. cursor: () => Promise<AsyncIterator<String>>;
  5514. }
  5515. export interface AggregateVideo {
  5516. count: Int;
  5517. }
  5518. export interface AggregateVideoPromise
  5519. extends Promise<AggregateVideo>,
  5520. Fragmentable {
  5521. count: () => Promise<Int>;
  5522. }
  5523. export interface AggregateVideoSubscription
  5524. extends Promise<AsyncIterator<AggregateVideo>>,
  5525. Fragmentable {
  5526. count: () => Promise<AsyncIterator<Int>>;
  5527. }
  5528. export interface BatchPayload {
  5529. count: Long;
  5530. }
  5531. export interface BatchPayloadPromise
  5532. extends Promise<BatchPayload>,
  5533. Fragmentable {
  5534. count: () => Promise<Long>;
  5535. }
  5536. export interface BatchPayloadSubscription
  5537. extends Promise<AsyncIterator<BatchPayload>>,
  5538. Fragmentable {
  5539. count: () => Promise<AsyncIterator<Long>>;
  5540. }
  5541. export interface BlockSubscriptionPayload {
  5542. mutation: MutationType;
  5543. node: Block;
  5544. updatedFields: String[];
  5545. previousValues: BlockPreviousValues;
  5546. }
  5547. export interface BlockSubscriptionPayloadPromise
  5548. extends Promise<BlockSubscriptionPayload>,
  5549. Fragmentable {
  5550. mutation: () => Promise<MutationType>;
  5551. node: <T = BlockPromise>() => T;
  5552. updatedFields: () => Promise<String[]>;
  5553. previousValues: <T = BlockPreviousValuesPromise>() => T;
  5554. }
  5555. export interface BlockSubscriptionPayloadSubscription
  5556. extends Promise<AsyncIterator<BlockSubscriptionPayload>>,
  5557. Fragmentable {
  5558. mutation: () => Promise<AsyncIterator<MutationType>>;
  5559. node: <T = BlockSubscription>() => T;
  5560. updatedFields: () => Promise<AsyncIterator<String[]>>;
  5561. previousValues: <T = BlockPreviousValuesSubscription>() => T;
  5562. }
  5563. export interface BlockPreviousValues {
  5564. id: ID_Output;
  5565. title: String;
  5566. description?: String;
  5567. duration?: Int;
  5568. rest?: Int;
  5569. }
  5570. export interface BlockPreviousValuesPromise
  5571. extends Promise<BlockPreviousValues>,
  5572. Fragmentable {
  5573. id: () => Promise<ID_Output>;
  5574. title: () => Promise<String>;
  5575. description: () => Promise<String>;
  5576. duration: () => Promise<Int>;
  5577. rest: () => Promise<Int>;
  5578. }
  5579. export interface BlockPreviousValuesSubscription
  5580. extends Promise<AsyncIterator<BlockPreviousValues>>,
  5581. Fragmentable {
  5582. id: () => Promise<AsyncIterator<ID_Output>>;
  5583. title: () => Promise<AsyncIterator<String>>;
  5584. description: () => Promise<AsyncIterator<String>>;
  5585. duration: () => Promise<AsyncIterator<Int>>;
  5586. rest: () => Promise<AsyncIterator<Int>>;
  5587. }
  5588. export interface BlockInstanceSubscriptionPayload {
  5589. mutation: MutationType;
  5590. node: BlockInstance;
  5591. updatedFields: String[];
  5592. previousValues: BlockInstancePreviousValues;
  5593. }
  5594. export interface BlockInstanceSubscriptionPayloadPromise
  5595. extends Promise<BlockInstanceSubscriptionPayload>,
  5596. Fragmentable {
  5597. mutation: () => Promise<MutationType>;
  5598. node: <T = BlockInstancePromise>() => T;
  5599. updatedFields: () => Promise<String[]>;
  5600. previousValues: <T = BlockInstancePreviousValuesPromise>() => T;
  5601. }
  5602. export interface BlockInstanceSubscriptionPayloadSubscription
  5603. extends Promise<AsyncIterator<BlockInstanceSubscriptionPayload>>,
  5604. Fragmentable {
  5605. mutation: () => Promise<AsyncIterator<MutationType>>;
  5606. node: <T = BlockInstanceSubscription>() => T;
  5607. updatedFields: () => Promise<AsyncIterator<String[]>>;
  5608. previousValues: <T = BlockInstancePreviousValuesSubscription>() => T;
  5609. }
  5610. export interface BlockInstancePreviousValues {
  5611. id: ID_Output;
  5612. order: Int;
  5613. rounds?: Int;
  5614. variation?: String;
  5615. }
  5616. export interface BlockInstancePreviousValuesPromise
  5617. extends Promise<BlockInstancePreviousValues>,
  5618. Fragmentable {
  5619. id: () => Promise<ID_Output>;
  5620. order: () => Promise<Int>;
  5621. rounds: () => Promise<Int>;
  5622. variation: () => Promise<String>;
  5623. }
  5624. export interface BlockInstancePreviousValuesSubscription
  5625. extends Promise<AsyncIterator<BlockInstancePreviousValues>>,
  5626. Fragmentable {
  5627. id: () => Promise<AsyncIterator<ID_Output>>;
  5628. order: () => Promise<AsyncIterator<Int>>;
  5629. rounds: () => Promise<AsyncIterator<Int>>;
  5630. variation: () => Promise<AsyncIterator<String>>;
  5631. }
  5632. export interface CommentSubscriptionPayload {
  5633. mutation: MutationType;
  5634. node: Comment;
  5635. updatedFields: String[];
  5636. previousValues: CommentPreviousValues;
  5637. }
  5638. export interface CommentSubscriptionPayloadPromise
  5639. extends Promise<CommentSubscriptionPayload>,
  5640. Fragmentable {
  5641. mutation: () => Promise<MutationType>;
  5642. node: <T = CommentPromise>() => T;
  5643. updatedFields: () => Promise<String[]>;
  5644. previousValues: <T = CommentPreviousValuesPromise>() => T;
  5645. }
  5646. export interface CommentSubscriptionPayloadSubscription
  5647. extends Promise<AsyncIterator<CommentSubscriptionPayload>>,
  5648. Fragmentable {
  5649. mutation: () => Promise<AsyncIterator<MutationType>>;
  5650. node: <T = CommentSubscription>() => T;
  5651. updatedFields: () => Promise<AsyncIterator<String[]>>;
  5652. previousValues: <T = CommentPreviousValuesSubscription>() => T;
  5653. }
  5654. export interface CommentPreviousValues {
  5655. id: ID_Output;
  5656. text: String;
  5657. createdAt: DateTimeOutput;
  5658. }
  5659. export interface CommentPreviousValuesPromise
  5660. extends Promise<CommentPreviousValues>,
  5661. Fragmentable {
  5662. id: () => Promise<ID_Output>;
  5663. text: () => Promise<String>;
  5664. createdAt: () => Promise<DateTimeOutput>;
  5665. }
  5666. export interface CommentPreviousValuesSubscription
  5667. extends Promise<AsyncIterator<CommentPreviousValues>>,
  5668. Fragmentable {
  5669. id: () => Promise<AsyncIterator<ID_Output>>;
  5670. text: () => Promise<AsyncIterator<String>>;
  5671. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  5672. }
  5673. export interface ExerciseSubscriptionPayload {
  5674. mutation: MutationType;
  5675. node: Exercise;
  5676. updatedFields: String[];
  5677. previousValues: ExercisePreviousValues;
  5678. }
  5679. export interface ExerciseSubscriptionPayloadPromise
  5680. extends Promise<ExerciseSubscriptionPayload>,
  5681. Fragmentable {
  5682. mutation: () => Promise<MutationType>;
  5683. node: <T = ExercisePromise>() => T;
  5684. updatedFields: () => Promise<String[]>;
  5685. previousValues: <T = ExercisePreviousValuesPromise>() => T;
  5686. }
  5687. export interface ExerciseSubscriptionPayloadSubscription
  5688. extends Promise<AsyncIterator<ExerciseSubscriptionPayload>>,
  5689. Fragmentable {
  5690. mutation: () => Promise<AsyncIterator<MutationType>>;
  5691. node: <T = ExerciseSubscription>() => T;
  5692. updatedFields: () => Promise<AsyncIterator<String[]>>;
  5693. previousValues: <T = ExercisePreviousValuesSubscription>() => T;
  5694. }
  5695. export interface ExercisePreviousValues {
  5696. id: ID_Output;
  5697. name: String;
  5698. description?: String;
  5699. targets: String[];
  5700. baseExercise: String[];
  5701. }
  5702. export interface ExercisePreviousValuesPromise
  5703. extends Promise<ExercisePreviousValues>,
  5704. Fragmentable {
  5705. id: () => Promise<ID_Output>;
  5706. name: () => Promise<String>;
  5707. description: () => Promise<String>;
  5708. targets: () => Promise<String[]>;
  5709. baseExercise: () => Promise<String[]>;
  5710. }
  5711. export interface ExercisePreviousValuesSubscription
  5712. extends Promise<AsyncIterator<ExercisePreviousValues>>,
  5713. Fragmentable {
  5714. id: () => Promise<AsyncIterator<ID_Output>>;
  5715. name: () => Promise<AsyncIterator<String>>;
  5716. description: () => Promise<AsyncIterator<String>>;
  5717. targets: () => Promise<AsyncIterator<String[]>>;
  5718. baseExercise: () => Promise<AsyncIterator<String[]>>;
  5719. }
  5720. export interface ExerciseInstanceSubscriptionPayload {
  5721. mutation: MutationType;
  5722. node: ExerciseInstance;
  5723. updatedFields: String[];
  5724. previousValues: ExerciseInstancePreviousValues;
  5725. }
  5726. export interface ExerciseInstanceSubscriptionPayloadPromise
  5727. extends Promise<ExerciseInstanceSubscriptionPayload>,
  5728. Fragmentable {
  5729. mutation: () => Promise<MutationType>;
  5730. node: <T = ExerciseInstancePromise>() => T;
  5731. updatedFields: () => Promise<String[]>;
  5732. previousValues: <T = ExerciseInstancePreviousValuesPromise>() => T;
  5733. }
  5734. export interface ExerciseInstanceSubscriptionPayloadSubscription
  5735. extends Promise<AsyncIterator<ExerciseInstanceSubscriptionPayload>>,
  5736. Fragmentable {
  5737. mutation: () => Promise<AsyncIterator<MutationType>>;
  5738. node: <T = ExerciseInstanceSubscription>() => T;
  5739. updatedFields: () => Promise<AsyncIterator<String[]>>;
  5740. previousValues: <T = ExerciseInstancePreviousValuesSubscription>() => T;
  5741. }
  5742. export interface ExerciseInstancePreviousValues {
  5743. id: ID_Output;
  5744. order: Int;
  5745. repetitions?: Int;
  5746. variation?: String;
  5747. }
  5748. export interface ExerciseInstancePreviousValuesPromise
  5749. extends Promise<ExerciseInstancePreviousValues>,
  5750. Fragmentable {
  5751. id: () => Promise<ID_Output>;
  5752. order: () => Promise<Int>;
  5753. repetitions: () => Promise<Int>;
  5754. variation: () => Promise<String>;
  5755. }
  5756. export interface ExerciseInstancePreviousValuesSubscription
  5757. extends Promise<AsyncIterator<ExerciseInstancePreviousValues>>,
  5758. Fragmentable {
  5759. id: () => Promise<AsyncIterator<ID_Output>>;
  5760. order: () => Promise<AsyncIterator<Int>>;
  5761. repetitions: () => Promise<AsyncIterator<Int>>;
  5762. variation: () => Promise<AsyncIterator<String>>;
  5763. }
  5764. export interface FileSubscriptionPayload {
  5765. mutation: MutationType;
  5766. node: File;
  5767. updatedFields: String[];
  5768. previousValues: FilePreviousValues;
  5769. }
  5770. export interface FileSubscriptionPayloadPromise
  5771. extends Promise<FileSubscriptionPayload>,
  5772. Fragmentable {
  5773. mutation: () => Promise<MutationType>;
  5774. node: <T = FilePromise>() => T;
  5775. updatedFields: () => Promise<String[]>;
  5776. previousValues: <T = FilePreviousValuesPromise>() => T;
  5777. }
  5778. export interface FileSubscriptionPayloadSubscription
  5779. extends Promise<AsyncIterator<FileSubscriptionPayload>>,
  5780. Fragmentable {
  5781. mutation: () => Promise<AsyncIterator<MutationType>>;
  5782. node: <T = FileSubscription>() => T;
  5783. updatedFields: () => Promise<AsyncIterator<String[]>>;
  5784. previousValues: <T = FilePreviousValuesSubscription>() => T;
  5785. }
  5786. export interface FilePreviousValues {
  5787. id: ID_Output;
  5788. createdAt: DateTimeOutput;
  5789. updatedAt: DateTimeOutput;
  5790. path: String;
  5791. comment?: String;
  5792. mimetype?: String;
  5793. thumbnail?: String;
  5794. filename?: String;
  5795. encoding?: String;
  5796. size?: Int;
  5797. width?: Int;
  5798. height?: Int;
  5799. duration?: Float;
  5800. title?: String;
  5801. artist?: String;
  5802. }
  5803. export interface FilePreviousValuesPromise
  5804. extends Promise<FilePreviousValues>,
  5805. Fragmentable {
  5806. id: () => Promise<ID_Output>;
  5807. createdAt: () => Promise<DateTimeOutput>;
  5808. updatedAt: () => Promise<DateTimeOutput>;
  5809. path: () => Promise<String>;
  5810. comment: () => Promise<String>;
  5811. mimetype: () => Promise<String>;
  5812. thumbnail: () => Promise<String>;
  5813. filename: () => Promise<String>;
  5814. encoding: () => Promise<String>;
  5815. size: () => Promise<Int>;
  5816. width: () => Promise<Int>;
  5817. height: () => Promise<Int>;
  5818. duration: () => Promise<Float>;
  5819. title: () => Promise<String>;
  5820. artist: () => Promise<String>;
  5821. }
  5822. export interface FilePreviousValuesSubscription
  5823. extends Promise<AsyncIterator<FilePreviousValues>>,
  5824. Fragmentable {
  5825. id: () => Promise<AsyncIterator<ID_Output>>;
  5826. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  5827. updatedAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  5828. path: () => Promise<AsyncIterator<String>>;
  5829. comment: () => Promise<AsyncIterator<String>>;
  5830. mimetype: () => Promise<AsyncIterator<String>>;
  5831. thumbnail: () => Promise<AsyncIterator<String>>;
  5832. filename: () => Promise<AsyncIterator<String>>;
  5833. encoding: () => Promise<AsyncIterator<String>>;
  5834. size: () => Promise<AsyncIterator<Int>>;
  5835. width: () => Promise<AsyncIterator<Int>>;
  5836. height: () => Promise<AsyncIterator<Int>>;
  5837. duration: () => Promise<AsyncIterator<Float>>;
  5838. title: () => Promise<AsyncIterator<String>>;
  5839. artist: () => Promise<AsyncIterator<String>>;
  5840. }
  5841. export interface FormatSubscriptionPayload {
  5842. mutation: MutationType;
  5843. node: Format;
  5844. updatedFields: String[];
  5845. previousValues: FormatPreviousValues;
  5846. }
  5847. export interface FormatSubscriptionPayloadPromise
  5848. extends Promise<FormatSubscriptionPayload>,
  5849. Fragmentable {
  5850. mutation: () => Promise<MutationType>;
  5851. node: <T = FormatPromise>() => T;
  5852. updatedFields: () => Promise<String[]>;
  5853. previousValues: <T = FormatPreviousValuesPromise>() => T;
  5854. }
  5855. export interface FormatSubscriptionPayloadSubscription
  5856. extends Promise<AsyncIterator<FormatSubscriptionPayload>>,
  5857. Fragmentable {
  5858. mutation: () => Promise<AsyncIterator<MutationType>>;
  5859. node: <T = FormatSubscription>() => T;
  5860. updatedFields: () => Promise<AsyncIterator<String[]>>;
  5861. previousValues: <T = FormatPreviousValuesSubscription>() => T;
  5862. }
  5863. export interface FormatPreviousValues {
  5864. id: ID_Output;
  5865. name: String;
  5866. description: String;
  5867. }
  5868. export interface FormatPreviousValuesPromise
  5869. extends Promise<FormatPreviousValues>,
  5870. Fragmentable {
  5871. id: () => Promise<ID_Output>;
  5872. name: () => Promise<String>;
  5873. description: () => Promise<String>;
  5874. }
  5875. export interface FormatPreviousValuesSubscription
  5876. extends Promise<AsyncIterator<FormatPreviousValues>>,
  5877. Fragmentable {
  5878. id: () => Promise<AsyncIterator<ID_Output>>;
  5879. name: () => Promise<AsyncIterator<String>>;
  5880. description: () => Promise<AsyncIterator<String>>;
  5881. }
  5882. export interface LinkSubscriptionPayload {
  5883. mutation: MutationType;
  5884. node: Link;
  5885. updatedFields: String[];
  5886. previousValues: LinkPreviousValues;
  5887. }
  5888. export interface LinkSubscriptionPayloadPromise
  5889. extends Promise<LinkSubscriptionPayload>,
  5890. Fragmentable {
  5891. mutation: () => Promise<MutationType>;
  5892. node: <T = LinkPromise>() => T;
  5893. updatedFields: () => Promise<String[]>;
  5894. previousValues: <T = LinkPreviousValuesPromise>() => T;
  5895. }
  5896. export interface LinkSubscriptionPayloadSubscription
  5897. extends Promise<AsyncIterator<LinkSubscriptionPayload>>,
  5898. Fragmentable {
  5899. mutation: () => Promise<AsyncIterator<MutationType>>;
  5900. node: <T = LinkSubscription>() => T;
  5901. updatedFields: () => Promise<AsyncIterator<String[]>>;
  5902. previousValues: <T = LinkPreviousValuesSubscription>() => T;
  5903. }
  5904. export interface LinkPreviousValues {
  5905. id: ID_Output;
  5906. createdAt: DateTimeOutput;
  5907. updatedAt: DateTimeOutput;
  5908. url: String;
  5909. comment?: String;
  5910. duration?: Int;
  5911. title?: String;
  5912. artist?: String;
  5913. }
  5914. export interface LinkPreviousValuesPromise
  5915. extends Promise<LinkPreviousValues>,
  5916. Fragmentable {
  5917. id: () => Promise<ID_Output>;
  5918. createdAt: () => Promise<DateTimeOutput>;
  5919. updatedAt: () => Promise<DateTimeOutput>;
  5920. url: () => Promise<String>;
  5921. comment: () => Promise<String>;
  5922. duration: () => Promise<Int>;
  5923. title: () => Promise<String>;
  5924. artist: () => Promise<String>;
  5925. }
  5926. export interface LinkPreviousValuesSubscription
  5927. extends Promise<AsyncIterator<LinkPreviousValues>>,
  5928. Fragmentable {
  5929. id: () => Promise<AsyncIterator<ID_Output>>;
  5930. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  5931. updatedAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  5932. url: () => Promise<AsyncIterator<String>>;
  5933. comment: () => Promise<AsyncIterator<String>>;
  5934. duration: () => Promise<AsyncIterator<Int>>;
  5935. title: () => Promise<AsyncIterator<String>>;
  5936. artist: () => Promise<AsyncIterator<String>>;
  5937. }
  5938. export interface PictureSubscriptionPayload {
  5939. mutation: MutationType;
  5940. node: Picture;
  5941. updatedFields: String[];
  5942. previousValues: PicturePreviousValues;
  5943. }
  5944. export interface PictureSubscriptionPayloadPromise
  5945. extends Promise<PictureSubscriptionPayload>,
  5946. Fragmentable {
  5947. mutation: () => Promise<MutationType>;
  5948. node: <T = PicturePromise>() => T;
  5949. updatedFields: () => Promise<String[]>;
  5950. previousValues: <T = PicturePreviousValuesPromise>() => T;
  5951. }
  5952. export interface PictureSubscriptionPayloadSubscription
  5953. extends Promise<AsyncIterator<PictureSubscriptionPayload>>,
  5954. Fragmentable {
  5955. mutation: () => Promise<AsyncIterator<MutationType>>;
  5956. node: <T = PictureSubscription>() => T;
  5957. updatedFields: () => Promise<AsyncIterator<String[]>>;
  5958. previousValues: <T = PicturePreviousValuesSubscription>() => T;
  5959. }
  5960. export interface PicturePreviousValues {
  5961. id: ID_Output;
  5962. createdAt: DateTimeOutput;
  5963. updatedAt: DateTimeOutput;
  5964. order: Int;
  5965. }
  5966. export interface PicturePreviousValuesPromise
  5967. extends Promise<PicturePreviousValues>,
  5968. Fragmentable {
  5969. id: () => Promise<ID_Output>;
  5970. createdAt: () => Promise<DateTimeOutput>;
  5971. updatedAt: () => Promise<DateTimeOutput>;
  5972. order: () => Promise<Int>;
  5973. }
  5974. export interface PicturePreviousValuesSubscription
  5975. extends Promise<AsyncIterator<PicturePreviousValues>>,
  5976. Fragmentable {
  5977. id: () => Promise<AsyncIterator<ID_Output>>;
  5978. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  5979. updatedAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  5980. order: () => Promise<AsyncIterator<Int>>;
  5981. }
  5982. export interface RatingSubscriptionPayload {
  5983. mutation: MutationType;
  5984. node: Rating;
  5985. updatedFields: String[];
  5986. previousValues: RatingPreviousValues;
  5987. }
  5988. export interface RatingSubscriptionPayloadPromise
  5989. extends Promise<RatingSubscriptionPayload>,
  5990. Fragmentable {
  5991. mutation: () => Promise<MutationType>;
  5992. node: <T = RatingPromise>() => T;
  5993. updatedFields: () => Promise<String[]>;
  5994. previousValues: <T = RatingPreviousValuesPromise>() => T;
  5995. }
  5996. export interface RatingSubscriptionPayloadSubscription
  5997. extends Promise<AsyncIterator<RatingSubscriptionPayload>>,
  5998. Fragmentable {
  5999. mutation: () => Promise<AsyncIterator<MutationType>>;
  6000. node: <T = RatingSubscription>() => T;
  6001. updatedFields: () => Promise<AsyncIterator<String[]>>;
  6002. previousValues: <T = RatingPreviousValuesSubscription>() => T;
  6003. }
  6004. export interface RatingPreviousValues {
  6005. id: ID_Output;
  6006. value: Int;
  6007. comment: String;
  6008. createdAt: DateTimeOutput;
  6009. }
  6010. export interface RatingPreviousValuesPromise
  6011. extends Promise<RatingPreviousValues>,
  6012. Fragmentable {
  6013. id: () => Promise<ID_Output>;
  6014. value: () => Promise<Int>;
  6015. comment: () => Promise<String>;
  6016. createdAt: () => Promise<DateTimeOutput>;
  6017. }
  6018. export interface RatingPreviousValuesSubscription
  6019. extends Promise<AsyncIterator<RatingPreviousValues>>,
  6020. Fragmentable {
  6021. id: () => Promise<AsyncIterator<ID_Output>>;
  6022. value: () => Promise<AsyncIterator<Int>>;
  6023. comment: () => Promise<AsyncIterator<String>>;
  6024. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  6025. }
  6026. export interface TrackSubscriptionPayload {
  6027. mutation: MutationType;
  6028. node: Track;
  6029. updatedFields: String[];
  6030. previousValues: TrackPreviousValues;
  6031. }
  6032. export interface TrackSubscriptionPayloadPromise
  6033. extends Promise<TrackSubscriptionPayload>,
  6034. Fragmentable {
  6035. mutation: () => Promise<MutationType>;
  6036. node: <T = TrackPromise>() => T;
  6037. updatedFields: () => Promise<String[]>;
  6038. previousValues: <T = TrackPreviousValuesPromise>() => T;
  6039. }
  6040. export interface TrackSubscriptionPayloadSubscription
  6041. extends Promise<AsyncIterator<TrackSubscriptionPayload>>,
  6042. Fragmentable {
  6043. mutation: () => Promise<AsyncIterator<MutationType>>;
  6044. node: <T = TrackSubscription>() => T;
  6045. updatedFields: () => Promise<AsyncIterator<String[]>>;
  6046. previousValues: <T = TrackPreviousValuesSubscription>() => T;
  6047. }
  6048. export interface TrackPreviousValues {
  6049. id: ID_Output;
  6050. createdAt: DateTimeOutput;
  6051. updatedAt: DateTimeOutput;
  6052. order: Int;
  6053. }
  6054. export interface TrackPreviousValuesPromise
  6055. extends Promise<TrackPreviousValues>,
  6056. Fragmentable {
  6057. id: () => Promise<ID_Output>;
  6058. createdAt: () => Promise<DateTimeOutput>;
  6059. updatedAt: () => Promise<DateTimeOutput>;
  6060. order: () => Promise<Int>;
  6061. }
  6062. export interface TrackPreviousValuesSubscription
  6063. extends Promise<AsyncIterator<TrackPreviousValues>>,
  6064. Fragmentable {
  6065. id: () => Promise<AsyncIterator<ID_Output>>;
  6066. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  6067. updatedAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  6068. order: () => Promise<AsyncIterator<Int>>;
  6069. }
  6070. export interface TrainingSubscriptionPayload {
  6071. mutation: MutationType;
  6072. node: Training;
  6073. updatedFields: String[];
  6074. previousValues: TrainingPreviousValues;
  6075. }
  6076. export interface TrainingSubscriptionPayloadPromise
  6077. extends Promise<TrainingSubscriptionPayload>,
  6078. Fragmentable {
  6079. mutation: () => Promise<MutationType>;
  6080. node: <T = TrainingPromise>() => T;
  6081. updatedFields: () => Promise<String[]>;
  6082. previousValues: <T = TrainingPreviousValuesPromise>() => T;
  6083. }
  6084. export interface TrainingSubscriptionPayloadSubscription
  6085. extends Promise<AsyncIterator<TrainingSubscriptionPayload>>,
  6086. Fragmentable {
  6087. mutation: () => Promise<AsyncIterator<MutationType>>;
  6088. node: <T = TrainingSubscription>() => T;
  6089. updatedFields: () => Promise<AsyncIterator<String[]>>;
  6090. previousValues: <T = TrainingPreviousValuesSubscription>() => T;
  6091. }
  6092. export interface TrainingPreviousValues {
  6093. id: ID_Output;
  6094. title: String;
  6095. createdAt: DateTimeOutput;
  6096. trainingDate: DateTimeOutput;
  6097. location: String;
  6098. attendance?: Int;
  6099. published: Boolean;
  6100. }
  6101. export interface TrainingPreviousValuesPromise
  6102. extends Promise<TrainingPreviousValues>,
  6103. Fragmentable {
  6104. id: () => Promise<ID_Output>;
  6105. title: () => Promise<String>;
  6106. createdAt: () => Promise<DateTimeOutput>;
  6107. trainingDate: () => Promise<DateTimeOutput>;
  6108. location: () => Promise<String>;
  6109. attendance: () => Promise<Int>;
  6110. published: () => Promise<Boolean>;
  6111. }
  6112. export interface TrainingPreviousValuesSubscription
  6113. extends Promise<AsyncIterator<TrainingPreviousValues>>,
  6114. Fragmentable {
  6115. id: () => Promise<AsyncIterator<ID_Output>>;
  6116. title: () => Promise<AsyncIterator<String>>;
  6117. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  6118. trainingDate: () => Promise<AsyncIterator<DateTimeOutput>>;
  6119. location: () => Promise<AsyncIterator<String>>;
  6120. attendance: () => Promise<AsyncIterator<Int>>;
  6121. published: () => Promise<AsyncIterator<Boolean>>;
  6122. }
  6123. export interface TrainingTypeSubscriptionPayload {
  6124. mutation: MutationType;
  6125. node: TrainingType;
  6126. updatedFields: String[];
  6127. previousValues: TrainingTypePreviousValues;
  6128. }
  6129. export interface TrainingTypeSubscriptionPayloadPromise
  6130. extends Promise<TrainingTypeSubscriptionPayload>,
  6131. Fragmentable {
  6132. mutation: () => Promise<MutationType>;
  6133. node: <T = TrainingTypePromise>() => T;
  6134. updatedFields: () => Promise<String[]>;
  6135. previousValues: <T = TrainingTypePreviousValuesPromise>() => T;
  6136. }
  6137. export interface TrainingTypeSubscriptionPayloadSubscription
  6138. extends Promise<AsyncIterator<TrainingTypeSubscriptionPayload>>,
  6139. Fragmentable {
  6140. mutation: () => Promise<AsyncIterator<MutationType>>;
  6141. node: <T = TrainingTypeSubscription>() => T;
  6142. updatedFields: () => Promise<AsyncIterator<String[]>>;
  6143. previousValues: <T = TrainingTypePreviousValuesSubscription>() => T;
  6144. }
  6145. export interface TrainingTypePreviousValues {
  6146. id: ID_Output;
  6147. name: String;
  6148. description: String;
  6149. }
  6150. export interface TrainingTypePreviousValuesPromise
  6151. extends Promise<TrainingTypePreviousValues>,
  6152. Fragmentable {
  6153. id: () => Promise<ID_Output>;
  6154. name: () => Promise<String>;
  6155. description: () => Promise<String>;
  6156. }
  6157. export interface TrainingTypePreviousValuesSubscription
  6158. extends Promise<AsyncIterator<TrainingTypePreviousValues>>,
  6159. Fragmentable {
  6160. id: () => Promise<AsyncIterator<ID_Output>>;
  6161. name: () => Promise<AsyncIterator<String>>;
  6162. description: () => Promise<AsyncIterator<String>>;
  6163. }
  6164. export interface UserSubscriptionPayload {
  6165. mutation: MutationType;
  6166. node: User;
  6167. updatedFields: String[];
  6168. previousValues: UserPreviousValues;
  6169. }
  6170. export interface UserSubscriptionPayloadPromise
  6171. extends Promise<UserSubscriptionPayload>,
  6172. Fragmentable {
  6173. mutation: () => Promise<MutationType>;
  6174. node: <T = UserPromise>() => T;
  6175. updatedFields: () => Promise<String[]>;
  6176. previousValues: <T = UserPreviousValuesPromise>() => T;
  6177. }
  6178. export interface UserSubscriptionPayloadSubscription
  6179. extends Promise<AsyncIterator<UserSubscriptionPayload>>,
  6180. Fragmentable {
  6181. mutation: () => Promise<AsyncIterator<MutationType>>;
  6182. node: <T = UserSubscription>() => T;
  6183. updatedFields: () => Promise<AsyncIterator<String[]>>;
  6184. previousValues: <T = UserPreviousValuesSubscription>() => T;
  6185. }
  6186. export interface UserPreviousValues {
  6187. id: ID_Output;
  6188. email: String;
  6189. name: String;
  6190. password: String;
  6191. resetToken?: String;
  6192. resetTokenExpiry?: Float;
  6193. createdAt: DateTimeOutput;
  6194. permissions: Permission[];
  6195. interests: String[];
  6196. }
  6197. export interface UserPreviousValuesPromise
  6198. extends Promise<UserPreviousValues>,
  6199. Fragmentable {
  6200. id: () => Promise<ID_Output>;
  6201. email: () => Promise<String>;
  6202. name: () => Promise<String>;
  6203. password: () => Promise<String>;
  6204. resetToken: () => Promise<String>;
  6205. resetTokenExpiry: () => Promise<Float>;
  6206. createdAt: () => Promise<DateTimeOutput>;
  6207. permissions: () => Promise<Permission[]>;
  6208. interests: () => Promise<String[]>;
  6209. }
  6210. export interface UserPreviousValuesSubscription
  6211. extends Promise<AsyncIterator<UserPreviousValues>>,
  6212. Fragmentable {
  6213. id: () => Promise<AsyncIterator<ID_Output>>;
  6214. email: () => Promise<AsyncIterator<String>>;
  6215. name: () => Promise<AsyncIterator<String>>;
  6216. password: () => Promise<AsyncIterator<String>>;
  6217. resetToken: () => Promise<AsyncIterator<String>>;
  6218. resetTokenExpiry: () => Promise<AsyncIterator<Float>>;
  6219. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  6220. permissions: () => Promise<AsyncIterator<Permission[]>>;
  6221. interests: () => Promise<AsyncIterator<String[]>>;
  6222. }
  6223. export interface VideoSubscriptionPayload {
  6224. mutation: MutationType;
  6225. node: Video;
  6226. updatedFields: String[];
  6227. previousValues: VideoPreviousValues;
  6228. }
  6229. export interface VideoSubscriptionPayloadPromise
  6230. extends Promise<VideoSubscriptionPayload>,
  6231. Fragmentable {
  6232. mutation: () => Promise<MutationType>;
  6233. node: <T = VideoPromise>() => T;
  6234. updatedFields: () => Promise<String[]>;
  6235. previousValues: <T = VideoPreviousValuesPromise>() => T;
  6236. }
  6237. export interface VideoSubscriptionPayloadSubscription
  6238. extends Promise<AsyncIterator<VideoSubscriptionPayload>>,
  6239. Fragmentable {
  6240. mutation: () => Promise<AsyncIterator<MutationType>>;
  6241. node: <T = VideoSubscription>() => T;
  6242. updatedFields: () => Promise<AsyncIterator<String[]>>;
  6243. previousValues: <T = VideoPreviousValuesSubscription>() => T;
  6244. }
  6245. export interface VideoPreviousValues {
  6246. id: ID_Output;
  6247. createdAt: DateTimeOutput;
  6248. updatedAt: DateTimeOutput;
  6249. order: Int;
  6250. }
  6251. export interface VideoPreviousValuesPromise
  6252. extends Promise<VideoPreviousValues>,
  6253. Fragmentable {
  6254. id: () => Promise<ID_Output>;
  6255. createdAt: () => Promise<DateTimeOutput>;
  6256. updatedAt: () => Promise<DateTimeOutput>;
  6257. order: () => Promise<Int>;
  6258. }
  6259. export interface VideoPreviousValuesSubscription
  6260. extends Promise<AsyncIterator<VideoPreviousValues>>,
  6261. Fragmentable {
  6262. id: () => Promise<AsyncIterator<ID_Output>>;
  6263. createdAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  6264. updatedAt: () => Promise<AsyncIterator<DateTimeOutput>>;
  6265. order: () => Promise<AsyncIterator<Int>>;
  6266. }
  6267. /*
  6268. 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.
  6269. */
  6270. export type ID_Input = string | number;
  6271. export type ID_Output = string;
  6272. /*
  6273. 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.
  6274. */
  6275. export type String = string;
  6276. /*
  6277. The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
  6278. */
  6279. export type Int = number;
  6280. /*
  6281. DateTime scalar input type, allowing Date
  6282. */
  6283. export type DateTimeInput = Date | string;
  6284. /*
  6285. DateTime scalar output type, which is always a string
  6286. */
  6287. export type DateTimeOutput = string;
  6288. /*
  6289. The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
  6290. */
  6291. export type Float = number;
  6292. /*
  6293. The `Boolean` scalar type represents `true` or `false`.
  6294. */
  6295. export type Boolean = boolean;
  6296. export type Long = string;
  6297. /**
  6298. * Model Metadata
  6299. */
  6300. export const models: Model[] = [
  6301. {
  6302. name: "User",
  6303. embedded: false
  6304. },
  6305. {
  6306. name: "Permission",
  6307. embedded: false
  6308. },
  6309. {
  6310. name: "Training",
  6311. embedded: false
  6312. },
  6313. {
  6314. name: "TrainingType",
  6315. embedded: false
  6316. },
  6317. {
  6318. name: "Block",
  6319. embedded: false
  6320. },
  6321. {
  6322. name: "BlockInstance",
  6323. embedded: false
  6324. },
  6325. {
  6326. name: "Format",
  6327. embedded: false
  6328. },
  6329. {
  6330. name: "Picture",
  6331. embedded: false
  6332. },
  6333. {
  6334. name: "Video",
  6335. embedded: false
  6336. },
  6337. {
  6338. name: "Track",
  6339. embedded: false
  6340. },
  6341. {
  6342. name: "File",
  6343. embedded: false
  6344. },
  6345. {
  6346. name: "Link",
  6347. embedded: false
  6348. },
  6349. {
  6350. name: "Exercise",
  6351. embedded: false
  6352. },
  6353. {
  6354. name: "ExerciseInstance",
  6355. embedded: false
  6356. },
  6357. {
  6358. name: "Rating",
  6359. embedded: false
  6360. },
  6361. {
  6362. name: "Comment",
  6363. embedded: false
  6364. }
  6365. ];
  6366. /**
  6367. * Type Defs
  6368. */
  6369. export const Prisma = makePrismaClientClass<ClientConstructor<Prisma>>({
  6370. typeDefs,
  6371. models,
  6372. endpoint: `http://prisma:4466`,
  6373. secret: `PrismaSecret`
  6374. });
  6375. export const prisma = new Prisma();