index.ts 197 KB

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