index.d.ts 103 KB

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