prisma-schema.ts 91 KB

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