index.tsx 244 KB

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