index.d.ts 126 KB

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