prisma-schema.ts 99 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065
  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. export const typeDefs = /* GraphQL */ `type AggregateBlock {
  5. count: Int!
  6. }
  7. type AggregateBlockInstance {
  8. count: Int!
  9. }
  10. type AggregateComment {
  11. count: Int!
  12. }
  13. type AggregateExercise {
  14. count: Int!
  15. }
  16. type AggregateExerciseInstance {
  17. count: Int!
  18. }
  19. type AggregateFile {
  20. count: Int!
  21. }
  22. type AggregateFormat {
  23. count: Int!
  24. }
  25. type AggregateLink {
  26. count: Int!
  27. }
  28. type AggregatePicture {
  29. count: Int!
  30. }
  31. type AggregateRating {
  32. count: Int!
  33. }
  34. type AggregateTrack {
  35. count: Int!
  36. }
  37. type AggregateTraining {
  38. count: Int!
  39. }
  40. type AggregateTrainingType {
  41. count: Int!
  42. }
  43. type AggregateUser {
  44. count: Int!
  45. }
  46. type AggregateVideo {
  47. count: Int!
  48. }
  49. type BatchPayload {
  50. count: Long!
  51. }
  52. type Block {
  53. id: ID!
  54. title: String!
  55. description: String
  56. duration: Int
  57. format: Format!
  58. rest: Int
  59. tracks(where: TrackWhereInput, orderBy: TrackOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Track!]
  60. videos(where: VideoWhereInput, orderBy: VideoOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Video!]
  61. pictures(where: PictureWhereInput, orderBy: PictureOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Picture!]
  62. blocks(where: BlockInstanceWhereInput, orderBy: BlockInstanceOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [BlockInstance!]
  63. parentBlockInstances(where: BlockInstanceWhereInput, orderBy: BlockInstanceOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [BlockInstance!]
  64. exercises(where: ExerciseInstanceWhereInput, orderBy: ExerciseInstanceOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [ExerciseInstance!]
  65. }
  66. type BlockConnection {
  67. pageInfo: PageInfo!
  68. edges: [BlockEdge]!
  69. aggregate: AggregateBlock!
  70. }
  71. input BlockCreateInput {
  72. id: ID
  73. title: String!
  74. description: String
  75. duration: Int
  76. format: FormatCreateOneInput!
  77. rest: Int
  78. tracks: TrackCreateManyInput
  79. videos: VideoCreateManyInput
  80. pictures: PictureCreateManyInput
  81. blocks: BlockInstanceCreateManyWithoutParentBlockInput
  82. parentBlockInstances: BlockInstanceCreateManyWithoutBlockInput
  83. exercises: ExerciseInstanceCreateManyWithoutParentBlockInstancesInput
  84. }
  85. input BlockCreateOneWithoutBlocksInput {
  86. create: BlockCreateWithoutBlocksInput
  87. connect: BlockWhereUniqueInput
  88. }
  89. input BlockCreateOneWithoutExercisesInput {
  90. create: BlockCreateWithoutExercisesInput
  91. connect: BlockWhereUniqueInput
  92. }
  93. input BlockCreateOneWithoutParentBlockInstancesInput {
  94. create: BlockCreateWithoutParentBlockInstancesInput
  95. connect: BlockWhereUniqueInput
  96. }
  97. input BlockCreateWithoutBlocksInput {
  98. id: ID
  99. title: String!
  100. description: String
  101. duration: Int
  102. format: FormatCreateOneInput!
  103. rest: Int
  104. tracks: TrackCreateManyInput
  105. videos: VideoCreateManyInput
  106. pictures: PictureCreateManyInput
  107. parentBlockInstances: BlockInstanceCreateManyWithoutBlockInput
  108. exercises: ExerciseInstanceCreateManyWithoutParentBlockInstancesInput
  109. }
  110. input BlockCreateWithoutExercisesInput {
  111. id: ID
  112. title: String!
  113. description: String
  114. duration: Int
  115. format: FormatCreateOneInput!
  116. rest: Int
  117. tracks: TrackCreateManyInput
  118. videos: VideoCreateManyInput
  119. pictures: PictureCreateManyInput
  120. blocks: BlockInstanceCreateManyWithoutParentBlockInput
  121. parentBlockInstances: BlockInstanceCreateManyWithoutBlockInput
  122. }
  123. input BlockCreateWithoutParentBlockInstancesInput {
  124. id: ID
  125. title: String!
  126. description: String
  127. duration: Int
  128. format: FormatCreateOneInput!
  129. rest: Int
  130. tracks: TrackCreateManyInput
  131. videos: VideoCreateManyInput
  132. pictures: PictureCreateManyInput
  133. blocks: BlockInstanceCreateManyWithoutParentBlockInput
  134. exercises: ExerciseInstanceCreateManyWithoutParentBlockInstancesInput
  135. }
  136. type BlockEdge {
  137. node: Block!
  138. cursor: String!
  139. }
  140. type BlockInstance {
  141. id: ID!
  142. block: Block!
  143. parentBlock: Block
  144. parentTraining: Training
  145. order: Int!
  146. rounds: Int
  147. variation: String
  148. }
  149. type BlockInstanceConnection {
  150. pageInfo: PageInfo!
  151. edges: [BlockInstanceEdge]!
  152. aggregate: AggregateBlockInstance!
  153. }
  154. input BlockInstanceCreateInput {
  155. id: ID
  156. block: BlockCreateOneWithoutParentBlockInstancesInput!
  157. parentBlock: BlockCreateOneWithoutBlocksInput
  158. parentTraining: TrainingCreateOneWithoutBlocksInput
  159. order: Int!
  160. rounds: Int
  161. variation: String
  162. }
  163. input BlockInstanceCreateManyWithoutBlockInput {
  164. create: [BlockInstanceCreateWithoutBlockInput!]
  165. connect: [BlockInstanceWhereUniqueInput!]
  166. }
  167. input BlockInstanceCreateManyWithoutParentBlockInput {
  168. create: [BlockInstanceCreateWithoutParentBlockInput!]
  169. connect: [BlockInstanceWhereUniqueInput!]
  170. }
  171. input BlockInstanceCreateManyWithoutParentTrainingInput {
  172. create: [BlockInstanceCreateWithoutParentTrainingInput!]
  173. connect: [BlockInstanceWhereUniqueInput!]
  174. }
  175. input BlockInstanceCreateWithoutBlockInput {
  176. id: ID
  177. parentBlock: BlockCreateOneWithoutBlocksInput
  178. parentTraining: TrainingCreateOneWithoutBlocksInput
  179. order: Int!
  180. rounds: Int
  181. variation: String
  182. }
  183. input BlockInstanceCreateWithoutParentBlockInput {
  184. id: ID
  185. block: BlockCreateOneWithoutParentBlockInstancesInput!
  186. parentTraining: TrainingCreateOneWithoutBlocksInput
  187. order: Int!
  188. rounds: Int
  189. variation: String
  190. }
  191. input BlockInstanceCreateWithoutParentTrainingInput {
  192. id: ID
  193. block: BlockCreateOneWithoutParentBlockInstancesInput!
  194. parentBlock: BlockCreateOneWithoutBlocksInput
  195. order: Int!
  196. rounds: Int
  197. variation: String
  198. }
  199. type BlockInstanceEdge {
  200. node: BlockInstance!
  201. cursor: String!
  202. }
  203. enum BlockInstanceOrderByInput {
  204. id_ASC
  205. id_DESC
  206. order_ASC
  207. order_DESC
  208. rounds_ASC
  209. rounds_DESC
  210. variation_ASC
  211. variation_DESC
  212. }
  213. type BlockInstancePreviousValues {
  214. id: ID!
  215. order: Int!
  216. rounds: Int
  217. variation: String
  218. }
  219. input BlockInstanceScalarWhereInput {
  220. id: ID
  221. id_not: ID
  222. id_in: [ID!]
  223. id_not_in: [ID!]
  224. id_lt: ID
  225. id_lte: ID
  226. id_gt: ID
  227. id_gte: ID
  228. id_contains: ID
  229. id_not_contains: ID
  230. id_starts_with: ID
  231. id_not_starts_with: ID
  232. id_ends_with: ID
  233. id_not_ends_with: ID
  234. order: Int
  235. order_not: Int
  236. order_in: [Int!]
  237. order_not_in: [Int!]
  238. order_lt: Int
  239. order_lte: Int
  240. order_gt: Int
  241. order_gte: Int
  242. rounds: Int
  243. rounds_not: Int
  244. rounds_in: [Int!]
  245. rounds_not_in: [Int!]
  246. rounds_lt: Int
  247. rounds_lte: Int
  248. rounds_gt: Int
  249. rounds_gte: Int
  250. variation: String
  251. variation_not: String
  252. variation_in: [String!]
  253. variation_not_in: [String!]
  254. variation_lt: String
  255. variation_lte: String
  256. variation_gt: String
  257. variation_gte: String
  258. variation_contains: String
  259. variation_not_contains: String
  260. variation_starts_with: String
  261. variation_not_starts_with: String
  262. variation_ends_with: String
  263. variation_not_ends_with: String
  264. AND: [BlockInstanceScalarWhereInput!]
  265. OR: [BlockInstanceScalarWhereInput!]
  266. NOT: [BlockInstanceScalarWhereInput!]
  267. }
  268. type BlockInstanceSubscriptionPayload {
  269. mutation: MutationType!
  270. node: BlockInstance
  271. updatedFields: [String!]
  272. previousValues: BlockInstancePreviousValues
  273. }
  274. input BlockInstanceSubscriptionWhereInput {
  275. mutation_in: [MutationType!]
  276. updatedFields_contains: String
  277. updatedFields_contains_every: [String!]
  278. updatedFields_contains_some: [String!]
  279. node: BlockInstanceWhereInput
  280. AND: [BlockInstanceSubscriptionWhereInput!]
  281. OR: [BlockInstanceSubscriptionWhereInput!]
  282. NOT: [BlockInstanceSubscriptionWhereInput!]
  283. }
  284. input BlockInstanceUpdateInput {
  285. block: BlockUpdateOneRequiredWithoutParentBlockInstancesInput
  286. parentBlock: BlockUpdateOneWithoutBlocksInput
  287. parentTraining: TrainingUpdateOneWithoutBlocksInput
  288. order: Int
  289. rounds: Int
  290. variation: String
  291. }
  292. input BlockInstanceUpdateManyDataInput {
  293. order: Int
  294. rounds: Int
  295. variation: String
  296. }
  297. input BlockInstanceUpdateManyMutationInput {
  298. order: Int
  299. rounds: Int
  300. variation: String
  301. }
  302. input BlockInstanceUpdateManyWithoutBlockInput {
  303. create: [BlockInstanceCreateWithoutBlockInput!]
  304. delete: [BlockInstanceWhereUniqueInput!]
  305. connect: [BlockInstanceWhereUniqueInput!]
  306. set: [BlockInstanceWhereUniqueInput!]
  307. disconnect: [BlockInstanceWhereUniqueInput!]
  308. update: [BlockInstanceUpdateWithWhereUniqueWithoutBlockInput!]
  309. upsert: [BlockInstanceUpsertWithWhereUniqueWithoutBlockInput!]
  310. deleteMany: [BlockInstanceScalarWhereInput!]
  311. updateMany: [BlockInstanceUpdateManyWithWhereNestedInput!]
  312. }
  313. input BlockInstanceUpdateManyWithoutParentBlockInput {
  314. create: [BlockInstanceCreateWithoutParentBlockInput!]
  315. delete: [BlockInstanceWhereUniqueInput!]
  316. connect: [BlockInstanceWhereUniqueInput!]
  317. set: [BlockInstanceWhereUniqueInput!]
  318. disconnect: [BlockInstanceWhereUniqueInput!]
  319. update: [BlockInstanceUpdateWithWhereUniqueWithoutParentBlockInput!]
  320. upsert: [BlockInstanceUpsertWithWhereUniqueWithoutParentBlockInput!]
  321. deleteMany: [BlockInstanceScalarWhereInput!]
  322. updateMany: [BlockInstanceUpdateManyWithWhereNestedInput!]
  323. }
  324. input BlockInstanceUpdateManyWithoutParentTrainingInput {
  325. create: [BlockInstanceCreateWithoutParentTrainingInput!]
  326. delete: [BlockInstanceWhereUniqueInput!]
  327. connect: [BlockInstanceWhereUniqueInput!]
  328. set: [BlockInstanceWhereUniqueInput!]
  329. disconnect: [BlockInstanceWhereUniqueInput!]
  330. update: [BlockInstanceUpdateWithWhereUniqueWithoutParentTrainingInput!]
  331. upsert: [BlockInstanceUpsertWithWhereUniqueWithoutParentTrainingInput!]
  332. deleteMany: [BlockInstanceScalarWhereInput!]
  333. updateMany: [BlockInstanceUpdateManyWithWhereNestedInput!]
  334. }
  335. input BlockInstanceUpdateManyWithWhereNestedInput {
  336. where: BlockInstanceScalarWhereInput!
  337. data: BlockInstanceUpdateManyDataInput!
  338. }
  339. input BlockInstanceUpdateWithoutBlockDataInput {
  340. parentBlock: BlockUpdateOneWithoutBlocksInput
  341. parentTraining: TrainingUpdateOneWithoutBlocksInput
  342. order: Int
  343. rounds: Int
  344. variation: String
  345. }
  346. input BlockInstanceUpdateWithoutParentBlockDataInput {
  347. block: BlockUpdateOneRequiredWithoutParentBlockInstancesInput
  348. parentTraining: TrainingUpdateOneWithoutBlocksInput
  349. order: Int
  350. rounds: Int
  351. variation: String
  352. }
  353. input BlockInstanceUpdateWithoutParentTrainingDataInput {
  354. block: BlockUpdateOneRequiredWithoutParentBlockInstancesInput
  355. parentBlock: BlockUpdateOneWithoutBlocksInput
  356. order: Int
  357. rounds: Int
  358. variation: String
  359. }
  360. input BlockInstanceUpdateWithWhereUniqueWithoutBlockInput {
  361. where: BlockInstanceWhereUniqueInput!
  362. data: BlockInstanceUpdateWithoutBlockDataInput!
  363. }
  364. input BlockInstanceUpdateWithWhereUniqueWithoutParentBlockInput {
  365. where: BlockInstanceWhereUniqueInput!
  366. data: BlockInstanceUpdateWithoutParentBlockDataInput!
  367. }
  368. input BlockInstanceUpdateWithWhereUniqueWithoutParentTrainingInput {
  369. where: BlockInstanceWhereUniqueInput!
  370. data: BlockInstanceUpdateWithoutParentTrainingDataInput!
  371. }
  372. input BlockInstanceUpsertWithWhereUniqueWithoutBlockInput {
  373. where: BlockInstanceWhereUniqueInput!
  374. update: BlockInstanceUpdateWithoutBlockDataInput!
  375. create: BlockInstanceCreateWithoutBlockInput!
  376. }
  377. input BlockInstanceUpsertWithWhereUniqueWithoutParentBlockInput {
  378. where: BlockInstanceWhereUniqueInput!
  379. update: BlockInstanceUpdateWithoutParentBlockDataInput!
  380. create: BlockInstanceCreateWithoutParentBlockInput!
  381. }
  382. input BlockInstanceUpsertWithWhereUniqueWithoutParentTrainingInput {
  383. where: BlockInstanceWhereUniqueInput!
  384. update: BlockInstanceUpdateWithoutParentTrainingDataInput!
  385. create: BlockInstanceCreateWithoutParentTrainingInput!
  386. }
  387. input BlockInstanceWhereInput {
  388. id: ID
  389. id_not: ID
  390. id_in: [ID!]
  391. id_not_in: [ID!]
  392. id_lt: ID
  393. id_lte: ID
  394. id_gt: ID
  395. id_gte: ID
  396. id_contains: ID
  397. id_not_contains: ID
  398. id_starts_with: ID
  399. id_not_starts_with: ID
  400. id_ends_with: ID
  401. id_not_ends_with: ID
  402. block: BlockWhereInput
  403. parentBlock: BlockWhereInput
  404. parentTraining: TrainingWhereInput
  405. order: Int
  406. order_not: Int
  407. order_in: [Int!]
  408. order_not_in: [Int!]
  409. order_lt: Int
  410. order_lte: Int
  411. order_gt: Int
  412. order_gte: Int
  413. rounds: Int
  414. rounds_not: Int
  415. rounds_in: [Int!]
  416. rounds_not_in: [Int!]
  417. rounds_lt: Int
  418. rounds_lte: Int
  419. rounds_gt: Int
  420. rounds_gte: Int
  421. variation: String
  422. variation_not: String
  423. variation_in: [String!]
  424. variation_not_in: [String!]
  425. variation_lt: String
  426. variation_lte: String
  427. variation_gt: String
  428. variation_gte: String
  429. variation_contains: String
  430. variation_not_contains: String
  431. variation_starts_with: String
  432. variation_not_starts_with: String
  433. variation_ends_with: String
  434. variation_not_ends_with: String
  435. AND: [BlockInstanceWhereInput!]
  436. OR: [BlockInstanceWhereInput!]
  437. NOT: [BlockInstanceWhereInput!]
  438. }
  439. input BlockInstanceWhereUniqueInput {
  440. id: ID
  441. }
  442. enum BlockOrderByInput {
  443. id_ASC
  444. id_DESC
  445. title_ASC
  446. title_DESC
  447. description_ASC
  448. description_DESC
  449. duration_ASC
  450. duration_DESC
  451. rest_ASC
  452. rest_DESC
  453. }
  454. type BlockPreviousValues {
  455. id: ID!
  456. title: String!
  457. description: String
  458. duration: Int
  459. rest: Int
  460. }
  461. type BlockSubscriptionPayload {
  462. mutation: MutationType!
  463. node: Block
  464. updatedFields: [String!]
  465. previousValues: BlockPreviousValues
  466. }
  467. input BlockSubscriptionWhereInput {
  468. mutation_in: [MutationType!]
  469. updatedFields_contains: String
  470. updatedFields_contains_every: [String!]
  471. updatedFields_contains_some: [String!]
  472. node: BlockWhereInput
  473. AND: [BlockSubscriptionWhereInput!]
  474. OR: [BlockSubscriptionWhereInput!]
  475. NOT: [BlockSubscriptionWhereInput!]
  476. }
  477. input BlockUpdateInput {
  478. title: String
  479. description: String
  480. duration: Int
  481. format: FormatUpdateOneRequiredInput
  482. rest: Int
  483. tracks: TrackUpdateManyInput
  484. videos: VideoUpdateManyInput
  485. pictures: PictureUpdateManyInput
  486. blocks: BlockInstanceUpdateManyWithoutParentBlockInput
  487. parentBlockInstances: BlockInstanceUpdateManyWithoutBlockInput
  488. exercises: ExerciseInstanceUpdateManyWithoutParentBlockInstancesInput
  489. }
  490. input BlockUpdateManyMutationInput {
  491. title: String
  492. description: String
  493. duration: Int
  494. rest: Int
  495. }
  496. input BlockUpdateOneRequiredWithoutExercisesInput {
  497. create: BlockCreateWithoutExercisesInput
  498. update: BlockUpdateWithoutExercisesDataInput
  499. upsert: BlockUpsertWithoutExercisesInput
  500. connect: BlockWhereUniqueInput
  501. }
  502. input BlockUpdateOneRequiredWithoutParentBlockInstancesInput {
  503. create: BlockCreateWithoutParentBlockInstancesInput
  504. update: BlockUpdateWithoutParentBlockInstancesDataInput
  505. upsert: BlockUpsertWithoutParentBlockInstancesInput
  506. connect: BlockWhereUniqueInput
  507. }
  508. input BlockUpdateOneWithoutBlocksInput {
  509. create: BlockCreateWithoutBlocksInput
  510. update: BlockUpdateWithoutBlocksDataInput
  511. upsert: BlockUpsertWithoutBlocksInput
  512. delete: Boolean
  513. disconnect: Boolean
  514. connect: BlockWhereUniqueInput
  515. }
  516. input BlockUpdateWithoutBlocksDataInput {
  517. title: String
  518. description: String
  519. duration: Int
  520. format: FormatUpdateOneRequiredInput
  521. rest: Int
  522. tracks: TrackUpdateManyInput
  523. videos: VideoUpdateManyInput
  524. pictures: PictureUpdateManyInput
  525. parentBlockInstances: BlockInstanceUpdateManyWithoutBlockInput
  526. exercises: ExerciseInstanceUpdateManyWithoutParentBlockInstancesInput
  527. }
  528. input BlockUpdateWithoutExercisesDataInput {
  529. title: String
  530. description: String
  531. duration: Int
  532. format: FormatUpdateOneRequiredInput
  533. rest: Int
  534. tracks: TrackUpdateManyInput
  535. videos: VideoUpdateManyInput
  536. pictures: PictureUpdateManyInput
  537. blocks: BlockInstanceUpdateManyWithoutParentBlockInput
  538. parentBlockInstances: BlockInstanceUpdateManyWithoutBlockInput
  539. }
  540. input BlockUpdateWithoutParentBlockInstancesDataInput {
  541. title: String
  542. description: String
  543. duration: Int
  544. format: FormatUpdateOneRequiredInput
  545. rest: Int
  546. tracks: TrackUpdateManyInput
  547. videos: VideoUpdateManyInput
  548. pictures: PictureUpdateManyInput
  549. blocks: BlockInstanceUpdateManyWithoutParentBlockInput
  550. exercises: ExerciseInstanceUpdateManyWithoutParentBlockInstancesInput
  551. }
  552. input BlockUpsertWithoutBlocksInput {
  553. update: BlockUpdateWithoutBlocksDataInput!
  554. create: BlockCreateWithoutBlocksInput!
  555. }
  556. input BlockUpsertWithoutExercisesInput {
  557. update: BlockUpdateWithoutExercisesDataInput!
  558. create: BlockCreateWithoutExercisesInput!
  559. }
  560. input BlockUpsertWithoutParentBlockInstancesInput {
  561. update: BlockUpdateWithoutParentBlockInstancesDataInput!
  562. create: BlockCreateWithoutParentBlockInstancesInput!
  563. }
  564. input BlockWhereInput {
  565. id: ID
  566. id_not: ID
  567. id_in: [ID!]
  568. id_not_in: [ID!]
  569. id_lt: ID
  570. id_lte: ID
  571. id_gt: ID
  572. id_gte: ID
  573. id_contains: ID
  574. id_not_contains: ID
  575. id_starts_with: ID
  576. id_not_starts_with: ID
  577. id_ends_with: ID
  578. id_not_ends_with: ID
  579. title: String
  580. title_not: String
  581. title_in: [String!]
  582. title_not_in: [String!]
  583. title_lt: String
  584. title_lte: String
  585. title_gt: String
  586. title_gte: String
  587. title_contains: String
  588. title_not_contains: String
  589. title_starts_with: String
  590. title_not_starts_with: String
  591. title_ends_with: String
  592. title_not_ends_with: String
  593. description: String
  594. description_not: String
  595. description_in: [String!]
  596. description_not_in: [String!]
  597. description_lt: String
  598. description_lte: String
  599. description_gt: String
  600. description_gte: String
  601. description_contains: String
  602. description_not_contains: String
  603. description_starts_with: String
  604. description_not_starts_with: String
  605. description_ends_with: String
  606. description_not_ends_with: String
  607. duration: Int
  608. duration_not: Int
  609. duration_in: [Int!]
  610. duration_not_in: [Int!]
  611. duration_lt: Int
  612. duration_lte: Int
  613. duration_gt: Int
  614. duration_gte: Int
  615. format: FormatWhereInput
  616. rest: Int
  617. rest_not: Int
  618. rest_in: [Int!]
  619. rest_not_in: [Int!]
  620. rest_lt: Int
  621. rest_lte: Int
  622. rest_gt: Int
  623. rest_gte: Int
  624. tracks_every: TrackWhereInput
  625. tracks_some: TrackWhereInput
  626. tracks_none: TrackWhereInput
  627. videos_every: VideoWhereInput
  628. videos_some: VideoWhereInput
  629. videos_none: VideoWhereInput
  630. pictures_every: PictureWhereInput
  631. pictures_some: PictureWhereInput
  632. pictures_none: PictureWhereInput
  633. blocks_every: BlockInstanceWhereInput
  634. blocks_some: BlockInstanceWhereInput
  635. blocks_none: BlockInstanceWhereInput
  636. parentBlockInstances_every: BlockInstanceWhereInput
  637. parentBlockInstances_some: BlockInstanceWhereInput
  638. parentBlockInstances_none: BlockInstanceWhereInput
  639. exercises_every: ExerciseInstanceWhereInput
  640. exercises_some: ExerciseInstanceWhereInput
  641. exercises_none: ExerciseInstanceWhereInput
  642. AND: [BlockWhereInput!]
  643. OR: [BlockWhereInput!]
  644. NOT: [BlockWhereInput!]
  645. }
  646. input BlockWhereUniqueInput {
  647. id: ID
  648. }
  649. type Comment {
  650. id: ID!
  651. text: String!
  652. author: User!
  653. createdAt: DateTime!
  654. }
  655. type CommentConnection {
  656. pageInfo: PageInfo!
  657. edges: [CommentEdge]!
  658. aggregate: AggregateComment!
  659. }
  660. input CommentCreateInput {
  661. id: ID
  662. text: String!
  663. author: UserCreateOneWithoutCommentsInput!
  664. }
  665. input CommentCreateManyWithoutAuthorInput {
  666. create: [CommentCreateWithoutAuthorInput!]
  667. connect: [CommentWhereUniqueInput!]
  668. }
  669. input CommentCreateWithoutAuthorInput {
  670. id: ID
  671. text: String!
  672. }
  673. type CommentEdge {
  674. node: Comment!
  675. cursor: String!
  676. }
  677. enum CommentOrderByInput {
  678. id_ASC
  679. id_DESC
  680. text_ASC
  681. text_DESC
  682. createdAt_ASC
  683. createdAt_DESC
  684. }
  685. type CommentPreviousValues {
  686. id: ID!
  687. text: String!
  688. createdAt: DateTime!
  689. }
  690. input CommentScalarWhereInput {
  691. id: ID
  692. id_not: ID
  693. id_in: [ID!]
  694. id_not_in: [ID!]
  695. id_lt: ID
  696. id_lte: ID
  697. id_gt: ID
  698. id_gte: ID
  699. id_contains: ID
  700. id_not_contains: ID
  701. id_starts_with: ID
  702. id_not_starts_with: ID
  703. id_ends_with: ID
  704. id_not_ends_with: ID
  705. text: String
  706. text_not: String
  707. text_in: [String!]
  708. text_not_in: [String!]
  709. text_lt: String
  710. text_lte: String
  711. text_gt: String
  712. text_gte: String
  713. text_contains: String
  714. text_not_contains: String
  715. text_starts_with: String
  716. text_not_starts_with: String
  717. text_ends_with: String
  718. text_not_ends_with: String
  719. createdAt: DateTime
  720. createdAt_not: DateTime
  721. createdAt_in: [DateTime!]
  722. createdAt_not_in: [DateTime!]
  723. createdAt_lt: DateTime
  724. createdAt_lte: DateTime
  725. createdAt_gt: DateTime
  726. createdAt_gte: DateTime
  727. AND: [CommentScalarWhereInput!]
  728. OR: [CommentScalarWhereInput!]
  729. NOT: [CommentScalarWhereInput!]
  730. }
  731. type CommentSubscriptionPayload {
  732. mutation: MutationType!
  733. node: Comment
  734. updatedFields: [String!]
  735. previousValues: CommentPreviousValues
  736. }
  737. input CommentSubscriptionWhereInput {
  738. mutation_in: [MutationType!]
  739. updatedFields_contains: String
  740. updatedFields_contains_every: [String!]
  741. updatedFields_contains_some: [String!]
  742. node: CommentWhereInput
  743. AND: [CommentSubscriptionWhereInput!]
  744. OR: [CommentSubscriptionWhereInput!]
  745. NOT: [CommentSubscriptionWhereInput!]
  746. }
  747. input CommentUpdateInput {
  748. text: String
  749. author: UserUpdateOneRequiredWithoutCommentsInput
  750. }
  751. input CommentUpdateManyDataInput {
  752. text: String
  753. }
  754. input CommentUpdateManyMutationInput {
  755. text: String
  756. }
  757. input CommentUpdateManyWithoutAuthorInput {
  758. create: [CommentCreateWithoutAuthorInput!]
  759. delete: [CommentWhereUniqueInput!]
  760. connect: [CommentWhereUniqueInput!]
  761. set: [CommentWhereUniqueInput!]
  762. disconnect: [CommentWhereUniqueInput!]
  763. update: [CommentUpdateWithWhereUniqueWithoutAuthorInput!]
  764. upsert: [CommentUpsertWithWhereUniqueWithoutAuthorInput!]
  765. deleteMany: [CommentScalarWhereInput!]
  766. updateMany: [CommentUpdateManyWithWhereNestedInput!]
  767. }
  768. input CommentUpdateManyWithWhereNestedInput {
  769. where: CommentScalarWhereInput!
  770. data: CommentUpdateManyDataInput!
  771. }
  772. input CommentUpdateWithoutAuthorDataInput {
  773. text: String
  774. }
  775. input CommentUpdateWithWhereUniqueWithoutAuthorInput {
  776. where: CommentWhereUniqueInput!
  777. data: CommentUpdateWithoutAuthorDataInput!
  778. }
  779. input CommentUpsertWithWhereUniqueWithoutAuthorInput {
  780. where: CommentWhereUniqueInput!
  781. update: CommentUpdateWithoutAuthorDataInput!
  782. create: CommentCreateWithoutAuthorInput!
  783. }
  784. input CommentWhereInput {
  785. id: ID
  786. id_not: ID
  787. id_in: [ID!]
  788. id_not_in: [ID!]
  789. id_lt: ID
  790. id_lte: ID
  791. id_gt: ID
  792. id_gte: ID
  793. id_contains: ID
  794. id_not_contains: ID
  795. id_starts_with: ID
  796. id_not_starts_with: ID
  797. id_ends_with: ID
  798. id_not_ends_with: ID
  799. text: String
  800. text_not: String
  801. text_in: [String!]
  802. text_not_in: [String!]
  803. text_lt: String
  804. text_lte: String
  805. text_gt: String
  806. text_gte: String
  807. text_contains: String
  808. text_not_contains: String
  809. text_starts_with: String
  810. text_not_starts_with: String
  811. text_ends_with: String
  812. text_not_ends_with: String
  813. author: UserWhereInput
  814. createdAt: DateTime
  815. createdAt_not: DateTime
  816. createdAt_in: [DateTime!]
  817. createdAt_not_in: [DateTime!]
  818. createdAt_lt: DateTime
  819. createdAt_lte: DateTime
  820. createdAt_gt: DateTime
  821. createdAt_gte: DateTime
  822. AND: [CommentWhereInput!]
  823. OR: [CommentWhereInput!]
  824. NOT: [CommentWhereInput!]
  825. }
  826. input CommentWhereUniqueInput {
  827. id: ID
  828. }
  829. scalar DateTime
  830. type Exercise {
  831. id: ID!
  832. name: String!
  833. description: String
  834. videos(where: VideoWhereInput, orderBy: VideoOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Video!]
  835. pictures(where: PictureWhereInput, orderBy: PictureOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Picture!]
  836. targets: [String!]!
  837. baseExercise: [String!]!
  838. parentExerciseInstances(where: ExerciseInstanceWhereInput, orderBy: ExerciseInstanceOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [ExerciseInstance!]
  839. }
  840. type ExerciseConnection {
  841. pageInfo: PageInfo!
  842. edges: [ExerciseEdge]!
  843. aggregate: AggregateExercise!
  844. }
  845. input ExerciseCreatebaseExerciseInput {
  846. set: [String!]
  847. }
  848. input ExerciseCreateInput {
  849. id: ID
  850. name: String!
  851. description: String
  852. videos: VideoCreateManyInput
  853. pictures: PictureCreateManyInput
  854. targets: ExerciseCreatetargetsInput
  855. baseExercise: ExerciseCreatebaseExerciseInput
  856. parentExerciseInstances: ExerciseInstanceCreateManyWithoutExerciseInput
  857. }
  858. input ExerciseCreateOneWithoutParentExerciseInstancesInput {
  859. create: ExerciseCreateWithoutParentExerciseInstancesInput
  860. connect: ExerciseWhereUniqueInput
  861. }
  862. input ExerciseCreatetargetsInput {
  863. set: [String!]
  864. }
  865. input ExerciseCreateWithoutParentExerciseInstancesInput {
  866. id: ID
  867. name: String!
  868. description: String
  869. videos: VideoCreateManyInput
  870. pictures: PictureCreateManyInput
  871. targets: ExerciseCreatetargetsInput
  872. baseExercise: ExerciseCreatebaseExerciseInput
  873. }
  874. type ExerciseEdge {
  875. node: Exercise!
  876. cursor: String!
  877. }
  878. type ExerciseInstance {
  879. id: ID!
  880. exercise: Exercise!
  881. order: Int!
  882. repetitions: Int
  883. variation: String
  884. parentBlockInstances: Block!
  885. }
  886. type ExerciseInstanceConnection {
  887. pageInfo: PageInfo!
  888. edges: [ExerciseInstanceEdge]!
  889. aggregate: AggregateExerciseInstance!
  890. }
  891. input ExerciseInstanceCreateInput {
  892. id: ID
  893. exercise: ExerciseCreateOneWithoutParentExerciseInstancesInput!
  894. order: Int!
  895. repetitions: Int
  896. variation: String
  897. parentBlockInstances: BlockCreateOneWithoutExercisesInput!
  898. }
  899. input ExerciseInstanceCreateManyWithoutExerciseInput {
  900. create: [ExerciseInstanceCreateWithoutExerciseInput!]
  901. connect: [ExerciseInstanceWhereUniqueInput!]
  902. }
  903. input ExerciseInstanceCreateManyWithoutParentBlockInstancesInput {
  904. create: [ExerciseInstanceCreateWithoutParentBlockInstancesInput!]
  905. connect: [ExerciseInstanceWhereUniqueInput!]
  906. }
  907. input ExerciseInstanceCreateWithoutExerciseInput {
  908. id: ID
  909. order: Int!
  910. repetitions: Int
  911. variation: String
  912. parentBlockInstances: BlockCreateOneWithoutExercisesInput!
  913. }
  914. input ExerciseInstanceCreateWithoutParentBlockInstancesInput {
  915. id: ID
  916. exercise: ExerciseCreateOneWithoutParentExerciseInstancesInput!
  917. order: Int!
  918. repetitions: Int
  919. variation: String
  920. }
  921. type ExerciseInstanceEdge {
  922. node: ExerciseInstance!
  923. cursor: String!
  924. }
  925. enum ExerciseInstanceOrderByInput {
  926. id_ASC
  927. id_DESC
  928. order_ASC
  929. order_DESC
  930. repetitions_ASC
  931. repetitions_DESC
  932. variation_ASC
  933. variation_DESC
  934. }
  935. type ExerciseInstancePreviousValues {
  936. id: ID!
  937. order: Int!
  938. repetitions: Int
  939. variation: String
  940. }
  941. input ExerciseInstanceScalarWhereInput {
  942. id: ID
  943. id_not: ID
  944. id_in: [ID!]
  945. id_not_in: [ID!]
  946. id_lt: ID
  947. id_lte: ID
  948. id_gt: ID
  949. id_gte: ID
  950. id_contains: ID
  951. id_not_contains: ID
  952. id_starts_with: ID
  953. id_not_starts_with: ID
  954. id_ends_with: ID
  955. id_not_ends_with: ID
  956. order: Int
  957. order_not: Int
  958. order_in: [Int!]
  959. order_not_in: [Int!]
  960. order_lt: Int
  961. order_lte: Int
  962. order_gt: Int
  963. order_gte: Int
  964. repetitions: Int
  965. repetitions_not: Int
  966. repetitions_in: [Int!]
  967. repetitions_not_in: [Int!]
  968. repetitions_lt: Int
  969. repetitions_lte: Int
  970. repetitions_gt: Int
  971. repetitions_gte: Int
  972. variation: String
  973. variation_not: String
  974. variation_in: [String!]
  975. variation_not_in: [String!]
  976. variation_lt: String
  977. variation_lte: String
  978. variation_gt: String
  979. variation_gte: String
  980. variation_contains: String
  981. variation_not_contains: String
  982. variation_starts_with: String
  983. variation_not_starts_with: String
  984. variation_ends_with: String
  985. variation_not_ends_with: String
  986. AND: [ExerciseInstanceScalarWhereInput!]
  987. OR: [ExerciseInstanceScalarWhereInput!]
  988. NOT: [ExerciseInstanceScalarWhereInput!]
  989. }
  990. type ExerciseInstanceSubscriptionPayload {
  991. mutation: MutationType!
  992. node: ExerciseInstance
  993. updatedFields: [String!]
  994. previousValues: ExerciseInstancePreviousValues
  995. }
  996. input ExerciseInstanceSubscriptionWhereInput {
  997. mutation_in: [MutationType!]
  998. updatedFields_contains: String
  999. updatedFields_contains_every: [String!]
  1000. updatedFields_contains_some: [String!]
  1001. node: ExerciseInstanceWhereInput
  1002. AND: [ExerciseInstanceSubscriptionWhereInput!]
  1003. OR: [ExerciseInstanceSubscriptionWhereInput!]
  1004. NOT: [ExerciseInstanceSubscriptionWhereInput!]
  1005. }
  1006. input ExerciseInstanceUpdateInput {
  1007. exercise: ExerciseUpdateOneRequiredWithoutParentExerciseInstancesInput
  1008. order: Int
  1009. repetitions: Int
  1010. variation: String
  1011. parentBlockInstances: BlockUpdateOneRequiredWithoutExercisesInput
  1012. }
  1013. input ExerciseInstanceUpdateManyDataInput {
  1014. order: Int
  1015. repetitions: Int
  1016. variation: String
  1017. }
  1018. input ExerciseInstanceUpdateManyMutationInput {
  1019. order: Int
  1020. repetitions: Int
  1021. variation: String
  1022. }
  1023. input ExerciseInstanceUpdateManyWithoutExerciseInput {
  1024. create: [ExerciseInstanceCreateWithoutExerciseInput!]
  1025. delete: [ExerciseInstanceWhereUniqueInput!]
  1026. connect: [ExerciseInstanceWhereUniqueInput!]
  1027. set: [ExerciseInstanceWhereUniqueInput!]
  1028. disconnect: [ExerciseInstanceWhereUniqueInput!]
  1029. update: [ExerciseInstanceUpdateWithWhereUniqueWithoutExerciseInput!]
  1030. upsert: [ExerciseInstanceUpsertWithWhereUniqueWithoutExerciseInput!]
  1031. deleteMany: [ExerciseInstanceScalarWhereInput!]
  1032. updateMany: [ExerciseInstanceUpdateManyWithWhereNestedInput!]
  1033. }
  1034. input ExerciseInstanceUpdateManyWithoutParentBlockInstancesInput {
  1035. create: [ExerciseInstanceCreateWithoutParentBlockInstancesInput!]
  1036. delete: [ExerciseInstanceWhereUniqueInput!]
  1037. connect: [ExerciseInstanceWhereUniqueInput!]
  1038. set: [ExerciseInstanceWhereUniqueInput!]
  1039. disconnect: [ExerciseInstanceWhereUniqueInput!]
  1040. update: [ExerciseInstanceUpdateWithWhereUniqueWithoutParentBlockInstancesInput!]
  1041. upsert: [ExerciseInstanceUpsertWithWhereUniqueWithoutParentBlockInstancesInput!]
  1042. deleteMany: [ExerciseInstanceScalarWhereInput!]
  1043. updateMany: [ExerciseInstanceUpdateManyWithWhereNestedInput!]
  1044. }
  1045. input ExerciseInstanceUpdateManyWithWhereNestedInput {
  1046. where: ExerciseInstanceScalarWhereInput!
  1047. data: ExerciseInstanceUpdateManyDataInput!
  1048. }
  1049. input ExerciseInstanceUpdateWithoutExerciseDataInput {
  1050. order: Int
  1051. repetitions: Int
  1052. variation: String
  1053. parentBlockInstances: BlockUpdateOneRequiredWithoutExercisesInput
  1054. }
  1055. input ExerciseInstanceUpdateWithoutParentBlockInstancesDataInput {
  1056. exercise: ExerciseUpdateOneRequiredWithoutParentExerciseInstancesInput
  1057. order: Int
  1058. repetitions: Int
  1059. variation: String
  1060. }
  1061. input ExerciseInstanceUpdateWithWhereUniqueWithoutExerciseInput {
  1062. where: ExerciseInstanceWhereUniqueInput!
  1063. data: ExerciseInstanceUpdateWithoutExerciseDataInput!
  1064. }
  1065. input ExerciseInstanceUpdateWithWhereUniqueWithoutParentBlockInstancesInput {
  1066. where: ExerciseInstanceWhereUniqueInput!
  1067. data: ExerciseInstanceUpdateWithoutParentBlockInstancesDataInput!
  1068. }
  1069. input ExerciseInstanceUpsertWithWhereUniqueWithoutExerciseInput {
  1070. where: ExerciseInstanceWhereUniqueInput!
  1071. update: ExerciseInstanceUpdateWithoutExerciseDataInput!
  1072. create: ExerciseInstanceCreateWithoutExerciseInput!
  1073. }
  1074. input ExerciseInstanceUpsertWithWhereUniqueWithoutParentBlockInstancesInput {
  1075. where: ExerciseInstanceWhereUniqueInput!
  1076. update: ExerciseInstanceUpdateWithoutParentBlockInstancesDataInput!
  1077. create: ExerciseInstanceCreateWithoutParentBlockInstancesInput!
  1078. }
  1079. input ExerciseInstanceWhereInput {
  1080. id: ID
  1081. id_not: ID
  1082. id_in: [ID!]
  1083. id_not_in: [ID!]
  1084. id_lt: ID
  1085. id_lte: ID
  1086. id_gt: ID
  1087. id_gte: ID
  1088. id_contains: ID
  1089. id_not_contains: ID
  1090. id_starts_with: ID
  1091. id_not_starts_with: ID
  1092. id_ends_with: ID
  1093. id_not_ends_with: ID
  1094. exercise: ExerciseWhereInput
  1095. order: Int
  1096. order_not: Int
  1097. order_in: [Int!]
  1098. order_not_in: [Int!]
  1099. order_lt: Int
  1100. order_lte: Int
  1101. order_gt: Int
  1102. order_gte: Int
  1103. repetitions: Int
  1104. repetitions_not: Int
  1105. repetitions_in: [Int!]
  1106. repetitions_not_in: [Int!]
  1107. repetitions_lt: Int
  1108. repetitions_lte: Int
  1109. repetitions_gt: Int
  1110. repetitions_gte: Int
  1111. variation: String
  1112. variation_not: String
  1113. variation_in: [String!]
  1114. variation_not_in: [String!]
  1115. variation_lt: String
  1116. variation_lte: String
  1117. variation_gt: String
  1118. variation_gte: String
  1119. variation_contains: String
  1120. variation_not_contains: String
  1121. variation_starts_with: String
  1122. variation_not_starts_with: String
  1123. variation_ends_with: String
  1124. variation_not_ends_with: String
  1125. parentBlockInstances: BlockWhereInput
  1126. AND: [ExerciseInstanceWhereInput!]
  1127. OR: [ExerciseInstanceWhereInput!]
  1128. NOT: [ExerciseInstanceWhereInput!]
  1129. }
  1130. input ExerciseInstanceWhereUniqueInput {
  1131. id: ID
  1132. }
  1133. enum ExerciseOrderByInput {
  1134. id_ASC
  1135. id_DESC
  1136. name_ASC
  1137. name_DESC
  1138. description_ASC
  1139. description_DESC
  1140. }
  1141. type ExercisePreviousValues {
  1142. id: ID!
  1143. name: String!
  1144. description: String
  1145. targets: [String!]!
  1146. baseExercise: [String!]!
  1147. }
  1148. type ExerciseSubscriptionPayload {
  1149. mutation: MutationType!
  1150. node: Exercise
  1151. updatedFields: [String!]
  1152. previousValues: ExercisePreviousValues
  1153. }
  1154. input ExerciseSubscriptionWhereInput {
  1155. mutation_in: [MutationType!]
  1156. updatedFields_contains: String
  1157. updatedFields_contains_every: [String!]
  1158. updatedFields_contains_some: [String!]
  1159. node: ExerciseWhereInput
  1160. AND: [ExerciseSubscriptionWhereInput!]
  1161. OR: [ExerciseSubscriptionWhereInput!]
  1162. NOT: [ExerciseSubscriptionWhereInput!]
  1163. }
  1164. input ExerciseUpdatebaseExerciseInput {
  1165. set: [String!]
  1166. }
  1167. input ExerciseUpdateInput {
  1168. name: String
  1169. description: String
  1170. videos: VideoUpdateManyInput
  1171. pictures: PictureUpdateManyInput
  1172. targets: ExerciseUpdatetargetsInput
  1173. baseExercise: ExerciseUpdatebaseExerciseInput
  1174. parentExerciseInstances: ExerciseInstanceUpdateManyWithoutExerciseInput
  1175. }
  1176. input ExerciseUpdateManyMutationInput {
  1177. name: String
  1178. description: String
  1179. targets: ExerciseUpdatetargetsInput
  1180. baseExercise: ExerciseUpdatebaseExerciseInput
  1181. }
  1182. input ExerciseUpdateOneRequiredWithoutParentExerciseInstancesInput {
  1183. create: ExerciseCreateWithoutParentExerciseInstancesInput
  1184. update: ExerciseUpdateWithoutParentExerciseInstancesDataInput
  1185. upsert: ExerciseUpsertWithoutParentExerciseInstancesInput
  1186. connect: ExerciseWhereUniqueInput
  1187. }
  1188. input ExerciseUpdatetargetsInput {
  1189. set: [String!]
  1190. }
  1191. input ExerciseUpdateWithoutParentExerciseInstancesDataInput {
  1192. name: String
  1193. description: String
  1194. videos: VideoUpdateManyInput
  1195. pictures: PictureUpdateManyInput
  1196. targets: ExerciseUpdatetargetsInput
  1197. baseExercise: ExerciseUpdatebaseExerciseInput
  1198. }
  1199. input ExerciseUpsertWithoutParentExerciseInstancesInput {
  1200. update: ExerciseUpdateWithoutParentExerciseInstancesDataInput!
  1201. create: ExerciseCreateWithoutParentExerciseInstancesInput!
  1202. }
  1203. input ExerciseWhereInput {
  1204. id: ID
  1205. id_not: ID
  1206. id_in: [ID!]
  1207. id_not_in: [ID!]
  1208. id_lt: ID
  1209. id_lte: ID
  1210. id_gt: ID
  1211. id_gte: ID
  1212. id_contains: ID
  1213. id_not_contains: ID
  1214. id_starts_with: ID
  1215. id_not_starts_with: ID
  1216. id_ends_with: ID
  1217. id_not_ends_with: ID
  1218. name: String
  1219. name_not: String
  1220. name_in: [String!]
  1221. name_not_in: [String!]
  1222. name_lt: String
  1223. name_lte: String
  1224. name_gt: String
  1225. name_gte: String
  1226. name_contains: String
  1227. name_not_contains: String
  1228. name_starts_with: String
  1229. name_not_starts_with: String
  1230. name_ends_with: String
  1231. name_not_ends_with: String
  1232. description: String
  1233. description_not: String
  1234. description_in: [String!]
  1235. description_not_in: [String!]
  1236. description_lt: String
  1237. description_lte: String
  1238. description_gt: String
  1239. description_gte: String
  1240. description_contains: String
  1241. description_not_contains: String
  1242. description_starts_with: String
  1243. description_not_starts_with: String
  1244. description_ends_with: String
  1245. description_not_ends_with: String
  1246. videos_every: VideoWhereInput
  1247. videos_some: VideoWhereInput
  1248. videos_none: VideoWhereInput
  1249. pictures_every: PictureWhereInput
  1250. pictures_some: PictureWhereInput
  1251. pictures_none: PictureWhereInput
  1252. parentExerciseInstances_every: ExerciseInstanceWhereInput
  1253. parentExerciseInstances_some: ExerciseInstanceWhereInput
  1254. parentExerciseInstances_none: ExerciseInstanceWhereInput
  1255. AND: [ExerciseWhereInput!]
  1256. OR: [ExerciseWhereInput!]
  1257. NOT: [ExerciseWhereInput!]
  1258. }
  1259. input ExerciseWhereUniqueInput {
  1260. id: ID
  1261. }
  1262. type File {
  1263. id: ID!
  1264. createdAt: DateTime!
  1265. updatedAt: DateTime!
  1266. user: User!
  1267. path: String!
  1268. comment: String
  1269. mimetype: String
  1270. thumbnail: String
  1271. filename: String
  1272. encoding: String
  1273. size: Int
  1274. width: Int
  1275. height: Int
  1276. duration: Float
  1277. title: String
  1278. artist: String
  1279. }
  1280. type FileConnection {
  1281. pageInfo: PageInfo!
  1282. edges: [FileEdge]!
  1283. aggregate: AggregateFile!
  1284. }
  1285. input FileCreateInput {
  1286. id: ID
  1287. user: UserCreateOneInput!
  1288. path: String!
  1289. comment: String
  1290. mimetype: String
  1291. thumbnail: String
  1292. filename: String
  1293. encoding: String
  1294. size: Int
  1295. width: Int
  1296. height: Int
  1297. duration: Float
  1298. title: String
  1299. artist: String
  1300. }
  1301. input FileCreateOneInput {
  1302. create: FileCreateInput
  1303. connect: FileWhereUniqueInput
  1304. }
  1305. type FileEdge {
  1306. node: File!
  1307. cursor: String!
  1308. }
  1309. enum FileOrderByInput {
  1310. id_ASC
  1311. id_DESC
  1312. createdAt_ASC
  1313. createdAt_DESC
  1314. updatedAt_ASC
  1315. updatedAt_DESC
  1316. path_ASC
  1317. path_DESC
  1318. comment_ASC
  1319. comment_DESC
  1320. mimetype_ASC
  1321. mimetype_DESC
  1322. thumbnail_ASC
  1323. thumbnail_DESC
  1324. filename_ASC
  1325. filename_DESC
  1326. encoding_ASC
  1327. encoding_DESC
  1328. size_ASC
  1329. size_DESC
  1330. width_ASC
  1331. width_DESC
  1332. height_ASC
  1333. height_DESC
  1334. duration_ASC
  1335. duration_DESC
  1336. title_ASC
  1337. title_DESC
  1338. artist_ASC
  1339. artist_DESC
  1340. }
  1341. type FilePreviousValues {
  1342. id: ID!
  1343. createdAt: DateTime!
  1344. updatedAt: DateTime!
  1345. path: String!
  1346. comment: String
  1347. mimetype: String
  1348. thumbnail: String
  1349. filename: String
  1350. encoding: String
  1351. size: Int
  1352. width: Int
  1353. height: Int
  1354. duration: Float
  1355. title: String
  1356. artist: String
  1357. }
  1358. type FileSubscriptionPayload {
  1359. mutation: MutationType!
  1360. node: File
  1361. updatedFields: [String!]
  1362. previousValues: FilePreviousValues
  1363. }
  1364. input FileSubscriptionWhereInput {
  1365. mutation_in: [MutationType!]
  1366. updatedFields_contains: String
  1367. updatedFields_contains_every: [String!]
  1368. updatedFields_contains_some: [String!]
  1369. node: FileWhereInput
  1370. AND: [FileSubscriptionWhereInput!]
  1371. OR: [FileSubscriptionWhereInput!]
  1372. NOT: [FileSubscriptionWhereInput!]
  1373. }
  1374. input FileUpdateDataInput {
  1375. user: UserUpdateOneRequiredInput
  1376. path: String
  1377. comment: String
  1378. mimetype: String
  1379. thumbnail: String
  1380. filename: String
  1381. encoding: String
  1382. size: Int
  1383. width: Int
  1384. height: Int
  1385. duration: Float
  1386. title: String
  1387. artist: String
  1388. }
  1389. input FileUpdateInput {
  1390. user: UserUpdateOneRequiredInput
  1391. path: String
  1392. comment: String
  1393. mimetype: String
  1394. thumbnail: String
  1395. filename: String
  1396. encoding: String
  1397. size: Int
  1398. width: Int
  1399. height: Int
  1400. duration: Float
  1401. title: String
  1402. artist: String
  1403. }
  1404. input FileUpdateManyMutationInput {
  1405. path: String
  1406. comment: String
  1407. mimetype: String
  1408. thumbnail: String
  1409. filename: String
  1410. encoding: String
  1411. size: Int
  1412. width: Int
  1413. height: Int
  1414. duration: Float
  1415. title: String
  1416. artist: String
  1417. }
  1418. input FileUpdateOneInput {
  1419. create: FileCreateInput
  1420. update: FileUpdateDataInput
  1421. upsert: FileUpsertNestedInput
  1422. delete: Boolean
  1423. disconnect: Boolean
  1424. connect: FileWhereUniqueInput
  1425. }
  1426. input FileUpsertNestedInput {
  1427. update: FileUpdateDataInput!
  1428. create: FileCreateInput!
  1429. }
  1430. input FileWhereInput {
  1431. id: ID
  1432. id_not: ID
  1433. id_in: [ID!]
  1434. id_not_in: [ID!]
  1435. id_lt: ID
  1436. id_lte: ID
  1437. id_gt: ID
  1438. id_gte: ID
  1439. id_contains: ID
  1440. id_not_contains: ID
  1441. id_starts_with: ID
  1442. id_not_starts_with: ID
  1443. id_ends_with: ID
  1444. id_not_ends_with: ID
  1445. createdAt: DateTime
  1446. createdAt_not: DateTime
  1447. createdAt_in: [DateTime!]
  1448. createdAt_not_in: [DateTime!]
  1449. createdAt_lt: DateTime
  1450. createdAt_lte: DateTime
  1451. createdAt_gt: DateTime
  1452. createdAt_gte: DateTime
  1453. updatedAt: DateTime
  1454. updatedAt_not: DateTime
  1455. updatedAt_in: [DateTime!]
  1456. updatedAt_not_in: [DateTime!]
  1457. updatedAt_lt: DateTime
  1458. updatedAt_lte: DateTime
  1459. updatedAt_gt: DateTime
  1460. updatedAt_gte: DateTime
  1461. user: UserWhereInput
  1462. path: String
  1463. path_not: String
  1464. path_in: [String!]
  1465. path_not_in: [String!]
  1466. path_lt: String
  1467. path_lte: String
  1468. path_gt: String
  1469. path_gte: String
  1470. path_contains: String
  1471. path_not_contains: String
  1472. path_starts_with: String
  1473. path_not_starts_with: String
  1474. path_ends_with: String
  1475. path_not_ends_with: String
  1476. comment: String
  1477. comment_not: String
  1478. comment_in: [String!]
  1479. comment_not_in: [String!]
  1480. comment_lt: String
  1481. comment_lte: String
  1482. comment_gt: String
  1483. comment_gte: String
  1484. comment_contains: String
  1485. comment_not_contains: String
  1486. comment_starts_with: String
  1487. comment_not_starts_with: String
  1488. comment_ends_with: String
  1489. comment_not_ends_with: String
  1490. mimetype: String
  1491. mimetype_not: String
  1492. mimetype_in: [String!]
  1493. mimetype_not_in: [String!]
  1494. mimetype_lt: String
  1495. mimetype_lte: String
  1496. mimetype_gt: String
  1497. mimetype_gte: String
  1498. mimetype_contains: String
  1499. mimetype_not_contains: String
  1500. mimetype_starts_with: String
  1501. mimetype_not_starts_with: String
  1502. mimetype_ends_with: String
  1503. mimetype_not_ends_with: String
  1504. thumbnail: String
  1505. thumbnail_not: String
  1506. thumbnail_in: [String!]
  1507. thumbnail_not_in: [String!]
  1508. thumbnail_lt: String
  1509. thumbnail_lte: String
  1510. thumbnail_gt: String
  1511. thumbnail_gte: String
  1512. thumbnail_contains: String
  1513. thumbnail_not_contains: String
  1514. thumbnail_starts_with: String
  1515. thumbnail_not_starts_with: String
  1516. thumbnail_ends_with: String
  1517. thumbnail_not_ends_with: String
  1518. filename: String
  1519. filename_not: String
  1520. filename_in: [String!]
  1521. filename_not_in: [String!]
  1522. filename_lt: String
  1523. filename_lte: String
  1524. filename_gt: String
  1525. filename_gte: String
  1526. filename_contains: String
  1527. filename_not_contains: String
  1528. filename_starts_with: String
  1529. filename_not_starts_with: String
  1530. filename_ends_with: String
  1531. filename_not_ends_with: String
  1532. encoding: String
  1533. encoding_not: String
  1534. encoding_in: [String!]
  1535. encoding_not_in: [String!]
  1536. encoding_lt: String
  1537. encoding_lte: String
  1538. encoding_gt: String
  1539. encoding_gte: String
  1540. encoding_contains: String
  1541. encoding_not_contains: String
  1542. encoding_starts_with: String
  1543. encoding_not_starts_with: String
  1544. encoding_ends_with: String
  1545. encoding_not_ends_with: String
  1546. size: Int
  1547. size_not: Int
  1548. size_in: [Int!]
  1549. size_not_in: [Int!]
  1550. size_lt: Int
  1551. size_lte: Int
  1552. size_gt: Int
  1553. size_gte: Int
  1554. width: Int
  1555. width_not: Int
  1556. width_in: [Int!]
  1557. width_not_in: [Int!]
  1558. width_lt: Int
  1559. width_lte: Int
  1560. width_gt: Int
  1561. width_gte: Int
  1562. height: Int
  1563. height_not: Int
  1564. height_in: [Int!]
  1565. height_not_in: [Int!]
  1566. height_lt: Int
  1567. height_lte: Int
  1568. height_gt: Int
  1569. height_gte: Int
  1570. duration: Float
  1571. duration_not: Float
  1572. duration_in: [Float!]
  1573. duration_not_in: [Float!]
  1574. duration_lt: Float
  1575. duration_lte: Float
  1576. duration_gt: Float
  1577. duration_gte: Float
  1578. title: String
  1579. title_not: String
  1580. title_in: [String!]
  1581. title_not_in: [String!]
  1582. title_lt: String
  1583. title_lte: String
  1584. title_gt: String
  1585. title_gte: String
  1586. title_contains: String
  1587. title_not_contains: String
  1588. title_starts_with: String
  1589. title_not_starts_with: String
  1590. title_ends_with: String
  1591. title_not_ends_with: String
  1592. artist: String
  1593. artist_not: String
  1594. artist_in: [String!]
  1595. artist_not_in: [String!]
  1596. artist_lt: String
  1597. artist_lte: String
  1598. artist_gt: String
  1599. artist_gte: String
  1600. artist_contains: String
  1601. artist_not_contains: String
  1602. artist_starts_with: String
  1603. artist_not_starts_with: String
  1604. artist_ends_with: String
  1605. artist_not_ends_with: String
  1606. AND: [FileWhereInput!]
  1607. OR: [FileWhereInput!]
  1608. NOT: [FileWhereInput!]
  1609. }
  1610. input FileWhereUniqueInput {
  1611. id: ID
  1612. }
  1613. type Format {
  1614. id: ID!
  1615. name: String!
  1616. description: String!
  1617. }
  1618. type FormatConnection {
  1619. pageInfo: PageInfo!
  1620. edges: [FormatEdge]!
  1621. aggregate: AggregateFormat!
  1622. }
  1623. input FormatCreateInput {
  1624. id: ID
  1625. name: String!
  1626. description: String!
  1627. }
  1628. input FormatCreateOneInput {
  1629. create: FormatCreateInput
  1630. connect: FormatWhereUniqueInput
  1631. }
  1632. type FormatEdge {
  1633. node: Format!
  1634. cursor: String!
  1635. }
  1636. enum FormatOrderByInput {
  1637. id_ASC
  1638. id_DESC
  1639. name_ASC
  1640. name_DESC
  1641. description_ASC
  1642. description_DESC
  1643. }
  1644. type FormatPreviousValues {
  1645. id: ID!
  1646. name: String!
  1647. description: String!
  1648. }
  1649. type FormatSubscriptionPayload {
  1650. mutation: MutationType!
  1651. node: Format
  1652. updatedFields: [String!]
  1653. previousValues: FormatPreviousValues
  1654. }
  1655. input FormatSubscriptionWhereInput {
  1656. mutation_in: [MutationType!]
  1657. updatedFields_contains: String
  1658. updatedFields_contains_every: [String!]
  1659. updatedFields_contains_some: [String!]
  1660. node: FormatWhereInput
  1661. AND: [FormatSubscriptionWhereInput!]
  1662. OR: [FormatSubscriptionWhereInput!]
  1663. NOT: [FormatSubscriptionWhereInput!]
  1664. }
  1665. input FormatUpdateDataInput {
  1666. name: String
  1667. description: String
  1668. }
  1669. input FormatUpdateInput {
  1670. name: String
  1671. description: String
  1672. }
  1673. input FormatUpdateManyMutationInput {
  1674. name: String
  1675. description: String
  1676. }
  1677. input FormatUpdateOneRequiredInput {
  1678. create: FormatCreateInput
  1679. update: FormatUpdateDataInput
  1680. upsert: FormatUpsertNestedInput
  1681. connect: FormatWhereUniqueInput
  1682. }
  1683. input FormatUpsertNestedInput {
  1684. update: FormatUpdateDataInput!
  1685. create: FormatCreateInput!
  1686. }
  1687. input FormatWhereInput {
  1688. id: ID
  1689. id_not: ID
  1690. id_in: [ID!]
  1691. id_not_in: [ID!]
  1692. id_lt: ID
  1693. id_lte: ID
  1694. id_gt: ID
  1695. id_gte: ID
  1696. id_contains: ID
  1697. id_not_contains: ID
  1698. id_starts_with: ID
  1699. id_not_starts_with: ID
  1700. id_ends_with: ID
  1701. id_not_ends_with: ID
  1702. name: String
  1703. name_not: String
  1704. name_in: [String!]
  1705. name_not_in: [String!]
  1706. name_lt: String
  1707. name_lte: String
  1708. name_gt: String
  1709. name_gte: String
  1710. name_contains: String
  1711. name_not_contains: String
  1712. name_starts_with: String
  1713. name_not_starts_with: String
  1714. name_ends_with: String
  1715. name_not_ends_with: String
  1716. description: String
  1717. description_not: String
  1718. description_in: [String!]
  1719. description_not_in: [String!]
  1720. description_lt: String
  1721. description_lte: String
  1722. description_gt: String
  1723. description_gte: String
  1724. description_contains: String
  1725. description_not_contains: String
  1726. description_starts_with: String
  1727. description_not_starts_with: String
  1728. description_ends_with: String
  1729. description_not_ends_with: String
  1730. AND: [FormatWhereInput!]
  1731. OR: [FormatWhereInput!]
  1732. NOT: [FormatWhereInput!]
  1733. }
  1734. input FormatWhereUniqueInput {
  1735. id: ID
  1736. }
  1737. type Link {
  1738. id: ID!
  1739. createdAt: DateTime!
  1740. updatedAt: DateTime!
  1741. url: String!
  1742. user: User!
  1743. comment: String
  1744. duration: Int
  1745. title: String
  1746. artist: String
  1747. }
  1748. type LinkConnection {
  1749. pageInfo: PageInfo!
  1750. edges: [LinkEdge]!
  1751. aggregate: AggregateLink!
  1752. }
  1753. input LinkCreateInput {
  1754. id: ID
  1755. url: String!
  1756. user: UserCreateOneInput!
  1757. comment: String
  1758. duration: Int
  1759. title: String
  1760. artist: String
  1761. }
  1762. input LinkCreateOneInput {
  1763. create: LinkCreateInput
  1764. connect: LinkWhereUniqueInput
  1765. }
  1766. type LinkEdge {
  1767. node: Link!
  1768. cursor: String!
  1769. }
  1770. enum LinkOrderByInput {
  1771. id_ASC
  1772. id_DESC
  1773. createdAt_ASC
  1774. createdAt_DESC
  1775. updatedAt_ASC
  1776. updatedAt_DESC
  1777. url_ASC
  1778. url_DESC
  1779. comment_ASC
  1780. comment_DESC
  1781. duration_ASC
  1782. duration_DESC
  1783. title_ASC
  1784. title_DESC
  1785. artist_ASC
  1786. artist_DESC
  1787. }
  1788. type LinkPreviousValues {
  1789. id: ID!
  1790. createdAt: DateTime!
  1791. updatedAt: DateTime!
  1792. url: String!
  1793. comment: String
  1794. duration: Int
  1795. title: String
  1796. artist: String
  1797. }
  1798. type LinkSubscriptionPayload {
  1799. mutation: MutationType!
  1800. node: Link
  1801. updatedFields: [String!]
  1802. previousValues: LinkPreviousValues
  1803. }
  1804. input LinkSubscriptionWhereInput {
  1805. mutation_in: [MutationType!]
  1806. updatedFields_contains: String
  1807. updatedFields_contains_every: [String!]
  1808. updatedFields_contains_some: [String!]
  1809. node: LinkWhereInput
  1810. AND: [LinkSubscriptionWhereInput!]
  1811. OR: [LinkSubscriptionWhereInput!]
  1812. NOT: [LinkSubscriptionWhereInput!]
  1813. }
  1814. input LinkUpdateDataInput {
  1815. url: String
  1816. user: UserUpdateOneRequiredInput
  1817. comment: String
  1818. duration: Int
  1819. title: String
  1820. artist: String
  1821. }
  1822. input LinkUpdateInput {
  1823. url: String
  1824. user: UserUpdateOneRequiredInput
  1825. comment: String
  1826. duration: Int
  1827. title: String
  1828. artist: String
  1829. }
  1830. input LinkUpdateManyMutationInput {
  1831. url: String
  1832. comment: String
  1833. duration: Int
  1834. title: String
  1835. artist: String
  1836. }
  1837. input LinkUpdateOneInput {
  1838. create: LinkCreateInput
  1839. update: LinkUpdateDataInput
  1840. upsert: LinkUpsertNestedInput
  1841. delete: Boolean
  1842. disconnect: Boolean
  1843. connect: LinkWhereUniqueInput
  1844. }
  1845. input LinkUpsertNestedInput {
  1846. update: LinkUpdateDataInput!
  1847. create: LinkCreateInput!
  1848. }
  1849. input LinkWhereInput {
  1850. id: ID
  1851. id_not: ID
  1852. id_in: [ID!]
  1853. id_not_in: [ID!]
  1854. id_lt: ID
  1855. id_lte: ID
  1856. id_gt: ID
  1857. id_gte: ID
  1858. id_contains: ID
  1859. id_not_contains: ID
  1860. id_starts_with: ID
  1861. id_not_starts_with: ID
  1862. id_ends_with: ID
  1863. id_not_ends_with: ID
  1864. createdAt: DateTime
  1865. createdAt_not: DateTime
  1866. createdAt_in: [DateTime!]
  1867. createdAt_not_in: [DateTime!]
  1868. createdAt_lt: DateTime
  1869. createdAt_lte: DateTime
  1870. createdAt_gt: DateTime
  1871. createdAt_gte: DateTime
  1872. updatedAt: DateTime
  1873. updatedAt_not: DateTime
  1874. updatedAt_in: [DateTime!]
  1875. updatedAt_not_in: [DateTime!]
  1876. updatedAt_lt: DateTime
  1877. updatedAt_lte: DateTime
  1878. updatedAt_gt: DateTime
  1879. updatedAt_gte: DateTime
  1880. url: String
  1881. url_not: String
  1882. url_in: [String!]
  1883. url_not_in: [String!]
  1884. url_lt: String
  1885. url_lte: String
  1886. url_gt: String
  1887. url_gte: String
  1888. url_contains: String
  1889. url_not_contains: String
  1890. url_starts_with: String
  1891. url_not_starts_with: String
  1892. url_ends_with: String
  1893. url_not_ends_with: String
  1894. user: UserWhereInput
  1895. comment: String
  1896. comment_not: String
  1897. comment_in: [String!]
  1898. comment_not_in: [String!]
  1899. comment_lt: String
  1900. comment_lte: String
  1901. comment_gt: String
  1902. comment_gte: String
  1903. comment_contains: String
  1904. comment_not_contains: String
  1905. comment_starts_with: String
  1906. comment_not_starts_with: String
  1907. comment_ends_with: String
  1908. comment_not_ends_with: String
  1909. duration: Int
  1910. duration_not: Int
  1911. duration_in: [Int!]
  1912. duration_not_in: [Int!]
  1913. duration_lt: Int
  1914. duration_lte: Int
  1915. duration_gt: Int
  1916. duration_gte: Int
  1917. title: String
  1918. title_not: String
  1919. title_in: [String!]
  1920. title_not_in: [String!]
  1921. title_lt: String
  1922. title_lte: String
  1923. title_gt: String
  1924. title_gte: String
  1925. title_contains: String
  1926. title_not_contains: String
  1927. title_starts_with: String
  1928. title_not_starts_with: String
  1929. title_ends_with: String
  1930. title_not_ends_with: String
  1931. artist: String
  1932. artist_not: String
  1933. artist_in: [String!]
  1934. artist_not_in: [String!]
  1935. artist_lt: String
  1936. artist_lte: String
  1937. artist_gt: String
  1938. artist_gte: String
  1939. artist_contains: String
  1940. artist_not_contains: String
  1941. artist_starts_with: String
  1942. artist_not_starts_with: String
  1943. artist_ends_with: String
  1944. artist_not_ends_with: String
  1945. AND: [LinkWhereInput!]
  1946. OR: [LinkWhereInput!]
  1947. NOT: [LinkWhereInput!]
  1948. }
  1949. input LinkWhereUniqueInput {
  1950. id: ID
  1951. }
  1952. scalar Long
  1953. type Mutation {
  1954. createBlock(data: BlockCreateInput!): Block!
  1955. updateBlock(data: BlockUpdateInput!, where: BlockWhereUniqueInput!): Block
  1956. updateManyBlocks(data: BlockUpdateManyMutationInput!, where: BlockWhereInput): BatchPayload!
  1957. upsertBlock(where: BlockWhereUniqueInput!, create: BlockCreateInput!, update: BlockUpdateInput!): Block!
  1958. deleteBlock(where: BlockWhereUniqueInput!): Block
  1959. deleteManyBlocks(where: BlockWhereInput): BatchPayload!
  1960. createBlockInstance(data: BlockInstanceCreateInput!): BlockInstance!
  1961. updateBlockInstance(data: BlockInstanceUpdateInput!, where: BlockInstanceWhereUniqueInput!): BlockInstance
  1962. updateManyBlockInstances(data: BlockInstanceUpdateManyMutationInput!, where: BlockInstanceWhereInput): BatchPayload!
  1963. upsertBlockInstance(where: BlockInstanceWhereUniqueInput!, create: BlockInstanceCreateInput!, update: BlockInstanceUpdateInput!): BlockInstance!
  1964. deleteBlockInstance(where: BlockInstanceWhereUniqueInput!): BlockInstance
  1965. deleteManyBlockInstances(where: BlockInstanceWhereInput): BatchPayload!
  1966. createComment(data: CommentCreateInput!): Comment!
  1967. updateComment(data: CommentUpdateInput!, where: CommentWhereUniqueInput!): Comment
  1968. updateManyComments(data: CommentUpdateManyMutationInput!, where: CommentWhereInput): BatchPayload!
  1969. upsertComment(where: CommentWhereUniqueInput!, create: CommentCreateInput!, update: CommentUpdateInput!): Comment!
  1970. deleteComment(where: CommentWhereUniqueInput!): Comment
  1971. deleteManyComments(where: CommentWhereInput): BatchPayload!
  1972. createExercise(data: ExerciseCreateInput!): Exercise!
  1973. updateExercise(data: ExerciseUpdateInput!, where: ExerciseWhereUniqueInput!): Exercise
  1974. updateManyExercises(data: ExerciseUpdateManyMutationInput!, where: ExerciseWhereInput): BatchPayload!
  1975. upsertExercise(where: ExerciseWhereUniqueInput!, create: ExerciseCreateInput!, update: ExerciseUpdateInput!): Exercise!
  1976. deleteExercise(where: ExerciseWhereUniqueInput!): Exercise
  1977. deleteManyExercises(where: ExerciseWhereInput): BatchPayload!
  1978. createExerciseInstance(data: ExerciseInstanceCreateInput!): ExerciseInstance!
  1979. updateExerciseInstance(data: ExerciseInstanceUpdateInput!, where: ExerciseInstanceWhereUniqueInput!): ExerciseInstance
  1980. updateManyExerciseInstances(data: ExerciseInstanceUpdateManyMutationInput!, where: ExerciseInstanceWhereInput): BatchPayload!
  1981. upsertExerciseInstance(where: ExerciseInstanceWhereUniqueInput!, create: ExerciseInstanceCreateInput!, update: ExerciseInstanceUpdateInput!): ExerciseInstance!
  1982. deleteExerciseInstance(where: ExerciseInstanceWhereUniqueInput!): ExerciseInstance
  1983. deleteManyExerciseInstances(where: ExerciseInstanceWhereInput): BatchPayload!
  1984. createFile(data: FileCreateInput!): File!
  1985. updateFile(data: FileUpdateInput!, where: FileWhereUniqueInput!): File
  1986. updateManyFiles(data: FileUpdateManyMutationInput!, where: FileWhereInput): BatchPayload!
  1987. upsertFile(where: FileWhereUniqueInput!, create: FileCreateInput!, update: FileUpdateInput!): File!
  1988. deleteFile(where: FileWhereUniqueInput!): File
  1989. deleteManyFiles(where: FileWhereInput): BatchPayload!
  1990. createFormat(data: FormatCreateInput!): Format!
  1991. updateFormat(data: FormatUpdateInput!, where: FormatWhereUniqueInput!): Format
  1992. updateManyFormats(data: FormatUpdateManyMutationInput!, where: FormatWhereInput): BatchPayload!
  1993. upsertFormat(where: FormatWhereUniqueInput!, create: FormatCreateInput!, update: FormatUpdateInput!): Format!
  1994. deleteFormat(where: FormatWhereUniqueInput!): Format
  1995. deleteManyFormats(where: FormatWhereInput): BatchPayload!
  1996. createLink(data: LinkCreateInput!): Link!
  1997. updateLink(data: LinkUpdateInput!, where: LinkWhereUniqueInput!): Link
  1998. updateManyLinks(data: LinkUpdateManyMutationInput!, where: LinkWhereInput): BatchPayload!
  1999. upsertLink(where: LinkWhereUniqueInput!, create: LinkCreateInput!, update: LinkUpdateInput!): Link!
  2000. deleteLink(where: LinkWhereUniqueInput!): Link
  2001. deleteManyLinks(where: LinkWhereInput): BatchPayload!
  2002. createPicture(data: PictureCreateInput!): Picture!
  2003. updatePicture(data: PictureUpdateInput!, where: PictureWhereUniqueInput!): Picture
  2004. updateManyPictures(data: PictureUpdateManyMutationInput!, where: PictureWhereInput): BatchPayload!
  2005. upsertPicture(where: PictureWhereUniqueInput!, create: PictureCreateInput!, update: PictureUpdateInput!): Picture!
  2006. deletePicture(where: PictureWhereUniqueInput!): Picture
  2007. deleteManyPictures(where: PictureWhereInput): BatchPayload!
  2008. createRating(data: RatingCreateInput!): Rating!
  2009. updateRating(data: RatingUpdateInput!, where: RatingWhereUniqueInput!): Rating
  2010. updateManyRatings(data: RatingUpdateManyMutationInput!, where: RatingWhereInput): BatchPayload!
  2011. upsertRating(where: RatingWhereUniqueInput!, create: RatingCreateInput!, update: RatingUpdateInput!): Rating!
  2012. deleteRating(where: RatingWhereUniqueInput!): Rating
  2013. deleteManyRatings(where: RatingWhereInput): BatchPayload!
  2014. createTrack(data: TrackCreateInput!): Track!
  2015. updateTrack(data: TrackUpdateInput!, where: TrackWhereUniqueInput!): Track
  2016. updateManyTracks(data: TrackUpdateManyMutationInput!, where: TrackWhereInput): BatchPayload!
  2017. upsertTrack(where: TrackWhereUniqueInput!, create: TrackCreateInput!, update: TrackUpdateInput!): Track!
  2018. deleteTrack(where: TrackWhereUniqueInput!): Track
  2019. deleteManyTracks(where: TrackWhereInput): BatchPayload!
  2020. createTraining(data: TrainingCreateInput!): Training!
  2021. updateTraining(data: TrainingUpdateInput!, where: TrainingWhereUniqueInput!): Training
  2022. updateManyTrainings(data: TrainingUpdateManyMutationInput!, where: TrainingWhereInput): BatchPayload!
  2023. upsertTraining(where: TrainingWhereUniqueInput!, create: TrainingCreateInput!, update: TrainingUpdateInput!): Training!
  2024. deleteTraining(where: TrainingWhereUniqueInput!): Training
  2025. deleteManyTrainings(where: TrainingWhereInput): BatchPayload!
  2026. createTrainingType(data: TrainingTypeCreateInput!): TrainingType!
  2027. updateTrainingType(data: TrainingTypeUpdateInput!, where: TrainingTypeWhereUniqueInput!): TrainingType
  2028. updateManyTrainingTypes(data: TrainingTypeUpdateManyMutationInput!, where: TrainingTypeWhereInput): BatchPayload!
  2029. upsertTrainingType(where: TrainingTypeWhereUniqueInput!, create: TrainingTypeCreateInput!, update: TrainingTypeUpdateInput!): TrainingType!
  2030. deleteTrainingType(where: TrainingTypeWhereUniqueInput!): TrainingType
  2031. deleteManyTrainingTypes(where: TrainingTypeWhereInput): BatchPayload!
  2032. createUser(data: UserCreateInput!): User!
  2033. updateUser(data: UserUpdateInput!, where: UserWhereUniqueInput!): User
  2034. updateManyUsers(data: UserUpdateManyMutationInput!, where: UserWhereInput): BatchPayload!
  2035. upsertUser(where: UserWhereUniqueInput!, create: UserCreateInput!, update: UserUpdateInput!): User!
  2036. deleteUser(where: UserWhereUniqueInput!): User
  2037. deleteManyUsers(where: UserWhereInput): BatchPayload!
  2038. createVideo(data: VideoCreateInput!): Video!
  2039. updateVideo(data: VideoUpdateInput!, where: VideoWhereUniqueInput!): Video
  2040. updateManyVideos(data: VideoUpdateManyMutationInput!, where: VideoWhereInput): BatchPayload!
  2041. upsertVideo(where: VideoWhereUniqueInput!, create: VideoCreateInput!, update: VideoUpdateInput!): Video!
  2042. deleteVideo(where: VideoWhereUniqueInput!): Video
  2043. deleteManyVideos(where: VideoWhereInput): BatchPayload!
  2044. }
  2045. enum MutationType {
  2046. CREATED
  2047. UPDATED
  2048. DELETED
  2049. }
  2050. interface Node {
  2051. id: ID!
  2052. }
  2053. type PageInfo {
  2054. hasNextPage: Boolean!
  2055. hasPreviousPage: Boolean!
  2056. startCursor: String
  2057. endCursor: String
  2058. }
  2059. enum Permission {
  2060. ADMIN
  2061. INSTRUCTOR
  2062. }
  2063. type Picture {
  2064. id: ID!
  2065. createdAt: DateTime!
  2066. updatedAt: DateTime!
  2067. order: Int!
  2068. file: File
  2069. link: Link
  2070. }
  2071. type PictureConnection {
  2072. pageInfo: PageInfo!
  2073. edges: [PictureEdge]!
  2074. aggregate: AggregatePicture!
  2075. }
  2076. input PictureCreateInput {
  2077. id: ID
  2078. order: Int!
  2079. file: FileCreateOneInput
  2080. link: LinkCreateOneInput
  2081. }
  2082. input PictureCreateManyInput {
  2083. create: [PictureCreateInput!]
  2084. connect: [PictureWhereUniqueInput!]
  2085. }
  2086. type PictureEdge {
  2087. node: Picture!
  2088. cursor: String!
  2089. }
  2090. enum PictureOrderByInput {
  2091. id_ASC
  2092. id_DESC
  2093. createdAt_ASC
  2094. createdAt_DESC
  2095. updatedAt_ASC
  2096. updatedAt_DESC
  2097. order_ASC
  2098. order_DESC
  2099. }
  2100. type PicturePreviousValues {
  2101. id: ID!
  2102. createdAt: DateTime!
  2103. updatedAt: DateTime!
  2104. order: Int!
  2105. }
  2106. input PictureScalarWhereInput {
  2107. id: ID
  2108. id_not: ID
  2109. id_in: [ID!]
  2110. id_not_in: [ID!]
  2111. id_lt: ID
  2112. id_lte: ID
  2113. id_gt: ID
  2114. id_gte: ID
  2115. id_contains: ID
  2116. id_not_contains: ID
  2117. id_starts_with: ID
  2118. id_not_starts_with: ID
  2119. id_ends_with: ID
  2120. id_not_ends_with: ID
  2121. createdAt: DateTime
  2122. createdAt_not: DateTime
  2123. createdAt_in: [DateTime!]
  2124. createdAt_not_in: [DateTime!]
  2125. createdAt_lt: DateTime
  2126. createdAt_lte: DateTime
  2127. createdAt_gt: DateTime
  2128. createdAt_gte: DateTime
  2129. updatedAt: DateTime
  2130. updatedAt_not: DateTime
  2131. updatedAt_in: [DateTime!]
  2132. updatedAt_not_in: [DateTime!]
  2133. updatedAt_lt: DateTime
  2134. updatedAt_lte: DateTime
  2135. updatedAt_gt: DateTime
  2136. updatedAt_gte: DateTime
  2137. order: Int
  2138. order_not: Int
  2139. order_in: [Int!]
  2140. order_not_in: [Int!]
  2141. order_lt: Int
  2142. order_lte: Int
  2143. order_gt: Int
  2144. order_gte: Int
  2145. AND: [PictureScalarWhereInput!]
  2146. OR: [PictureScalarWhereInput!]
  2147. NOT: [PictureScalarWhereInput!]
  2148. }
  2149. type PictureSubscriptionPayload {
  2150. mutation: MutationType!
  2151. node: Picture
  2152. updatedFields: [String!]
  2153. previousValues: PicturePreviousValues
  2154. }
  2155. input PictureSubscriptionWhereInput {
  2156. mutation_in: [MutationType!]
  2157. updatedFields_contains: String
  2158. updatedFields_contains_every: [String!]
  2159. updatedFields_contains_some: [String!]
  2160. node: PictureWhereInput
  2161. AND: [PictureSubscriptionWhereInput!]
  2162. OR: [PictureSubscriptionWhereInput!]
  2163. NOT: [PictureSubscriptionWhereInput!]
  2164. }
  2165. input PictureUpdateDataInput {
  2166. order: Int
  2167. file: FileUpdateOneInput
  2168. link: LinkUpdateOneInput
  2169. }
  2170. input PictureUpdateInput {
  2171. order: Int
  2172. file: FileUpdateOneInput
  2173. link: LinkUpdateOneInput
  2174. }
  2175. input PictureUpdateManyDataInput {
  2176. order: Int
  2177. }
  2178. input PictureUpdateManyInput {
  2179. create: [PictureCreateInput!]
  2180. update: [PictureUpdateWithWhereUniqueNestedInput!]
  2181. upsert: [PictureUpsertWithWhereUniqueNestedInput!]
  2182. delete: [PictureWhereUniqueInput!]
  2183. connect: [PictureWhereUniqueInput!]
  2184. set: [PictureWhereUniqueInput!]
  2185. disconnect: [PictureWhereUniqueInput!]
  2186. deleteMany: [PictureScalarWhereInput!]
  2187. updateMany: [PictureUpdateManyWithWhereNestedInput!]
  2188. }
  2189. input PictureUpdateManyMutationInput {
  2190. order: Int
  2191. }
  2192. input PictureUpdateManyWithWhereNestedInput {
  2193. where: PictureScalarWhereInput!
  2194. data: PictureUpdateManyDataInput!
  2195. }
  2196. input PictureUpdateWithWhereUniqueNestedInput {
  2197. where: PictureWhereUniqueInput!
  2198. data: PictureUpdateDataInput!
  2199. }
  2200. input PictureUpsertWithWhereUniqueNestedInput {
  2201. where: PictureWhereUniqueInput!
  2202. update: PictureUpdateDataInput!
  2203. create: PictureCreateInput!
  2204. }
  2205. input PictureWhereInput {
  2206. id: ID
  2207. id_not: ID
  2208. id_in: [ID!]
  2209. id_not_in: [ID!]
  2210. id_lt: ID
  2211. id_lte: ID
  2212. id_gt: ID
  2213. id_gte: ID
  2214. id_contains: ID
  2215. id_not_contains: ID
  2216. id_starts_with: ID
  2217. id_not_starts_with: ID
  2218. id_ends_with: ID
  2219. id_not_ends_with: ID
  2220. createdAt: DateTime
  2221. createdAt_not: DateTime
  2222. createdAt_in: [DateTime!]
  2223. createdAt_not_in: [DateTime!]
  2224. createdAt_lt: DateTime
  2225. createdAt_lte: DateTime
  2226. createdAt_gt: DateTime
  2227. createdAt_gte: DateTime
  2228. updatedAt: DateTime
  2229. updatedAt_not: DateTime
  2230. updatedAt_in: [DateTime!]
  2231. updatedAt_not_in: [DateTime!]
  2232. updatedAt_lt: DateTime
  2233. updatedAt_lte: DateTime
  2234. updatedAt_gt: DateTime
  2235. updatedAt_gte: DateTime
  2236. order: Int
  2237. order_not: Int
  2238. order_in: [Int!]
  2239. order_not_in: [Int!]
  2240. order_lt: Int
  2241. order_lte: Int
  2242. order_gt: Int
  2243. order_gte: Int
  2244. file: FileWhereInput
  2245. link: LinkWhereInput
  2246. AND: [PictureWhereInput!]
  2247. OR: [PictureWhereInput!]
  2248. NOT: [PictureWhereInput!]
  2249. }
  2250. input PictureWhereUniqueInput {
  2251. id: ID
  2252. }
  2253. type Query {
  2254. block(where: BlockWhereUniqueInput!): Block
  2255. blocks(where: BlockWhereInput, orderBy: BlockOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Block]!
  2256. blocksConnection(where: BlockWhereInput, orderBy: BlockOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): BlockConnection!
  2257. blockInstance(where: BlockInstanceWhereUniqueInput!): BlockInstance
  2258. blockInstances(where: BlockInstanceWhereInput, orderBy: BlockInstanceOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [BlockInstance]!
  2259. blockInstancesConnection(where: BlockInstanceWhereInput, orderBy: BlockInstanceOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): BlockInstanceConnection!
  2260. comment(where: CommentWhereUniqueInput!): Comment
  2261. comments(where: CommentWhereInput, orderBy: CommentOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Comment]!
  2262. commentsConnection(where: CommentWhereInput, orderBy: CommentOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): CommentConnection!
  2263. exercise(where: ExerciseWhereUniqueInput!): Exercise
  2264. exercises(where: ExerciseWhereInput, orderBy: ExerciseOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Exercise]!
  2265. exercisesConnection(where: ExerciseWhereInput, orderBy: ExerciseOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): ExerciseConnection!
  2266. exerciseInstance(where: ExerciseInstanceWhereUniqueInput!): ExerciseInstance
  2267. exerciseInstances(where: ExerciseInstanceWhereInput, orderBy: ExerciseInstanceOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [ExerciseInstance]!
  2268. exerciseInstancesConnection(where: ExerciseInstanceWhereInput, orderBy: ExerciseInstanceOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): ExerciseInstanceConnection!
  2269. file(where: FileWhereUniqueInput!): File
  2270. files(where: FileWhereInput, orderBy: FileOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [File]!
  2271. filesConnection(where: FileWhereInput, orderBy: FileOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): FileConnection!
  2272. format(where: FormatWhereUniqueInput!): Format
  2273. formats(where: FormatWhereInput, orderBy: FormatOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Format]!
  2274. formatsConnection(where: FormatWhereInput, orderBy: FormatOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): FormatConnection!
  2275. link(where: LinkWhereUniqueInput!): Link
  2276. links(where: LinkWhereInput, orderBy: LinkOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Link]!
  2277. linksConnection(where: LinkWhereInput, orderBy: LinkOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): LinkConnection!
  2278. picture(where: PictureWhereUniqueInput!): Picture
  2279. pictures(where: PictureWhereInput, orderBy: PictureOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Picture]!
  2280. picturesConnection(where: PictureWhereInput, orderBy: PictureOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): PictureConnection!
  2281. rating(where: RatingWhereUniqueInput!): Rating
  2282. ratings(where: RatingWhereInput, orderBy: RatingOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Rating]!
  2283. ratingsConnection(where: RatingWhereInput, orderBy: RatingOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): RatingConnection!
  2284. track(where: TrackWhereUniqueInput!): Track
  2285. tracks(where: TrackWhereInput, orderBy: TrackOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Track]!
  2286. tracksConnection(where: TrackWhereInput, orderBy: TrackOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): TrackConnection!
  2287. training(where: TrainingWhereUniqueInput!): Training
  2288. trainings(where: TrainingWhereInput, orderBy: TrainingOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Training]!
  2289. trainingsConnection(where: TrainingWhereInput, orderBy: TrainingOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): TrainingConnection!
  2290. trainingType(where: TrainingTypeWhereUniqueInput!): TrainingType
  2291. trainingTypes(where: TrainingTypeWhereInput, orderBy: TrainingTypeOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [TrainingType]!
  2292. trainingTypesConnection(where: TrainingTypeWhereInput, orderBy: TrainingTypeOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): TrainingTypeConnection!
  2293. user(where: UserWhereUniqueInput!): User
  2294. users(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [User]!
  2295. usersConnection(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): UserConnection!
  2296. video(where: VideoWhereUniqueInput!): Video
  2297. videos(where: VideoWhereInput, orderBy: VideoOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Video]!
  2298. videosConnection(where: VideoWhereInput, orderBy: VideoOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): VideoConnection!
  2299. node(id: ID!): Node
  2300. }
  2301. type Rating {
  2302. id: ID!
  2303. user: User!
  2304. value: Int!
  2305. comment: String!
  2306. createdAt: DateTime!
  2307. }
  2308. type RatingConnection {
  2309. pageInfo: PageInfo!
  2310. edges: [RatingEdge]!
  2311. aggregate: AggregateRating!
  2312. }
  2313. input RatingCreateInput {
  2314. id: ID
  2315. user: UserCreateOneWithoutRatingsInput!
  2316. value: Int!
  2317. comment: String!
  2318. }
  2319. input RatingCreateManyInput {
  2320. create: [RatingCreateInput!]
  2321. connect: [RatingWhereUniqueInput!]
  2322. }
  2323. input RatingCreateManyWithoutUserInput {
  2324. create: [RatingCreateWithoutUserInput!]
  2325. connect: [RatingWhereUniqueInput!]
  2326. }
  2327. input RatingCreateWithoutUserInput {
  2328. id: ID
  2329. value: Int!
  2330. comment: String!
  2331. }
  2332. type RatingEdge {
  2333. node: Rating!
  2334. cursor: String!
  2335. }
  2336. enum RatingOrderByInput {
  2337. id_ASC
  2338. id_DESC
  2339. value_ASC
  2340. value_DESC
  2341. comment_ASC
  2342. comment_DESC
  2343. createdAt_ASC
  2344. createdAt_DESC
  2345. }
  2346. type RatingPreviousValues {
  2347. id: ID!
  2348. value: Int!
  2349. comment: String!
  2350. createdAt: DateTime!
  2351. }
  2352. input RatingScalarWhereInput {
  2353. id: ID
  2354. id_not: ID
  2355. id_in: [ID!]
  2356. id_not_in: [ID!]
  2357. id_lt: ID
  2358. id_lte: ID
  2359. id_gt: ID
  2360. id_gte: ID
  2361. id_contains: ID
  2362. id_not_contains: ID
  2363. id_starts_with: ID
  2364. id_not_starts_with: ID
  2365. id_ends_with: ID
  2366. id_not_ends_with: ID
  2367. value: Int
  2368. value_not: Int
  2369. value_in: [Int!]
  2370. value_not_in: [Int!]
  2371. value_lt: Int
  2372. value_lte: Int
  2373. value_gt: Int
  2374. value_gte: Int
  2375. comment: String
  2376. comment_not: String
  2377. comment_in: [String!]
  2378. comment_not_in: [String!]
  2379. comment_lt: String
  2380. comment_lte: String
  2381. comment_gt: String
  2382. comment_gte: String
  2383. comment_contains: String
  2384. comment_not_contains: String
  2385. comment_starts_with: String
  2386. comment_not_starts_with: String
  2387. comment_ends_with: String
  2388. comment_not_ends_with: String
  2389. createdAt: DateTime
  2390. createdAt_not: DateTime
  2391. createdAt_in: [DateTime!]
  2392. createdAt_not_in: [DateTime!]
  2393. createdAt_lt: DateTime
  2394. createdAt_lte: DateTime
  2395. createdAt_gt: DateTime
  2396. createdAt_gte: DateTime
  2397. AND: [RatingScalarWhereInput!]
  2398. OR: [RatingScalarWhereInput!]
  2399. NOT: [RatingScalarWhereInput!]
  2400. }
  2401. type RatingSubscriptionPayload {
  2402. mutation: MutationType!
  2403. node: Rating
  2404. updatedFields: [String!]
  2405. previousValues: RatingPreviousValues
  2406. }
  2407. input RatingSubscriptionWhereInput {
  2408. mutation_in: [MutationType!]
  2409. updatedFields_contains: String
  2410. updatedFields_contains_every: [String!]
  2411. updatedFields_contains_some: [String!]
  2412. node: RatingWhereInput
  2413. AND: [RatingSubscriptionWhereInput!]
  2414. OR: [RatingSubscriptionWhereInput!]
  2415. NOT: [RatingSubscriptionWhereInput!]
  2416. }
  2417. input RatingUpdateDataInput {
  2418. user: UserUpdateOneRequiredWithoutRatingsInput
  2419. value: Int
  2420. comment: String
  2421. }
  2422. input RatingUpdateInput {
  2423. user: UserUpdateOneRequiredWithoutRatingsInput
  2424. value: Int
  2425. comment: String
  2426. }
  2427. input RatingUpdateManyDataInput {
  2428. value: Int
  2429. comment: String
  2430. }
  2431. input RatingUpdateManyInput {
  2432. create: [RatingCreateInput!]
  2433. update: [RatingUpdateWithWhereUniqueNestedInput!]
  2434. upsert: [RatingUpsertWithWhereUniqueNestedInput!]
  2435. delete: [RatingWhereUniqueInput!]
  2436. connect: [RatingWhereUniqueInput!]
  2437. set: [RatingWhereUniqueInput!]
  2438. disconnect: [RatingWhereUniqueInput!]
  2439. deleteMany: [RatingScalarWhereInput!]
  2440. updateMany: [RatingUpdateManyWithWhereNestedInput!]
  2441. }
  2442. input RatingUpdateManyMutationInput {
  2443. value: Int
  2444. comment: String
  2445. }
  2446. input RatingUpdateManyWithoutUserInput {
  2447. create: [RatingCreateWithoutUserInput!]
  2448. delete: [RatingWhereUniqueInput!]
  2449. connect: [RatingWhereUniqueInput!]
  2450. set: [RatingWhereUniqueInput!]
  2451. disconnect: [RatingWhereUniqueInput!]
  2452. update: [RatingUpdateWithWhereUniqueWithoutUserInput!]
  2453. upsert: [RatingUpsertWithWhereUniqueWithoutUserInput!]
  2454. deleteMany: [RatingScalarWhereInput!]
  2455. updateMany: [RatingUpdateManyWithWhereNestedInput!]
  2456. }
  2457. input RatingUpdateManyWithWhereNestedInput {
  2458. where: RatingScalarWhereInput!
  2459. data: RatingUpdateManyDataInput!
  2460. }
  2461. input RatingUpdateWithoutUserDataInput {
  2462. value: Int
  2463. comment: String
  2464. }
  2465. input RatingUpdateWithWhereUniqueNestedInput {
  2466. where: RatingWhereUniqueInput!
  2467. data: RatingUpdateDataInput!
  2468. }
  2469. input RatingUpdateWithWhereUniqueWithoutUserInput {
  2470. where: RatingWhereUniqueInput!
  2471. data: RatingUpdateWithoutUserDataInput!
  2472. }
  2473. input RatingUpsertWithWhereUniqueNestedInput {
  2474. where: RatingWhereUniqueInput!
  2475. update: RatingUpdateDataInput!
  2476. create: RatingCreateInput!
  2477. }
  2478. input RatingUpsertWithWhereUniqueWithoutUserInput {
  2479. where: RatingWhereUniqueInput!
  2480. update: RatingUpdateWithoutUserDataInput!
  2481. create: RatingCreateWithoutUserInput!
  2482. }
  2483. input RatingWhereInput {
  2484. id: ID
  2485. id_not: ID
  2486. id_in: [ID!]
  2487. id_not_in: [ID!]
  2488. id_lt: ID
  2489. id_lte: ID
  2490. id_gt: ID
  2491. id_gte: ID
  2492. id_contains: ID
  2493. id_not_contains: ID
  2494. id_starts_with: ID
  2495. id_not_starts_with: ID
  2496. id_ends_with: ID
  2497. id_not_ends_with: ID
  2498. user: UserWhereInput
  2499. value: Int
  2500. value_not: Int
  2501. value_in: [Int!]
  2502. value_not_in: [Int!]
  2503. value_lt: Int
  2504. value_lte: Int
  2505. value_gt: Int
  2506. value_gte: Int
  2507. comment: String
  2508. comment_not: String
  2509. comment_in: [String!]
  2510. comment_not_in: [String!]
  2511. comment_lt: String
  2512. comment_lte: String
  2513. comment_gt: String
  2514. comment_gte: String
  2515. comment_contains: String
  2516. comment_not_contains: String
  2517. comment_starts_with: String
  2518. comment_not_starts_with: String
  2519. comment_ends_with: String
  2520. comment_not_ends_with: String
  2521. createdAt: DateTime
  2522. createdAt_not: DateTime
  2523. createdAt_in: [DateTime!]
  2524. createdAt_not_in: [DateTime!]
  2525. createdAt_lt: DateTime
  2526. createdAt_lte: DateTime
  2527. createdAt_gt: DateTime
  2528. createdAt_gte: DateTime
  2529. AND: [RatingWhereInput!]
  2530. OR: [RatingWhereInput!]
  2531. NOT: [RatingWhereInput!]
  2532. }
  2533. input RatingWhereUniqueInput {
  2534. id: ID
  2535. }
  2536. type Subscription {
  2537. block(where: BlockSubscriptionWhereInput): BlockSubscriptionPayload
  2538. blockInstance(where: BlockInstanceSubscriptionWhereInput): BlockInstanceSubscriptionPayload
  2539. comment(where: CommentSubscriptionWhereInput): CommentSubscriptionPayload
  2540. exercise(where: ExerciseSubscriptionWhereInput): ExerciseSubscriptionPayload
  2541. exerciseInstance(where: ExerciseInstanceSubscriptionWhereInput): ExerciseInstanceSubscriptionPayload
  2542. file(where: FileSubscriptionWhereInput): FileSubscriptionPayload
  2543. format(where: FormatSubscriptionWhereInput): FormatSubscriptionPayload
  2544. link(where: LinkSubscriptionWhereInput): LinkSubscriptionPayload
  2545. picture(where: PictureSubscriptionWhereInput): PictureSubscriptionPayload
  2546. rating(where: RatingSubscriptionWhereInput): RatingSubscriptionPayload
  2547. track(where: TrackSubscriptionWhereInput): TrackSubscriptionPayload
  2548. training(where: TrainingSubscriptionWhereInput): TrainingSubscriptionPayload
  2549. trainingType(where: TrainingTypeSubscriptionWhereInput): TrainingTypeSubscriptionPayload
  2550. user(where: UserSubscriptionWhereInput): UserSubscriptionPayload
  2551. video(where: VideoSubscriptionWhereInput): VideoSubscriptionPayload
  2552. }
  2553. type Track {
  2554. id: ID!
  2555. createdAt: DateTime!
  2556. updatedAt: DateTime!
  2557. order: Int!
  2558. file: File
  2559. link: Link
  2560. }
  2561. type TrackConnection {
  2562. pageInfo: PageInfo!
  2563. edges: [TrackEdge]!
  2564. aggregate: AggregateTrack!
  2565. }
  2566. input TrackCreateInput {
  2567. id: ID
  2568. order: Int!
  2569. file: FileCreateOneInput
  2570. link: LinkCreateOneInput
  2571. }
  2572. input TrackCreateManyInput {
  2573. create: [TrackCreateInput!]
  2574. connect: [TrackWhereUniqueInput!]
  2575. }
  2576. type TrackEdge {
  2577. node: Track!
  2578. cursor: String!
  2579. }
  2580. enum TrackOrderByInput {
  2581. id_ASC
  2582. id_DESC
  2583. createdAt_ASC
  2584. createdAt_DESC
  2585. updatedAt_ASC
  2586. updatedAt_DESC
  2587. order_ASC
  2588. order_DESC
  2589. }
  2590. type TrackPreviousValues {
  2591. id: ID!
  2592. createdAt: DateTime!
  2593. updatedAt: DateTime!
  2594. order: Int!
  2595. }
  2596. input TrackScalarWhereInput {
  2597. id: ID
  2598. id_not: ID
  2599. id_in: [ID!]
  2600. id_not_in: [ID!]
  2601. id_lt: ID
  2602. id_lte: ID
  2603. id_gt: ID
  2604. id_gte: ID
  2605. id_contains: ID
  2606. id_not_contains: ID
  2607. id_starts_with: ID
  2608. id_not_starts_with: ID
  2609. id_ends_with: ID
  2610. id_not_ends_with: ID
  2611. createdAt: DateTime
  2612. createdAt_not: DateTime
  2613. createdAt_in: [DateTime!]
  2614. createdAt_not_in: [DateTime!]
  2615. createdAt_lt: DateTime
  2616. createdAt_lte: DateTime
  2617. createdAt_gt: DateTime
  2618. createdAt_gte: DateTime
  2619. updatedAt: DateTime
  2620. updatedAt_not: DateTime
  2621. updatedAt_in: [DateTime!]
  2622. updatedAt_not_in: [DateTime!]
  2623. updatedAt_lt: DateTime
  2624. updatedAt_lte: DateTime
  2625. updatedAt_gt: DateTime
  2626. updatedAt_gte: DateTime
  2627. order: Int
  2628. order_not: Int
  2629. order_in: [Int!]
  2630. order_not_in: [Int!]
  2631. order_lt: Int
  2632. order_lte: Int
  2633. order_gt: Int
  2634. order_gte: Int
  2635. AND: [TrackScalarWhereInput!]
  2636. OR: [TrackScalarWhereInput!]
  2637. NOT: [TrackScalarWhereInput!]
  2638. }
  2639. type TrackSubscriptionPayload {
  2640. mutation: MutationType!
  2641. node: Track
  2642. updatedFields: [String!]
  2643. previousValues: TrackPreviousValues
  2644. }
  2645. input TrackSubscriptionWhereInput {
  2646. mutation_in: [MutationType!]
  2647. updatedFields_contains: String
  2648. updatedFields_contains_every: [String!]
  2649. updatedFields_contains_some: [String!]
  2650. node: TrackWhereInput
  2651. AND: [TrackSubscriptionWhereInput!]
  2652. OR: [TrackSubscriptionWhereInput!]
  2653. NOT: [TrackSubscriptionWhereInput!]
  2654. }
  2655. input TrackUpdateDataInput {
  2656. order: Int
  2657. file: FileUpdateOneInput
  2658. link: LinkUpdateOneInput
  2659. }
  2660. input TrackUpdateInput {
  2661. order: Int
  2662. file: FileUpdateOneInput
  2663. link: LinkUpdateOneInput
  2664. }
  2665. input TrackUpdateManyDataInput {
  2666. order: Int
  2667. }
  2668. input TrackUpdateManyInput {
  2669. create: [TrackCreateInput!]
  2670. update: [TrackUpdateWithWhereUniqueNestedInput!]
  2671. upsert: [TrackUpsertWithWhereUniqueNestedInput!]
  2672. delete: [TrackWhereUniqueInput!]
  2673. connect: [TrackWhereUniqueInput!]
  2674. set: [TrackWhereUniqueInput!]
  2675. disconnect: [TrackWhereUniqueInput!]
  2676. deleteMany: [TrackScalarWhereInput!]
  2677. updateMany: [TrackUpdateManyWithWhereNestedInput!]
  2678. }
  2679. input TrackUpdateManyMutationInput {
  2680. order: Int
  2681. }
  2682. input TrackUpdateManyWithWhereNestedInput {
  2683. where: TrackScalarWhereInput!
  2684. data: TrackUpdateManyDataInput!
  2685. }
  2686. input TrackUpdateWithWhereUniqueNestedInput {
  2687. where: TrackWhereUniqueInput!
  2688. data: TrackUpdateDataInput!
  2689. }
  2690. input TrackUpsertWithWhereUniqueNestedInput {
  2691. where: TrackWhereUniqueInput!
  2692. update: TrackUpdateDataInput!
  2693. create: TrackCreateInput!
  2694. }
  2695. input TrackWhereInput {
  2696. id: ID
  2697. id_not: ID
  2698. id_in: [ID!]
  2699. id_not_in: [ID!]
  2700. id_lt: ID
  2701. id_lte: ID
  2702. id_gt: ID
  2703. id_gte: ID
  2704. id_contains: ID
  2705. id_not_contains: ID
  2706. id_starts_with: ID
  2707. id_not_starts_with: ID
  2708. id_ends_with: ID
  2709. id_not_ends_with: ID
  2710. createdAt: DateTime
  2711. createdAt_not: DateTime
  2712. createdAt_in: [DateTime!]
  2713. createdAt_not_in: [DateTime!]
  2714. createdAt_lt: DateTime
  2715. createdAt_lte: DateTime
  2716. createdAt_gt: DateTime
  2717. createdAt_gte: DateTime
  2718. updatedAt: DateTime
  2719. updatedAt_not: DateTime
  2720. updatedAt_in: [DateTime!]
  2721. updatedAt_not_in: [DateTime!]
  2722. updatedAt_lt: DateTime
  2723. updatedAt_lte: DateTime
  2724. updatedAt_gt: DateTime
  2725. updatedAt_gte: DateTime
  2726. order: Int
  2727. order_not: Int
  2728. order_in: [Int!]
  2729. order_not_in: [Int!]
  2730. order_lt: Int
  2731. order_lte: Int
  2732. order_gt: Int
  2733. order_gte: Int
  2734. file: FileWhereInput
  2735. link: LinkWhereInput
  2736. AND: [TrackWhereInput!]
  2737. OR: [TrackWhereInput!]
  2738. NOT: [TrackWhereInput!]
  2739. }
  2740. input TrackWhereUniqueInput {
  2741. id: ID
  2742. }
  2743. type Training {
  2744. id: ID!
  2745. title: String!
  2746. type: TrainingType!
  2747. createdAt: DateTime!
  2748. trainingDate: DateTime!
  2749. location: String!
  2750. registrations(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [User!]
  2751. attendance: Int
  2752. ratings(where: RatingWhereInput, orderBy: RatingOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Rating!]
  2753. published: Boolean!
  2754. blocks(where: BlockInstanceWhereInput, orderBy: BlockInstanceOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [BlockInstance!]
  2755. }
  2756. type TrainingConnection {
  2757. pageInfo: PageInfo!
  2758. edges: [TrainingEdge]!
  2759. aggregate: AggregateTraining!
  2760. }
  2761. input TrainingCreateInput {
  2762. id: ID
  2763. title: String!
  2764. type: TrainingTypeCreateOneInput!
  2765. trainingDate: DateTime!
  2766. location: String!
  2767. registrations: UserCreateManyInput
  2768. attendance: Int
  2769. ratings: RatingCreateManyInput
  2770. published: Boolean!
  2771. blocks: BlockInstanceCreateManyWithoutParentTrainingInput
  2772. }
  2773. input TrainingCreateOneWithoutBlocksInput {
  2774. create: TrainingCreateWithoutBlocksInput
  2775. connect: TrainingWhereUniqueInput
  2776. }
  2777. input TrainingCreateWithoutBlocksInput {
  2778. id: ID
  2779. title: String!
  2780. type: TrainingTypeCreateOneInput!
  2781. trainingDate: DateTime!
  2782. location: String!
  2783. registrations: UserCreateManyInput
  2784. attendance: Int
  2785. ratings: RatingCreateManyInput
  2786. published: Boolean!
  2787. }
  2788. type TrainingEdge {
  2789. node: Training!
  2790. cursor: String!
  2791. }
  2792. enum TrainingOrderByInput {
  2793. id_ASC
  2794. id_DESC
  2795. title_ASC
  2796. title_DESC
  2797. createdAt_ASC
  2798. createdAt_DESC
  2799. trainingDate_ASC
  2800. trainingDate_DESC
  2801. location_ASC
  2802. location_DESC
  2803. attendance_ASC
  2804. attendance_DESC
  2805. published_ASC
  2806. published_DESC
  2807. }
  2808. type TrainingPreviousValues {
  2809. id: ID!
  2810. title: String!
  2811. createdAt: DateTime!
  2812. trainingDate: DateTime!
  2813. location: String!
  2814. attendance: Int
  2815. published: Boolean!
  2816. }
  2817. type TrainingSubscriptionPayload {
  2818. mutation: MutationType!
  2819. node: Training
  2820. updatedFields: [String!]
  2821. previousValues: TrainingPreviousValues
  2822. }
  2823. input TrainingSubscriptionWhereInput {
  2824. mutation_in: [MutationType!]
  2825. updatedFields_contains: String
  2826. updatedFields_contains_every: [String!]
  2827. updatedFields_contains_some: [String!]
  2828. node: TrainingWhereInput
  2829. AND: [TrainingSubscriptionWhereInput!]
  2830. OR: [TrainingSubscriptionWhereInput!]
  2831. NOT: [TrainingSubscriptionWhereInput!]
  2832. }
  2833. type TrainingType {
  2834. id: ID!
  2835. name: String!
  2836. description: String!
  2837. }
  2838. type TrainingTypeConnection {
  2839. pageInfo: PageInfo!
  2840. edges: [TrainingTypeEdge]!
  2841. aggregate: AggregateTrainingType!
  2842. }
  2843. input TrainingTypeCreateInput {
  2844. id: ID
  2845. name: String!
  2846. description: String!
  2847. }
  2848. input TrainingTypeCreateOneInput {
  2849. create: TrainingTypeCreateInput
  2850. connect: TrainingTypeWhereUniqueInput
  2851. }
  2852. type TrainingTypeEdge {
  2853. node: TrainingType!
  2854. cursor: String!
  2855. }
  2856. enum TrainingTypeOrderByInput {
  2857. id_ASC
  2858. id_DESC
  2859. name_ASC
  2860. name_DESC
  2861. description_ASC
  2862. description_DESC
  2863. }
  2864. type TrainingTypePreviousValues {
  2865. id: ID!
  2866. name: String!
  2867. description: String!
  2868. }
  2869. type TrainingTypeSubscriptionPayload {
  2870. mutation: MutationType!
  2871. node: TrainingType
  2872. updatedFields: [String!]
  2873. previousValues: TrainingTypePreviousValues
  2874. }
  2875. input TrainingTypeSubscriptionWhereInput {
  2876. mutation_in: [MutationType!]
  2877. updatedFields_contains: String
  2878. updatedFields_contains_every: [String!]
  2879. updatedFields_contains_some: [String!]
  2880. node: TrainingTypeWhereInput
  2881. AND: [TrainingTypeSubscriptionWhereInput!]
  2882. OR: [TrainingTypeSubscriptionWhereInput!]
  2883. NOT: [TrainingTypeSubscriptionWhereInput!]
  2884. }
  2885. input TrainingTypeUpdateDataInput {
  2886. name: String
  2887. description: String
  2888. }
  2889. input TrainingTypeUpdateInput {
  2890. name: String
  2891. description: String
  2892. }
  2893. input TrainingTypeUpdateManyMutationInput {
  2894. name: String
  2895. description: String
  2896. }
  2897. input TrainingTypeUpdateOneRequiredInput {
  2898. create: TrainingTypeCreateInput
  2899. update: TrainingTypeUpdateDataInput
  2900. upsert: TrainingTypeUpsertNestedInput
  2901. connect: TrainingTypeWhereUniqueInput
  2902. }
  2903. input TrainingTypeUpsertNestedInput {
  2904. update: TrainingTypeUpdateDataInput!
  2905. create: TrainingTypeCreateInput!
  2906. }
  2907. input TrainingTypeWhereInput {
  2908. id: ID
  2909. id_not: ID
  2910. id_in: [ID!]
  2911. id_not_in: [ID!]
  2912. id_lt: ID
  2913. id_lte: ID
  2914. id_gt: ID
  2915. id_gte: ID
  2916. id_contains: ID
  2917. id_not_contains: ID
  2918. id_starts_with: ID
  2919. id_not_starts_with: ID
  2920. id_ends_with: ID
  2921. id_not_ends_with: ID
  2922. name: String
  2923. name_not: String
  2924. name_in: [String!]
  2925. name_not_in: [String!]
  2926. name_lt: String
  2927. name_lte: String
  2928. name_gt: String
  2929. name_gte: String
  2930. name_contains: String
  2931. name_not_contains: String
  2932. name_starts_with: String
  2933. name_not_starts_with: String
  2934. name_ends_with: String
  2935. name_not_ends_with: String
  2936. description: String
  2937. description_not: String
  2938. description_in: [String!]
  2939. description_not_in: [String!]
  2940. description_lt: String
  2941. description_lte: String
  2942. description_gt: String
  2943. description_gte: String
  2944. description_contains: String
  2945. description_not_contains: String
  2946. description_starts_with: String
  2947. description_not_starts_with: String
  2948. description_ends_with: String
  2949. description_not_ends_with: String
  2950. AND: [TrainingTypeWhereInput!]
  2951. OR: [TrainingTypeWhereInput!]
  2952. NOT: [TrainingTypeWhereInput!]
  2953. }
  2954. input TrainingTypeWhereUniqueInput {
  2955. id: ID
  2956. name: String
  2957. }
  2958. input TrainingUpdateInput {
  2959. title: String
  2960. type: TrainingTypeUpdateOneRequiredInput
  2961. trainingDate: DateTime
  2962. location: String
  2963. registrations: UserUpdateManyInput
  2964. attendance: Int
  2965. ratings: RatingUpdateManyInput
  2966. published: Boolean
  2967. blocks: BlockInstanceUpdateManyWithoutParentTrainingInput
  2968. }
  2969. input TrainingUpdateManyMutationInput {
  2970. title: String
  2971. trainingDate: DateTime
  2972. location: String
  2973. attendance: Int
  2974. published: Boolean
  2975. }
  2976. input TrainingUpdateOneWithoutBlocksInput {
  2977. create: TrainingCreateWithoutBlocksInput
  2978. update: TrainingUpdateWithoutBlocksDataInput
  2979. upsert: TrainingUpsertWithoutBlocksInput
  2980. delete: Boolean
  2981. disconnect: Boolean
  2982. connect: TrainingWhereUniqueInput
  2983. }
  2984. input TrainingUpdateWithoutBlocksDataInput {
  2985. title: String
  2986. type: TrainingTypeUpdateOneRequiredInput
  2987. trainingDate: DateTime
  2988. location: String
  2989. registrations: UserUpdateManyInput
  2990. attendance: Int
  2991. ratings: RatingUpdateManyInput
  2992. published: Boolean
  2993. }
  2994. input TrainingUpsertWithoutBlocksInput {
  2995. update: TrainingUpdateWithoutBlocksDataInput!
  2996. create: TrainingCreateWithoutBlocksInput!
  2997. }
  2998. input TrainingWhereInput {
  2999. id: ID
  3000. id_not: ID
  3001. id_in: [ID!]
  3002. id_not_in: [ID!]
  3003. id_lt: ID
  3004. id_lte: ID
  3005. id_gt: ID
  3006. id_gte: ID
  3007. id_contains: ID
  3008. id_not_contains: ID
  3009. id_starts_with: ID
  3010. id_not_starts_with: ID
  3011. id_ends_with: ID
  3012. id_not_ends_with: ID
  3013. title: String
  3014. title_not: String
  3015. title_in: [String!]
  3016. title_not_in: [String!]
  3017. title_lt: String
  3018. title_lte: String
  3019. title_gt: String
  3020. title_gte: String
  3021. title_contains: String
  3022. title_not_contains: String
  3023. title_starts_with: String
  3024. title_not_starts_with: String
  3025. title_ends_with: String
  3026. title_not_ends_with: String
  3027. type: TrainingTypeWhereInput
  3028. createdAt: DateTime
  3029. createdAt_not: DateTime
  3030. createdAt_in: [DateTime!]
  3031. createdAt_not_in: [DateTime!]
  3032. createdAt_lt: DateTime
  3033. createdAt_lte: DateTime
  3034. createdAt_gt: DateTime
  3035. createdAt_gte: DateTime
  3036. trainingDate: DateTime
  3037. trainingDate_not: DateTime
  3038. trainingDate_in: [DateTime!]
  3039. trainingDate_not_in: [DateTime!]
  3040. trainingDate_lt: DateTime
  3041. trainingDate_lte: DateTime
  3042. trainingDate_gt: DateTime
  3043. trainingDate_gte: DateTime
  3044. location: String
  3045. location_not: String
  3046. location_in: [String!]
  3047. location_not_in: [String!]
  3048. location_lt: String
  3049. location_lte: String
  3050. location_gt: String
  3051. location_gte: String
  3052. location_contains: String
  3053. location_not_contains: String
  3054. location_starts_with: String
  3055. location_not_starts_with: String
  3056. location_ends_with: String
  3057. location_not_ends_with: String
  3058. registrations_every: UserWhereInput
  3059. registrations_some: UserWhereInput
  3060. registrations_none: UserWhereInput
  3061. attendance: Int
  3062. attendance_not: Int
  3063. attendance_in: [Int!]
  3064. attendance_not_in: [Int!]
  3065. attendance_lt: Int
  3066. attendance_lte: Int
  3067. attendance_gt: Int
  3068. attendance_gte: Int
  3069. ratings_every: RatingWhereInput
  3070. ratings_some: RatingWhereInput
  3071. ratings_none: RatingWhereInput
  3072. published: Boolean
  3073. published_not: Boolean
  3074. blocks_every: BlockInstanceWhereInput
  3075. blocks_some: BlockInstanceWhereInput
  3076. blocks_none: BlockInstanceWhereInput
  3077. AND: [TrainingWhereInput!]
  3078. OR: [TrainingWhereInput!]
  3079. NOT: [TrainingWhereInput!]
  3080. }
  3081. input TrainingWhereUniqueInput {
  3082. id: ID
  3083. }
  3084. type User {
  3085. id: ID!
  3086. email: String!
  3087. name: String!
  3088. password: String!
  3089. resetToken: String
  3090. resetTokenExpiry: Float
  3091. createdAt: DateTime!
  3092. comments(where: CommentWhereInput, orderBy: CommentOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Comment!]
  3093. ratings(where: RatingWhereInput, orderBy: RatingOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Rating!]
  3094. permissions: [Permission!]!
  3095. interests: [String!]!
  3096. }
  3097. type UserConnection {
  3098. pageInfo: PageInfo!
  3099. edges: [UserEdge]!
  3100. aggregate: AggregateUser!
  3101. }
  3102. input UserCreateInput {
  3103. id: ID
  3104. email: String!
  3105. name: String!
  3106. password: String!
  3107. resetToken: String
  3108. resetTokenExpiry: Float
  3109. comments: CommentCreateManyWithoutAuthorInput
  3110. ratings: RatingCreateManyWithoutUserInput
  3111. permissions: UserCreatepermissionsInput
  3112. interests: UserCreateinterestsInput
  3113. }
  3114. input UserCreateinterestsInput {
  3115. set: [String!]
  3116. }
  3117. input UserCreateManyInput {
  3118. create: [UserCreateInput!]
  3119. connect: [UserWhereUniqueInput!]
  3120. }
  3121. input UserCreateOneInput {
  3122. create: UserCreateInput
  3123. connect: UserWhereUniqueInput
  3124. }
  3125. input UserCreateOneWithoutCommentsInput {
  3126. create: UserCreateWithoutCommentsInput
  3127. connect: UserWhereUniqueInput
  3128. }
  3129. input UserCreateOneWithoutRatingsInput {
  3130. create: UserCreateWithoutRatingsInput
  3131. connect: UserWhereUniqueInput
  3132. }
  3133. input UserCreatepermissionsInput {
  3134. set: [Permission!]
  3135. }
  3136. input UserCreateWithoutCommentsInput {
  3137. id: ID
  3138. email: String!
  3139. name: String!
  3140. password: String!
  3141. resetToken: String
  3142. resetTokenExpiry: Float
  3143. ratings: RatingCreateManyWithoutUserInput
  3144. permissions: UserCreatepermissionsInput
  3145. interests: UserCreateinterestsInput
  3146. }
  3147. input UserCreateWithoutRatingsInput {
  3148. id: ID
  3149. email: String!
  3150. name: String!
  3151. password: String!
  3152. resetToken: String
  3153. resetTokenExpiry: Float
  3154. comments: CommentCreateManyWithoutAuthorInput
  3155. permissions: UserCreatepermissionsInput
  3156. interests: UserCreateinterestsInput
  3157. }
  3158. type UserEdge {
  3159. node: User!
  3160. cursor: String!
  3161. }
  3162. enum UserOrderByInput {
  3163. id_ASC
  3164. id_DESC
  3165. email_ASC
  3166. email_DESC
  3167. name_ASC
  3168. name_DESC
  3169. password_ASC
  3170. password_DESC
  3171. resetToken_ASC
  3172. resetToken_DESC
  3173. resetTokenExpiry_ASC
  3174. resetTokenExpiry_DESC
  3175. createdAt_ASC
  3176. createdAt_DESC
  3177. }
  3178. type UserPreviousValues {
  3179. id: ID!
  3180. email: String!
  3181. name: String!
  3182. password: String!
  3183. resetToken: String
  3184. resetTokenExpiry: Float
  3185. createdAt: DateTime!
  3186. permissions: [Permission!]!
  3187. interests: [String!]!
  3188. }
  3189. input UserScalarWhereInput {
  3190. id: ID
  3191. id_not: ID
  3192. id_in: [ID!]
  3193. id_not_in: [ID!]
  3194. id_lt: ID
  3195. id_lte: ID
  3196. id_gt: ID
  3197. id_gte: ID
  3198. id_contains: ID
  3199. id_not_contains: ID
  3200. id_starts_with: ID
  3201. id_not_starts_with: ID
  3202. id_ends_with: ID
  3203. id_not_ends_with: ID
  3204. email: String
  3205. email_not: String
  3206. email_in: [String!]
  3207. email_not_in: [String!]
  3208. email_lt: String
  3209. email_lte: String
  3210. email_gt: String
  3211. email_gte: String
  3212. email_contains: String
  3213. email_not_contains: String
  3214. email_starts_with: String
  3215. email_not_starts_with: String
  3216. email_ends_with: String
  3217. email_not_ends_with: String
  3218. name: String
  3219. name_not: String
  3220. name_in: [String!]
  3221. name_not_in: [String!]
  3222. name_lt: String
  3223. name_lte: String
  3224. name_gt: String
  3225. name_gte: String
  3226. name_contains: String
  3227. name_not_contains: String
  3228. name_starts_with: String
  3229. name_not_starts_with: String
  3230. name_ends_with: String
  3231. name_not_ends_with: String
  3232. password: String
  3233. password_not: String
  3234. password_in: [String!]
  3235. password_not_in: [String!]
  3236. password_lt: String
  3237. password_lte: String
  3238. password_gt: String
  3239. password_gte: String
  3240. password_contains: String
  3241. password_not_contains: String
  3242. password_starts_with: String
  3243. password_not_starts_with: String
  3244. password_ends_with: String
  3245. password_not_ends_with: String
  3246. resetToken: String
  3247. resetToken_not: String
  3248. resetToken_in: [String!]
  3249. resetToken_not_in: [String!]
  3250. resetToken_lt: String
  3251. resetToken_lte: String
  3252. resetToken_gt: String
  3253. resetToken_gte: String
  3254. resetToken_contains: String
  3255. resetToken_not_contains: String
  3256. resetToken_starts_with: String
  3257. resetToken_not_starts_with: String
  3258. resetToken_ends_with: String
  3259. resetToken_not_ends_with: String
  3260. resetTokenExpiry: Float
  3261. resetTokenExpiry_not: Float
  3262. resetTokenExpiry_in: [Float!]
  3263. resetTokenExpiry_not_in: [Float!]
  3264. resetTokenExpiry_lt: Float
  3265. resetTokenExpiry_lte: Float
  3266. resetTokenExpiry_gt: Float
  3267. resetTokenExpiry_gte: Float
  3268. createdAt: DateTime
  3269. createdAt_not: DateTime
  3270. createdAt_in: [DateTime!]
  3271. createdAt_not_in: [DateTime!]
  3272. createdAt_lt: DateTime
  3273. createdAt_lte: DateTime
  3274. createdAt_gt: DateTime
  3275. createdAt_gte: DateTime
  3276. AND: [UserScalarWhereInput!]
  3277. OR: [UserScalarWhereInput!]
  3278. NOT: [UserScalarWhereInput!]
  3279. }
  3280. type UserSubscriptionPayload {
  3281. mutation: MutationType!
  3282. node: User
  3283. updatedFields: [String!]
  3284. previousValues: UserPreviousValues
  3285. }
  3286. input UserSubscriptionWhereInput {
  3287. mutation_in: [MutationType!]
  3288. updatedFields_contains: String
  3289. updatedFields_contains_every: [String!]
  3290. updatedFields_contains_some: [String!]
  3291. node: UserWhereInput
  3292. AND: [UserSubscriptionWhereInput!]
  3293. OR: [UserSubscriptionWhereInput!]
  3294. NOT: [UserSubscriptionWhereInput!]
  3295. }
  3296. input UserUpdateDataInput {
  3297. email: String
  3298. name: String
  3299. password: String
  3300. resetToken: String
  3301. resetTokenExpiry: Float
  3302. comments: CommentUpdateManyWithoutAuthorInput
  3303. ratings: RatingUpdateManyWithoutUserInput
  3304. permissions: UserUpdatepermissionsInput
  3305. interests: UserUpdateinterestsInput
  3306. }
  3307. input UserUpdateInput {
  3308. email: String
  3309. name: String
  3310. password: String
  3311. resetToken: String
  3312. resetTokenExpiry: Float
  3313. comments: CommentUpdateManyWithoutAuthorInput
  3314. ratings: RatingUpdateManyWithoutUserInput
  3315. permissions: UserUpdatepermissionsInput
  3316. interests: UserUpdateinterestsInput
  3317. }
  3318. input UserUpdateinterestsInput {
  3319. set: [String!]
  3320. }
  3321. input UserUpdateManyDataInput {
  3322. email: String
  3323. name: String
  3324. password: String
  3325. resetToken: String
  3326. resetTokenExpiry: Float
  3327. permissions: UserUpdatepermissionsInput
  3328. interests: UserUpdateinterestsInput
  3329. }
  3330. input UserUpdateManyInput {
  3331. create: [UserCreateInput!]
  3332. update: [UserUpdateWithWhereUniqueNestedInput!]
  3333. upsert: [UserUpsertWithWhereUniqueNestedInput!]
  3334. delete: [UserWhereUniqueInput!]
  3335. connect: [UserWhereUniqueInput!]
  3336. set: [UserWhereUniqueInput!]
  3337. disconnect: [UserWhereUniqueInput!]
  3338. deleteMany: [UserScalarWhereInput!]
  3339. updateMany: [UserUpdateManyWithWhereNestedInput!]
  3340. }
  3341. input UserUpdateManyMutationInput {
  3342. email: String
  3343. name: String
  3344. password: String
  3345. resetToken: String
  3346. resetTokenExpiry: Float
  3347. permissions: UserUpdatepermissionsInput
  3348. interests: UserUpdateinterestsInput
  3349. }
  3350. input UserUpdateManyWithWhereNestedInput {
  3351. where: UserScalarWhereInput!
  3352. data: UserUpdateManyDataInput!
  3353. }
  3354. input UserUpdateOneRequiredInput {
  3355. create: UserCreateInput
  3356. update: UserUpdateDataInput
  3357. upsert: UserUpsertNestedInput
  3358. connect: UserWhereUniqueInput
  3359. }
  3360. input UserUpdateOneRequiredWithoutCommentsInput {
  3361. create: UserCreateWithoutCommentsInput
  3362. update: UserUpdateWithoutCommentsDataInput
  3363. upsert: UserUpsertWithoutCommentsInput
  3364. connect: UserWhereUniqueInput
  3365. }
  3366. input UserUpdateOneRequiredWithoutRatingsInput {
  3367. create: UserCreateWithoutRatingsInput
  3368. update: UserUpdateWithoutRatingsDataInput
  3369. upsert: UserUpsertWithoutRatingsInput
  3370. connect: UserWhereUniqueInput
  3371. }
  3372. input UserUpdatepermissionsInput {
  3373. set: [Permission!]
  3374. }
  3375. input UserUpdateWithoutCommentsDataInput {
  3376. email: String
  3377. name: String
  3378. password: String
  3379. resetToken: String
  3380. resetTokenExpiry: Float
  3381. ratings: RatingUpdateManyWithoutUserInput
  3382. permissions: UserUpdatepermissionsInput
  3383. interests: UserUpdateinterestsInput
  3384. }
  3385. input UserUpdateWithoutRatingsDataInput {
  3386. email: String
  3387. name: String
  3388. password: String
  3389. resetToken: String
  3390. resetTokenExpiry: Float
  3391. comments: CommentUpdateManyWithoutAuthorInput
  3392. permissions: UserUpdatepermissionsInput
  3393. interests: UserUpdateinterestsInput
  3394. }
  3395. input UserUpdateWithWhereUniqueNestedInput {
  3396. where: UserWhereUniqueInput!
  3397. data: UserUpdateDataInput!
  3398. }
  3399. input UserUpsertNestedInput {
  3400. update: UserUpdateDataInput!
  3401. create: UserCreateInput!
  3402. }
  3403. input UserUpsertWithoutCommentsInput {
  3404. update: UserUpdateWithoutCommentsDataInput!
  3405. create: UserCreateWithoutCommentsInput!
  3406. }
  3407. input UserUpsertWithoutRatingsInput {
  3408. update: UserUpdateWithoutRatingsDataInput!
  3409. create: UserCreateWithoutRatingsInput!
  3410. }
  3411. input UserUpsertWithWhereUniqueNestedInput {
  3412. where: UserWhereUniqueInput!
  3413. update: UserUpdateDataInput!
  3414. create: UserCreateInput!
  3415. }
  3416. input UserWhereInput {
  3417. id: ID
  3418. id_not: ID
  3419. id_in: [ID!]
  3420. id_not_in: [ID!]
  3421. id_lt: ID
  3422. id_lte: ID
  3423. id_gt: ID
  3424. id_gte: ID
  3425. id_contains: ID
  3426. id_not_contains: ID
  3427. id_starts_with: ID
  3428. id_not_starts_with: ID
  3429. id_ends_with: ID
  3430. id_not_ends_with: ID
  3431. email: String
  3432. email_not: String
  3433. email_in: [String!]
  3434. email_not_in: [String!]
  3435. email_lt: String
  3436. email_lte: String
  3437. email_gt: String
  3438. email_gte: String
  3439. email_contains: String
  3440. email_not_contains: String
  3441. email_starts_with: String
  3442. email_not_starts_with: String
  3443. email_ends_with: String
  3444. email_not_ends_with: String
  3445. name: String
  3446. name_not: String
  3447. name_in: [String!]
  3448. name_not_in: [String!]
  3449. name_lt: String
  3450. name_lte: String
  3451. name_gt: String
  3452. name_gte: String
  3453. name_contains: String
  3454. name_not_contains: String
  3455. name_starts_with: String
  3456. name_not_starts_with: String
  3457. name_ends_with: String
  3458. name_not_ends_with: String
  3459. password: String
  3460. password_not: String
  3461. password_in: [String!]
  3462. password_not_in: [String!]
  3463. password_lt: String
  3464. password_lte: String
  3465. password_gt: String
  3466. password_gte: String
  3467. password_contains: String
  3468. password_not_contains: String
  3469. password_starts_with: String
  3470. password_not_starts_with: String
  3471. password_ends_with: String
  3472. password_not_ends_with: String
  3473. resetToken: String
  3474. resetToken_not: String
  3475. resetToken_in: [String!]
  3476. resetToken_not_in: [String!]
  3477. resetToken_lt: String
  3478. resetToken_lte: String
  3479. resetToken_gt: String
  3480. resetToken_gte: String
  3481. resetToken_contains: String
  3482. resetToken_not_contains: String
  3483. resetToken_starts_with: String
  3484. resetToken_not_starts_with: String
  3485. resetToken_ends_with: String
  3486. resetToken_not_ends_with: String
  3487. resetTokenExpiry: Float
  3488. resetTokenExpiry_not: Float
  3489. resetTokenExpiry_in: [Float!]
  3490. resetTokenExpiry_not_in: [Float!]
  3491. resetTokenExpiry_lt: Float
  3492. resetTokenExpiry_lte: Float
  3493. resetTokenExpiry_gt: Float
  3494. resetTokenExpiry_gte: Float
  3495. createdAt: DateTime
  3496. createdAt_not: DateTime
  3497. createdAt_in: [DateTime!]
  3498. createdAt_not_in: [DateTime!]
  3499. createdAt_lt: DateTime
  3500. createdAt_lte: DateTime
  3501. createdAt_gt: DateTime
  3502. createdAt_gte: DateTime
  3503. comments_every: CommentWhereInput
  3504. comments_some: CommentWhereInput
  3505. comments_none: CommentWhereInput
  3506. ratings_every: RatingWhereInput
  3507. ratings_some: RatingWhereInput
  3508. ratings_none: RatingWhereInput
  3509. AND: [UserWhereInput!]
  3510. OR: [UserWhereInput!]
  3511. NOT: [UserWhereInput!]
  3512. }
  3513. input UserWhereUniqueInput {
  3514. id: ID
  3515. email: String
  3516. }
  3517. type Video {
  3518. id: ID!
  3519. createdAt: DateTime!
  3520. updatedAt: DateTime!
  3521. order: Int!
  3522. file: File
  3523. link: Link
  3524. }
  3525. type VideoConnection {
  3526. pageInfo: PageInfo!
  3527. edges: [VideoEdge]!
  3528. aggregate: AggregateVideo!
  3529. }
  3530. input VideoCreateInput {
  3531. id: ID
  3532. order: Int!
  3533. file: FileCreateOneInput
  3534. link: LinkCreateOneInput
  3535. }
  3536. input VideoCreateManyInput {
  3537. create: [VideoCreateInput!]
  3538. connect: [VideoWhereUniqueInput!]
  3539. }
  3540. type VideoEdge {
  3541. node: Video!
  3542. cursor: String!
  3543. }
  3544. enum VideoOrderByInput {
  3545. id_ASC
  3546. id_DESC
  3547. createdAt_ASC
  3548. createdAt_DESC
  3549. updatedAt_ASC
  3550. updatedAt_DESC
  3551. order_ASC
  3552. order_DESC
  3553. }
  3554. type VideoPreviousValues {
  3555. id: ID!
  3556. createdAt: DateTime!
  3557. updatedAt: DateTime!
  3558. order: Int!
  3559. }
  3560. input VideoScalarWhereInput {
  3561. id: ID
  3562. id_not: ID
  3563. id_in: [ID!]
  3564. id_not_in: [ID!]
  3565. id_lt: ID
  3566. id_lte: ID
  3567. id_gt: ID
  3568. id_gte: ID
  3569. id_contains: ID
  3570. id_not_contains: ID
  3571. id_starts_with: ID
  3572. id_not_starts_with: ID
  3573. id_ends_with: ID
  3574. id_not_ends_with: ID
  3575. createdAt: DateTime
  3576. createdAt_not: DateTime
  3577. createdAt_in: [DateTime!]
  3578. createdAt_not_in: [DateTime!]
  3579. createdAt_lt: DateTime
  3580. createdAt_lte: DateTime
  3581. createdAt_gt: DateTime
  3582. createdAt_gte: DateTime
  3583. updatedAt: DateTime
  3584. updatedAt_not: DateTime
  3585. updatedAt_in: [DateTime!]
  3586. updatedAt_not_in: [DateTime!]
  3587. updatedAt_lt: DateTime
  3588. updatedAt_lte: DateTime
  3589. updatedAt_gt: DateTime
  3590. updatedAt_gte: DateTime
  3591. order: Int
  3592. order_not: Int
  3593. order_in: [Int!]
  3594. order_not_in: [Int!]
  3595. order_lt: Int
  3596. order_lte: Int
  3597. order_gt: Int
  3598. order_gte: Int
  3599. AND: [VideoScalarWhereInput!]
  3600. OR: [VideoScalarWhereInput!]
  3601. NOT: [VideoScalarWhereInput!]
  3602. }
  3603. type VideoSubscriptionPayload {
  3604. mutation: MutationType!
  3605. node: Video
  3606. updatedFields: [String!]
  3607. previousValues: VideoPreviousValues
  3608. }
  3609. input VideoSubscriptionWhereInput {
  3610. mutation_in: [MutationType!]
  3611. updatedFields_contains: String
  3612. updatedFields_contains_every: [String!]
  3613. updatedFields_contains_some: [String!]
  3614. node: VideoWhereInput
  3615. AND: [VideoSubscriptionWhereInput!]
  3616. OR: [VideoSubscriptionWhereInput!]
  3617. NOT: [VideoSubscriptionWhereInput!]
  3618. }
  3619. input VideoUpdateDataInput {
  3620. order: Int
  3621. file: FileUpdateOneInput
  3622. link: LinkUpdateOneInput
  3623. }
  3624. input VideoUpdateInput {
  3625. order: Int
  3626. file: FileUpdateOneInput
  3627. link: LinkUpdateOneInput
  3628. }
  3629. input VideoUpdateManyDataInput {
  3630. order: Int
  3631. }
  3632. input VideoUpdateManyInput {
  3633. create: [VideoCreateInput!]
  3634. update: [VideoUpdateWithWhereUniqueNestedInput!]
  3635. upsert: [VideoUpsertWithWhereUniqueNestedInput!]
  3636. delete: [VideoWhereUniqueInput!]
  3637. connect: [VideoWhereUniqueInput!]
  3638. set: [VideoWhereUniqueInput!]
  3639. disconnect: [VideoWhereUniqueInput!]
  3640. deleteMany: [VideoScalarWhereInput!]
  3641. updateMany: [VideoUpdateManyWithWhereNestedInput!]
  3642. }
  3643. input VideoUpdateManyMutationInput {
  3644. order: Int
  3645. }
  3646. input VideoUpdateManyWithWhereNestedInput {
  3647. where: VideoScalarWhereInput!
  3648. data: VideoUpdateManyDataInput!
  3649. }
  3650. input VideoUpdateWithWhereUniqueNestedInput {
  3651. where: VideoWhereUniqueInput!
  3652. data: VideoUpdateDataInput!
  3653. }
  3654. input VideoUpsertWithWhereUniqueNestedInput {
  3655. where: VideoWhereUniqueInput!
  3656. update: VideoUpdateDataInput!
  3657. create: VideoCreateInput!
  3658. }
  3659. input VideoWhereInput {
  3660. id: ID
  3661. id_not: ID
  3662. id_in: [ID!]
  3663. id_not_in: [ID!]
  3664. id_lt: ID
  3665. id_lte: ID
  3666. id_gt: ID
  3667. id_gte: ID
  3668. id_contains: ID
  3669. id_not_contains: ID
  3670. id_starts_with: ID
  3671. id_not_starts_with: ID
  3672. id_ends_with: ID
  3673. id_not_ends_with: ID
  3674. createdAt: DateTime
  3675. createdAt_not: DateTime
  3676. createdAt_in: [DateTime!]
  3677. createdAt_not_in: [DateTime!]
  3678. createdAt_lt: DateTime
  3679. createdAt_lte: DateTime
  3680. createdAt_gt: DateTime
  3681. createdAt_gte: DateTime
  3682. updatedAt: DateTime
  3683. updatedAt_not: DateTime
  3684. updatedAt_in: [DateTime!]
  3685. updatedAt_not_in: [DateTime!]
  3686. updatedAt_lt: DateTime
  3687. updatedAt_lte: DateTime
  3688. updatedAt_gt: DateTime
  3689. updatedAt_gte: DateTime
  3690. order: Int
  3691. order_not: Int
  3692. order_in: [Int!]
  3693. order_not_in: [Int!]
  3694. order_lt: Int
  3695. order_lte: Int
  3696. order_gt: Int
  3697. order_gte: Int
  3698. file: FileWhereInput
  3699. link: LinkWhereInput
  3700. AND: [VideoWhereInput!]
  3701. OR: [VideoWhereInput!]
  3702. NOT: [VideoWhereInput!]
  3703. }
  3704. input VideoWhereUniqueInput {
  3705. id: ID
  3706. }
  3707. `