12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341 |
- /* eslint-disable */
- import { gql } from '@apollo/client';
- import * as ApolloReactCommon from '@apollo/react-common';
- import * as ApolloReactHooks from '@apollo/client';
- export type Maybe<T> = T | undefined;
- /** All built-in and custom scalars, mapped to their actual values */
- export type Scalars = {
- ID: string,
- String: string,
- Boolean: boolean,
- Int: number,
- Float: number,
- DateTime: any,
- Upload: any,
- };
- export type AggregateTraining = {
- count: Scalars['Int'],
- };
- export type Block = Node & {
- id: Scalars['ID'],
- title: Scalars['String'],
- description?: Maybe<Scalars['String']>,
- duration?: Maybe<Scalars['Int']>,
- format: Format,
- rest?: Maybe<Scalars['Int']>,
- tracks?: Maybe<Array<Track>>,
- videos?: Maybe<Array<Video>>,
- pictures?: Maybe<Array<Picture>>,
- blocks?: Maybe<Array<BlockInstance>>,
- parentBlockInstances?: Maybe<Array<BlockInstance>>,
- exercises?: Maybe<Array<ExerciseInstance>>,
- };
- export type BlockTracksArgs = {
- where?: Maybe<TrackWhereInput>,
- orderBy?: Maybe<TrackOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type BlockVideosArgs = {
- where?: Maybe<VideoWhereInput>,
- orderBy?: Maybe<VideoOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type BlockPicturesArgs = {
- where?: Maybe<PictureWhereInput>,
- orderBy?: Maybe<PictureOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type BlockBlocksArgs = {
- where?: Maybe<BlockInstanceWhereInput>,
- orderBy?: Maybe<BlockInstanceOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type BlockParentBlockInstancesArgs = {
- where?: Maybe<BlockInstanceWhereInput>,
- orderBy?: Maybe<BlockInstanceOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type BlockExercisesArgs = {
- where?: Maybe<ExerciseInstanceWhereInput>,
- orderBy?: Maybe<ExerciseInstanceOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type BlockCreateOneWithoutBlocksInput = {
- create?: Maybe<BlockCreateWithoutBlocksInput>,
- connect?: Maybe<BlockWhereUniqueInput>,
- };
- export type BlockCreateOneWithoutParentBlockInstancesInput = {
- create?: Maybe<BlockCreateWithoutParentBlockInstancesInput>,
- connect?: Maybe<BlockWhereUniqueInput>,
- };
- export type BlockCreateWithoutBlocksInput = {
- id?: Maybe<Scalars['ID']>,
- title: Scalars['String'],
- description?: Maybe<Scalars['String']>,
- duration?: Maybe<Scalars['Int']>,
- rest?: Maybe<Scalars['Int']>,
- format: FormatCreateOneInput,
- tracks?: Maybe<TrackCreateManyInput>,
- videos?: Maybe<VideoCreateManyInput>,
- pictures?: Maybe<PictureCreateManyInput>,
- parentBlockInstances?: Maybe<BlockInstanceCreateManyWithoutBlockInput>,
- exercises?: Maybe<ExerciseInstanceCreateManyWithoutParentBlockInstancesInput>,
- };
- export type BlockCreateWithoutParentBlockInstancesInput = {
- id?: Maybe<Scalars['ID']>,
- title: Scalars['String'],
- description?: Maybe<Scalars['String']>,
- duration?: Maybe<Scalars['Int']>,
- rest?: Maybe<Scalars['Int']>,
- format: FormatCreateOneInput,
- tracks?: Maybe<TrackCreateManyInput>,
- videos?: Maybe<VideoCreateManyInput>,
- pictures?: Maybe<PictureCreateManyInput>,
- blocks?: Maybe<BlockInstanceCreateManyWithoutParentBlockInput>,
- exercises?: Maybe<ExerciseInstanceCreateManyWithoutParentBlockInstancesInput>,
- };
- export type BlockInstance = Node & {
- id: Scalars['ID'],
- block: Block,
- parentBlock?: Maybe<Block>,
- parentTraining?: Maybe<Training>,
- order: Scalars['Int'],
- rounds?: Maybe<Scalars['Int']>,
- variation?: Maybe<Scalars['String']>,
- };
- export type BlockInstanceCreateManyWithoutBlockInput = {
- create?: Maybe<Array<BlockInstanceCreateWithoutBlockInput>>,
- connect?: Maybe<Array<BlockInstanceWhereUniqueInput>>,
- };
- export type BlockInstanceCreateManyWithoutParentBlockInput = {
- create?: Maybe<Array<BlockInstanceCreateWithoutParentBlockInput>>,
- connect?: Maybe<Array<BlockInstanceWhereUniqueInput>>,
- };
- export type BlockInstanceCreateManyWithoutParentTrainingInput = {
- create?: Maybe<Array<BlockInstanceCreateWithoutParentTrainingInput>>,
- connect?: Maybe<Array<BlockInstanceWhereUniqueInput>>,
- };
- export type BlockInstanceCreateWithoutBlockInput = {
- id?: Maybe<Scalars['ID']>,
- order: Scalars['Int'],
- rounds?: Maybe<Scalars['Int']>,
- variation?: Maybe<Scalars['String']>,
- parentBlock?: Maybe<BlockCreateOneWithoutBlocksInput>,
- parentTraining?: Maybe<TrainingCreateOneWithoutBlocksInput>,
- };
- export type BlockInstanceCreateWithoutParentBlockInput = {
- id?: Maybe<Scalars['ID']>,
- order: Scalars['Int'],
- rounds?: Maybe<Scalars['Int']>,
- variation?: Maybe<Scalars['String']>,
- block: BlockCreateOneWithoutParentBlockInstancesInput,
- parentTraining?: Maybe<TrainingCreateOneWithoutBlocksInput>,
- };
- export type BlockInstanceCreateWithoutParentTrainingInput = {
- id?: Maybe<Scalars['ID']>,
- order: Scalars['Int'],
- rounds?: Maybe<Scalars['Int']>,
- variation?: Maybe<Scalars['String']>,
- block: BlockCreateOneWithoutParentBlockInstancesInput,
- parentBlock?: Maybe<BlockCreateOneWithoutBlocksInput>,
- };
- export enum BlockInstanceOrderByInput {
- IdAsc = 'id_ASC',
- IdDesc = 'id_DESC',
- OrderAsc = 'order_ASC',
- OrderDesc = 'order_DESC',
- RoundsAsc = 'rounds_ASC',
- RoundsDesc = 'rounds_DESC',
- VariationAsc = 'variation_ASC',
- VariationDesc = 'variation_DESC'
- }
- export type BlockInstanceScalarWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<BlockInstanceScalarWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<BlockInstanceScalarWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<BlockInstanceScalarWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- order?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- order_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- order_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- order_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- order_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- order_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- order_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- order_gte?: Maybe<Scalars['Int']>,
- rounds?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- rounds_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- rounds_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- rounds_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- rounds_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- rounds_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- rounds_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- rounds_gte?: Maybe<Scalars['Int']>,
- variation?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- variation_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- variation_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- variation_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- variation_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- variation_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- variation_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- variation_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- variation_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- variation_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- variation_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- variation_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- variation_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- variation_not_ends_with?: Maybe<Scalars['String']>,
- };
- export type BlockInstanceUpdateManyDataInput = {
- order?: Maybe<Scalars['Int']>,
- rounds?: Maybe<Scalars['Int']>,
- variation?: Maybe<Scalars['String']>,
- };
- export type BlockInstanceUpdateManyWithoutBlockInput = {
- create?: Maybe<Array<BlockInstanceCreateWithoutBlockInput>>,
- connect?: Maybe<Array<BlockInstanceWhereUniqueInput>>,
- set?: Maybe<Array<BlockInstanceWhereUniqueInput>>,
- disconnect?: Maybe<Array<BlockInstanceWhereUniqueInput>>,
- delete?: Maybe<Array<BlockInstanceWhereUniqueInput>>,
- update?: Maybe<Array<BlockInstanceUpdateWithWhereUniqueWithoutBlockInput>>,
- updateMany?: Maybe<Array<BlockInstanceUpdateManyWithWhereNestedInput>>,
- deleteMany?: Maybe<Array<BlockInstanceScalarWhereInput>>,
- upsert?: Maybe<Array<BlockInstanceUpsertWithWhereUniqueWithoutBlockInput>>,
- };
- export type BlockInstanceUpdateManyWithoutParentBlockInput = {
- create?: Maybe<Array<BlockInstanceCreateWithoutParentBlockInput>>,
- connect?: Maybe<Array<BlockInstanceWhereUniqueInput>>,
- set?: Maybe<Array<BlockInstanceWhereUniqueInput>>,
- disconnect?: Maybe<Array<BlockInstanceWhereUniqueInput>>,
- delete?: Maybe<Array<BlockInstanceWhereUniqueInput>>,
- update?: Maybe<Array<BlockInstanceUpdateWithWhereUniqueWithoutParentBlockInput>>,
- updateMany?: Maybe<Array<BlockInstanceUpdateManyWithWhereNestedInput>>,
- deleteMany?: Maybe<Array<BlockInstanceScalarWhereInput>>,
- upsert?: Maybe<Array<BlockInstanceUpsertWithWhereUniqueWithoutParentBlockInput>>,
- };
- export type BlockInstanceUpdateManyWithoutParentTrainingInput = {
- create?: Maybe<Array<BlockInstanceCreateWithoutParentTrainingInput>>,
- connect?: Maybe<Array<BlockInstanceWhereUniqueInput>>,
- set?: Maybe<Array<BlockInstanceWhereUniqueInput>>,
- disconnect?: Maybe<Array<BlockInstanceWhereUniqueInput>>,
- delete?: Maybe<Array<BlockInstanceWhereUniqueInput>>,
- update?: Maybe<Array<BlockInstanceUpdateWithWhereUniqueWithoutParentTrainingInput>>,
- updateMany?: Maybe<Array<BlockInstanceUpdateManyWithWhereNestedInput>>,
- deleteMany?: Maybe<Array<BlockInstanceScalarWhereInput>>,
- upsert?: Maybe<Array<BlockInstanceUpsertWithWhereUniqueWithoutParentTrainingInput>>,
- };
- export type BlockInstanceUpdateManyWithWhereNestedInput = {
- where: BlockInstanceScalarWhereInput,
- data: BlockInstanceUpdateManyDataInput,
- };
- export type BlockInstanceUpdateWithoutBlockDataInput = {
- order?: Maybe<Scalars['Int']>,
- rounds?: Maybe<Scalars['Int']>,
- variation?: Maybe<Scalars['String']>,
- parentBlock?: Maybe<BlockUpdateOneWithoutBlocksInput>,
- parentTraining?: Maybe<TrainingUpdateOneWithoutBlocksInput>,
- };
- export type BlockInstanceUpdateWithoutParentBlockDataInput = {
- order?: Maybe<Scalars['Int']>,
- rounds?: Maybe<Scalars['Int']>,
- variation?: Maybe<Scalars['String']>,
- block?: Maybe<BlockUpdateOneRequiredWithoutParentBlockInstancesInput>,
- parentTraining?: Maybe<TrainingUpdateOneWithoutBlocksInput>,
- };
- export type BlockInstanceUpdateWithoutParentTrainingDataInput = {
- order?: Maybe<Scalars['Int']>,
- rounds?: Maybe<Scalars['Int']>,
- variation?: Maybe<Scalars['String']>,
- block?: Maybe<BlockUpdateOneRequiredWithoutParentBlockInstancesInput>,
- parentBlock?: Maybe<BlockUpdateOneWithoutBlocksInput>,
- };
- export type BlockInstanceUpdateWithWhereUniqueWithoutBlockInput = {
- where: BlockInstanceWhereUniqueInput,
- data: BlockInstanceUpdateWithoutBlockDataInput,
- };
- export type BlockInstanceUpdateWithWhereUniqueWithoutParentBlockInput = {
- where: BlockInstanceWhereUniqueInput,
- data: BlockInstanceUpdateWithoutParentBlockDataInput,
- };
- export type BlockInstanceUpdateWithWhereUniqueWithoutParentTrainingInput = {
- where: BlockInstanceWhereUniqueInput,
- data: BlockInstanceUpdateWithoutParentTrainingDataInput,
- };
- export type BlockInstanceUpsertWithWhereUniqueWithoutBlockInput = {
- where: BlockInstanceWhereUniqueInput,
- update: BlockInstanceUpdateWithoutBlockDataInput,
- create: BlockInstanceCreateWithoutBlockInput,
- };
- export type BlockInstanceUpsertWithWhereUniqueWithoutParentBlockInput = {
- where: BlockInstanceWhereUniqueInput,
- update: BlockInstanceUpdateWithoutParentBlockDataInput,
- create: BlockInstanceCreateWithoutParentBlockInput,
- };
- export type BlockInstanceUpsertWithWhereUniqueWithoutParentTrainingInput = {
- where: BlockInstanceWhereUniqueInput,
- update: BlockInstanceUpdateWithoutParentTrainingDataInput,
- create: BlockInstanceCreateWithoutParentTrainingInput,
- };
- export type BlockInstanceWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<BlockInstanceWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<BlockInstanceWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<BlockInstanceWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- order?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- order_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- order_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- order_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- order_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- order_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- order_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- order_gte?: Maybe<Scalars['Int']>,
- rounds?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- rounds_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- rounds_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- rounds_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- rounds_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- rounds_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- rounds_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- rounds_gte?: Maybe<Scalars['Int']>,
- variation?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- variation_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- variation_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- variation_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- variation_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- variation_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- variation_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- variation_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- variation_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- variation_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- variation_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- variation_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- variation_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- variation_not_ends_with?: Maybe<Scalars['String']>,
- block?: Maybe<BlockWhereInput>,
- parentBlock?: Maybe<BlockWhereInput>,
- parentTraining?: Maybe<TrainingWhereInput>,
- };
- export type BlockInstanceWhereUniqueInput = {
- id?: Maybe<Scalars['ID']>,
- };
- export enum BlockOrderByInput {
- IdAsc = 'id_ASC',
- IdDesc = 'id_DESC',
- TitleAsc = 'title_ASC',
- TitleDesc = 'title_DESC',
- DescriptionAsc = 'description_ASC',
- DescriptionDesc = 'description_DESC',
- DurationAsc = 'duration_ASC',
- DurationDesc = 'duration_DESC',
- RestAsc = 'rest_ASC',
- RestDesc = 'rest_DESC'
- }
- export type BlockUpdateOneRequiredWithoutParentBlockInstancesInput = {
- create?: Maybe<BlockCreateWithoutParentBlockInstancesInput>,
- connect?: Maybe<BlockWhereUniqueInput>,
- update?: Maybe<BlockUpdateWithoutParentBlockInstancesDataInput>,
- upsert?: Maybe<BlockUpsertWithoutParentBlockInstancesInput>,
- };
- export type BlockUpdateOneWithoutBlocksInput = {
- create?: Maybe<BlockCreateWithoutBlocksInput>,
- connect?: Maybe<BlockWhereUniqueInput>,
- disconnect?: Maybe<Scalars['Boolean']>,
- delete?: Maybe<Scalars['Boolean']>,
- update?: Maybe<BlockUpdateWithoutBlocksDataInput>,
- upsert?: Maybe<BlockUpsertWithoutBlocksInput>,
- };
- export type BlockUpdateWithoutBlocksDataInput = {
- title?: Maybe<Scalars['String']>,
- description?: Maybe<Scalars['String']>,
- duration?: Maybe<Scalars['Int']>,
- rest?: Maybe<Scalars['Int']>,
- format?: Maybe<FormatUpdateOneRequiredInput>,
- tracks?: Maybe<TrackUpdateManyInput>,
- videos?: Maybe<VideoUpdateManyInput>,
- pictures?: Maybe<PictureUpdateManyInput>,
- parentBlockInstances?: Maybe<BlockInstanceUpdateManyWithoutBlockInput>,
- exercises?: Maybe<ExerciseInstanceUpdateManyWithoutParentBlockInstancesInput>,
- };
- export type BlockUpdateWithoutParentBlockInstancesDataInput = {
- title?: Maybe<Scalars['String']>,
- description?: Maybe<Scalars['String']>,
- duration?: Maybe<Scalars['Int']>,
- rest?: Maybe<Scalars['Int']>,
- format?: Maybe<FormatUpdateOneRequiredInput>,
- tracks?: Maybe<TrackUpdateManyInput>,
- videos?: Maybe<VideoUpdateManyInput>,
- pictures?: Maybe<PictureUpdateManyInput>,
- blocks?: Maybe<BlockInstanceUpdateManyWithoutParentBlockInput>,
- exercises?: Maybe<ExerciseInstanceUpdateManyWithoutParentBlockInstancesInput>,
- };
- export type BlockUpsertWithoutBlocksInput = {
- update: BlockUpdateWithoutBlocksDataInput,
- create: BlockCreateWithoutBlocksInput,
- };
- export type BlockUpsertWithoutParentBlockInstancesInput = {
- update: BlockUpdateWithoutParentBlockInstancesDataInput,
- create: BlockCreateWithoutParentBlockInstancesInput,
- };
- export type BlockWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<BlockWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<BlockWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<BlockWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- title?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- title_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- title_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- title_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- title_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- title_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- title_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- title_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- title_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- title_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- title_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- title_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- title_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- title_not_ends_with?: Maybe<Scalars['String']>,
- description?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- description_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- description_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- description_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- description_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- description_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- description_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- description_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- description_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- description_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- description_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- description_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- description_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- description_not_ends_with?: Maybe<Scalars['String']>,
- duration?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- duration_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- duration_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- duration_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- duration_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- duration_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- duration_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- duration_gte?: Maybe<Scalars['Int']>,
- rest?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- rest_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- rest_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- rest_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- rest_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- rest_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- rest_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- rest_gte?: Maybe<Scalars['Int']>,
- format?: Maybe<FormatWhereInput>,
- tracks_every?: Maybe<TrackWhereInput>,
- tracks_some?: Maybe<TrackWhereInput>,
- tracks_none?: Maybe<TrackWhereInput>,
- videos_every?: Maybe<VideoWhereInput>,
- videos_some?: Maybe<VideoWhereInput>,
- videos_none?: Maybe<VideoWhereInput>,
- pictures_every?: Maybe<PictureWhereInput>,
- pictures_some?: Maybe<PictureWhereInput>,
- pictures_none?: Maybe<PictureWhereInput>,
- blocks_every?: Maybe<BlockInstanceWhereInput>,
- blocks_some?: Maybe<BlockInstanceWhereInput>,
- blocks_none?: Maybe<BlockInstanceWhereInput>,
- parentBlockInstances_every?: Maybe<BlockInstanceWhereInput>,
- parentBlockInstances_some?: Maybe<BlockInstanceWhereInput>,
- parentBlockInstances_none?: Maybe<BlockInstanceWhereInput>,
- exercises_every?: Maybe<ExerciseInstanceWhereInput>,
- exercises_some?: Maybe<ExerciseInstanceWhereInput>,
- exercises_none?: Maybe<ExerciseInstanceWhereInput>,
- };
- export type BlockWhereUniqueInput = {
- id?: Maybe<Scalars['ID']>,
- };
- export type Comment = Node & {
- id: Scalars['ID'],
- text: Scalars['String'],
- author: User,
- createdAt: Scalars['DateTime'],
- };
- export type CommentCreateManyWithoutAuthorInput = {
- create?: Maybe<Array<CommentCreateWithoutAuthorInput>>,
- connect?: Maybe<Array<CommentWhereUniqueInput>>,
- };
- export type CommentCreateWithoutAuthorInput = {
- id?: Maybe<Scalars['ID']>,
- text: Scalars['String'],
- };
- export enum CommentOrderByInput {
- IdAsc = 'id_ASC',
- IdDesc = 'id_DESC',
- TextAsc = 'text_ASC',
- TextDesc = 'text_DESC',
- CreatedAtAsc = 'createdAt_ASC',
- CreatedAtDesc = 'createdAt_DESC'
- }
- export type CommentScalarWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<CommentScalarWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<CommentScalarWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<CommentScalarWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- text?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- text_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- text_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- text_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- text_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- text_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- text_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- text_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- text_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- text_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- text_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- text_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- text_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- text_not_ends_with?: Maybe<Scalars['String']>,
- createdAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- createdAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- createdAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- createdAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- createdAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- createdAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- createdAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- createdAt_gte?: Maybe<Scalars['DateTime']>,
- };
- export type CommentUpdateManyDataInput = {
- text?: Maybe<Scalars['String']>,
- };
- export type CommentUpdateManyWithoutAuthorInput = {
- create?: Maybe<Array<CommentCreateWithoutAuthorInput>>,
- connect?: Maybe<Array<CommentWhereUniqueInput>>,
- set?: Maybe<Array<CommentWhereUniqueInput>>,
- disconnect?: Maybe<Array<CommentWhereUniqueInput>>,
- delete?: Maybe<Array<CommentWhereUniqueInput>>,
- update?: Maybe<Array<CommentUpdateWithWhereUniqueWithoutAuthorInput>>,
- updateMany?: Maybe<Array<CommentUpdateManyWithWhereNestedInput>>,
- deleteMany?: Maybe<Array<CommentScalarWhereInput>>,
- upsert?: Maybe<Array<CommentUpsertWithWhereUniqueWithoutAuthorInput>>,
- };
- export type CommentUpdateManyWithWhereNestedInput = {
- where: CommentScalarWhereInput,
- data: CommentUpdateManyDataInput,
- };
- export type CommentUpdateWithoutAuthorDataInput = {
- text?: Maybe<Scalars['String']>,
- };
- export type CommentUpdateWithWhereUniqueWithoutAuthorInput = {
- where: CommentWhereUniqueInput,
- data: CommentUpdateWithoutAuthorDataInput,
- };
- export type CommentUpsertWithWhereUniqueWithoutAuthorInput = {
- where: CommentWhereUniqueInput,
- update: CommentUpdateWithoutAuthorDataInput,
- create: CommentCreateWithoutAuthorInput,
- };
- export type CommentWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<CommentWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<CommentWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<CommentWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- text?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- text_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- text_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- text_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- text_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- text_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- text_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- text_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- text_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- text_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- text_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- text_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- text_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- text_not_ends_with?: Maybe<Scalars['String']>,
- createdAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- createdAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- createdAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- createdAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- createdAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- createdAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- createdAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- createdAt_gte?: Maybe<Scalars['DateTime']>,
- author?: Maybe<UserWhereInput>,
- };
- export type CommentWhereUniqueInput = {
- id?: Maybe<Scalars['ID']>,
- };
- export type Exercise = Node & {
- id: Scalars['ID'],
- name: Scalars['String'],
- description?: Maybe<Scalars['String']>,
- videos?: Maybe<Array<Video>>,
- pictures?: Maybe<Array<Picture>>,
- targets: Array<Scalars['String']>,
- baseExercise: Array<Scalars['String']>,
- parentExerciseInstances?: Maybe<Array<ExerciseInstance>>,
- };
- export type ExerciseVideosArgs = {
- where?: Maybe<VideoWhereInput>,
- orderBy?: Maybe<VideoOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type ExercisePicturesArgs = {
- where?: Maybe<PictureWhereInput>,
- orderBy?: Maybe<PictureOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type ExerciseParentExerciseInstancesArgs = {
- where?: Maybe<ExerciseInstanceWhereInput>,
- orderBy?: Maybe<ExerciseInstanceOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type ExerciseCreatebaseExerciseInput = {
- set?: Maybe<Array<Scalars['String']>>,
- };
- export type ExerciseCreateOneWithoutParentExerciseInstancesInput = {
- create?: Maybe<ExerciseCreateWithoutParentExerciseInstancesInput>,
- connect?: Maybe<ExerciseWhereUniqueInput>,
- };
- export type ExerciseCreatetargetsInput = {
- set?: Maybe<Array<Scalars['String']>>,
- };
- export type ExerciseCreateWithoutParentExerciseInstancesInput = {
- id?: Maybe<Scalars['ID']>,
- name: Scalars['String'],
- description?: Maybe<Scalars['String']>,
- targets?: Maybe<ExerciseCreatetargetsInput>,
- baseExercise?: Maybe<ExerciseCreatebaseExerciseInput>,
- videos?: Maybe<VideoCreateManyInput>,
- pictures?: Maybe<PictureCreateManyInput>,
- };
- export type ExerciseInstance = Node & {
- id: Scalars['ID'],
- exercise: Exercise,
- order: Scalars['Int'],
- repetitions?: Maybe<Scalars['Int']>,
- variation?: Maybe<Scalars['String']>,
- parentBlockInstances: Block,
- };
- export type ExerciseInstanceCreateManyWithoutParentBlockInstancesInput = {
- create?: Maybe<Array<ExerciseInstanceCreateWithoutParentBlockInstancesInput>>,
- connect?: Maybe<Array<ExerciseInstanceWhereUniqueInput>>,
- };
- export type ExerciseInstanceCreateWithoutParentBlockInstancesInput = {
- id?: Maybe<Scalars['ID']>,
- order: Scalars['Int'],
- repetitions?: Maybe<Scalars['Int']>,
- variation?: Maybe<Scalars['String']>,
- exercise: ExerciseCreateOneWithoutParentExerciseInstancesInput,
- };
- export enum ExerciseInstanceOrderByInput {
- IdAsc = 'id_ASC',
- IdDesc = 'id_DESC',
- OrderAsc = 'order_ASC',
- OrderDesc = 'order_DESC',
- RepetitionsAsc = 'repetitions_ASC',
- RepetitionsDesc = 'repetitions_DESC',
- VariationAsc = 'variation_ASC',
- VariationDesc = 'variation_DESC'
- }
- export type ExerciseInstanceScalarWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<ExerciseInstanceScalarWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<ExerciseInstanceScalarWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<ExerciseInstanceScalarWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- order?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- order_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- order_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- order_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- order_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- order_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- order_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- order_gte?: Maybe<Scalars['Int']>,
- repetitions?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- repetitions_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- repetitions_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- repetitions_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- repetitions_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- repetitions_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- repetitions_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- repetitions_gte?: Maybe<Scalars['Int']>,
- variation?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- variation_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- variation_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- variation_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- variation_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- variation_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- variation_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- variation_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- variation_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- variation_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- variation_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- variation_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- variation_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- variation_not_ends_with?: Maybe<Scalars['String']>,
- };
- export type ExerciseInstanceUpdateManyDataInput = {
- order?: Maybe<Scalars['Int']>,
- repetitions?: Maybe<Scalars['Int']>,
- variation?: Maybe<Scalars['String']>,
- };
- export type ExerciseInstanceUpdateManyWithoutParentBlockInstancesInput = {
- create?: Maybe<Array<ExerciseInstanceCreateWithoutParentBlockInstancesInput>>,
- connect?: Maybe<Array<ExerciseInstanceWhereUniqueInput>>,
- set?: Maybe<Array<ExerciseInstanceWhereUniqueInput>>,
- disconnect?: Maybe<Array<ExerciseInstanceWhereUniqueInput>>,
- delete?: Maybe<Array<ExerciseInstanceWhereUniqueInput>>,
- update?: Maybe<Array<ExerciseInstanceUpdateWithWhereUniqueWithoutParentBlockInstancesInput>>,
- updateMany?: Maybe<Array<ExerciseInstanceUpdateManyWithWhereNestedInput>>,
- deleteMany?: Maybe<Array<ExerciseInstanceScalarWhereInput>>,
- upsert?: Maybe<Array<ExerciseInstanceUpsertWithWhereUniqueWithoutParentBlockInstancesInput>>,
- };
- export type ExerciseInstanceUpdateManyWithWhereNestedInput = {
- where: ExerciseInstanceScalarWhereInput,
- data: ExerciseInstanceUpdateManyDataInput,
- };
- export type ExerciseInstanceUpdateWithoutParentBlockInstancesDataInput = {
- order?: Maybe<Scalars['Int']>,
- repetitions?: Maybe<Scalars['Int']>,
- variation?: Maybe<Scalars['String']>,
- exercise?: Maybe<ExerciseUpdateOneRequiredWithoutParentExerciseInstancesInput>,
- };
- export type ExerciseInstanceUpdateWithWhereUniqueWithoutParentBlockInstancesInput = {
- where: ExerciseInstanceWhereUniqueInput,
- data: ExerciseInstanceUpdateWithoutParentBlockInstancesDataInput,
- };
- export type ExerciseInstanceUpsertWithWhereUniqueWithoutParentBlockInstancesInput = {
- where: ExerciseInstanceWhereUniqueInput,
- update: ExerciseInstanceUpdateWithoutParentBlockInstancesDataInput,
- create: ExerciseInstanceCreateWithoutParentBlockInstancesInput,
- };
- export type ExerciseInstanceWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<ExerciseInstanceWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<ExerciseInstanceWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<ExerciseInstanceWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- order?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- order_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- order_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- order_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- order_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- order_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- order_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- order_gte?: Maybe<Scalars['Int']>,
- repetitions?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- repetitions_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- repetitions_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- repetitions_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- repetitions_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- repetitions_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- repetitions_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- repetitions_gte?: Maybe<Scalars['Int']>,
- variation?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- variation_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- variation_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- variation_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- variation_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- variation_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- variation_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- variation_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- variation_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- variation_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- variation_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- variation_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- variation_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- variation_not_ends_with?: Maybe<Scalars['String']>,
- exercise?: Maybe<ExerciseWhereInput>,
- parentBlockInstances?: Maybe<BlockWhereInput>,
- };
- export type ExerciseInstanceWhereUniqueInput = {
- id?: Maybe<Scalars['ID']>,
- };
- export enum ExerciseOrderByInput {
- IdAsc = 'id_ASC',
- IdDesc = 'id_DESC',
- NameAsc = 'name_ASC',
- NameDesc = 'name_DESC',
- DescriptionAsc = 'description_ASC',
- DescriptionDesc = 'description_DESC'
- }
- export type ExerciseUpdatebaseExerciseInput = {
- set?: Maybe<Array<Scalars['String']>>,
- };
- export type ExerciseUpdateOneRequiredWithoutParentExerciseInstancesInput = {
- create?: Maybe<ExerciseCreateWithoutParentExerciseInstancesInput>,
- connect?: Maybe<ExerciseWhereUniqueInput>,
- update?: Maybe<ExerciseUpdateWithoutParentExerciseInstancesDataInput>,
- upsert?: Maybe<ExerciseUpsertWithoutParentExerciseInstancesInput>,
- };
- export type ExerciseUpdatetargetsInput = {
- set?: Maybe<Array<Scalars['String']>>,
- };
- export type ExerciseUpdateWithoutParentExerciseInstancesDataInput = {
- name?: Maybe<Scalars['String']>,
- description?: Maybe<Scalars['String']>,
- targets?: Maybe<ExerciseUpdatetargetsInput>,
- baseExercise?: Maybe<ExerciseUpdatebaseExerciseInput>,
- videos?: Maybe<VideoUpdateManyInput>,
- pictures?: Maybe<PictureUpdateManyInput>,
- };
- export type ExerciseUpsertWithoutParentExerciseInstancesInput = {
- update: ExerciseUpdateWithoutParentExerciseInstancesDataInput,
- create: ExerciseCreateWithoutParentExerciseInstancesInput,
- };
- export type ExerciseWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<ExerciseWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<ExerciseWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<ExerciseWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- name?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- name_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- name_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- name_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- name_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- name_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- name_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- name_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- name_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- name_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- name_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- name_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- name_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- name_not_ends_with?: Maybe<Scalars['String']>,
- description?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- description_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- description_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- description_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- description_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- description_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- description_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- description_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- description_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- description_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- description_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- description_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- description_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- description_not_ends_with?: Maybe<Scalars['String']>,
- videos_every?: Maybe<VideoWhereInput>,
- videos_some?: Maybe<VideoWhereInput>,
- videos_none?: Maybe<VideoWhereInput>,
- pictures_every?: Maybe<PictureWhereInput>,
- pictures_some?: Maybe<PictureWhereInput>,
- pictures_none?: Maybe<PictureWhereInput>,
- parentExerciseInstances_every?: Maybe<ExerciseInstanceWhereInput>,
- parentExerciseInstances_some?: Maybe<ExerciseInstanceWhereInput>,
- parentExerciseInstances_none?: Maybe<ExerciseInstanceWhereInput>,
- };
- export type ExerciseWhereUniqueInput = {
- id?: Maybe<Scalars['ID']>,
- };
- export type File = Node & {
- id: Scalars['ID'],
- createdAt: Scalars['DateTime'],
- updatedAt: Scalars['DateTime'],
- user: User,
- path: Scalars['String'],
- comment?: Maybe<Scalars['String']>,
- mimetype?: Maybe<Scalars['String']>,
- thumbnail?: Maybe<Scalars['String']>,
- filename?: Maybe<Scalars['String']>,
- encoding?: Maybe<Scalars['String']>,
- size?: Maybe<Scalars['Int']>,
- width?: Maybe<Scalars['Int']>,
- height?: Maybe<Scalars['Int']>,
- duration?: Maybe<Scalars['Float']>,
- title?: Maybe<Scalars['String']>,
- artist?: Maybe<Scalars['String']>,
- };
- export type FileCreateInput = {
- id?: Maybe<Scalars['ID']>,
- path: Scalars['String'],
- comment?: Maybe<Scalars['String']>,
- mimetype?: Maybe<Scalars['String']>,
- thumbnail?: Maybe<Scalars['String']>,
- filename?: Maybe<Scalars['String']>,
- encoding?: Maybe<Scalars['String']>,
- size?: Maybe<Scalars['Int']>,
- width?: Maybe<Scalars['Int']>,
- height?: Maybe<Scalars['Int']>,
- duration?: Maybe<Scalars['Float']>,
- title?: Maybe<Scalars['String']>,
- artist?: Maybe<Scalars['String']>,
- user: UserCreateOneInput,
- };
- export type FileCreateOneInput = {
- create?: Maybe<FileCreateInput>,
- connect?: Maybe<FileWhereUniqueInput>,
- };
- export enum FileOrderByInput {
- IdAsc = 'id_ASC',
- IdDesc = 'id_DESC',
- CreatedAtAsc = 'createdAt_ASC',
- CreatedAtDesc = 'createdAt_DESC',
- UpdatedAtAsc = 'updatedAt_ASC',
- UpdatedAtDesc = 'updatedAt_DESC',
- PathAsc = 'path_ASC',
- PathDesc = 'path_DESC',
- CommentAsc = 'comment_ASC',
- CommentDesc = 'comment_DESC',
- MimetypeAsc = 'mimetype_ASC',
- MimetypeDesc = 'mimetype_DESC',
- ThumbnailAsc = 'thumbnail_ASC',
- ThumbnailDesc = 'thumbnail_DESC',
- FilenameAsc = 'filename_ASC',
- FilenameDesc = 'filename_DESC',
- EncodingAsc = 'encoding_ASC',
- EncodingDesc = 'encoding_DESC',
- SizeAsc = 'size_ASC',
- SizeDesc = 'size_DESC',
- WidthAsc = 'width_ASC',
- WidthDesc = 'width_DESC',
- HeightAsc = 'height_ASC',
- HeightDesc = 'height_DESC',
- DurationAsc = 'duration_ASC',
- DurationDesc = 'duration_DESC',
- TitleAsc = 'title_ASC',
- TitleDesc = 'title_DESC',
- ArtistAsc = 'artist_ASC',
- ArtistDesc = 'artist_DESC'
- }
- export type FileUpdateDataInput = {
- path?: Maybe<Scalars['String']>,
- comment?: Maybe<Scalars['String']>,
- mimetype?: Maybe<Scalars['String']>,
- thumbnail?: Maybe<Scalars['String']>,
- filename?: Maybe<Scalars['String']>,
- encoding?: Maybe<Scalars['String']>,
- size?: Maybe<Scalars['Int']>,
- width?: Maybe<Scalars['Int']>,
- height?: Maybe<Scalars['Int']>,
- duration?: Maybe<Scalars['Float']>,
- title?: Maybe<Scalars['String']>,
- artist?: Maybe<Scalars['String']>,
- user?: Maybe<UserUpdateOneRequiredInput>,
- };
- export type FileUpdateInput = {
- path?: Maybe<Scalars['String']>,
- comment?: Maybe<Scalars['String']>,
- mimetype?: Maybe<Scalars['String']>,
- thumbnail?: Maybe<Scalars['String']>,
- filename?: Maybe<Scalars['String']>,
- encoding?: Maybe<Scalars['String']>,
- size?: Maybe<Scalars['Int']>,
- width?: Maybe<Scalars['Int']>,
- height?: Maybe<Scalars['Int']>,
- duration?: Maybe<Scalars['Float']>,
- title?: Maybe<Scalars['String']>,
- artist?: Maybe<Scalars['String']>,
- user?: Maybe<UserUpdateOneRequiredInput>,
- };
- export type FileUpdateOneInput = {
- create?: Maybe<FileCreateInput>,
- connect?: Maybe<FileWhereUniqueInput>,
- disconnect?: Maybe<Scalars['Boolean']>,
- delete?: Maybe<Scalars['Boolean']>,
- update?: Maybe<FileUpdateDataInput>,
- upsert?: Maybe<FileUpsertNestedInput>,
- };
- export type FileUpsertNestedInput = {
- update: FileUpdateDataInput,
- create: FileCreateInput,
- };
- export type FileWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<FileWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<FileWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<FileWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- createdAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- createdAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- createdAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- createdAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- createdAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- createdAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- createdAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- createdAt_gte?: Maybe<Scalars['DateTime']>,
- updatedAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- updatedAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- updatedAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- updatedAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- updatedAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- updatedAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- updatedAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- updatedAt_gte?: Maybe<Scalars['DateTime']>,
- path?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- path_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- path_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- path_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- path_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- path_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- path_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- path_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- path_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- path_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- path_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- path_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- path_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- path_not_ends_with?: Maybe<Scalars['String']>,
- comment?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- comment_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- comment_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- comment_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- comment_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- comment_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- comment_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- comment_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- comment_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- comment_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- comment_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- comment_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- comment_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- comment_not_ends_with?: Maybe<Scalars['String']>,
- mimetype?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- mimetype_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- mimetype_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- mimetype_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- mimetype_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- mimetype_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- mimetype_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- mimetype_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- mimetype_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- mimetype_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- mimetype_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- mimetype_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- mimetype_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- mimetype_not_ends_with?: Maybe<Scalars['String']>,
- thumbnail?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- thumbnail_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- thumbnail_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- thumbnail_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- thumbnail_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- thumbnail_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- thumbnail_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- thumbnail_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- thumbnail_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- thumbnail_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- thumbnail_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- thumbnail_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- thumbnail_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- thumbnail_not_ends_with?: Maybe<Scalars['String']>,
- filename?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- filename_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- filename_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- filename_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- filename_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- filename_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- filename_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- filename_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- filename_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- filename_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- filename_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- filename_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- filename_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- filename_not_ends_with?: Maybe<Scalars['String']>,
- encoding?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- encoding_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- encoding_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- encoding_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- encoding_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- encoding_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- encoding_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- encoding_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- encoding_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- encoding_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- encoding_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- encoding_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- encoding_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- encoding_not_ends_with?: Maybe<Scalars['String']>,
- size?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- size_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- size_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- size_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- size_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- size_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- size_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- size_gte?: Maybe<Scalars['Int']>,
- width?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- width_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- width_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- width_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- width_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- width_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- width_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- width_gte?: Maybe<Scalars['Int']>,
- height?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- height_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- height_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- height_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- height_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- height_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- height_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- height_gte?: Maybe<Scalars['Int']>,
- duration?: Maybe<Scalars['Float']>,
- /** All values that are not equal to given value. */
- duration_not?: Maybe<Scalars['Float']>,
- /** All values that are contained in given list. */
- duration_in?: Maybe<Array<Scalars['Float']>>,
- /** All values that are not contained in given list. */
- duration_not_in?: Maybe<Array<Scalars['Float']>>,
- /** All values less than the given value. */
- duration_lt?: Maybe<Scalars['Float']>,
- /** All values less than or equal the given value. */
- duration_lte?: Maybe<Scalars['Float']>,
- /** All values greater than the given value. */
- duration_gt?: Maybe<Scalars['Float']>,
- /** All values greater than or equal the given value. */
- duration_gte?: Maybe<Scalars['Float']>,
- title?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- title_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- title_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- title_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- title_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- title_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- title_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- title_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- title_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- title_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- title_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- title_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- title_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- title_not_ends_with?: Maybe<Scalars['String']>,
- artist?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- artist_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- artist_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- artist_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- artist_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- artist_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- artist_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- artist_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- artist_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- artist_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- artist_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- artist_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- artist_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- artist_not_ends_with?: Maybe<Scalars['String']>,
- user?: Maybe<UserWhereInput>,
- };
- export type FileWhereUniqueInput = {
- id?: Maybe<Scalars['ID']>,
- };
- export type Format = Node & {
- id: Scalars['ID'],
- name: Scalars['String'],
- description: Scalars['String'],
- };
- export type FormatCreateInput = {
- id?: Maybe<Scalars['ID']>,
- name: Scalars['String'],
- description: Scalars['String'],
- };
- export type FormatCreateOneInput = {
- create?: Maybe<FormatCreateInput>,
- connect?: Maybe<FormatWhereUniqueInput>,
- };
- export enum FormatOrderByInput {
- IdAsc = 'id_ASC',
- IdDesc = 'id_DESC',
- NameAsc = 'name_ASC',
- NameDesc = 'name_DESC',
- DescriptionAsc = 'description_ASC',
- DescriptionDesc = 'description_DESC'
- }
- export type FormatUpdateDataInput = {
- name?: Maybe<Scalars['String']>,
- description?: Maybe<Scalars['String']>,
- };
- export type FormatUpdateOneRequiredInput = {
- create?: Maybe<FormatCreateInput>,
- connect?: Maybe<FormatWhereUniqueInput>,
- update?: Maybe<FormatUpdateDataInput>,
- upsert?: Maybe<FormatUpsertNestedInput>,
- };
- export type FormatUpsertNestedInput = {
- update: FormatUpdateDataInput,
- create: FormatCreateInput,
- };
- export type FormatWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<FormatWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<FormatWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<FormatWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- name?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- name_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- name_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- name_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- name_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- name_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- name_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- name_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- name_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- name_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- name_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- name_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- name_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- name_not_ends_with?: Maybe<Scalars['String']>,
- description?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- description_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- description_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- description_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- description_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- description_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- description_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- description_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- description_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- description_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- description_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- description_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- description_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- description_not_ends_with?: Maybe<Scalars['String']>,
- };
- export type FormatWhereUniqueInput = {
- id?: Maybe<Scalars['ID']>,
- };
- export type FsFile = {
- filename: Scalars['String'],
- path: Scalars['String'],
- size: Scalars['Int'],
- ctime: Scalars['DateTime'],
- mtime: Scalars['DateTime'],
- };
- export type Link = Node & {
- id: Scalars['ID'],
- createdAt: Scalars['DateTime'],
- updatedAt: Scalars['DateTime'],
- url: Scalars['String'],
- user: User,
- comment?: Maybe<Scalars['String']>,
- duration?: Maybe<Scalars['Int']>,
- title?: Maybe<Scalars['String']>,
- artist?: Maybe<Scalars['String']>,
- };
- export type LinkCreateInput = {
- id?: Maybe<Scalars['ID']>,
- url: Scalars['String'],
- comment?: Maybe<Scalars['String']>,
- duration?: Maybe<Scalars['Int']>,
- title?: Maybe<Scalars['String']>,
- artist?: Maybe<Scalars['String']>,
- user: UserCreateOneInput,
- };
- export type LinkCreateOneInput = {
- create?: Maybe<LinkCreateInput>,
- connect?: Maybe<LinkWhereUniqueInput>,
- };
- export type LinkUpdateDataInput = {
- url?: Maybe<Scalars['String']>,
- comment?: Maybe<Scalars['String']>,
- duration?: Maybe<Scalars['Int']>,
- title?: Maybe<Scalars['String']>,
- artist?: Maybe<Scalars['String']>,
- user?: Maybe<UserUpdateOneRequiredInput>,
- };
- export type LinkUpdateOneInput = {
- create?: Maybe<LinkCreateInput>,
- connect?: Maybe<LinkWhereUniqueInput>,
- disconnect?: Maybe<Scalars['Boolean']>,
- delete?: Maybe<Scalars['Boolean']>,
- update?: Maybe<LinkUpdateDataInput>,
- upsert?: Maybe<LinkUpsertNestedInput>,
- };
- export type LinkUpsertNestedInput = {
- update: LinkUpdateDataInput,
- create: LinkCreateInput,
- };
- export type LinkWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<LinkWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<LinkWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<LinkWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- createdAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- createdAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- createdAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- createdAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- createdAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- createdAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- createdAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- createdAt_gte?: Maybe<Scalars['DateTime']>,
- updatedAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- updatedAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- updatedAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- updatedAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- updatedAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- updatedAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- updatedAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- updatedAt_gte?: Maybe<Scalars['DateTime']>,
- url?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- url_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- url_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- url_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- url_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- url_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- url_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- url_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- url_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- url_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- url_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- url_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- url_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- url_not_ends_with?: Maybe<Scalars['String']>,
- comment?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- comment_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- comment_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- comment_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- comment_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- comment_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- comment_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- comment_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- comment_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- comment_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- comment_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- comment_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- comment_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- comment_not_ends_with?: Maybe<Scalars['String']>,
- duration?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- duration_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- duration_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- duration_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- duration_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- duration_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- duration_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- duration_gte?: Maybe<Scalars['Int']>,
- title?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- title_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- title_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- title_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- title_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- title_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- title_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- title_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- title_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- title_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- title_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- title_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- title_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- title_not_ends_with?: Maybe<Scalars['String']>,
- artist?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- artist_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- artist_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- artist_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- artist_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- artist_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- artist_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- artist_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- artist_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- artist_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- artist_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- artist_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- artist_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- artist_not_ends_with?: Maybe<Scalars['String']>,
- user?: Maybe<UserWhereInput>,
- };
- export type LinkWhereUniqueInput = {
- id?: Maybe<Scalars['ID']>,
- };
- export type Mutation = {
- uploadFile: File,
- updateFile: File,
- deleteFile: File,
- createVideo: Video,
- updateVideo: Video,
- deleteVideo: Video,
- createUser: User,
- updateUser: User,
- deleteUser: User,
- updatePermissions: User,
- createTraining: Training,
- deleteTraining: Training,
- updateTraining: Training,
- createTrainingType: TrainingType,
- createFormat: Format,
- userLogin: User,
- userLogout: Scalars['String'],
- userSignup: User,
- requestReset: Scalars['String'],
- resetPassword: User,
- register: Training,
- deregister: Training,
- publish: Training,
- };
- export type MutationUploadFileArgs = {
- file: Scalars['Upload'],
- comment?: Maybe<Scalars['String']>,
- width?: Maybe<Scalars['Int']>,
- height?: Maybe<Scalars['Int']>,
- duration?: Maybe<Scalars['Float']>,
- title?: Maybe<Scalars['String']>,
- artist?: Maybe<Scalars['String']>
- };
- export type MutationUpdateFileArgs = {
- where: FileWhereUniqueInput,
- data: FileUpdateInput
- };
- export type MutationDeleteFileArgs = {
- id: Scalars['ID']
- };
- export type MutationCreateVideoArgs = {
- data: VideoCreateInput
- };
- export type MutationUpdateVideoArgs = {
- where: VideoWhereUniqueInput,
- data: VideoUpdateInput
- };
- export type MutationDeleteVideoArgs = {
- id: Scalars['ID']
- };
- export type MutationCreateUserArgs = {
- data: UserCreateInput
- };
- export type MutationUpdateUserArgs = {
- id: Scalars['ID'],
- data: UserUpdateInput
- };
- export type MutationDeleteUserArgs = {
- id: Scalars['ID']
- };
- export type MutationUpdatePermissionsArgs = {
- id: Scalars['ID'],
- permissions: Array<Permission>
- };
- export type MutationCreateTrainingArgs = {
- title: Scalars['String'],
- type: TrainingTypeCreateOneInput,
- trainingDate: Scalars['DateTime'],
- location: Scalars['String'],
- attendance?: Maybe<Scalars['Int']>,
- published: Scalars['Boolean'],
- blocks?: Maybe<BlockInstanceCreateManyWithoutParentTrainingInput>
- };
- export type MutationDeleteTrainingArgs = {
- id: Scalars['ID']
- };
- export type MutationUpdateTrainingArgs = {
- where: TrainingWhereUniqueInput,
- data: TrainingUpdateInput
- };
- export type MutationCreateTrainingTypeArgs = {
- name: Scalars['String'],
- description: Scalars['String']
- };
- export type MutationCreateFormatArgs = {
- name: Scalars['String'],
- description: Scalars['String']
- };
- export type MutationUserLoginArgs = {
- email: Scalars['String'],
- password: Scalars['String']
- };
- export type MutationUserSignupArgs = {
- name: Scalars['String'],
- email: Scalars['String'],
- password: Scalars['String']
- };
- export type MutationRequestResetArgs = {
- email: Scalars['String']
- };
- export type MutationResetPasswordArgs = {
- token: Scalars['String'],
- password: Scalars['String']
- };
- export type MutationRegisterArgs = {
- training: Scalars['ID']
- };
- export type MutationDeregisterArgs = {
- training: Scalars['ID']
- };
- export type MutationPublishArgs = {
- training: Scalars['ID'],
- status?: Maybe<Scalars['Boolean']>
- };
- /** An object with an ID */
- export type Node = {
- /** The id of the object. */
- id: Scalars['ID'],
- };
- /** Information about pagination in a connection. */
- export type PageInfo = {
- /** When paginating forwards, are there more items? */
- hasNextPage: Scalars['Boolean'],
- /** When paginating backwards, are there more items? */
- hasPreviousPage: Scalars['Boolean'],
- /** When paginating backwards, the cursor to continue. */
- startCursor?: Maybe<Scalars['String']>,
- /** When paginating forwards, the cursor to continue. */
- endCursor?: Maybe<Scalars['String']>,
- };
- export enum Permission {
- Admin = 'ADMIN',
- Instructor = 'INSTRUCTOR'
- }
- export type Picture = Node & {
- id: Scalars['ID'],
- createdAt: Scalars['DateTime'],
- updatedAt: Scalars['DateTime'],
- order: Scalars['Int'],
- file?: Maybe<File>,
- link?: Maybe<Link>,
- };
- export type PictureCreateInput = {
- id?: Maybe<Scalars['ID']>,
- order: Scalars['Int'],
- file?: Maybe<FileCreateOneInput>,
- link?: Maybe<LinkCreateOneInput>,
- };
- export type PictureCreateManyInput = {
- create?: Maybe<Array<PictureCreateInput>>,
- connect?: Maybe<Array<PictureWhereUniqueInput>>,
- };
- export enum PictureOrderByInput {
- IdAsc = 'id_ASC',
- IdDesc = 'id_DESC',
- CreatedAtAsc = 'createdAt_ASC',
- CreatedAtDesc = 'createdAt_DESC',
- UpdatedAtAsc = 'updatedAt_ASC',
- UpdatedAtDesc = 'updatedAt_DESC',
- OrderAsc = 'order_ASC',
- OrderDesc = 'order_DESC'
- }
- export type PictureScalarWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<PictureScalarWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<PictureScalarWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<PictureScalarWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- createdAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- createdAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- createdAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- createdAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- createdAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- createdAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- createdAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- createdAt_gte?: Maybe<Scalars['DateTime']>,
- updatedAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- updatedAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- updatedAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- updatedAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- updatedAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- updatedAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- updatedAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- updatedAt_gte?: Maybe<Scalars['DateTime']>,
- order?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- order_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- order_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- order_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- order_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- order_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- order_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- order_gte?: Maybe<Scalars['Int']>,
- };
- export type PictureUpdateDataInput = {
- order?: Maybe<Scalars['Int']>,
- file?: Maybe<FileUpdateOneInput>,
- link?: Maybe<LinkUpdateOneInput>,
- };
- export type PictureUpdateManyDataInput = {
- order?: Maybe<Scalars['Int']>,
- };
- export type PictureUpdateManyInput = {
- create?: Maybe<Array<PictureCreateInput>>,
- connect?: Maybe<Array<PictureWhereUniqueInput>>,
- set?: Maybe<Array<PictureWhereUniqueInput>>,
- disconnect?: Maybe<Array<PictureWhereUniqueInput>>,
- delete?: Maybe<Array<PictureWhereUniqueInput>>,
- update?: Maybe<Array<PictureUpdateWithWhereUniqueNestedInput>>,
- updateMany?: Maybe<Array<PictureUpdateManyWithWhereNestedInput>>,
- deleteMany?: Maybe<Array<PictureScalarWhereInput>>,
- upsert?: Maybe<Array<PictureUpsertWithWhereUniqueNestedInput>>,
- };
- export type PictureUpdateManyWithWhereNestedInput = {
- where: PictureScalarWhereInput,
- data: PictureUpdateManyDataInput,
- };
- export type PictureUpdateWithWhereUniqueNestedInput = {
- where: PictureWhereUniqueInput,
- data: PictureUpdateDataInput,
- };
- export type PictureUpsertWithWhereUniqueNestedInput = {
- where: PictureWhereUniqueInput,
- update: PictureUpdateDataInput,
- create: PictureCreateInput,
- };
- export type PictureWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<PictureWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<PictureWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<PictureWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- createdAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- createdAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- createdAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- createdAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- createdAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- createdAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- createdAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- createdAt_gte?: Maybe<Scalars['DateTime']>,
- updatedAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- updatedAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- updatedAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- updatedAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- updatedAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- updatedAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- updatedAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- updatedAt_gte?: Maybe<Scalars['DateTime']>,
- order?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- order_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- order_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- order_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- order_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- order_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- order_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- order_gte?: Maybe<Scalars['Int']>,
- file?: Maybe<FileWhereInput>,
- link?: Maybe<LinkWhereInput>,
- };
- export type PictureWhereUniqueInput = {
- id?: Maybe<Scalars['ID']>,
- };
- export type Query = {
- trainingArchive: TrainingArchive,
- publishedTrainings: Array<Training>,
- training: Training,
- trainings: Array<Training>,
- trainingsCount: TrainingConnection,
- fsFiles: Array<FsFile>,
- files: Array<File>,
- file: File,
- videos: Array<Video>,
- video: Video,
- currentUser: User,
- user?: Maybe<User>,
- users: Array<User>,
- trainingType?: Maybe<TrainingType>,
- trainingTypes: Array<TrainingType>,
- block?: Maybe<Block>,
- blocks: Array<Block>,
- format?: Maybe<Format>,
- formats: Array<Format>,
- exercise?: Maybe<Exercise>,
- exercises: Array<Exercise>,
- };
- export type QueryTrainingArchiveArgs = {
- skip?: Maybe<Scalars['Int']>,
- first?: Maybe<Scalars['Int']>
- };
- export type QueryPublishedTrainingsArgs = {
- where?: Maybe<TrainingWhereInput>,
- orderBy?: Maybe<TrainingOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- first?: Maybe<Scalars['Int']>
- };
- export type QueryTrainingArgs = {
- id?: Maybe<Scalars['ID']>
- };
- export type QueryTrainingsArgs = {
- where?: Maybe<TrainingWhereInput>,
- orderBy?: Maybe<TrainingOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type QueryTrainingsCountArgs = {
- where?: Maybe<TrainingWhereInput>
- };
- export type QueryFsFilesArgs = {
- directory: Scalars['String']
- };
- export type QueryFilesArgs = {
- where?: Maybe<FileWhereInput>,
- orderBy?: Maybe<FileOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type QueryFileArgs = {
- where: FileWhereUniqueInput
- };
- export type QueryVideosArgs = {
- where?: Maybe<VideoWhereInput>,
- orderBy?: Maybe<VideoOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type QueryVideoArgs = {
- where: VideoWhereUniqueInput
- };
- export type QueryUserArgs = {
- where: UserWhereUniqueInput
- };
- export type QueryUsersArgs = {
- where?: Maybe<UserWhereInput>,
- orderBy?: Maybe<UserOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type QueryTrainingTypeArgs = {
- where: TrainingTypeWhereUniqueInput
- };
- export type QueryTrainingTypesArgs = {
- where?: Maybe<TrainingTypeWhereInput>,
- orderBy?: Maybe<TrainingTypeOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type QueryBlockArgs = {
- where: BlockWhereUniqueInput
- };
- export type QueryBlocksArgs = {
- where?: Maybe<BlockWhereInput>,
- orderBy?: Maybe<BlockOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type QueryFormatArgs = {
- where: FormatWhereUniqueInput
- };
- export type QueryFormatsArgs = {
- where?: Maybe<FormatWhereInput>,
- orderBy?: Maybe<FormatOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type QueryExerciseArgs = {
- where: ExerciseWhereUniqueInput
- };
- export type QueryExercisesArgs = {
- where?: Maybe<ExerciseWhereInput>,
- orderBy?: Maybe<ExerciseOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type Rating = Node & {
- id: Scalars['ID'],
- user: User,
- value: Scalars['Int'],
- comment: Scalars['String'],
- createdAt: Scalars['DateTime'],
- };
- export type RatingCreateInput = {
- id?: Maybe<Scalars['ID']>,
- value: Scalars['Int'],
- comment: Scalars['String'],
- user: UserCreateOneWithoutRatingsInput,
- };
- export type RatingCreateManyInput = {
- create?: Maybe<Array<RatingCreateInput>>,
- connect?: Maybe<Array<RatingWhereUniqueInput>>,
- };
- export type RatingCreateManyWithoutUserInput = {
- create?: Maybe<Array<RatingCreateWithoutUserInput>>,
- connect?: Maybe<Array<RatingWhereUniqueInput>>,
- };
- export type RatingCreateWithoutUserInput = {
- id?: Maybe<Scalars['ID']>,
- value: Scalars['Int'],
- comment: Scalars['String'],
- };
- export enum RatingOrderByInput {
- IdAsc = 'id_ASC',
- IdDesc = 'id_DESC',
- ValueAsc = 'value_ASC',
- ValueDesc = 'value_DESC',
- CommentAsc = 'comment_ASC',
- CommentDesc = 'comment_DESC',
- CreatedAtAsc = 'createdAt_ASC',
- CreatedAtDesc = 'createdAt_DESC'
- }
- export type RatingScalarWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<RatingScalarWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<RatingScalarWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<RatingScalarWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- value?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- value_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- value_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- value_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- value_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- value_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- value_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- value_gte?: Maybe<Scalars['Int']>,
- comment?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- comment_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- comment_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- comment_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- comment_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- comment_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- comment_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- comment_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- comment_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- comment_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- comment_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- comment_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- comment_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- comment_not_ends_with?: Maybe<Scalars['String']>,
- createdAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- createdAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- createdAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- createdAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- createdAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- createdAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- createdAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- createdAt_gte?: Maybe<Scalars['DateTime']>,
- };
- export type RatingUpdateDataInput = {
- value?: Maybe<Scalars['Int']>,
- comment?: Maybe<Scalars['String']>,
- user?: Maybe<UserUpdateOneRequiredWithoutRatingsInput>,
- };
- export type RatingUpdateManyDataInput = {
- value?: Maybe<Scalars['Int']>,
- comment?: Maybe<Scalars['String']>,
- };
- export type RatingUpdateManyInput = {
- create?: Maybe<Array<RatingCreateInput>>,
- connect?: Maybe<Array<RatingWhereUniqueInput>>,
- set?: Maybe<Array<RatingWhereUniqueInput>>,
- disconnect?: Maybe<Array<RatingWhereUniqueInput>>,
- delete?: Maybe<Array<RatingWhereUniqueInput>>,
- update?: Maybe<Array<RatingUpdateWithWhereUniqueNestedInput>>,
- updateMany?: Maybe<Array<RatingUpdateManyWithWhereNestedInput>>,
- deleteMany?: Maybe<Array<RatingScalarWhereInput>>,
- upsert?: Maybe<Array<RatingUpsertWithWhereUniqueNestedInput>>,
- };
- export type RatingUpdateManyWithoutUserInput = {
- create?: Maybe<Array<RatingCreateWithoutUserInput>>,
- connect?: Maybe<Array<RatingWhereUniqueInput>>,
- set?: Maybe<Array<RatingWhereUniqueInput>>,
- disconnect?: Maybe<Array<RatingWhereUniqueInput>>,
- delete?: Maybe<Array<RatingWhereUniqueInput>>,
- update?: Maybe<Array<RatingUpdateWithWhereUniqueWithoutUserInput>>,
- updateMany?: Maybe<Array<RatingUpdateManyWithWhereNestedInput>>,
- deleteMany?: Maybe<Array<RatingScalarWhereInput>>,
- upsert?: Maybe<Array<RatingUpsertWithWhereUniqueWithoutUserInput>>,
- };
- export type RatingUpdateManyWithWhereNestedInput = {
- where: RatingScalarWhereInput,
- data: RatingUpdateManyDataInput,
- };
- export type RatingUpdateWithoutUserDataInput = {
- value?: Maybe<Scalars['Int']>,
- comment?: Maybe<Scalars['String']>,
- };
- export type RatingUpdateWithWhereUniqueNestedInput = {
- where: RatingWhereUniqueInput,
- data: RatingUpdateDataInput,
- };
- export type RatingUpdateWithWhereUniqueWithoutUserInput = {
- where: RatingWhereUniqueInput,
- data: RatingUpdateWithoutUserDataInput,
- };
- export type RatingUpsertWithWhereUniqueNestedInput = {
- where: RatingWhereUniqueInput,
- update: RatingUpdateDataInput,
- create: RatingCreateInput,
- };
- export type RatingUpsertWithWhereUniqueWithoutUserInput = {
- where: RatingWhereUniqueInput,
- update: RatingUpdateWithoutUserDataInput,
- create: RatingCreateWithoutUserInput,
- };
- export type RatingWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<RatingWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<RatingWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<RatingWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- value?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- value_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- value_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- value_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- value_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- value_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- value_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- value_gte?: Maybe<Scalars['Int']>,
- comment?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- comment_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- comment_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- comment_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- comment_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- comment_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- comment_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- comment_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- comment_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- comment_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- comment_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- comment_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- comment_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- comment_not_ends_with?: Maybe<Scalars['String']>,
- createdAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- createdAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- createdAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- createdAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- createdAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- createdAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- createdAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- createdAt_gte?: Maybe<Scalars['DateTime']>,
- user?: Maybe<UserWhereInput>,
- };
- export type RatingWhereUniqueInput = {
- id?: Maybe<Scalars['ID']>,
- };
- export type Track = Node & {
- id: Scalars['ID'],
- createdAt: Scalars['DateTime'],
- updatedAt: Scalars['DateTime'],
- order: Scalars['Int'],
- file?: Maybe<File>,
- link?: Maybe<Link>,
- };
- export type TrackCreateInput = {
- id?: Maybe<Scalars['ID']>,
- order: Scalars['Int'],
- file?: Maybe<FileCreateOneInput>,
- link?: Maybe<LinkCreateOneInput>,
- };
- export type TrackCreateManyInput = {
- create?: Maybe<Array<TrackCreateInput>>,
- connect?: Maybe<Array<TrackWhereUniqueInput>>,
- };
- export enum TrackOrderByInput {
- IdAsc = 'id_ASC',
- IdDesc = 'id_DESC',
- CreatedAtAsc = 'createdAt_ASC',
- CreatedAtDesc = 'createdAt_DESC',
- UpdatedAtAsc = 'updatedAt_ASC',
- UpdatedAtDesc = 'updatedAt_DESC',
- OrderAsc = 'order_ASC',
- OrderDesc = 'order_DESC'
- }
- export type TrackScalarWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<TrackScalarWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<TrackScalarWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<TrackScalarWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- createdAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- createdAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- createdAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- createdAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- createdAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- createdAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- createdAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- createdAt_gte?: Maybe<Scalars['DateTime']>,
- updatedAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- updatedAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- updatedAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- updatedAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- updatedAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- updatedAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- updatedAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- updatedAt_gte?: Maybe<Scalars['DateTime']>,
- order?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- order_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- order_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- order_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- order_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- order_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- order_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- order_gte?: Maybe<Scalars['Int']>,
- };
- export type TrackUpdateDataInput = {
- order?: Maybe<Scalars['Int']>,
- file?: Maybe<FileUpdateOneInput>,
- link?: Maybe<LinkUpdateOneInput>,
- };
- export type TrackUpdateManyDataInput = {
- order?: Maybe<Scalars['Int']>,
- };
- export type TrackUpdateManyInput = {
- create?: Maybe<Array<TrackCreateInput>>,
- connect?: Maybe<Array<TrackWhereUniqueInput>>,
- set?: Maybe<Array<TrackWhereUniqueInput>>,
- disconnect?: Maybe<Array<TrackWhereUniqueInput>>,
- delete?: Maybe<Array<TrackWhereUniqueInput>>,
- update?: Maybe<Array<TrackUpdateWithWhereUniqueNestedInput>>,
- updateMany?: Maybe<Array<TrackUpdateManyWithWhereNestedInput>>,
- deleteMany?: Maybe<Array<TrackScalarWhereInput>>,
- upsert?: Maybe<Array<TrackUpsertWithWhereUniqueNestedInput>>,
- };
- export type TrackUpdateManyWithWhereNestedInput = {
- where: TrackScalarWhereInput,
- data: TrackUpdateManyDataInput,
- };
- export type TrackUpdateWithWhereUniqueNestedInput = {
- where: TrackWhereUniqueInput,
- data: TrackUpdateDataInput,
- };
- export type TrackUpsertWithWhereUniqueNestedInput = {
- where: TrackWhereUniqueInput,
- update: TrackUpdateDataInput,
- create: TrackCreateInput,
- };
- export type TrackWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<TrackWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<TrackWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<TrackWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- createdAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- createdAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- createdAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- createdAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- createdAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- createdAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- createdAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- createdAt_gte?: Maybe<Scalars['DateTime']>,
- updatedAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- updatedAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- updatedAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- updatedAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- updatedAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- updatedAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- updatedAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- updatedAt_gte?: Maybe<Scalars['DateTime']>,
- order?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- order_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- order_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- order_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- order_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- order_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- order_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- order_gte?: Maybe<Scalars['Int']>,
- file?: Maybe<FileWhereInput>,
- link?: Maybe<LinkWhereInput>,
- };
- export type TrackWhereUniqueInput = {
- id?: Maybe<Scalars['ID']>,
- };
- export type Training = Node & {
- id: Scalars['ID'],
- title: Scalars['String'],
- type: TrainingType,
- createdAt: Scalars['DateTime'],
- trainingDate: Scalars['DateTime'],
- location: Scalars['String'],
- registrations?: Maybe<Array<User>>,
- attendance?: Maybe<Scalars['Int']>,
- ratings?: Maybe<Array<Rating>>,
- published: Scalars['Boolean'],
- blocks?: Maybe<Array<BlockInstance>>,
- };
- export type TrainingRegistrationsArgs = {
- where?: Maybe<UserWhereInput>,
- orderBy?: Maybe<UserOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type TrainingRatingsArgs = {
- where?: Maybe<RatingWhereInput>,
- orderBy?: Maybe<RatingOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type TrainingBlocksArgs = {
- where?: Maybe<BlockInstanceWhereInput>,
- orderBy?: Maybe<BlockInstanceOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type TrainingArchive = {
- trainings: Array<TrainingArchiveItem>,
- totalCount: Scalars['Int'],
- };
- export type TrainingArchiveItem = {
- id: Scalars['ID'],
- title: Scalars['String'],
- type: TrainingType,
- trainingDate: Scalars['DateTime'],
- location: Scalars['String'],
- attendance?: Maybe<Scalars['Int']>,
- ratings?: Maybe<Scalars['Float']>,
- blocks: Array<Scalars['String']>,
- duration?: Maybe<Scalars['Int']>,
- };
- /** A connection to a list of items. */
- export type TrainingConnection = {
- /** Information to aid in pagination. */
- pageInfo: PageInfo,
- /** A list of edges. */
- edges: Array<Maybe<TrainingEdge>>,
- aggregate: AggregateTraining,
- };
- export type TrainingCreateOneWithoutBlocksInput = {
- create?: Maybe<TrainingCreateWithoutBlocksInput>,
- connect?: Maybe<TrainingWhereUniqueInput>,
- };
- export type TrainingCreateWithoutBlocksInput = {
- id?: Maybe<Scalars['ID']>,
- title: Scalars['String'],
- trainingDate: Scalars['DateTime'],
- location: Scalars['String'],
- attendance?: Maybe<Scalars['Int']>,
- published: Scalars['Boolean'],
- type: TrainingTypeCreateOneInput,
- registrations?: Maybe<UserCreateManyInput>,
- ratings?: Maybe<RatingCreateManyInput>,
- };
- /** An edge in a connection. */
- export type TrainingEdge = {
- /** The item at the end of the edge. */
- node: Training,
- /** A cursor for use in pagination. */
- cursor: Scalars['String'],
- };
- export enum TrainingOrderByInput {
- IdAsc = 'id_ASC',
- IdDesc = 'id_DESC',
- TitleAsc = 'title_ASC',
- TitleDesc = 'title_DESC',
- CreatedAtAsc = 'createdAt_ASC',
- CreatedAtDesc = 'createdAt_DESC',
- TrainingDateAsc = 'trainingDate_ASC',
- TrainingDateDesc = 'trainingDate_DESC',
- LocationAsc = 'location_ASC',
- LocationDesc = 'location_DESC',
- AttendanceAsc = 'attendance_ASC',
- AttendanceDesc = 'attendance_DESC',
- PublishedAsc = 'published_ASC',
- PublishedDesc = 'published_DESC'
- }
- export type TrainingType = Node & {
- id: Scalars['ID'],
- name: Scalars['String'],
- description: Scalars['String'],
- };
- export type TrainingTypeCreateInput = {
- id?: Maybe<Scalars['ID']>,
- name: Scalars['String'],
- description: Scalars['String'],
- };
- export type TrainingTypeCreateOneInput = {
- create?: Maybe<TrainingTypeCreateInput>,
- connect?: Maybe<TrainingTypeWhereUniqueInput>,
- };
- export enum TrainingTypeOrderByInput {
- IdAsc = 'id_ASC',
- IdDesc = 'id_DESC',
- NameAsc = 'name_ASC',
- NameDesc = 'name_DESC',
- DescriptionAsc = 'description_ASC',
- DescriptionDesc = 'description_DESC'
- }
- export type TrainingTypeUpdateDataInput = {
- name?: Maybe<Scalars['String']>,
- description?: Maybe<Scalars['String']>,
- };
- export type TrainingTypeUpdateOneRequiredInput = {
- create?: Maybe<TrainingTypeCreateInput>,
- connect?: Maybe<TrainingTypeWhereUniqueInput>,
- update?: Maybe<TrainingTypeUpdateDataInput>,
- upsert?: Maybe<TrainingTypeUpsertNestedInput>,
- };
- export type TrainingTypeUpsertNestedInput = {
- update: TrainingTypeUpdateDataInput,
- create: TrainingTypeCreateInput,
- };
- export type TrainingTypeWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<TrainingTypeWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<TrainingTypeWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<TrainingTypeWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- name?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- name_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- name_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- name_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- name_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- name_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- name_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- name_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- name_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- name_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- name_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- name_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- name_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- name_not_ends_with?: Maybe<Scalars['String']>,
- description?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- description_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- description_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- description_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- description_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- description_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- description_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- description_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- description_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- description_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- description_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- description_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- description_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- description_not_ends_with?: Maybe<Scalars['String']>,
- };
- export type TrainingTypeWhereUniqueInput = {
- id?: Maybe<Scalars['ID']>,
- name?: Maybe<Scalars['String']>,
- };
- export type TrainingUpdateInput = {
- title?: Maybe<Scalars['String']>,
- trainingDate?: Maybe<Scalars['DateTime']>,
- location?: Maybe<Scalars['String']>,
- attendance?: Maybe<Scalars['Int']>,
- published?: Maybe<Scalars['Boolean']>,
- type?: Maybe<TrainingTypeUpdateOneRequiredInput>,
- registrations?: Maybe<UserUpdateManyInput>,
- ratings?: Maybe<RatingUpdateManyInput>,
- blocks?: Maybe<BlockInstanceUpdateManyWithoutParentTrainingInput>,
- };
- export type TrainingUpdateOneWithoutBlocksInput = {
- create?: Maybe<TrainingCreateWithoutBlocksInput>,
- connect?: Maybe<TrainingWhereUniqueInput>,
- disconnect?: Maybe<Scalars['Boolean']>,
- delete?: Maybe<Scalars['Boolean']>,
- update?: Maybe<TrainingUpdateWithoutBlocksDataInput>,
- upsert?: Maybe<TrainingUpsertWithoutBlocksInput>,
- };
- export type TrainingUpdateWithoutBlocksDataInput = {
- title?: Maybe<Scalars['String']>,
- trainingDate?: Maybe<Scalars['DateTime']>,
- location?: Maybe<Scalars['String']>,
- attendance?: Maybe<Scalars['Int']>,
- published?: Maybe<Scalars['Boolean']>,
- type?: Maybe<TrainingTypeUpdateOneRequiredInput>,
- registrations?: Maybe<UserUpdateManyInput>,
- ratings?: Maybe<RatingUpdateManyInput>,
- };
- export type TrainingUpsertWithoutBlocksInput = {
- update: TrainingUpdateWithoutBlocksDataInput,
- create: TrainingCreateWithoutBlocksInput,
- };
- export type TrainingWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<TrainingWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<TrainingWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<TrainingWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- title?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- title_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- title_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- title_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- title_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- title_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- title_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- title_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- title_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- title_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- title_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- title_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- title_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- title_not_ends_with?: Maybe<Scalars['String']>,
- createdAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- createdAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- createdAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- createdAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- createdAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- createdAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- createdAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- createdAt_gte?: Maybe<Scalars['DateTime']>,
- trainingDate?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- trainingDate_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- trainingDate_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- trainingDate_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- trainingDate_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- trainingDate_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- trainingDate_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- trainingDate_gte?: Maybe<Scalars['DateTime']>,
- location?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- location_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- location_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- location_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- location_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- location_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- location_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- location_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- location_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- location_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- location_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- location_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- location_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- location_not_ends_with?: Maybe<Scalars['String']>,
- attendance?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- attendance_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- attendance_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- attendance_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- attendance_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- attendance_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- attendance_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- attendance_gte?: Maybe<Scalars['Int']>,
- published?: Maybe<Scalars['Boolean']>,
- /** All values that are not equal to given value. */
- published_not?: Maybe<Scalars['Boolean']>,
- type?: Maybe<TrainingTypeWhereInput>,
- registrations_every?: Maybe<UserWhereInput>,
- registrations_some?: Maybe<UserWhereInput>,
- registrations_none?: Maybe<UserWhereInput>,
- ratings_every?: Maybe<RatingWhereInput>,
- ratings_some?: Maybe<RatingWhereInput>,
- ratings_none?: Maybe<RatingWhereInput>,
- blocks_every?: Maybe<BlockInstanceWhereInput>,
- blocks_some?: Maybe<BlockInstanceWhereInput>,
- blocks_none?: Maybe<BlockInstanceWhereInput>,
- };
- export type TrainingWhereUniqueInput = {
- id?: Maybe<Scalars['ID']>,
- };
- export type User = Node & {
- id: Scalars['ID'],
- email: Scalars['String'],
- name: Scalars['String'],
- password: Scalars['String'],
- resetToken?: Maybe<Scalars['String']>,
- resetTokenExpiry?: Maybe<Scalars['Float']>,
- createdAt: Scalars['DateTime'],
- comments?: Maybe<Array<Comment>>,
- ratings?: Maybe<Array<Rating>>,
- permissions: Array<Permission>,
- interests: Array<Scalars['String']>,
- };
- export type UserCommentsArgs = {
- where?: Maybe<CommentWhereInput>,
- orderBy?: Maybe<CommentOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type UserRatingsArgs = {
- where?: Maybe<RatingWhereInput>,
- orderBy?: Maybe<RatingOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type UserCreateInput = {
- id?: Maybe<Scalars['ID']>,
- email: Scalars['String'],
- name: Scalars['String'],
- password: Scalars['String'],
- resetToken?: Maybe<Scalars['String']>,
- resetTokenExpiry?: Maybe<Scalars['Float']>,
- permissions?: Maybe<UserCreatepermissionsInput>,
- interests?: Maybe<UserCreateinterestsInput>,
- comments?: Maybe<CommentCreateManyWithoutAuthorInput>,
- ratings?: Maybe<RatingCreateManyWithoutUserInput>,
- };
- export type UserCreateinterestsInput = {
- set?: Maybe<Array<Scalars['String']>>,
- };
- export type UserCreateManyInput = {
- create?: Maybe<Array<UserCreateInput>>,
- connect?: Maybe<Array<UserWhereUniqueInput>>,
- };
- export type UserCreateOneInput = {
- create?: Maybe<UserCreateInput>,
- connect?: Maybe<UserWhereUniqueInput>,
- };
- export type UserCreateOneWithoutRatingsInput = {
- create?: Maybe<UserCreateWithoutRatingsInput>,
- connect?: Maybe<UserWhereUniqueInput>,
- };
- export type UserCreatepermissionsInput = {
- set?: Maybe<Array<Permission>>,
- };
- export type UserCreateWithoutRatingsInput = {
- id?: Maybe<Scalars['ID']>,
- email: Scalars['String'],
- name: Scalars['String'],
- password: Scalars['String'],
- resetToken?: Maybe<Scalars['String']>,
- resetTokenExpiry?: Maybe<Scalars['Float']>,
- permissions?: Maybe<UserCreatepermissionsInput>,
- interests?: Maybe<UserCreateinterestsInput>,
- comments?: Maybe<CommentCreateManyWithoutAuthorInput>,
- };
- export enum UserOrderByInput {
- IdAsc = 'id_ASC',
- IdDesc = 'id_DESC',
- EmailAsc = 'email_ASC',
- EmailDesc = 'email_DESC',
- NameAsc = 'name_ASC',
- NameDesc = 'name_DESC',
- PasswordAsc = 'password_ASC',
- PasswordDesc = 'password_DESC',
- ResetTokenAsc = 'resetToken_ASC',
- ResetTokenDesc = 'resetToken_DESC',
- ResetTokenExpiryAsc = 'resetTokenExpiry_ASC',
- ResetTokenExpiryDesc = 'resetTokenExpiry_DESC',
- CreatedAtAsc = 'createdAt_ASC',
- CreatedAtDesc = 'createdAt_DESC'
- }
- export type UserScalarWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<UserScalarWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<UserScalarWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<UserScalarWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- email?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- email_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- email_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- email_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- email_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- email_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- email_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- email_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- email_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- email_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- email_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- email_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- email_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- email_not_ends_with?: Maybe<Scalars['String']>,
- name?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- name_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- name_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- name_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- name_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- name_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- name_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- name_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- name_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- name_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- name_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- name_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- name_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- name_not_ends_with?: Maybe<Scalars['String']>,
- password?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- password_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- password_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- password_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- password_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- password_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- password_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- password_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- password_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- password_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- password_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- password_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- password_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- password_not_ends_with?: Maybe<Scalars['String']>,
- resetToken?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- resetToken_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- resetToken_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- resetToken_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- resetToken_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- resetToken_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- resetToken_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- resetToken_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- resetToken_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- resetToken_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- resetToken_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- resetToken_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- resetToken_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- resetToken_not_ends_with?: Maybe<Scalars['String']>,
- resetTokenExpiry?: Maybe<Scalars['Float']>,
- /** All values that are not equal to given value. */
- resetTokenExpiry_not?: Maybe<Scalars['Float']>,
- /** All values that are contained in given list. */
- resetTokenExpiry_in?: Maybe<Array<Scalars['Float']>>,
- /** All values that are not contained in given list. */
- resetTokenExpiry_not_in?: Maybe<Array<Scalars['Float']>>,
- /** All values less than the given value. */
- resetTokenExpiry_lt?: Maybe<Scalars['Float']>,
- /** All values less than or equal the given value. */
- resetTokenExpiry_lte?: Maybe<Scalars['Float']>,
- /** All values greater than the given value. */
- resetTokenExpiry_gt?: Maybe<Scalars['Float']>,
- /** All values greater than or equal the given value. */
- resetTokenExpiry_gte?: Maybe<Scalars['Float']>,
- createdAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- createdAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- createdAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- createdAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- createdAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- createdAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- createdAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- createdAt_gte?: Maybe<Scalars['DateTime']>,
- };
- export type UserUpdateDataInput = {
- email?: Maybe<Scalars['String']>,
- name?: Maybe<Scalars['String']>,
- password?: Maybe<Scalars['String']>,
- resetToken?: Maybe<Scalars['String']>,
- resetTokenExpiry?: Maybe<Scalars['Float']>,
- permissions?: Maybe<UserUpdatepermissionsInput>,
- interests?: Maybe<UserUpdateinterestsInput>,
- comments?: Maybe<CommentUpdateManyWithoutAuthorInput>,
- ratings?: Maybe<RatingUpdateManyWithoutUserInput>,
- };
- export type UserUpdateInput = {
- email?: Maybe<Scalars['String']>,
- name?: Maybe<Scalars['String']>,
- password?: Maybe<Scalars['String']>,
- resetToken?: Maybe<Scalars['String']>,
- resetTokenExpiry?: Maybe<Scalars['Float']>,
- permissions?: Maybe<UserUpdatepermissionsInput>,
- interests?: Maybe<UserUpdateinterestsInput>,
- comments?: Maybe<CommentUpdateManyWithoutAuthorInput>,
- ratings?: Maybe<RatingUpdateManyWithoutUserInput>,
- };
- export type UserUpdateinterestsInput = {
- set?: Maybe<Array<Scalars['String']>>,
- };
- export type UserUpdateManyDataInput = {
- email?: Maybe<Scalars['String']>,
- name?: Maybe<Scalars['String']>,
- password?: Maybe<Scalars['String']>,
- resetToken?: Maybe<Scalars['String']>,
- resetTokenExpiry?: Maybe<Scalars['Float']>,
- permissions?: Maybe<UserUpdatepermissionsInput>,
- interests?: Maybe<UserUpdateinterestsInput>,
- };
- export type UserUpdateManyInput = {
- create?: Maybe<Array<UserCreateInput>>,
- connect?: Maybe<Array<UserWhereUniqueInput>>,
- set?: Maybe<Array<UserWhereUniqueInput>>,
- disconnect?: Maybe<Array<UserWhereUniqueInput>>,
- delete?: Maybe<Array<UserWhereUniqueInput>>,
- update?: Maybe<Array<UserUpdateWithWhereUniqueNestedInput>>,
- updateMany?: Maybe<Array<UserUpdateManyWithWhereNestedInput>>,
- deleteMany?: Maybe<Array<UserScalarWhereInput>>,
- upsert?: Maybe<Array<UserUpsertWithWhereUniqueNestedInput>>,
- };
- export type UserUpdateManyWithWhereNestedInput = {
- where: UserScalarWhereInput,
- data: UserUpdateManyDataInput,
- };
- export type UserUpdateOneRequiredInput = {
- create?: Maybe<UserCreateInput>,
- connect?: Maybe<UserWhereUniqueInput>,
- update?: Maybe<UserUpdateDataInput>,
- upsert?: Maybe<UserUpsertNestedInput>,
- };
- export type UserUpdateOneRequiredWithoutRatingsInput = {
- create?: Maybe<UserCreateWithoutRatingsInput>,
- connect?: Maybe<UserWhereUniqueInput>,
- update?: Maybe<UserUpdateWithoutRatingsDataInput>,
- upsert?: Maybe<UserUpsertWithoutRatingsInput>,
- };
- export type UserUpdatepermissionsInput = {
- set?: Maybe<Array<Permission>>,
- };
- export type UserUpdateWithoutRatingsDataInput = {
- email?: Maybe<Scalars['String']>,
- name?: Maybe<Scalars['String']>,
- password?: Maybe<Scalars['String']>,
- resetToken?: Maybe<Scalars['String']>,
- resetTokenExpiry?: Maybe<Scalars['Float']>,
- permissions?: Maybe<UserUpdatepermissionsInput>,
- interests?: Maybe<UserUpdateinterestsInput>,
- comments?: Maybe<CommentUpdateManyWithoutAuthorInput>,
- };
- export type UserUpdateWithWhereUniqueNestedInput = {
- where: UserWhereUniqueInput,
- data: UserUpdateDataInput,
- };
- export type UserUpsertNestedInput = {
- update: UserUpdateDataInput,
- create: UserCreateInput,
- };
- export type UserUpsertWithoutRatingsInput = {
- update: UserUpdateWithoutRatingsDataInput,
- create: UserCreateWithoutRatingsInput,
- };
- export type UserUpsertWithWhereUniqueNestedInput = {
- where: UserWhereUniqueInput,
- update: UserUpdateDataInput,
- create: UserCreateInput,
- };
- export type UserWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<UserWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<UserWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<UserWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- email?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- email_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- email_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- email_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- email_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- email_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- email_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- email_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- email_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- email_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- email_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- email_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- email_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- email_not_ends_with?: Maybe<Scalars['String']>,
- name?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- name_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- name_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- name_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- name_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- name_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- name_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- name_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- name_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- name_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- name_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- name_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- name_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- name_not_ends_with?: Maybe<Scalars['String']>,
- password?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- password_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- password_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- password_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- password_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- password_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- password_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- password_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- password_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- password_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- password_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- password_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- password_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- password_not_ends_with?: Maybe<Scalars['String']>,
- resetToken?: Maybe<Scalars['String']>,
- /** All values that are not equal to given value. */
- resetToken_not?: Maybe<Scalars['String']>,
- /** All values that are contained in given list. */
- resetToken_in?: Maybe<Array<Scalars['String']>>,
- /** All values that are not contained in given list. */
- resetToken_not_in?: Maybe<Array<Scalars['String']>>,
- /** All values less than the given value. */
- resetToken_lt?: Maybe<Scalars['String']>,
- /** All values less than or equal the given value. */
- resetToken_lte?: Maybe<Scalars['String']>,
- /** All values greater than the given value. */
- resetToken_gt?: Maybe<Scalars['String']>,
- /** All values greater than or equal the given value. */
- resetToken_gte?: Maybe<Scalars['String']>,
- /** All values containing the given string. */
- resetToken_contains?: Maybe<Scalars['String']>,
- /** All values not containing the given string. */
- resetToken_not_contains?: Maybe<Scalars['String']>,
- /** All values starting with the given string. */
- resetToken_starts_with?: Maybe<Scalars['String']>,
- /** All values not starting with the given string. */
- resetToken_not_starts_with?: Maybe<Scalars['String']>,
- /** All values ending with the given string. */
- resetToken_ends_with?: Maybe<Scalars['String']>,
- /** All values not ending with the given string. */
- resetToken_not_ends_with?: Maybe<Scalars['String']>,
- resetTokenExpiry?: Maybe<Scalars['Float']>,
- /** All values that are not equal to given value. */
- resetTokenExpiry_not?: Maybe<Scalars['Float']>,
- /** All values that are contained in given list. */
- resetTokenExpiry_in?: Maybe<Array<Scalars['Float']>>,
- /** All values that are not contained in given list. */
- resetTokenExpiry_not_in?: Maybe<Array<Scalars['Float']>>,
- /** All values less than the given value. */
- resetTokenExpiry_lt?: Maybe<Scalars['Float']>,
- /** All values less than or equal the given value. */
- resetTokenExpiry_lte?: Maybe<Scalars['Float']>,
- /** All values greater than the given value. */
- resetTokenExpiry_gt?: Maybe<Scalars['Float']>,
- /** All values greater than or equal the given value. */
- resetTokenExpiry_gte?: Maybe<Scalars['Float']>,
- createdAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- createdAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- createdAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- createdAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- createdAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- createdAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- createdAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- createdAt_gte?: Maybe<Scalars['DateTime']>,
- comments_every?: Maybe<CommentWhereInput>,
- comments_some?: Maybe<CommentWhereInput>,
- comments_none?: Maybe<CommentWhereInput>,
- ratings_every?: Maybe<RatingWhereInput>,
- ratings_some?: Maybe<RatingWhereInput>,
- ratings_none?: Maybe<RatingWhereInput>,
- };
- export type UserWhereUniqueInput = {
- id?: Maybe<Scalars['ID']>,
- email?: Maybe<Scalars['String']>,
- };
- export type Video = Node & {
- id: Scalars['ID'],
- createdAt: Scalars['DateTime'],
- updatedAt: Scalars['DateTime'],
- order: Scalars['Int'],
- file?: Maybe<File>,
- link?: Maybe<Link>,
- };
- export type VideoCreateInput = {
- id?: Maybe<Scalars['ID']>,
- order: Scalars['Int'],
- file?: Maybe<FileCreateOneInput>,
- link?: Maybe<LinkCreateOneInput>,
- };
- export type VideoCreateManyInput = {
- create?: Maybe<Array<VideoCreateInput>>,
- connect?: Maybe<Array<VideoWhereUniqueInput>>,
- };
- export enum VideoOrderByInput {
- IdAsc = 'id_ASC',
- IdDesc = 'id_DESC',
- CreatedAtAsc = 'createdAt_ASC',
- CreatedAtDesc = 'createdAt_DESC',
- UpdatedAtAsc = 'updatedAt_ASC',
- UpdatedAtDesc = 'updatedAt_DESC',
- OrderAsc = 'order_ASC',
- OrderDesc = 'order_DESC'
- }
- export type VideoScalarWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<VideoScalarWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<VideoScalarWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<VideoScalarWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- createdAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- createdAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- createdAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- createdAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- createdAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- createdAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- createdAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- createdAt_gte?: Maybe<Scalars['DateTime']>,
- updatedAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- updatedAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- updatedAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- updatedAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- updatedAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- updatedAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- updatedAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- updatedAt_gte?: Maybe<Scalars['DateTime']>,
- order?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- order_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- order_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- order_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- order_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- order_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- order_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- order_gte?: Maybe<Scalars['Int']>,
- };
- export type VideoUpdateDataInput = {
- order?: Maybe<Scalars['Int']>,
- file?: Maybe<FileUpdateOneInput>,
- link?: Maybe<LinkUpdateOneInput>,
- };
- export type VideoUpdateInput = {
- order?: Maybe<Scalars['Int']>,
- file?: Maybe<FileUpdateOneInput>,
- link?: Maybe<LinkUpdateOneInput>,
- };
- export type VideoUpdateManyDataInput = {
- order?: Maybe<Scalars['Int']>,
- };
- export type VideoUpdateManyInput = {
- create?: Maybe<Array<VideoCreateInput>>,
- connect?: Maybe<Array<VideoWhereUniqueInput>>,
- set?: Maybe<Array<VideoWhereUniqueInput>>,
- disconnect?: Maybe<Array<VideoWhereUniqueInput>>,
- delete?: Maybe<Array<VideoWhereUniqueInput>>,
- update?: Maybe<Array<VideoUpdateWithWhereUniqueNestedInput>>,
- updateMany?: Maybe<Array<VideoUpdateManyWithWhereNestedInput>>,
- deleteMany?: Maybe<Array<VideoScalarWhereInput>>,
- upsert?: Maybe<Array<VideoUpsertWithWhereUniqueNestedInput>>,
- };
- export type VideoUpdateManyWithWhereNestedInput = {
- where: VideoScalarWhereInput,
- data: VideoUpdateManyDataInput,
- };
- export type VideoUpdateWithWhereUniqueNestedInput = {
- where: VideoWhereUniqueInput,
- data: VideoUpdateDataInput,
- };
- export type VideoUpsertWithWhereUniqueNestedInput = {
- where: VideoWhereUniqueInput,
- update: VideoUpdateDataInput,
- create: VideoCreateInput,
- };
- export type VideoWhereInput = {
- /** Logical AND on all given filters. */
- AND?: Maybe<Array<VideoWhereInput>>,
- /** Logical OR on all given filters. */
- OR?: Maybe<Array<VideoWhereInput>>,
- /** Logical NOT on all given filters combined by AND. */
- NOT?: Maybe<Array<VideoWhereInput>>,
- id?: Maybe<Scalars['ID']>,
- /** All values that are not equal to given value. */
- id_not?: Maybe<Scalars['ID']>,
- /** All values that are contained in given list. */
- id_in?: Maybe<Array<Scalars['ID']>>,
- /** All values that are not contained in given list. */
- id_not_in?: Maybe<Array<Scalars['ID']>>,
- /** All values less than the given value. */
- id_lt?: Maybe<Scalars['ID']>,
- /** All values less than or equal the given value. */
- id_lte?: Maybe<Scalars['ID']>,
- /** All values greater than the given value. */
- id_gt?: Maybe<Scalars['ID']>,
- /** All values greater than or equal the given value. */
- id_gte?: Maybe<Scalars['ID']>,
- /** All values containing the given string. */
- id_contains?: Maybe<Scalars['ID']>,
- /** All values not containing the given string. */
- id_not_contains?: Maybe<Scalars['ID']>,
- /** All values starting with the given string. */
- id_starts_with?: Maybe<Scalars['ID']>,
- /** All values not starting with the given string. */
- id_not_starts_with?: Maybe<Scalars['ID']>,
- /** All values ending with the given string. */
- id_ends_with?: Maybe<Scalars['ID']>,
- /** All values not ending with the given string. */
- id_not_ends_with?: Maybe<Scalars['ID']>,
- createdAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- createdAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- createdAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- createdAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- createdAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- createdAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- createdAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- createdAt_gte?: Maybe<Scalars['DateTime']>,
- updatedAt?: Maybe<Scalars['DateTime']>,
- /** All values that are not equal to given value. */
- updatedAt_not?: Maybe<Scalars['DateTime']>,
- /** All values that are contained in given list. */
- updatedAt_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values that are not contained in given list. */
- updatedAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
- /** All values less than the given value. */
- updatedAt_lt?: Maybe<Scalars['DateTime']>,
- /** All values less than or equal the given value. */
- updatedAt_lte?: Maybe<Scalars['DateTime']>,
- /** All values greater than the given value. */
- updatedAt_gt?: Maybe<Scalars['DateTime']>,
- /** All values greater than or equal the given value. */
- updatedAt_gte?: Maybe<Scalars['DateTime']>,
- order?: Maybe<Scalars['Int']>,
- /** All values that are not equal to given value. */
- order_not?: Maybe<Scalars['Int']>,
- /** All values that are contained in given list. */
- order_in?: Maybe<Array<Scalars['Int']>>,
- /** All values that are not contained in given list. */
- order_not_in?: Maybe<Array<Scalars['Int']>>,
- /** All values less than the given value. */
- order_lt?: Maybe<Scalars['Int']>,
- /** All values less than or equal the given value. */
- order_lte?: Maybe<Scalars['Int']>,
- /** All values greater than the given value. */
- order_gt?: Maybe<Scalars['Int']>,
- /** All values greater than or equal the given value. */
- order_gte?: Maybe<Scalars['Int']>,
- file?: Maybe<FileWhereInput>,
- link?: Maybe<LinkWhereInput>,
- };
- export type VideoWhereUniqueInput = {
- id?: Maybe<Scalars['ID']>,
- };
- export type FsFilesQueryVariables = {
- directory: Scalars['String']
- };
- export type FsFilesQuery = { fsFiles: Array<Pick<FsFile, 'filename' | 'path' | 'size' | 'ctime' | 'mtime'>> };
- export type FileQueryVariables = {
- where: FileWhereUniqueInput
- };
- export type FileQuery = { file: (
- Pick<File, 'id' | 'path' | 'mimetype' | 'thumbnail' | 'filename' | 'size' | 'updatedAt' | 'comment' | 'title' | 'artist' | 'width' | 'height'>
- & { user: Pick<User, 'id' | 'name'> }
- ) };
- export type FilesQueryVariables = {
- where?: Maybe<FileWhereInput>,
- orderBy?: Maybe<FileOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type FilesQuery = { files: Array<(
- Pick<File, 'id' | 'path' | 'mimetype' | 'thumbnail' | 'filename' | 'size' | 'updatedAt' | 'comment' | 'title'>
- & { user: Pick<User, 'id' | 'name'> }
- )> };
- export type UploadFileMutationVariables = {
- file: Scalars['Upload'],
- comment?: Maybe<Scalars['String']>,
- width?: Maybe<Scalars['Int']>,
- height?: Maybe<Scalars['Int']>,
- duration?: Maybe<Scalars['Float']>,
- title?: Maybe<Scalars['String']>,
- artist?: Maybe<Scalars['String']>
- };
- export type UploadFileMutation = { uploadFile: Pick<File, 'id' | 'path' | 'mimetype' | 'thumbnail' | 'filename' | 'size' | 'comment' | 'title' | 'artist'> };
- export type UpdateFileMutationVariables = {
- where: FileWhereUniqueInput,
- data: FileUpdateInput
- };
- export type UpdateFileMutation = { updateFile: Pick<File, 'id'> };
- export type DeleteFileMutationVariables = {
- id: Scalars['ID']
- };
- export type DeleteFileMutation = { deleteFile: Pick<File, 'id'> };
- export type VideosQueryVariables = {};
- export type VideosQuery = { videos: Array<(
- Pick<Video, 'id' | 'order'>
- & { file: Maybe<Pick<File, 'id' | 'path' | 'comment' | 'mimetype' | 'thumbnail' | 'filename' | 'duration' | 'title' | 'artist'>>, link: Maybe<Pick<Link, 'id' | 'url' | 'comment' | 'duration' | 'title' | 'artist'>> }
- )> };
- export type TrainingArchiveQueryVariables = {
- skip?: Maybe<Scalars['Int']>,
- first?: Maybe<Scalars['Int']>
- };
- export type TrainingArchiveQuery = { trainingArchive: (
- Pick<TrainingArchive, 'totalCount'>
- & { trainings: Array<(
- Pick<TrainingArchiveItem, 'id' | 'title' | 'trainingDate' | 'location' | 'attendance' | 'blocks'>
- & { type: Pick<TrainingType, 'name' | 'description'> }
- )> }
- ) };
- export type TrainingQueryVariables = {
- id?: Maybe<Scalars['ID']>
- };
- export type TrainingQuery = { training: DisplayTrainingFragment };
- export type DeleteTrainingMutationVariables = {
- id: Scalars['ID']
- };
- export type DeleteTrainingMutation = { deleteTraining: Pick<Training, 'id'> };
- export type TrainingsQueryVariables = {
- where?: Maybe<TrainingWhereInput>,
- orderBy?: Maybe<TrainingOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type TrainingsQuery = { trainings: Array<DisplayTrainingFragment> };
- export type TrainingTypesQueryVariables = {
- where?: Maybe<TrainingTypeWhereInput>,
- orderBy?: Maybe<TrainingTypeOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type TrainingTypesQuery = { trainingTypes: Array<Pick<TrainingType, 'id' | 'name' | 'description'>> };
- export type FormatsQueryVariables = {
- where?: Maybe<FormatWhereInput>,
- orderBy?: Maybe<FormatOrderByInput>,
- skip?: Maybe<Scalars['Int']>,
- after?: Maybe<Scalars['String']>,
- before?: Maybe<Scalars['String']>,
- first?: Maybe<Scalars['Int']>,
- last?: Maybe<Scalars['Int']>
- };
- export type FormatsQuery = { formats: Array<Pick<Format, 'id' | 'name' | 'description'>> };
- export type BlocksQueryVariables = {};
- export type BlocksQuery = { blocks: Array<(
- { blocks: Maybe<Array<(
- { block: (
- { blocks: Maybe<Array<(
- { block: BlockWithoutBlocksFragment }
- & BlockInstanceWithoutBlockFragment
- )>> }
- & BlockWithoutBlocksFragment
- ) }
- & BlockInstanceWithoutBlockFragment
- )>> }
- & BlockWithoutBlocksFragment
- )> };
- export type ExercisesQueryVariables = {};
- export type ExercisesQuery = { exercises: Array<ExerciseContentFragment> };
- export type CreateTrainingMutationVariables = {
- title: Scalars['String'],
- type: TrainingTypeCreateOneInput,
- trainingDate: Scalars['DateTime'],
- location: Scalars['String'],
- attendance: Scalars['Int'],
- published: Scalars['Boolean'],
- blocks?: Maybe<BlockInstanceCreateManyWithoutParentTrainingInput>
- };
- export type CreateTrainingMutation = { createTraining: Pick<Training, 'id'> };
- export type UpdateTrainingMutationVariables = {
- where: TrainingWhereUniqueInput,
- data: TrainingUpdateInput
- };
- export type UpdateTrainingMutation = { updateTraining: Pick<Training, 'id'> };
- export type CreateTrainingTypeMutationVariables = {
- name: Scalars['String'],
- description: Scalars['String']
- };
- export type CreateTrainingTypeMutation = { createTrainingType: Pick<TrainingType, 'id'> };
- export type CreateFormatMutationVariables = {
- name: Scalars['String'],
- description: Scalars['String']
- };
- export type CreateFormatMutation = { createFormat: Pick<Format, 'id'> };
- export type RegisterMutationVariables = {
- training: Scalars['ID']
- };
- export type RegisterMutation = { register: Pick<Training, 'id'> };
- export type DeregisterMutationVariables = {
- training: Scalars['ID']
- };
- export type DeregisterMutation = { deregister: Pick<Training, 'id'> };
- export type PublishMutationVariables = {
- training: Scalars['ID'],
- status?: Maybe<Scalars['Boolean']>
- };
- export type PublishMutation = { publish: Pick<Training, 'id'> };
- export type ExerciseContentFragment = (
- Pick<Exercise, 'id' | 'name' | 'description' | 'targets' | 'baseExercise'>
- & { videos: Maybe<Array<Pick<Video, 'id'>>>, pictures: Maybe<Array<Pick<Picture, 'id'>>> }
- );
- export type BlockWithoutBlocksFragment = (
- Pick<Block, 'id' | 'title' | 'description' | 'duration' | 'rest'>
- & { 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<(
- Pick<ExerciseInstance, 'id' | 'order' | 'repetitions' | 'variation'>
- & { exercise: ExerciseContentFragment }
- )>> }
- );
- export type BlockInstanceWithoutBlockFragment = Pick<BlockInstance, 'id' | 'order' | 'rounds' | 'variation'>;
- export type DisplayTrainingFragment = (
- Pick<Training, 'id' | 'title' | 'createdAt' | 'trainingDate' | 'location' | 'attendance' | 'published'>
- & { type: Pick<TrainingType, 'id' | 'name' | 'description'>, blocks: Maybe<Array<(
- { block: (
- { blocks: Maybe<Array<(
- { block: (
- { blocks: Maybe<Array<(
- { block: (
- { blocks: Maybe<Array<(
- { block: (
- { blocks: Maybe<Array<Pick<BlockInstance, 'id'>>> }
- & BlockWithoutBlocksFragment
- ) }
- & BlockInstanceWithoutBlockFragment
- )>> }
- & BlockWithoutBlocksFragment
- ) }
- & BlockInstanceWithoutBlockFragment
- )>> }
- & BlockWithoutBlocksFragment
- ) }
- & BlockInstanceWithoutBlockFragment
- )>> }
- & BlockWithoutBlocksFragment
- ) }
- & BlockInstanceWithoutBlockFragment
- )>>, registrations: Maybe<Array<Pick<User, 'id' | 'name'>>> }
- );
- export type EditTrainingFragment = (
- Pick<Training, 'id' | 'createdAt' | 'title' | 'trainingDate' | 'location' | 'attendance' | 'published'>
- & { type: Pick<TrainingType, 'id' | 'name' | 'description'>, blocks: Maybe<Array<(
- { block: (
- { blocks: Maybe<Array<(
- { block: (
- { blocks: Maybe<Array<(
- { block: (
- { blocks: Maybe<Array<(
- { block: (
- { blocks: Maybe<Array<Pick<BlockInstance, 'id'>>> }
- & BlockWithoutBlocksFragment
- ) }
- & BlockInstanceWithoutBlockFragment
- )>> }
- & BlockWithoutBlocksFragment
- ) }
- & BlockInstanceWithoutBlockFragment
- )>> }
- & BlockWithoutBlocksFragment
- ) }
- & BlockInstanceWithoutBlockFragment
- )>> }
- & BlockWithoutBlocksFragment
- ) }
- & BlockInstanceWithoutBlockFragment
- )>>, registrations: Maybe<Array<Pick<User, 'id' | 'name'>>> }
- );
- export type UsersQueryVariables = {};
- export type UsersQuery = { users: Array<Pick<User, 'id' | 'email' | 'name' | 'permissions' | 'interests'>> };
- export type UserSignupMutationVariables = {
- email: Scalars['String'],
- password: Scalars['String'],
- name: Scalars['String']
- };
- export type UserSignupMutation = { userSignup: Pick<User, 'id' | 'email' | 'name'> };
- export type UserLoginMutationVariables = {
- email: Scalars['String'],
- password: Scalars['String']
- };
- export type UserLoginMutation = { userLogin: Pick<User, 'id' | 'email' | 'name'> };
- export type UserLogoutMutationVariables = {};
- export type UserLogoutMutation = Pick<Mutation, 'userLogout'>;
- export type CurrentUserQueryVariables = {};
- export type CurrentUserQuery = { currentUser: Pick<User, 'id' | 'email' | 'name' | 'permissions' | 'interests'> };
- export type RequestResetMutationVariables = {
- email: Scalars['String']
- };
- export type RequestResetMutation = Pick<Mutation, 'requestReset'>;
- export type ResetPasswordMutationVariables = {
- token: Scalars['String'],
- password: Scalars['String']
- };
- export type ResetPasswordMutation = { resetPassword: Pick<User, 'id' | 'name'> };
- export type UserDeleteMutationVariables = {
- id: Scalars['ID']
- };
- export type UserDeleteMutation = { deleteUser: Pick<User, 'id'> };
- export type UserUpdateMutationVariables = {
- id: Scalars['ID'],
- data: UserUpdateInput
- };
- export type UserUpdateMutation = { updateUser: Pick<User, 'id' | 'name' | 'email' | 'permissions' | 'interests'> };
- export type UpdatePermissionsMutationVariables = {
- id: Scalars['ID'],
- permissions: Array<Permission>
- };
- export type UpdatePermissionsMutation = { updatePermissions: Pick<User, 'id'> };
- export const BlockInstanceWithoutBlockFragmentDoc = gql`
- fragment blockInstanceWithoutBlock on BlockInstance {
- id
- order
- rounds
- variation
- }
- `;
- export const ExerciseContentFragmentDoc = gql`
- fragment exerciseContent on Exercise {
- id
- name
- description
- videos {
- id
- }
- pictures {
- id
- }
- targets
- baseExercise
- }
- `;
- export const BlockWithoutBlocksFragmentDoc = gql`
- fragment blockWithoutBlocks on Block {
- id
- title
- description
- videos {
- id
- }
- pictures {
- id
- }
- tracks {
- id
- }
- duration
- format {
- id
- name
- description
- }
- rest
- exercises {
- id
- exercise {
- ...exerciseContent
- }
- order
- repetitions
- variation
- }
- }
- ${ExerciseContentFragmentDoc}`;
- export const DisplayTrainingFragmentDoc = gql`
- fragment displayTraining on Training {
- id
- title
- type {
- id
- name
- description
- }
- createdAt
- trainingDate
- location
- attendance
- published
- blocks {
- ...blockInstanceWithoutBlock
- block {
- ...blockWithoutBlocks
- blocks {
- ...blockInstanceWithoutBlock
- block {
- ...blockWithoutBlocks
- blocks {
- ...blockInstanceWithoutBlock
- block {
- ...blockWithoutBlocks
- blocks {
- ...blockInstanceWithoutBlock
- block {
- ...blockWithoutBlocks
- blocks {
- id
- }
- }
- }
- }
- }
- }
- }
- }
- }
- registrations {
- id
- name
- }
- }
- ${BlockInstanceWithoutBlockFragmentDoc}
- ${BlockWithoutBlocksFragmentDoc}`;
- export const EditTrainingFragmentDoc = gql`
- fragment editTraining on Training {
- id
- createdAt
- title
- type {
- id
- name
- description
- }
- createdAt
- trainingDate
- location
- attendance
- published
- blocks {
- ...blockInstanceWithoutBlock
- block {
- ...blockWithoutBlocks
- blocks {
- ...blockInstanceWithoutBlock
- block {
- ...blockWithoutBlocks
- blocks {
- ...blockInstanceWithoutBlock
- block {
- ...blockWithoutBlocks
- blocks {
- ...blockInstanceWithoutBlock
- block {
- ...blockWithoutBlocks
- blocks {
- id
- }
- }
- }
- }
- }
- }
- }
- }
- }
- registrations {
- id
- name
- }
- }
- ${BlockInstanceWithoutBlockFragmentDoc}
- ${BlockWithoutBlocksFragmentDoc}`;
- export const FsFilesDocument = gql`
- query fsFiles($directory: String!) {
- fsFiles(directory: $directory) {
- filename
- path
- size
- ctime
- mtime
- }
- }
- `;
- /**
- * __useFsFilesQuery__
- *
- * To run a query within a React component, call `useFsFilesQuery` and pass it any options that fit your needs.
- * When your component renders, `useFsFilesQuery` returns an object from Apollo Client that contains loading, error, and data properties
- * you can use to render your UI.
- *
- * @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;
- *
- * @example
- * const { data, loading, error } = useFsFilesQuery({
- * variables: {
- * directory: // value for 'directory'
- * },
- * });
- */
- export function useFsFilesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<FsFilesQuery, FsFilesQueryVariables>) {
- return ApolloReactHooks.useQuery<FsFilesQuery, FsFilesQueryVariables>(FsFilesDocument, baseOptions);
- }
- export function useFsFilesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<FsFilesQuery, FsFilesQueryVariables>) {
- return ApolloReactHooks.useLazyQuery<FsFilesQuery, FsFilesQueryVariables>(FsFilesDocument, baseOptions);
- }
- export type FsFilesQueryHookResult = ReturnType<typeof useFsFilesQuery>;
- export type FsFilesLazyQueryHookResult = ReturnType<typeof useFsFilesLazyQuery>;
- export type FsFilesQueryResult = ApolloReactCommon.QueryResult<FsFilesQuery, FsFilesQueryVariables>;
- export const FileDocument = gql`
- query file($where: FileWhereUniqueInput!) {
- file(where: $where) {
- id
- path
- mimetype
- user {
- id
- name
- }
- thumbnail
- filename
- size
- updatedAt
- comment
- title
- artist
- width
- height
- }
- }
- `;
- /**
- * __useFileQuery__
- *
- * To run a query within a React component, call `useFileQuery` and pass it any options that fit your needs.
- * When your component renders, `useFileQuery` returns an object from Apollo Client that contains loading, error, and data properties
- * you can use to render your UI.
- *
- * @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;
- *
- * @example
- * const { data, loading, error } = useFileQuery({
- * variables: {
- * where: // value for 'where'
- * },
- * });
- */
- export function useFileQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<FileQuery, FileQueryVariables>) {
- return ApolloReactHooks.useQuery<FileQuery, FileQueryVariables>(FileDocument, baseOptions);
- }
- export function useFileLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<FileQuery, FileQueryVariables>) {
- return ApolloReactHooks.useLazyQuery<FileQuery, FileQueryVariables>(FileDocument, baseOptions);
- }
- export type FileQueryHookResult = ReturnType<typeof useFileQuery>;
- export type FileLazyQueryHookResult = ReturnType<typeof useFileLazyQuery>;
- export type FileQueryResult = ApolloReactCommon.QueryResult<FileQuery, FileQueryVariables>;
- export const FilesDocument = gql`
- query files($where: FileWhereInput, $orderBy: FileOrderByInput, $skip: Int, $after: String, $before: String, $first: Int, $last: Int) {
- files(where: $where, orderBy: $orderBy, skip: $skip, after: $after, before: $before, first: $first, last: $last) {
- id
- path
- mimetype
- user {
- id
- name
- }
- thumbnail
- filename
- size
- updatedAt
- comment
- title
- }
- }
- `;
- /**
- * __useFilesQuery__
- *
- * To run a query within a React component, call `useFilesQuery` and pass it any options that fit your needs.
- * When your component renders, `useFilesQuery` returns an object from Apollo Client that contains loading, error, and data properties
- * you can use to render your UI.
- *
- * @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;
- *
- * @example
- * const { data, loading, error } = useFilesQuery({
- * variables: {
- * where: // value for 'where'
- * orderBy: // value for 'orderBy'
- * skip: // value for 'skip'
- * after: // value for 'after'
- * before: // value for 'before'
- * first: // value for 'first'
- * last: // value for 'last'
- * },
- * });
- */
- export function useFilesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<FilesQuery, FilesQueryVariables>) {
- return ApolloReactHooks.useQuery<FilesQuery, FilesQueryVariables>(FilesDocument, baseOptions);
- }
- export function useFilesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<FilesQuery, FilesQueryVariables>) {
- return ApolloReactHooks.useLazyQuery<FilesQuery, FilesQueryVariables>(FilesDocument, baseOptions);
- }
- export type FilesQueryHookResult = ReturnType<typeof useFilesQuery>;
- export type FilesLazyQueryHookResult = ReturnType<typeof useFilesLazyQuery>;
- export type FilesQueryResult = ApolloReactCommon.QueryResult<FilesQuery, FilesQueryVariables>;
- export const UploadFileDocument = gql`
- mutation uploadFile($file: Upload!, $comment: String, $width: Int, $height: Int, $duration: Float, $title: String, $artist: String) {
- uploadFile(file: $file, comment: $comment, width: $width, height: $height, duration: $duration, title: $title, artist: $artist) {
- id
- path
- mimetype
- thumbnail
- filename
- size
- comment
- title
- artist
- }
- }
- `;
- export type UploadFileMutationFn = ApolloReactCommon.MutationFunction<UploadFileMutation, UploadFileMutationVariables>;
- /**
- * __useUploadFileMutation__
- *
- * To run a mutation, you first call `useUploadFileMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `useUploadFileMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @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;
- *
- * @example
- * const [uploadFileMutation, { data, loading, error }] = useUploadFileMutation({
- * variables: {
- * file: // value for 'file'
- * comment: // value for 'comment'
- * width: // value for 'width'
- * height: // value for 'height'
- * duration: // value for 'duration'
- * title: // value for 'title'
- * artist: // value for 'artist'
- * },
- * });
- */
- export function useUploadFileMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<UploadFileMutation, UploadFileMutationVariables>) {
- return ApolloReactHooks.useMutation<UploadFileMutation, UploadFileMutationVariables>(UploadFileDocument, baseOptions);
- }
- export type UploadFileMutationHookResult = ReturnType<typeof useUploadFileMutation>;
- export type UploadFileMutationResult = ApolloReactCommon.MutationResult<UploadFileMutation>;
- export type UploadFileMutationOptions = ApolloReactCommon.BaseMutationOptions<UploadFileMutation, UploadFileMutationVariables>;
- export const UpdateFileDocument = gql`
- mutation updateFile($where: FileWhereUniqueInput!, $data: FileUpdateInput!) {
- updateFile(where: $where, data: $data) {
- id
- }
- }
- `;
- export type UpdateFileMutationFn = ApolloReactCommon.MutationFunction<UpdateFileMutation, UpdateFileMutationVariables>;
- /**
- * __useUpdateFileMutation__
- *
- * To run a mutation, you first call `useUpdateFileMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `useUpdateFileMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @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;
- *
- * @example
- * const [updateFileMutation, { data, loading, error }] = useUpdateFileMutation({
- * variables: {
- * where: // value for 'where'
- * data: // value for 'data'
- * },
- * });
- */
- export function useUpdateFileMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<UpdateFileMutation, UpdateFileMutationVariables>) {
- return ApolloReactHooks.useMutation<UpdateFileMutation, UpdateFileMutationVariables>(UpdateFileDocument, baseOptions);
- }
- export type UpdateFileMutationHookResult = ReturnType<typeof useUpdateFileMutation>;
- export type UpdateFileMutationResult = ApolloReactCommon.MutationResult<UpdateFileMutation>;
- export type UpdateFileMutationOptions = ApolloReactCommon.BaseMutationOptions<UpdateFileMutation, UpdateFileMutationVariables>;
- export const DeleteFileDocument = gql`
- mutation deleteFile($id: ID!) {
- deleteFile(id: $id) {
- id
- }
- }
- `;
- export type DeleteFileMutationFn = ApolloReactCommon.MutationFunction<DeleteFileMutation, DeleteFileMutationVariables>;
- /**
- * __useDeleteFileMutation__
- *
- * To run a mutation, you first call `useDeleteFileMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `useDeleteFileMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @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;
- *
- * @example
- * const [deleteFileMutation, { data, loading, error }] = useDeleteFileMutation({
- * variables: {
- * id: // value for 'id'
- * },
- * });
- */
- export function useDeleteFileMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<DeleteFileMutation, DeleteFileMutationVariables>) {
- return ApolloReactHooks.useMutation<DeleteFileMutation, DeleteFileMutationVariables>(DeleteFileDocument, baseOptions);
- }
- export type DeleteFileMutationHookResult = ReturnType<typeof useDeleteFileMutation>;
- export type DeleteFileMutationResult = ApolloReactCommon.MutationResult<DeleteFileMutation>;
- export type DeleteFileMutationOptions = ApolloReactCommon.BaseMutationOptions<DeleteFileMutation, DeleteFileMutationVariables>;
- export const VideosDocument = gql`
- query videos {
- videos {
- id
- order
- file {
- id
- path
- comment
- mimetype
- thumbnail
- filename
- duration
- title
- artist
- }
- link {
- id
- url
- comment
- duration
- title
- artist
- }
- }
- }
- `;
- /**
- * __useVideosQuery__
- *
- * To run a query within a React component, call `useVideosQuery` and pass it any options that fit your needs.
- * When your component renders, `useVideosQuery` returns an object from Apollo Client that contains loading, error, and data properties
- * you can use to render your UI.
- *
- * @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;
- *
- * @example
- * const { data, loading, error } = useVideosQuery({
- * variables: {
- * },
- * });
- */
- export function useVideosQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<VideosQuery, VideosQueryVariables>) {
- return ApolloReactHooks.useQuery<VideosQuery, VideosQueryVariables>(VideosDocument, baseOptions);
- }
- export function useVideosLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<VideosQuery, VideosQueryVariables>) {
- return ApolloReactHooks.useLazyQuery<VideosQuery, VideosQueryVariables>(VideosDocument, baseOptions);
- }
- export type VideosQueryHookResult = ReturnType<typeof useVideosQuery>;
- export type VideosLazyQueryHookResult = ReturnType<typeof useVideosLazyQuery>;
- export type VideosQueryResult = ApolloReactCommon.QueryResult<VideosQuery, VideosQueryVariables>;
- export const TrainingArchiveDocument = gql`
- query trainingArchive($skip: Int, $first: Int) {
- trainingArchive(skip: $skip, first: $first) {
- trainings {
- id
- title
- type {
- name
- description
- }
- trainingDate
- location
- attendance
- blocks
- }
- totalCount
- }
- }
- `;
- /**
- * __useTrainingArchiveQuery__
- *
- * To run a query within a React component, call `useTrainingArchiveQuery` and pass it any options that fit your needs.
- * When your component renders, `useTrainingArchiveQuery` returns an object from Apollo Client that contains loading, error, and data properties
- * you can use to render your UI.
- *
- * @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;
- *
- * @example
- * const { data, loading, error } = useTrainingArchiveQuery({
- * variables: {
- * skip: // value for 'skip'
- * first: // value for 'first'
- * },
- * });
- */
- export function useTrainingArchiveQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<TrainingArchiveQuery, TrainingArchiveQueryVariables>) {
- return ApolloReactHooks.useQuery<TrainingArchiveQuery, TrainingArchiveQueryVariables>(TrainingArchiveDocument, baseOptions);
- }
- export function useTrainingArchiveLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<TrainingArchiveQuery, TrainingArchiveQueryVariables>) {
- return ApolloReactHooks.useLazyQuery<TrainingArchiveQuery, TrainingArchiveQueryVariables>(TrainingArchiveDocument, baseOptions);
- }
- export type TrainingArchiveQueryHookResult = ReturnType<typeof useTrainingArchiveQuery>;
- export type TrainingArchiveLazyQueryHookResult = ReturnType<typeof useTrainingArchiveLazyQuery>;
- export type TrainingArchiveQueryResult = ApolloReactCommon.QueryResult<TrainingArchiveQuery, TrainingArchiveQueryVariables>;
- export const TrainingDocument = gql`
- query training($id: ID) {
- training(id: $id) {
- ...displayTraining
- }
- }
- ${DisplayTrainingFragmentDoc}`;
- /**
- * __useTrainingQuery__
- *
- * To run a query within a React component, call `useTrainingQuery` and pass it any options that fit your needs.
- * When your component renders, `useTrainingQuery` returns an object from Apollo Client that contains loading, error, and data properties
- * you can use to render your UI.
- *
- * @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;
- *
- * @example
- * const { data, loading, error } = useTrainingQuery({
- * variables: {
- * id: // value for 'id'
- * },
- * });
- */
- export function useTrainingQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<TrainingQuery, TrainingQueryVariables>) {
- return ApolloReactHooks.useQuery<TrainingQuery, TrainingQueryVariables>(TrainingDocument, baseOptions);
- }
- export function useTrainingLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<TrainingQuery, TrainingQueryVariables>) {
- return ApolloReactHooks.useLazyQuery<TrainingQuery, TrainingQueryVariables>(TrainingDocument, baseOptions);
- }
- export type TrainingQueryHookResult = ReturnType<typeof useTrainingQuery>;
- export type TrainingLazyQueryHookResult = ReturnType<typeof useTrainingLazyQuery>;
- export type TrainingQueryResult = ApolloReactCommon.QueryResult<TrainingQuery, TrainingQueryVariables>;
- export const DeleteTrainingDocument = gql`
- mutation deleteTraining($id: ID!) {
- deleteTraining(id: $id) {
- id
- }
- }
- `;
- export type DeleteTrainingMutationFn = ApolloReactCommon.MutationFunction<DeleteTrainingMutation, DeleteTrainingMutationVariables>;
- /**
- * __useDeleteTrainingMutation__
- *
- * To run a mutation, you first call `useDeleteTrainingMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `useDeleteTrainingMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @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;
- *
- * @example
- * const [deleteTrainingMutation, { data, loading, error }] = useDeleteTrainingMutation({
- * variables: {
- * id: // value for 'id'
- * },
- * });
- */
- export function useDeleteTrainingMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<DeleteTrainingMutation, DeleteTrainingMutationVariables>) {
- return ApolloReactHooks.useMutation<DeleteTrainingMutation, DeleteTrainingMutationVariables>(DeleteTrainingDocument, baseOptions);
- }
- export type DeleteTrainingMutationHookResult = ReturnType<typeof useDeleteTrainingMutation>;
- export type DeleteTrainingMutationResult = ApolloReactCommon.MutationResult<DeleteTrainingMutation>;
- export type DeleteTrainingMutationOptions = ApolloReactCommon.BaseMutationOptions<DeleteTrainingMutation, DeleteTrainingMutationVariables>;
- export const TrainingsDocument = gql`
- query trainings($where: TrainingWhereInput, $orderBy: TrainingOrderByInput, $skip: Int, $after: String, $before: String, $first: Int, $last: Int) {
- trainings(where: $where, orderBy: $orderBy, skip: $skip, after: $after, before: $before, first: $first, last: $last) {
- ...displayTraining
- }
- }
- ${DisplayTrainingFragmentDoc}`;
- /**
- * __useTrainingsQuery__
- *
- * To run a query within a React component, call `useTrainingsQuery` and pass it any options that fit your needs.
- * When your component renders, `useTrainingsQuery` returns an object from Apollo Client that contains loading, error, and data properties
- * you can use to render your UI.
- *
- * @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;
- *
- * @example
- * const { data, loading, error } = useTrainingsQuery({
- * variables: {
- * where: // value for 'where'
- * orderBy: // value for 'orderBy'
- * skip: // value for 'skip'
- * after: // value for 'after'
- * before: // value for 'before'
- * first: // value for 'first'
- * last: // value for 'last'
- * },
- * });
- */
- export function useTrainingsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<TrainingsQuery, TrainingsQueryVariables>) {
- return ApolloReactHooks.useQuery<TrainingsQuery, TrainingsQueryVariables>(TrainingsDocument, baseOptions);
- }
- export function useTrainingsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<TrainingsQuery, TrainingsQueryVariables>) {
- return ApolloReactHooks.useLazyQuery<TrainingsQuery, TrainingsQueryVariables>(TrainingsDocument, baseOptions);
- }
- export type TrainingsQueryHookResult = ReturnType<typeof useTrainingsQuery>;
- export type TrainingsLazyQueryHookResult = ReturnType<typeof useTrainingsLazyQuery>;
- export type TrainingsQueryResult = ApolloReactCommon.QueryResult<TrainingsQuery, TrainingsQueryVariables>;
- export const TrainingTypesDocument = gql`
- query trainingTypes($where: TrainingTypeWhereInput, $orderBy: TrainingTypeOrderByInput, $skip: Int, $after: String, $before: String, $first: Int, $last: Int) {
- trainingTypes(where: $where, orderBy: $orderBy, skip: $skip, after: $after, before: $before, first: $first, last: $last) {
- id
- name
- description
- }
- }
- `;
- /**
- * __useTrainingTypesQuery__
- *
- * To run a query within a React component, call `useTrainingTypesQuery` and pass it any options that fit your needs.
- * When your component renders, `useTrainingTypesQuery` returns an object from Apollo Client that contains loading, error, and data properties
- * you can use to render your UI.
- *
- * @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;
- *
- * @example
- * const { data, loading, error } = useTrainingTypesQuery({
- * variables: {
- * where: // value for 'where'
- * orderBy: // value for 'orderBy'
- * skip: // value for 'skip'
- * after: // value for 'after'
- * before: // value for 'before'
- * first: // value for 'first'
- * last: // value for 'last'
- * },
- * });
- */
- export function useTrainingTypesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<TrainingTypesQuery, TrainingTypesQueryVariables>) {
- return ApolloReactHooks.useQuery<TrainingTypesQuery, TrainingTypesQueryVariables>(TrainingTypesDocument, baseOptions);
- }
- export function useTrainingTypesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<TrainingTypesQuery, TrainingTypesQueryVariables>) {
- return ApolloReactHooks.useLazyQuery<TrainingTypesQuery, TrainingTypesQueryVariables>(TrainingTypesDocument, baseOptions);
- }
- export type TrainingTypesQueryHookResult = ReturnType<typeof useTrainingTypesQuery>;
- export type TrainingTypesLazyQueryHookResult = ReturnType<typeof useTrainingTypesLazyQuery>;
- export type TrainingTypesQueryResult = ApolloReactCommon.QueryResult<TrainingTypesQuery, TrainingTypesQueryVariables>;
- export const FormatsDocument = gql`
- query formats($where: FormatWhereInput, $orderBy: FormatOrderByInput, $skip: Int, $after: String, $before: String, $first: Int, $last: Int) {
- formats(where: $where, orderBy: $orderBy, skip: $skip, after: $after, before: $before, first: $first, last: $last) {
- id
- name
- description
- }
- }
- `;
- /**
- * __useFormatsQuery__
- *
- * To run a query within a React component, call `useFormatsQuery` and pass it any options that fit your needs.
- * When your component renders, `useFormatsQuery` returns an object from Apollo Client that contains loading, error, and data properties
- * you can use to render your UI.
- *
- * @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;
- *
- * @example
- * const { data, loading, error } = useFormatsQuery({
- * variables: {
- * where: // value for 'where'
- * orderBy: // value for 'orderBy'
- * skip: // value for 'skip'
- * after: // value for 'after'
- * before: // value for 'before'
- * first: // value for 'first'
- * last: // value for 'last'
- * },
- * });
- */
- export function useFormatsQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<FormatsQuery, FormatsQueryVariables>) {
- return ApolloReactHooks.useQuery<FormatsQuery, FormatsQueryVariables>(FormatsDocument, baseOptions);
- }
- export function useFormatsLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<FormatsQuery, FormatsQueryVariables>) {
- return ApolloReactHooks.useLazyQuery<FormatsQuery, FormatsQueryVariables>(FormatsDocument, baseOptions);
- }
- export type FormatsQueryHookResult = ReturnType<typeof useFormatsQuery>;
- export type FormatsLazyQueryHookResult = ReturnType<typeof useFormatsLazyQuery>;
- export type FormatsQueryResult = ApolloReactCommon.QueryResult<FormatsQuery, FormatsQueryVariables>;
- export const BlocksDocument = gql`
- query blocks {
- blocks {
- ...blockWithoutBlocks
- blocks {
- ...blockInstanceWithoutBlock
- block {
- ...blockWithoutBlocks
- blocks {
- ...blockInstanceWithoutBlock
- block {
- ...blockWithoutBlocks
- }
- }
- }
- }
- }
- }
- ${BlockWithoutBlocksFragmentDoc}
- ${BlockInstanceWithoutBlockFragmentDoc}`;
- /**
- * __useBlocksQuery__
- *
- * To run a query within a React component, call `useBlocksQuery` and pass it any options that fit your needs.
- * When your component renders, `useBlocksQuery` returns an object from Apollo Client that contains loading, error, and data properties
- * you can use to render your UI.
- *
- * @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;
- *
- * @example
- * const { data, loading, error } = useBlocksQuery({
- * variables: {
- * },
- * });
- */
- export function useBlocksQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<BlocksQuery, BlocksQueryVariables>) {
- return ApolloReactHooks.useQuery<BlocksQuery, BlocksQueryVariables>(BlocksDocument, baseOptions);
- }
- export function useBlocksLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<BlocksQuery, BlocksQueryVariables>) {
- return ApolloReactHooks.useLazyQuery<BlocksQuery, BlocksQueryVariables>(BlocksDocument, baseOptions);
- }
- export type BlocksQueryHookResult = ReturnType<typeof useBlocksQuery>;
- export type BlocksLazyQueryHookResult = ReturnType<typeof useBlocksLazyQuery>;
- export type BlocksQueryResult = ApolloReactCommon.QueryResult<BlocksQuery, BlocksQueryVariables>;
- export const ExercisesDocument = gql`
- query exercises {
- exercises {
- ...exerciseContent
- }
- }
- ${ExerciseContentFragmentDoc}`;
- /**
- * __useExercisesQuery__
- *
- * To run a query within a React component, call `useExercisesQuery` and pass it any options that fit your needs.
- * When your component renders, `useExercisesQuery` returns an object from Apollo Client that contains loading, error, and data properties
- * you can use to render your UI.
- *
- * @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;
- *
- * @example
- * const { data, loading, error } = useExercisesQuery({
- * variables: {
- * },
- * });
- */
- export function useExercisesQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<ExercisesQuery, ExercisesQueryVariables>) {
- return ApolloReactHooks.useQuery<ExercisesQuery, ExercisesQueryVariables>(ExercisesDocument, baseOptions);
- }
- export function useExercisesLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<ExercisesQuery, ExercisesQueryVariables>) {
- return ApolloReactHooks.useLazyQuery<ExercisesQuery, ExercisesQueryVariables>(ExercisesDocument, baseOptions);
- }
- export type ExercisesQueryHookResult = ReturnType<typeof useExercisesQuery>;
- export type ExercisesLazyQueryHookResult = ReturnType<typeof useExercisesLazyQuery>;
- export type ExercisesQueryResult = ApolloReactCommon.QueryResult<ExercisesQuery, ExercisesQueryVariables>;
- export const CreateTrainingDocument = gql`
- mutation createTraining($title: String!, $type: TrainingTypeCreateOneInput!, $trainingDate: DateTime!, $location: String!, $attendance: Int!, $published: Boolean!, $blocks: BlockInstanceCreateManyWithoutParentTrainingInput) {
- createTraining(title: $title, type: $type, trainingDate: $trainingDate, location: $location, attendance: $attendance, published: $published, blocks: $blocks) {
- id
- }
- }
- `;
- export type CreateTrainingMutationFn = ApolloReactCommon.MutationFunction<CreateTrainingMutation, CreateTrainingMutationVariables>;
- /**
- * __useCreateTrainingMutation__
- *
- * To run a mutation, you first call `useCreateTrainingMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `useCreateTrainingMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @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;
- *
- * @example
- * const [createTrainingMutation, { data, loading, error }] = useCreateTrainingMutation({
- * variables: {
- * title: // value for 'title'
- * type: // value for 'type'
- * trainingDate: // value for 'trainingDate'
- * location: // value for 'location'
- * attendance: // value for 'attendance'
- * published: // value for 'published'
- * blocks: // value for 'blocks'
- * },
- * });
- */
- export function useCreateTrainingMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<CreateTrainingMutation, CreateTrainingMutationVariables>) {
- return ApolloReactHooks.useMutation<CreateTrainingMutation, CreateTrainingMutationVariables>(CreateTrainingDocument, baseOptions);
- }
- export type CreateTrainingMutationHookResult = ReturnType<typeof useCreateTrainingMutation>;
- export type CreateTrainingMutationResult = ApolloReactCommon.MutationResult<CreateTrainingMutation>;
- export type CreateTrainingMutationOptions = ApolloReactCommon.BaseMutationOptions<CreateTrainingMutation, CreateTrainingMutationVariables>;
- export const UpdateTrainingDocument = gql`
- mutation updateTraining($where: TrainingWhereUniqueInput!, $data: TrainingUpdateInput!) {
- updateTraining(where: $where, data: $data) {
- id
- }
- }
- `;
- export type UpdateTrainingMutationFn = ApolloReactCommon.MutationFunction<UpdateTrainingMutation, UpdateTrainingMutationVariables>;
- /**
- * __useUpdateTrainingMutation__
- *
- * To run a mutation, you first call `useUpdateTrainingMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `useUpdateTrainingMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @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;
- *
- * @example
- * const [updateTrainingMutation, { data, loading, error }] = useUpdateTrainingMutation({
- * variables: {
- * where: // value for 'where'
- * data: // value for 'data'
- * },
- * });
- */
- export function useUpdateTrainingMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<UpdateTrainingMutation, UpdateTrainingMutationVariables>) {
- return ApolloReactHooks.useMutation<UpdateTrainingMutation, UpdateTrainingMutationVariables>(UpdateTrainingDocument, baseOptions);
- }
- export type UpdateTrainingMutationHookResult = ReturnType<typeof useUpdateTrainingMutation>;
- export type UpdateTrainingMutationResult = ApolloReactCommon.MutationResult<UpdateTrainingMutation>;
- export type UpdateTrainingMutationOptions = ApolloReactCommon.BaseMutationOptions<UpdateTrainingMutation, UpdateTrainingMutationVariables>;
- export const CreateTrainingTypeDocument = gql`
- mutation createTrainingType($name: String!, $description: String!) {
- createTrainingType(name: $name, description: $description) {
- id
- }
- }
- `;
- export type CreateTrainingTypeMutationFn = ApolloReactCommon.MutationFunction<CreateTrainingTypeMutation, CreateTrainingTypeMutationVariables>;
- /**
- * __useCreateTrainingTypeMutation__
- *
- * To run a mutation, you first call `useCreateTrainingTypeMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `useCreateTrainingTypeMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @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;
- *
- * @example
- * const [createTrainingTypeMutation, { data, loading, error }] = useCreateTrainingTypeMutation({
- * variables: {
- * name: // value for 'name'
- * description: // value for 'description'
- * },
- * });
- */
- export function useCreateTrainingTypeMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<CreateTrainingTypeMutation, CreateTrainingTypeMutationVariables>) {
- return ApolloReactHooks.useMutation<CreateTrainingTypeMutation, CreateTrainingTypeMutationVariables>(CreateTrainingTypeDocument, baseOptions);
- }
- export type CreateTrainingTypeMutationHookResult = ReturnType<typeof useCreateTrainingTypeMutation>;
- export type CreateTrainingTypeMutationResult = ApolloReactCommon.MutationResult<CreateTrainingTypeMutation>;
- export type CreateTrainingTypeMutationOptions = ApolloReactCommon.BaseMutationOptions<CreateTrainingTypeMutation, CreateTrainingTypeMutationVariables>;
- export const CreateFormatDocument = gql`
- mutation createFormat($name: String!, $description: String!) {
- createFormat(name: $name, description: $description) {
- id
- }
- }
- `;
- export type CreateFormatMutationFn = ApolloReactCommon.MutationFunction<CreateFormatMutation, CreateFormatMutationVariables>;
- /**
- * __useCreateFormatMutation__
- *
- * To run a mutation, you first call `useCreateFormatMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `useCreateFormatMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @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;
- *
- * @example
- * const [createFormatMutation, { data, loading, error }] = useCreateFormatMutation({
- * variables: {
- * name: // value for 'name'
- * description: // value for 'description'
- * },
- * });
- */
- export function useCreateFormatMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<CreateFormatMutation, CreateFormatMutationVariables>) {
- return ApolloReactHooks.useMutation<CreateFormatMutation, CreateFormatMutationVariables>(CreateFormatDocument, baseOptions);
- }
- export type CreateFormatMutationHookResult = ReturnType<typeof useCreateFormatMutation>;
- export type CreateFormatMutationResult = ApolloReactCommon.MutationResult<CreateFormatMutation>;
- export type CreateFormatMutationOptions = ApolloReactCommon.BaseMutationOptions<CreateFormatMutation, CreateFormatMutationVariables>;
- export const RegisterDocument = gql`
- mutation register($training: ID!) {
- register(training: $training) {
- id
- }
- }
- `;
- export type RegisterMutationFn = ApolloReactCommon.MutationFunction<RegisterMutation, RegisterMutationVariables>;
- /**
- * __useRegisterMutation__
- *
- * To run a mutation, you first call `useRegisterMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `useRegisterMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @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;
- *
- * @example
- * const [registerMutation, { data, loading, error }] = useRegisterMutation({
- * variables: {
- * training: // value for 'training'
- * },
- * });
- */
- export function useRegisterMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<RegisterMutation, RegisterMutationVariables>) {
- return ApolloReactHooks.useMutation<RegisterMutation, RegisterMutationVariables>(RegisterDocument, baseOptions);
- }
- export type RegisterMutationHookResult = ReturnType<typeof useRegisterMutation>;
- export type RegisterMutationResult = ApolloReactCommon.MutationResult<RegisterMutation>;
- export type RegisterMutationOptions = ApolloReactCommon.BaseMutationOptions<RegisterMutation, RegisterMutationVariables>;
- export const DeregisterDocument = gql`
- mutation deregister($training: ID!) {
- deregister(training: $training) {
- id
- }
- }
- `;
- export type DeregisterMutationFn = ApolloReactCommon.MutationFunction<DeregisterMutation, DeregisterMutationVariables>;
- /**
- * __useDeregisterMutation__
- *
- * To run a mutation, you first call `useDeregisterMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `useDeregisterMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @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;
- *
- * @example
- * const [deregisterMutation, { data, loading, error }] = useDeregisterMutation({
- * variables: {
- * training: // value for 'training'
- * },
- * });
- */
- export function useDeregisterMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<DeregisterMutation, DeregisterMutationVariables>) {
- return ApolloReactHooks.useMutation<DeregisterMutation, DeregisterMutationVariables>(DeregisterDocument, baseOptions);
- }
- export type DeregisterMutationHookResult = ReturnType<typeof useDeregisterMutation>;
- export type DeregisterMutationResult = ApolloReactCommon.MutationResult<DeregisterMutation>;
- export type DeregisterMutationOptions = ApolloReactCommon.BaseMutationOptions<DeregisterMutation, DeregisterMutationVariables>;
- export const PublishDocument = gql`
- mutation publish($training: ID!, $status: Boolean) {
- publish(training: $training, status: $status) {
- id
- }
- }
- `;
- export type PublishMutationFn = ApolloReactCommon.MutationFunction<PublishMutation, PublishMutationVariables>;
- /**
- * __usePublishMutation__
- *
- * To run a mutation, you first call `usePublishMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `usePublishMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @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;
- *
- * @example
- * const [publishMutation, { data, loading, error }] = usePublishMutation({
- * variables: {
- * training: // value for 'training'
- * status: // value for 'status'
- * },
- * });
- */
- export function usePublishMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<PublishMutation, PublishMutationVariables>) {
- return ApolloReactHooks.useMutation<PublishMutation, PublishMutationVariables>(PublishDocument, baseOptions);
- }
- export type PublishMutationHookResult = ReturnType<typeof usePublishMutation>;
- export type PublishMutationResult = ApolloReactCommon.MutationResult<PublishMutation>;
- export type PublishMutationOptions = ApolloReactCommon.BaseMutationOptions<PublishMutation, PublishMutationVariables>;
- export const UsersDocument = gql`
- query Users {
- users {
- id
- email
- name
- permissions
- interests
- }
- }
- `;
- /**
- * __useUsersQuery__
- *
- * To run a query within a React component, call `useUsersQuery` and pass it any options that fit your needs.
- * When your component renders, `useUsersQuery` returns an object from Apollo Client that contains loading, error, and data properties
- * you can use to render your UI.
- *
- * @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;
- *
- * @example
- * const { data, loading, error } = useUsersQuery({
- * variables: {
- * },
- * });
- */
- export function useUsersQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<UsersQuery, UsersQueryVariables>) {
- return ApolloReactHooks.useQuery<UsersQuery, UsersQueryVariables>(UsersDocument, baseOptions);
- }
- export function useUsersLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<UsersQuery, UsersQueryVariables>) {
- return ApolloReactHooks.useLazyQuery<UsersQuery, UsersQueryVariables>(UsersDocument, baseOptions);
- }
- export type UsersQueryHookResult = ReturnType<typeof useUsersQuery>;
- export type UsersLazyQueryHookResult = ReturnType<typeof useUsersLazyQuery>;
- export type UsersQueryResult = ApolloReactCommon.QueryResult<UsersQuery, UsersQueryVariables>;
- export const UserSignupDocument = gql`
- mutation UserSignup($email: String!, $password: String!, $name: String!) {
- userSignup(email: $email, password: $password, name: $name) {
- id
- email
- name
- }
- }
- `;
- export type UserSignupMutationFn = ApolloReactCommon.MutationFunction<UserSignupMutation, UserSignupMutationVariables>;
- /**
- * __useUserSignupMutation__
- *
- * To run a mutation, you first call `useUserSignupMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `useUserSignupMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @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;
- *
- * @example
- * const [userSignupMutation, { data, loading, error }] = useUserSignupMutation({
- * variables: {
- * email: // value for 'email'
- * password: // value for 'password'
- * name: // value for 'name'
- * },
- * });
- */
- export function useUserSignupMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<UserSignupMutation, UserSignupMutationVariables>) {
- return ApolloReactHooks.useMutation<UserSignupMutation, UserSignupMutationVariables>(UserSignupDocument, baseOptions);
- }
- export type UserSignupMutationHookResult = ReturnType<typeof useUserSignupMutation>;
- export type UserSignupMutationResult = ApolloReactCommon.MutationResult<UserSignupMutation>;
- export type UserSignupMutationOptions = ApolloReactCommon.BaseMutationOptions<UserSignupMutation, UserSignupMutationVariables>;
- export const UserLoginDocument = gql`
- mutation UserLogin($email: String!, $password: String!) {
- userLogin(email: $email, password: $password) {
- id
- email
- name
- }
- }
- `;
- export type UserLoginMutationFn = ApolloReactCommon.MutationFunction<UserLoginMutation, UserLoginMutationVariables>;
- /**
- * __useUserLoginMutation__
- *
- * To run a mutation, you first call `useUserLoginMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `useUserLoginMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @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;
- *
- * @example
- * const [userLoginMutation, { data, loading, error }] = useUserLoginMutation({
- * variables: {
- * email: // value for 'email'
- * password: // value for 'password'
- * },
- * });
- */
- export function useUserLoginMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<UserLoginMutation, UserLoginMutationVariables>) {
- return ApolloReactHooks.useMutation<UserLoginMutation, UserLoginMutationVariables>(UserLoginDocument, baseOptions);
- }
- export type UserLoginMutationHookResult = ReturnType<typeof useUserLoginMutation>;
- export type UserLoginMutationResult = ApolloReactCommon.MutationResult<UserLoginMutation>;
- export type UserLoginMutationOptions = ApolloReactCommon.BaseMutationOptions<UserLoginMutation, UserLoginMutationVariables>;
- export const UserLogoutDocument = gql`
- mutation UserLogout {
- userLogout
- }
- `;
- export type UserLogoutMutationFn = ApolloReactCommon.MutationFunction<UserLogoutMutation, UserLogoutMutationVariables>;
- /**
- * __useUserLogoutMutation__
- *
- * To run a mutation, you first call `useUserLogoutMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `useUserLogoutMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @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;
- *
- * @example
- * const [userLogoutMutation, { data, loading, error }] = useUserLogoutMutation({
- * variables: {
- * },
- * });
- */
- export function useUserLogoutMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<UserLogoutMutation, UserLogoutMutationVariables>) {
- return ApolloReactHooks.useMutation<UserLogoutMutation, UserLogoutMutationVariables>(UserLogoutDocument, baseOptions);
- }
- export type UserLogoutMutationHookResult = ReturnType<typeof useUserLogoutMutation>;
- export type UserLogoutMutationResult = ApolloReactCommon.MutationResult<UserLogoutMutation>;
- export type UserLogoutMutationOptions = ApolloReactCommon.BaseMutationOptions<UserLogoutMutation, UserLogoutMutationVariables>;
- export const CurrentUserDocument = gql`
- query CurrentUser {
- currentUser {
- id
- email
- name
- permissions
- interests
- }
- }
- `;
- /**
- * __useCurrentUserQuery__
- *
- * To run a query within a React component, call `useCurrentUserQuery` and pass it any options that fit your needs.
- * When your component renders, `useCurrentUserQuery` returns an object from Apollo Client that contains loading, error, and data properties
- * you can use to render your UI.
- *
- * @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;
- *
- * @example
- * const { data, loading, error } = useCurrentUserQuery({
- * variables: {
- * },
- * });
- */
- export function useCurrentUserQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<CurrentUserQuery, CurrentUserQueryVariables>) {
- return ApolloReactHooks.useQuery<CurrentUserQuery, CurrentUserQueryVariables>(CurrentUserDocument, baseOptions);
- }
- export function useCurrentUserLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<CurrentUserQuery, CurrentUserQueryVariables>) {
- return ApolloReactHooks.useLazyQuery<CurrentUserQuery, CurrentUserQueryVariables>(CurrentUserDocument, baseOptions);
- }
- export type CurrentUserQueryHookResult = ReturnType<typeof useCurrentUserQuery>;
- export type CurrentUserLazyQueryHookResult = ReturnType<typeof useCurrentUserLazyQuery>;
- export type CurrentUserQueryResult = ApolloReactCommon.QueryResult<CurrentUserQuery, CurrentUserQueryVariables>;
- export const RequestResetDocument = gql`
- mutation RequestReset($email: String!) {
- requestReset(email: $email)
- }
- `;
- export type RequestResetMutationFn = ApolloReactCommon.MutationFunction<RequestResetMutation, RequestResetMutationVariables>;
- /**
- * __useRequestResetMutation__
- *
- * To run a mutation, you first call `useRequestResetMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `useRequestResetMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @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;
- *
- * @example
- * const [requestResetMutation, { data, loading, error }] = useRequestResetMutation({
- * variables: {
- * email: // value for 'email'
- * },
- * });
- */
- export function useRequestResetMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<RequestResetMutation, RequestResetMutationVariables>) {
- return ApolloReactHooks.useMutation<RequestResetMutation, RequestResetMutationVariables>(RequestResetDocument, baseOptions);
- }
- export type RequestResetMutationHookResult = ReturnType<typeof useRequestResetMutation>;
- export type RequestResetMutationResult = ApolloReactCommon.MutationResult<RequestResetMutation>;
- export type RequestResetMutationOptions = ApolloReactCommon.BaseMutationOptions<RequestResetMutation, RequestResetMutationVariables>;
- export const ResetPasswordDocument = gql`
- mutation ResetPassword($token: String!, $password: String!) {
- resetPassword(token: $token, password: $password) {
- id
- name
- }
- }
- `;
- export type ResetPasswordMutationFn = ApolloReactCommon.MutationFunction<ResetPasswordMutation, ResetPasswordMutationVariables>;
- /**
- * __useResetPasswordMutation__
- *
- * To run a mutation, you first call `useResetPasswordMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `useResetPasswordMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @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;
- *
- * @example
- * const [resetPasswordMutation, { data, loading, error }] = useResetPasswordMutation({
- * variables: {
- * token: // value for 'token'
- * password: // value for 'password'
- * },
- * });
- */
- export function useResetPasswordMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<ResetPasswordMutation, ResetPasswordMutationVariables>) {
- return ApolloReactHooks.useMutation<ResetPasswordMutation, ResetPasswordMutationVariables>(ResetPasswordDocument, baseOptions);
- }
- export type ResetPasswordMutationHookResult = ReturnType<typeof useResetPasswordMutation>;
- export type ResetPasswordMutationResult = ApolloReactCommon.MutationResult<ResetPasswordMutation>;
- export type ResetPasswordMutationOptions = ApolloReactCommon.BaseMutationOptions<ResetPasswordMutation, ResetPasswordMutationVariables>;
- export const UserDeleteDocument = gql`
- mutation UserDelete($id: ID!) {
- deleteUser(id: $id) {
- id
- }
- }
- `;
- export type UserDeleteMutationFn = ApolloReactCommon.MutationFunction<UserDeleteMutation, UserDeleteMutationVariables>;
- /**
- * __useUserDeleteMutation__
- *
- * To run a mutation, you first call `useUserDeleteMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `useUserDeleteMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @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;
- *
- * @example
- * const [userDeleteMutation, { data, loading, error }] = useUserDeleteMutation({
- * variables: {
- * id: // value for 'id'
- * },
- * });
- */
- export function useUserDeleteMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<UserDeleteMutation, UserDeleteMutationVariables>) {
- return ApolloReactHooks.useMutation<UserDeleteMutation, UserDeleteMutationVariables>(UserDeleteDocument, baseOptions);
- }
- export type UserDeleteMutationHookResult = ReturnType<typeof useUserDeleteMutation>;
- export type UserDeleteMutationResult = ApolloReactCommon.MutationResult<UserDeleteMutation>;
- export type UserDeleteMutationOptions = ApolloReactCommon.BaseMutationOptions<UserDeleteMutation, UserDeleteMutationVariables>;
- export const UserUpdateDocument = gql`
- mutation UserUpdate($id: ID!, $data: UserUpdateInput!) {
- updateUser(id: $id, data: $data) {
- id
- name
- email
- permissions
- interests
- }
- }
- `;
- export type UserUpdateMutationFn = ApolloReactCommon.MutationFunction<UserUpdateMutation, UserUpdateMutationVariables>;
- /**
- * __useUserUpdateMutation__
- *
- * To run a mutation, you first call `useUserUpdateMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `useUserUpdateMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @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;
- *
- * @example
- * const [userUpdateMutation, { data, loading, error }] = useUserUpdateMutation({
- * variables: {
- * id: // value for 'id'
- * data: // value for 'data'
- * },
- * });
- */
- export function useUserUpdateMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<UserUpdateMutation, UserUpdateMutationVariables>) {
- return ApolloReactHooks.useMutation<UserUpdateMutation, UserUpdateMutationVariables>(UserUpdateDocument, baseOptions);
- }
- export type UserUpdateMutationHookResult = ReturnType<typeof useUserUpdateMutation>;
- export type UserUpdateMutationResult = ApolloReactCommon.MutationResult<UserUpdateMutation>;
- export type UserUpdateMutationOptions = ApolloReactCommon.BaseMutationOptions<UserUpdateMutation, UserUpdateMutationVariables>;
- export const UpdatePermissionsDocument = gql`
- mutation updatePermissions($id: ID!, $permissions: [Permission!]!) {
- updatePermissions(id: $id, permissions: $permissions) {
- id
- }
- }
- `;
- export type UpdatePermissionsMutationFn = ApolloReactCommon.MutationFunction<UpdatePermissionsMutation, UpdatePermissionsMutationVariables>;
- /**
- * __useUpdatePermissionsMutation__
- *
- * To run a mutation, you first call `useUpdatePermissionsMutation` within a React component and pass it any options that fit your needs.
- * When your component renders, `useUpdatePermissionsMutation` returns a tuple that includes:
- * - A mutate function that you can call at any time to execute the mutation
- * - An object with fields that represent the current status of the mutation's execution
- *
- * @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;
- *
- * @example
- * const [updatePermissionsMutation, { data, loading, error }] = useUpdatePermissionsMutation({
- * variables: {
- * id: // value for 'id'
- * permissions: // value for 'permissions'
- * },
- * });
- */
- export function useUpdatePermissionsMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<UpdatePermissionsMutation, UpdatePermissionsMutationVariables>) {
- return ApolloReactHooks.useMutation<UpdatePermissionsMutation, UpdatePermissionsMutationVariables>(UpdatePermissionsDocument, baseOptions);
- }
- export type UpdatePermissionsMutationHookResult = ReturnType<typeof useUpdatePermissionsMutation>;
- export type UpdatePermissionsMutationResult = ApolloReactCommon.MutationResult<UpdatePermissionsMutation>;
- export type UpdatePermissionsMutationOptions = ApolloReactCommon.BaseMutationOptions<UpdatePermissionsMutation, UpdatePermissionsMutationVariables>;
|