index.d.ts 112 KB

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