prisma-schema.ts 66 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785
  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 AggregateFormat {
  20. count: Int!
  21. }
  22. type AggregateRating {
  23. count: Int!
  24. }
  25. type AggregateTrack {
  26. count: Int!
  27. }
  28. type AggregateTraining {
  29. count: Int!
  30. }
  31. type AggregateTrainingType {
  32. count: Int!
  33. }
  34. type AggregateUser {
  35. count: Int!
  36. }
  37. type BatchPayload {
  38. count: Long!
  39. }
  40. type Block {
  41. id: ID!
  42. title: String!
  43. description: String
  44. videos: [String!]!
  45. pictures: [String!]!
  46. duration: Int
  47. format: Format!
  48. rest: Int
  49. tracks(where: TrackWhereInput, orderBy: TrackOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Track!]
  50. blocks(where: BlockInstanceWhereInput, orderBy: BlockInstanceOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [BlockInstance!]
  51. exercises(where: ExerciseInstanceWhereInput, orderBy: ExerciseInstanceOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [ExerciseInstance!]
  52. }
  53. type BlockConnection {
  54. pageInfo: PageInfo!
  55. edges: [BlockEdge]!
  56. aggregate: AggregateBlock!
  57. }
  58. input BlockCreateInput {
  59. id: ID
  60. title: String!
  61. description: String
  62. videos: BlockCreatevideosInput
  63. pictures: BlockCreatepicturesInput
  64. duration: Int
  65. format: FormatCreateOneInput!
  66. rest: Int
  67. tracks: TrackCreateManyInput
  68. blocks: BlockInstanceCreateManyWithoutBlockInput
  69. exercises: ExerciseInstanceCreateManyInput
  70. }
  71. input BlockCreateOneWithoutBlocksInput {
  72. create: BlockCreateWithoutBlocksInput
  73. connect: BlockWhereUniqueInput
  74. }
  75. input BlockCreatepicturesInput {
  76. set: [String!]
  77. }
  78. input BlockCreatevideosInput {
  79. set: [String!]
  80. }
  81. input BlockCreateWithoutBlocksInput {
  82. id: ID
  83. title: String!
  84. description: String
  85. videos: BlockCreatevideosInput
  86. pictures: BlockCreatepicturesInput
  87. duration: Int
  88. format: FormatCreateOneInput!
  89. rest: Int
  90. tracks: TrackCreateManyInput
  91. exercises: ExerciseInstanceCreateManyInput
  92. }
  93. type BlockEdge {
  94. node: Block!
  95. cursor: String!
  96. }
  97. type BlockInstance {
  98. id: ID!
  99. block: Block!
  100. order: Int!
  101. rounds: Int
  102. variation: String
  103. }
  104. type BlockInstanceConnection {
  105. pageInfo: PageInfo!
  106. edges: [BlockInstanceEdge]!
  107. aggregate: AggregateBlockInstance!
  108. }
  109. input BlockInstanceCreateInput {
  110. id: ID
  111. block: BlockCreateOneWithoutBlocksInput!
  112. order: Int!
  113. rounds: Int
  114. variation: String
  115. }
  116. input BlockInstanceCreateManyInput {
  117. create: [BlockInstanceCreateInput!]
  118. connect: [BlockInstanceWhereUniqueInput!]
  119. }
  120. input BlockInstanceCreateManyWithoutBlockInput {
  121. create: [BlockInstanceCreateWithoutBlockInput!]
  122. connect: [BlockInstanceWhereUniqueInput!]
  123. }
  124. input BlockInstanceCreateWithoutBlockInput {
  125. id: ID
  126. order: Int!
  127. rounds: Int
  128. variation: String
  129. }
  130. type BlockInstanceEdge {
  131. node: BlockInstance!
  132. cursor: String!
  133. }
  134. enum BlockInstanceOrderByInput {
  135. id_ASC
  136. id_DESC
  137. order_ASC
  138. order_DESC
  139. rounds_ASC
  140. rounds_DESC
  141. variation_ASC
  142. variation_DESC
  143. }
  144. type BlockInstancePreviousValues {
  145. id: ID!
  146. order: Int!
  147. rounds: Int
  148. variation: String
  149. }
  150. input BlockInstanceScalarWhereInput {
  151. id: ID
  152. id_not: ID
  153. id_in: [ID!]
  154. id_not_in: [ID!]
  155. id_lt: ID
  156. id_lte: ID
  157. id_gt: ID
  158. id_gte: ID
  159. id_contains: ID
  160. id_not_contains: ID
  161. id_starts_with: ID
  162. id_not_starts_with: ID
  163. id_ends_with: ID
  164. id_not_ends_with: ID
  165. order: Int
  166. order_not: Int
  167. order_in: [Int!]
  168. order_not_in: [Int!]
  169. order_lt: Int
  170. order_lte: Int
  171. order_gt: Int
  172. order_gte: Int
  173. rounds: Int
  174. rounds_not: Int
  175. rounds_in: [Int!]
  176. rounds_not_in: [Int!]
  177. rounds_lt: Int
  178. rounds_lte: Int
  179. rounds_gt: Int
  180. rounds_gte: Int
  181. variation: String
  182. variation_not: String
  183. variation_in: [String!]
  184. variation_not_in: [String!]
  185. variation_lt: String
  186. variation_lte: String
  187. variation_gt: String
  188. variation_gte: String
  189. variation_contains: String
  190. variation_not_contains: String
  191. variation_starts_with: String
  192. variation_not_starts_with: String
  193. variation_ends_with: String
  194. variation_not_ends_with: String
  195. AND: [BlockInstanceScalarWhereInput!]
  196. OR: [BlockInstanceScalarWhereInput!]
  197. NOT: [BlockInstanceScalarWhereInput!]
  198. }
  199. type BlockInstanceSubscriptionPayload {
  200. mutation: MutationType!
  201. node: BlockInstance
  202. updatedFields: [String!]
  203. previousValues: BlockInstancePreviousValues
  204. }
  205. input BlockInstanceSubscriptionWhereInput {
  206. mutation_in: [MutationType!]
  207. updatedFields_contains: String
  208. updatedFields_contains_every: [String!]
  209. updatedFields_contains_some: [String!]
  210. node: BlockInstanceWhereInput
  211. AND: [BlockInstanceSubscriptionWhereInput!]
  212. OR: [BlockInstanceSubscriptionWhereInput!]
  213. NOT: [BlockInstanceSubscriptionWhereInput!]
  214. }
  215. input BlockInstanceUpdateDataInput {
  216. block: BlockUpdateOneRequiredWithoutBlocksInput
  217. order: Int
  218. rounds: Int
  219. variation: String
  220. }
  221. input BlockInstanceUpdateInput {
  222. block: BlockUpdateOneRequiredWithoutBlocksInput
  223. order: Int
  224. rounds: Int
  225. variation: String
  226. }
  227. input BlockInstanceUpdateManyDataInput {
  228. order: Int
  229. rounds: Int
  230. variation: String
  231. }
  232. input BlockInstanceUpdateManyInput {
  233. create: [BlockInstanceCreateInput!]
  234. update: [BlockInstanceUpdateWithWhereUniqueNestedInput!]
  235. upsert: [BlockInstanceUpsertWithWhereUniqueNestedInput!]
  236. delete: [BlockInstanceWhereUniqueInput!]
  237. connect: [BlockInstanceWhereUniqueInput!]
  238. set: [BlockInstanceWhereUniqueInput!]
  239. disconnect: [BlockInstanceWhereUniqueInput!]
  240. deleteMany: [BlockInstanceScalarWhereInput!]
  241. updateMany: [BlockInstanceUpdateManyWithWhereNestedInput!]
  242. }
  243. input BlockInstanceUpdateManyMutationInput {
  244. order: Int
  245. rounds: Int
  246. variation: String
  247. }
  248. input BlockInstanceUpdateManyWithoutBlockInput {
  249. create: [BlockInstanceCreateWithoutBlockInput!]
  250. delete: [BlockInstanceWhereUniqueInput!]
  251. connect: [BlockInstanceWhereUniqueInput!]
  252. set: [BlockInstanceWhereUniqueInput!]
  253. disconnect: [BlockInstanceWhereUniqueInput!]
  254. update: [BlockInstanceUpdateWithWhereUniqueWithoutBlockInput!]
  255. upsert: [BlockInstanceUpsertWithWhereUniqueWithoutBlockInput!]
  256. deleteMany: [BlockInstanceScalarWhereInput!]
  257. updateMany: [BlockInstanceUpdateManyWithWhereNestedInput!]
  258. }
  259. input BlockInstanceUpdateManyWithWhereNestedInput {
  260. where: BlockInstanceScalarWhereInput!
  261. data: BlockInstanceUpdateManyDataInput!
  262. }
  263. input BlockInstanceUpdateWithoutBlockDataInput {
  264. order: Int
  265. rounds: Int
  266. variation: String
  267. }
  268. input BlockInstanceUpdateWithWhereUniqueNestedInput {
  269. where: BlockInstanceWhereUniqueInput!
  270. data: BlockInstanceUpdateDataInput!
  271. }
  272. input BlockInstanceUpdateWithWhereUniqueWithoutBlockInput {
  273. where: BlockInstanceWhereUniqueInput!
  274. data: BlockInstanceUpdateWithoutBlockDataInput!
  275. }
  276. input BlockInstanceUpsertWithWhereUniqueNestedInput {
  277. where: BlockInstanceWhereUniqueInput!
  278. update: BlockInstanceUpdateDataInput!
  279. create: BlockInstanceCreateInput!
  280. }
  281. input BlockInstanceUpsertWithWhereUniqueWithoutBlockInput {
  282. where: BlockInstanceWhereUniqueInput!
  283. update: BlockInstanceUpdateWithoutBlockDataInput!
  284. create: BlockInstanceCreateWithoutBlockInput!
  285. }
  286. input BlockInstanceWhereInput {
  287. id: ID
  288. id_not: ID
  289. id_in: [ID!]
  290. id_not_in: [ID!]
  291. id_lt: ID
  292. id_lte: ID
  293. id_gt: ID
  294. id_gte: ID
  295. id_contains: ID
  296. id_not_contains: ID
  297. id_starts_with: ID
  298. id_not_starts_with: ID
  299. id_ends_with: ID
  300. id_not_ends_with: ID
  301. block: BlockWhereInput
  302. order: Int
  303. order_not: Int
  304. order_in: [Int!]
  305. order_not_in: [Int!]
  306. order_lt: Int
  307. order_lte: Int
  308. order_gt: Int
  309. order_gte: Int
  310. rounds: Int
  311. rounds_not: Int
  312. rounds_in: [Int!]
  313. rounds_not_in: [Int!]
  314. rounds_lt: Int
  315. rounds_lte: Int
  316. rounds_gt: Int
  317. rounds_gte: Int
  318. variation: String
  319. variation_not: String
  320. variation_in: [String!]
  321. variation_not_in: [String!]
  322. variation_lt: String
  323. variation_lte: String
  324. variation_gt: String
  325. variation_gte: String
  326. variation_contains: String
  327. variation_not_contains: String
  328. variation_starts_with: String
  329. variation_not_starts_with: String
  330. variation_ends_with: String
  331. variation_not_ends_with: String
  332. AND: [BlockInstanceWhereInput!]
  333. OR: [BlockInstanceWhereInput!]
  334. NOT: [BlockInstanceWhereInput!]
  335. }
  336. input BlockInstanceWhereUniqueInput {
  337. id: ID
  338. }
  339. enum BlockOrderByInput {
  340. id_ASC
  341. id_DESC
  342. title_ASC
  343. title_DESC
  344. description_ASC
  345. description_DESC
  346. duration_ASC
  347. duration_DESC
  348. rest_ASC
  349. rest_DESC
  350. }
  351. type BlockPreviousValues {
  352. id: ID!
  353. title: String!
  354. description: String
  355. videos: [String!]!
  356. pictures: [String!]!
  357. duration: Int
  358. rest: Int
  359. }
  360. type BlockSubscriptionPayload {
  361. mutation: MutationType!
  362. node: Block
  363. updatedFields: [String!]
  364. previousValues: BlockPreviousValues
  365. }
  366. input BlockSubscriptionWhereInput {
  367. mutation_in: [MutationType!]
  368. updatedFields_contains: String
  369. updatedFields_contains_every: [String!]
  370. updatedFields_contains_some: [String!]
  371. node: BlockWhereInput
  372. AND: [BlockSubscriptionWhereInput!]
  373. OR: [BlockSubscriptionWhereInput!]
  374. NOT: [BlockSubscriptionWhereInput!]
  375. }
  376. input BlockUpdateInput {
  377. title: String
  378. description: String
  379. videos: BlockUpdatevideosInput
  380. pictures: BlockUpdatepicturesInput
  381. duration: Int
  382. format: FormatUpdateOneRequiredInput
  383. rest: Int
  384. tracks: TrackUpdateManyInput
  385. blocks: BlockInstanceUpdateManyWithoutBlockInput
  386. exercises: ExerciseInstanceUpdateManyInput
  387. }
  388. input BlockUpdateManyMutationInput {
  389. title: String
  390. description: String
  391. videos: BlockUpdatevideosInput
  392. pictures: BlockUpdatepicturesInput
  393. duration: Int
  394. rest: Int
  395. }
  396. input BlockUpdateOneRequiredWithoutBlocksInput {
  397. create: BlockCreateWithoutBlocksInput
  398. update: BlockUpdateWithoutBlocksDataInput
  399. upsert: BlockUpsertWithoutBlocksInput
  400. connect: BlockWhereUniqueInput
  401. }
  402. input BlockUpdatepicturesInput {
  403. set: [String!]
  404. }
  405. input BlockUpdatevideosInput {
  406. set: [String!]
  407. }
  408. input BlockUpdateWithoutBlocksDataInput {
  409. title: String
  410. description: String
  411. videos: BlockUpdatevideosInput
  412. pictures: BlockUpdatepicturesInput
  413. duration: Int
  414. format: FormatUpdateOneRequiredInput
  415. rest: Int
  416. tracks: TrackUpdateManyInput
  417. exercises: ExerciseInstanceUpdateManyInput
  418. }
  419. input BlockUpsertWithoutBlocksInput {
  420. update: BlockUpdateWithoutBlocksDataInput!
  421. create: BlockCreateWithoutBlocksInput!
  422. }
  423. input BlockWhereInput {
  424. id: ID
  425. id_not: ID
  426. id_in: [ID!]
  427. id_not_in: [ID!]
  428. id_lt: ID
  429. id_lte: ID
  430. id_gt: ID
  431. id_gte: ID
  432. id_contains: ID
  433. id_not_contains: ID
  434. id_starts_with: ID
  435. id_not_starts_with: ID
  436. id_ends_with: ID
  437. id_not_ends_with: ID
  438. title: String
  439. title_not: String
  440. title_in: [String!]
  441. title_not_in: [String!]
  442. title_lt: String
  443. title_lte: String
  444. title_gt: String
  445. title_gte: String
  446. title_contains: String
  447. title_not_contains: String
  448. title_starts_with: String
  449. title_not_starts_with: String
  450. title_ends_with: String
  451. title_not_ends_with: String
  452. description: String
  453. description_not: String
  454. description_in: [String!]
  455. description_not_in: [String!]
  456. description_lt: String
  457. description_lte: String
  458. description_gt: String
  459. description_gte: String
  460. description_contains: String
  461. description_not_contains: String
  462. description_starts_with: String
  463. description_not_starts_with: String
  464. description_ends_with: String
  465. description_not_ends_with: String
  466. duration: Int
  467. duration_not: Int
  468. duration_in: [Int!]
  469. duration_not_in: [Int!]
  470. duration_lt: Int
  471. duration_lte: Int
  472. duration_gt: Int
  473. duration_gte: Int
  474. format: FormatWhereInput
  475. rest: Int
  476. rest_not: Int
  477. rest_in: [Int!]
  478. rest_not_in: [Int!]
  479. rest_lt: Int
  480. rest_lte: Int
  481. rest_gt: Int
  482. rest_gte: Int
  483. tracks_every: TrackWhereInput
  484. tracks_some: TrackWhereInput
  485. tracks_none: TrackWhereInput
  486. blocks_every: BlockInstanceWhereInput
  487. blocks_some: BlockInstanceWhereInput
  488. blocks_none: BlockInstanceWhereInput
  489. exercises_every: ExerciseInstanceWhereInput
  490. exercises_some: ExerciseInstanceWhereInput
  491. exercises_none: ExerciseInstanceWhereInput
  492. AND: [BlockWhereInput!]
  493. OR: [BlockWhereInput!]
  494. NOT: [BlockWhereInput!]
  495. }
  496. input BlockWhereUniqueInput {
  497. id: ID
  498. }
  499. type Comment {
  500. id: ID!
  501. text: String!
  502. author: User!
  503. createdAt: DateTime!
  504. }
  505. type CommentConnection {
  506. pageInfo: PageInfo!
  507. edges: [CommentEdge]!
  508. aggregate: AggregateComment!
  509. }
  510. input CommentCreateInput {
  511. id: ID
  512. text: String!
  513. author: UserCreateOneWithoutCommentsInput!
  514. }
  515. input CommentCreateManyWithoutAuthorInput {
  516. create: [CommentCreateWithoutAuthorInput!]
  517. connect: [CommentWhereUniqueInput!]
  518. }
  519. input CommentCreateWithoutAuthorInput {
  520. id: ID
  521. text: String!
  522. }
  523. type CommentEdge {
  524. node: Comment!
  525. cursor: String!
  526. }
  527. enum CommentOrderByInput {
  528. id_ASC
  529. id_DESC
  530. text_ASC
  531. text_DESC
  532. createdAt_ASC
  533. createdAt_DESC
  534. }
  535. type CommentPreviousValues {
  536. id: ID!
  537. text: String!
  538. createdAt: DateTime!
  539. }
  540. input CommentScalarWhereInput {
  541. id: ID
  542. id_not: ID
  543. id_in: [ID!]
  544. id_not_in: [ID!]
  545. id_lt: ID
  546. id_lte: ID
  547. id_gt: ID
  548. id_gte: ID
  549. id_contains: ID
  550. id_not_contains: ID
  551. id_starts_with: ID
  552. id_not_starts_with: ID
  553. id_ends_with: ID
  554. id_not_ends_with: ID
  555. text: String
  556. text_not: String
  557. text_in: [String!]
  558. text_not_in: [String!]
  559. text_lt: String
  560. text_lte: String
  561. text_gt: String
  562. text_gte: String
  563. text_contains: String
  564. text_not_contains: String
  565. text_starts_with: String
  566. text_not_starts_with: String
  567. text_ends_with: String
  568. text_not_ends_with: String
  569. createdAt: DateTime
  570. createdAt_not: DateTime
  571. createdAt_in: [DateTime!]
  572. createdAt_not_in: [DateTime!]
  573. createdAt_lt: DateTime
  574. createdAt_lte: DateTime
  575. createdAt_gt: DateTime
  576. createdAt_gte: DateTime
  577. AND: [CommentScalarWhereInput!]
  578. OR: [CommentScalarWhereInput!]
  579. NOT: [CommentScalarWhereInput!]
  580. }
  581. type CommentSubscriptionPayload {
  582. mutation: MutationType!
  583. node: Comment
  584. updatedFields: [String!]
  585. previousValues: CommentPreviousValues
  586. }
  587. input CommentSubscriptionWhereInput {
  588. mutation_in: [MutationType!]
  589. updatedFields_contains: String
  590. updatedFields_contains_every: [String!]
  591. updatedFields_contains_some: [String!]
  592. node: CommentWhereInput
  593. AND: [CommentSubscriptionWhereInput!]
  594. OR: [CommentSubscriptionWhereInput!]
  595. NOT: [CommentSubscriptionWhereInput!]
  596. }
  597. input CommentUpdateInput {
  598. text: String
  599. author: UserUpdateOneRequiredWithoutCommentsInput
  600. }
  601. input CommentUpdateManyDataInput {
  602. text: String
  603. }
  604. input CommentUpdateManyMutationInput {
  605. text: String
  606. }
  607. input CommentUpdateManyWithoutAuthorInput {
  608. create: [CommentCreateWithoutAuthorInput!]
  609. delete: [CommentWhereUniqueInput!]
  610. connect: [CommentWhereUniqueInput!]
  611. set: [CommentWhereUniqueInput!]
  612. disconnect: [CommentWhereUniqueInput!]
  613. update: [CommentUpdateWithWhereUniqueWithoutAuthorInput!]
  614. upsert: [CommentUpsertWithWhereUniqueWithoutAuthorInput!]
  615. deleteMany: [CommentScalarWhereInput!]
  616. updateMany: [CommentUpdateManyWithWhereNestedInput!]
  617. }
  618. input CommentUpdateManyWithWhereNestedInput {
  619. where: CommentScalarWhereInput!
  620. data: CommentUpdateManyDataInput!
  621. }
  622. input CommentUpdateWithoutAuthorDataInput {
  623. text: String
  624. }
  625. input CommentUpdateWithWhereUniqueWithoutAuthorInput {
  626. where: CommentWhereUniqueInput!
  627. data: CommentUpdateWithoutAuthorDataInput!
  628. }
  629. input CommentUpsertWithWhereUniqueWithoutAuthorInput {
  630. where: CommentWhereUniqueInput!
  631. update: CommentUpdateWithoutAuthorDataInput!
  632. create: CommentCreateWithoutAuthorInput!
  633. }
  634. input CommentWhereInput {
  635. id: ID
  636. id_not: ID
  637. id_in: [ID!]
  638. id_not_in: [ID!]
  639. id_lt: ID
  640. id_lte: ID
  641. id_gt: ID
  642. id_gte: ID
  643. id_contains: ID
  644. id_not_contains: ID
  645. id_starts_with: ID
  646. id_not_starts_with: ID
  647. id_ends_with: ID
  648. id_not_ends_with: ID
  649. text: String
  650. text_not: String
  651. text_in: [String!]
  652. text_not_in: [String!]
  653. text_lt: String
  654. text_lte: String
  655. text_gt: String
  656. text_gte: String
  657. text_contains: String
  658. text_not_contains: String
  659. text_starts_with: String
  660. text_not_starts_with: String
  661. text_ends_with: String
  662. text_not_ends_with: String
  663. author: UserWhereInput
  664. createdAt: DateTime
  665. createdAt_not: DateTime
  666. createdAt_in: [DateTime!]
  667. createdAt_not_in: [DateTime!]
  668. createdAt_lt: DateTime
  669. createdAt_lte: DateTime
  670. createdAt_gt: DateTime
  671. createdAt_gte: DateTime
  672. AND: [CommentWhereInput!]
  673. OR: [CommentWhereInput!]
  674. NOT: [CommentWhereInput!]
  675. }
  676. input CommentWhereUniqueInput {
  677. id: ID
  678. }
  679. scalar DateTime
  680. type Exercise {
  681. id: ID!
  682. name: String!
  683. description: String!
  684. videos: [String!]!
  685. pictures: [String!]!
  686. targets: [String!]!
  687. baseExercise: [String!]!
  688. }
  689. type ExerciseConnection {
  690. pageInfo: PageInfo!
  691. edges: [ExerciseEdge]!
  692. aggregate: AggregateExercise!
  693. }
  694. input ExerciseCreatebaseExerciseInput {
  695. set: [String!]
  696. }
  697. input ExerciseCreateInput {
  698. id: ID
  699. name: String!
  700. description: String!
  701. videos: ExerciseCreatevideosInput
  702. pictures: ExerciseCreatepicturesInput
  703. targets: ExerciseCreatetargetsInput
  704. baseExercise: ExerciseCreatebaseExerciseInput
  705. }
  706. input ExerciseCreateOneInput {
  707. create: ExerciseCreateInput
  708. connect: ExerciseWhereUniqueInput
  709. }
  710. input ExerciseCreatepicturesInput {
  711. set: [String!]
  712. }
  713. input ExerciseCreatetargetsInput {
  714. set: [String!]
  715. }
  716. input ExerciseCreatevideosInput {
  717. set: [String!]
  718. }
  719. type ExerciseEdge {
  720. node: Exercise!
  721. cursor: String!
  722. }
  723. type ExerciseInstance {
  724. id: ID!
  725. exercise: Exercise!
  726. order: Int!
  727. repetitions: Int
  728. variation: String
  729. }
  730. type ExerciseInstanceConnection {
  731. pageInfo: PageInfo!
  732. edges: [ExerciseInstanceEdge]!
  733. aggregate: AggregateExerciseInstance!
  734. }
  735. input ExerciseInstanceCreateInput {
  736. id: ID
  737. exercise: ExerciseCreateOneInput!
  738. order: Int!
  739. repetitions: Int
  740. variation: String
  741. }
  742. input ExerciseInstanceCreateManyInput {
  743. create: [ExerciseInstanceCreateInput!]
  744. connect: [ExerciseInstanceWhereUniqueInput!]
  745. }
  746. type ExerciseInstanceEdge {
  747. node: ExerciseInstance!
  748. cursor: String!
  749. }
  750. enum ExerciseInstanceOrderByInput {
  751. id_ASC
  752. id_DESC
  753. order_ASC
  754. order_DESC
  755. repetitions_ASC
  756. repetitions_DESC
  757. variation_ASC
  758. variation_DESC
  759. }
  760. type ExerciseInstancePreviousValues {
  761. id: ID!
  762. order: Int!
  763. repetitions: Int
  764. variation: String
  765. }
  766. input ExerciseInstanceScalarWhereInput {
  767. id: ID
  768. id_not: ID
  769. id_in: [ID!]
  770. id_not_in: [ID!]
  771. id_lt: ID
  772. id_lte: ID
  773. id_gt: ID
  774. id_gte: ID
  775. id_contains: ID
  776. id_not_contains: ID
  777. id_starts_with: ID
  778. id_not_starts_with: ID
  779. id_ends_with: ID
  780. id_not_ends_with: ID
  781. order: Int
  782. order_not: Int
  783. order_in: [Int!]
  784. order_not_in: [Int!]
  785. order_lt: Int
  786. order_lte: Int
  787. order_gt: Int
  788. order_gte: Int
  789. repetitions: Int
  790. repetitions_not: Int
  791. repetitions_in: [Int!]
  792. repetitions_not_in: [Int!]
  793. repetitions_lt: Int
  794. repetitions_lte: Int
  795. repetitions_gt: Int
  796. repetitions_gte: Int
  797. variation: String
  798. variation_not: String
  799. variation_in: [String!]
  800. variation_not_in: [String!]
  801. variation_lt: String
  802. variation_lte: String
  803. variation_gt: String
  804. variation_gte: String
  805. variation_contains: String
  806. variation_not_contains: String
  807. variation_starts_with: String
  808. variation_not_starts_with: String
  809. variation_ends_with: String
  810. variation_not_ends_with: String
  811. AND: [ExerciseInstanceScalarWhereInput!]
  812. OR: [ExerciseInstanceScalarWhereInput!]
  813. NOT: [ExerciseInstanceScalarWhereInput!]
  814. }
  815. type ExerciseInstanceSubscriptionPayload {
  816. mutation: MutationType!
  817. node: ExerciseInstance
  818. updatedFields: [String!]
  819. previousValues: ExerciseInstancePreviousValues
  820. }
  821. input ExerciseInstanceSubscriptionWhereInput {
  822. mutation_in: [MutationType!]
  823. updatedFields_contains: String
  824. updatedFields_contains_every: [String!]
  825. updatedFields_contains_some: [String!]
  826. node: ExerciseInstanceWhereInput
  827. AND: [ExerciseInstanceSubscriptionWhereInput!]
  828. OR: [ExerciseInstanceSubscriptionWhereInput!]
  829. NOT: [ExerciseInstanceSubscriptionWhereInput!]
  830. }
  831. input ExerciseInstanceUpdateDataInput {
  832. exercise: ExerciseUpdateOneRequiredInput
  833. order: Int
  834. repetitions: Int
  835. variation: String
  836. }
  837. input ExerciseInstanceUpdateInput {
  838. exercise: ExerciseUpdateOneRequiredInput
  839. order: Int
  840. repetitions: Int
  841. variation: String
  842. }
  843. input ExerciseInstanceUpdateManyDataInput {
  844. order: Int
  845. repetitions: Int
  846. variation: String
  847. }
  848. input ExerciseInstanceUpdateManyInput {
  849. create: [ExerciseInstanceCreateInput!]
  850. update: [ExerciseInstanceUpdateWithWhereUniqueNestedInput!]
  851. upsert: [ExerciseInstanceUpsertWithWhereUniqueNestedInput!]
  852. delete: [ExerciseInstanceWhereUniqueInput!]
  853. connect: [ExerciseInstanceWhereUniqueInput!]
  854. set: [ExerciseInstanceWhereUniqueInput!]
  855. disconnect: [ExerciseInstanceWhereUniqueInput!]
  856. deleteMany: [ExerciseInstanceScalarWhereInput!]
  857. updateMany: [ExerciseInstanceUpdateManyWithWhereNestedInput!]
  858. }
  859. input ExerciseInstanceUpdateManyMutationInput {
  860. order: Int
  861. repetitions: Int
  862. variation: String
  863. }
  864. input ExerciseInstanceUpdateManyWithWhereNestedInput {
  865. where: ExerciseInstanceScalarWhereInput!
  866. data: ExerciseInstanceUpdateManyDataInput!
  867. }
  868. input ExerciseInstanceUpdateWithWhereUniqueNestedInput {
  869. where: ExerciseInstanceWhereUniqueInput!
  870. data: ExerciseInstanceUpdateDataInput!
  871. }
  872. input ExerciseInstanceUpsertWithWhereUniqueNestedInput {
  873. where: ExerciseInstanceWhereUniqueInput!
  874. update: ExerciseInstanceUpdateDataInput!
  875. create: ExerciseInstanceCreateInput!
  876. }
  877. input ExerciseInstanceWhereInput {
  878. id: ID
  879. id_not: ID
  880. id_in: [ID!]
  881. id_not_in: [ID!]
  882. id_lt: ID
  883. id_lte: ID
  884. id_gt: ID
  885. id_gte: ID
  886. id_contains: ID
  887. id_not_contains: ID
  888. id_starts_with: ID
  889. id_not_starts_with: ID
  890. id_ends_with: ID
  891. id_not_ends_with: ID
  892. exercise: ExerciseWhereInput
  893. order: Int
  894. order_not: Int
  895. order_in: [Int!]
  896. order_not_in: [Int!]
  897. order_lt: Int
  898. order_lte: Int
  899. order_gt: Int
  900. order_gte: Int
  901. repetitions: Int
  902. repetitions_not: Int
  903. repetitions_in: [Int!]
  904. repetitions_not_in: [Int!]
  905. repetitions_lt: Int
  906. repetitions_lte: Int
  907. repetitions_gt: Int
  908. repetitions_gte: Int
  909. variation: String
  910. variation_not: String
  911. variation_in: [String!]
  912. variation_not_in: [String!]
  913. variation_lt: String
  914. variation_lte: String
  915. variation_gt: String
  916. variation_gte: String
  917. variation_contains: String
  918. variation_not_contains: String
  919. variation_starts_with: String
  920. variation_not_starts_with: String
  921. variation_ends_with: String
  922. variation_not_ends_with: String
  923. AND: [ExerciseInstanceWhereInput!]
  924. OR: [ExerciseInstanceWhereInput!]
  925. NOT: [ExerciseInstanceWhereInput!]
  926. }
  927. input ExerciseInstanceWhereUniqueInput {
  928. id: ID
  929. }
  930. enum ExerciseOrderByInput {
  931. id_ASC
  932. id_DESC
  933. name_ASC
  934. name_DESC
  935. description_ASC
  936. description_DESC
  937. }
  938. type ExercisePreviousValues {
  939. id: ID!
  940. name: String!
  941. description: String!
  942. videos: [String!]!
  943. pictures: [String!]!
  944. targets: [String!]!
  945. baseExercise: [String!]!
  946. }
  947. type ExerciseSubscriptionPayload {
  948. mutation: MutationType!
  949. node: Exercise
  950. updatedFields: [String!]
  951. previousValues: ExercisePreviousValues
  952. }
  953. input ExerciseSubscriptionWhereInput {
  954. mutation_in: [MutationType!]
  955. updatedFields_contains: String
  956. updatedFields_contains_every: [String!]
  957. updatedFields_contains_some: [String!]
  958. node: ExerciseWhereInput
  959. AND: [ExerciseSubscriptionWhereInput!]
  960. OR: [ExerciseSubscriptionWhereInput!]
  961. NOT: [ExerciseSubscriptionWhereInput!]
  962. }
  963. input ExerciseUpdatebaseExerciseInput {
  964. set: [String!]
  965. }
  966. input ExerciseUpdateDataInput {
  967. name: String
  968. description: String
  969. videos: ExerciseUpdatevideosInput
  970. pictures: ExerciseUpdatepicturesInput
  971. targets: ExerciseUpdatetargetsInput
  972. baseExercise: ExerciseUpdatebaseExerciseInput
  973. }
  974. input ExerciseUpdateInput {
  975. name: String
  976. description: String
  977. videos: ExerciseUpdatevideosInput
  978. pictures: ExerciseUpdatepicturesInput
  979. targets: ExerciseUpdatetargetsInput
  980. baseExercise: ExerciseUpdatebaseExerciseInput
  981. }
  982. input ExerciseUpdateManyMutationInput {
  983. name: String
  984. description: String
  985. videos: ExerciseUpdatevideosInput
  986. pictures: ExerciseUpdatepicturesInput
  987. targets: ExerciseUpdatetargetsInput
  988. baseExercise: ExerciseUpdatebaseExerciseInput
  989. }
  990. input ExerciseUpdateOneRequiredInput {
  991. create: ExerciseCreateInput
  992. update: ExerciseUpdateDataInput
  993. upsert: ExerciseUpsertNestedInput
  994. connect: ExerciseWhereUniqueInput
  995. }
  996. input ExerciseUpdatepicturesInput {
  997. set: [String!]
  998. }
  999. input ExerciseUpdatetargetsInput {
  1000. set: [String!]
  1001. }
  1002. input ExerciseUpdatevideosInput {
  1003. set: [String!]
  1004. }
  1005. input ExerciseUpsertNestedInput {
  1006. update: ExerciseUpdateDataInput!
  1007. create: ExerciseCreateInput!
  1008. }
  1009. input ExerciseWhereInput {
  1010. id: ID
  1011. id_not: ID
  1012. id_in: [ID!]
  1013. id_not_in: [ID!]
  1014. id_lt: ID
  1015. id_lte: ID
  1016. id_gt: ID
  1017. id_gte: ID
  1018. id_contains: ID
  1019. id_not_contains: ID
  1020. id_starts_with: ID
  1021. id_not_starts_with: ID
  1022. id_ends_with: ID
  1023. id_not_ends_with: ID
  1024. name: String
  1025. name_not: String
  1026. name_in: [String!]
  1027. name_not_in: [String!]
  1028. name_lt: String
  1029. name_lte: String
  1030. name_gt: String
  1031. name_gte: String
  1032. name_contains: String
  1033. name_not_contains: String
  1034. name_starts_with: String
  1035. name_not_starts_with: String
  1036. name_ends_with: String
  1037. name_not_ends_with: String
  1038. description: String
  1039. description_not: String
  1040. description_in: [String!]
  1041. description_not_in: [String!]
  1042. description_lt: String
  1043. description_lte: String
  1044. description_gt: String
  1045. description_gte: String
  1046. description_contains: String
  1047. description_not_contains: String
  1048. description_starts_with: String
  1049. description_not_starts_with: String
  1050. description_ends_with: String
  1051. description_not_ends_with: String
  1052. AND: [ExerciseWhereInput!]
  1053. OR: [ExerciseWhereInput!]
  1054. NOT: [ExerciseWhereInput!]
  1055. }
  1056. input ExerciseWhereUniqueInput {
  1057. id: ID
  1058. }
  1059. type Format {
  1060. id: ID!
  1061. name: String!
  1062. description: String!
  1063. }
  1064. type FormatConnection {
  1065. pageInfo: PageInfo!
  1066. edges: [FormatEdge]!
  1067. aggregate: AggregateFormat!
  1068. }
  1069. input FormatCreateInput {
  1070. id: ID
  1071. name: String!
  1072. description: String!
  1073. }
  1074. input FormatCreateOneInput {
  1075. create: FormatCreateInput
  1076. connect: FormatWhereUniqueInput
  1077. }
  1078. type FormatEdge {
  1079. node: Format!
  1080. cursor: String!
  1081. }
  1082. enum FormatOrderByInput {
  1083. id_ASC
  1084. id_DESC
  1085. name_ASC
  1086. name_DESC
  1087. description_ASC
  1088. description_DESC
  1089. }
  1090. type FormatPreviousValues {
  1091. id: ID!
  1092. name: String!
  1093. description: String!
  1094. }
  1095. type FormatSubscriptionPayload {
  1096. mutation: MutationType!
  1097. node: Format
  1098. updatedFields: [String!]
  1099. previousValues: FormatPreviousValues
  1100. }
  1101. input FormatSubscriptionWhereInput {
  1102. mutation_in: [MutationType!]
  1103. updatedFields_contains: String
  1104. updatedFields_contains_every: [String!]
  1105. updatedFields_contains_some: [String!]
  1106. node: FormatWhereInput
  1107. AND: [FormatSubscriptionWhereInput!]
  1108. OR: [FormatSubscriptionWhereInput!]
  1109. NOT: [FormatSubscriptionWhereInput!]
  1110. }
  1111. input FormatUpdateDataInput {
  1112. name: String
  1113. description: String
  1114. }
  1115. input FormatUpdateInput {
  1116. name: String
  1117. description: String
  1118. }
  1119. input FormatUpdateManyMutationInput {
  1120. name: String
  1121. description: String
  1122. }
  1123. input FormatUpdateOneRequiredInput {
  1124. create: FormatCreateInput
  1125. update: FormatUpdateDataInput
  1126. upsert: FormatUpsertNestedInput
  1127. connect: FormatWhereUniqueInput
  1128. }
  1129. input FormatUpsertNestedInput {
  1130. update: FormatUpdateDataInput!
  1131. create: FormatCreateInput!
  1132. }
  1133. input FormatWhereInput {
  1134. id: ID
  1135. id_not: ID
  1136. id_in: [ID!]
  1137. id_not_in: [ID!]
  1138. id_lt: ID
  1139. id_lte: ID
  1140. id_gt: ID
  1141. id_gte: ID
  1142. id_contains: ID
  1143. id_not_contains: ID
  1144. id_starts_with: ID
  1145. id_not_starts_with: ID
  1146. id_ends_with: ID
  1147. id_not_ends_with: ID
  1148. name: String
  1149. name_not: String
  1150. name_in: [String!]
  1151. name_not_in: [String!]
  1152. name_lt: String
  1153. name_lte: String
  1154. name_gt: String
  1155. name_gte: String
  1156. name_contains: String
  1157. name_not_contains: String
  1158. name_starts_with: String
  1159. name_not_starts_with: String
  1160. name_ends_with: String
  1161. name_not_ends_with: String
  1162. description: String
  1163. description_not: String
  1164. description_in: [String!]
  1165. description_not_in: [String!]
  1166. description_lt: String
  1167. description_lte: String
  1168. description_gt: String
  1169. description_gte: String
  1170. description_contains: String
  1171. description_not_contains: String
  1172. description_starts_with: String
  1173. description_not_starts_with: String
  1174. description_ends_with: String
  1175. description_not_ends_with: String
  1176. AND: [FormatWhereInput!]
  1177. OR: [FormatWhereInput!]
  1178. NOT: [FormatWhereInput!]
  1179. }
  1180. input FormatWhereUniqueInput {
  1181. id: ID
  1182. }
  1183. scalar Long
  1184. type Mutation {
  1185. createBlock(data: BlockCreateInput!): Block!
  1186. updateBlock(data: BlockUpdateInput!, where: BlockWhereUniqueInput!): Block
  1187. updateManyBlocks(data: BlockUpdateManyMutationInput!, where: BlockWhereInput): BatchPayload!
  1188. upsertBlock(where: BlockWhereUniqueInput!, create: BlockCreateInput!, update: BlockUpdateInput!): Block!
  1189. deleteBlock(where: BlockWhereUniqueInput!): Block
  1190. deleteManyBlocks(where: BlockWhereInput): BatchPayload!
  1191. createBlockInstance(data: BlockInstanceCreateInput!): BlockInstance!
  1192. updateBlockInstance(data: BlockInstanceUpdateInput!, where: BlockInstanceWhereUniqueInput!): BlockInstance
  1193. updateManyBlockInstances(data: BlockInstanceUpdateManyMutationInput!, where: BlockInstanceWhereInput): BatchPayload!
  1194. upsertBlockInstance(where: BlockInstanceWhereUniqueInput!, create: BlockInstanceCreateInput!, update: BlockInstanceUpdateInput!): BlockInstance!
  1195. deleteBlockInstance(where: BlockInstanceWhereUniqueInput!): BlockInstance
  1196. deleteManyBlockInstances(where: BlockInstanceWhereInput): BatchPayload!
  1197. createComment(data: CommentCreateInput!): Comment!
  1198. updateComment(data: CommentUpdateInput!, where: CommentWhereUniqueInput!): Comment
  1199. updateManyComments(data: CommentUpdateManyMutationInput!, where: CommentWhereInput): BatchPayload!
  1200. upsertComment(where: CommentWhereUniqueInput!, create: CommentCreateInput!, update: CommentUpdateInput!): Comment!
  1201. deleteComment(where: CommentWhereUniqueInput!): Comment
  1202. deleteManyComments(where: CommentWhereInput): BatchPayload!
  1203. createExercise(data: ExerciseCreateInput!): Exercise!
  1204. updateExercise(data: ExerciseUpdateInput!, where: ExerciseWhereUniqueInput!): Exercise
  1205. updateManyExercises(data: ExerciseUpdateManyMutationInput!, where: ExerciseWhereInput): BatchPayload!
  1206. upsertExercise(where: ExerciseWhereUniqueInput!, create: ExerciseCreateInput!, update: ExerciseUpdateInput!): Exercise!
  1207. deleteExercise(where: ExerciseWhereUniqueInput!): Exercise
  1208. deleteManyExercises(where: ExerciseWhereInput): BatchPayload!
  1209. createExerciseInstance(data: ExerciseInstanceCreateInput!): ExerciseInstance!
  1210. updateExerciseInstance(data: ExerciseInstanceUpdateInput!, where: ExerciseInstanceWhereUniqueInput!): ExerciseInstance
  1211. updateManyExerciseInstances(data: ExerciseInstanceUpdateManyMutationInput!, where: ExerciseInstanceWhereInput): BatchPayload!
  1212. upsertExerciseInstance(where: ExerciseInstanceWhereUniqueInput!, create: ExerciseInstanceCreateInput!, update: ExerciseInstanceUpdateInput!): ExerciseInstance!
  1213. deleteExerciseInstance(where: ExerciseInstanceWhereUniqueInput!): ExerciseInstance
  1214. deleteManyExerciseInstances(where: ExerciseInstanceWhereInput): BatchPayload!
  1215. createFormat(data: FormatCreateInput!): Format!
  1216. updateFormat(data: FormatUpdateInput!, where: FormatWhereUniqueInput!): Format
  1217. updateManyFormats(data: FormatUpdateManyMutationInput!, where: FormatWhereInput): BatchPayload!
  1218. upsertFormat(where: FormatWhereUniqueInput!, create: FormatCreateInput!, update: FormatUpdateInput!): Format!
  1219. deleteFormat(where: FormatWhereUniqueInput!): Format
  1220. deleteManyFormats(where: FormatWhereInput): BatchPayload!
  1221. createRating(data: RatingCreateInput!): Rating!
  1222. updateRating(data: RatingUpdateInput!, where: RatingWhereUniqueInput!): Rating
  1223. updateManyRatings(data: RatingUpdateManyMutationInput!, where: RatingWhereInput): BatchPayload!
  1224. upsertRating(where: RatingWhereUniqueInput!, create: RatingCreateInput!, update: RatingUpdateInput!): Rating!
  1225. deleteRating(where: RatingWhereUniqueInput!): Rating
  1226. deleteManyRatings(where: RatingWhereInput): BatchPayload!
  1227. createTrack(data: TrackCreateInput!): Track!
  1228. updateTrack(data: TrackUpdateInput!, where: TrackWhereUniqueInput!): Track
  1229. updateManyTracks(data: TrackUpdateManyMutationInput!, where: TrackWhereInput): BatchPayload!
  1230. upsertTrack(where: TrackWhereUniqueInput!, create: TrackCreateInput!, update: TrackUpdateInput!): Track!
  1231. deleteTrack(where: TrackWhereUniqueInput!): Track
  1232. deleteManyTracks(where: TrackWhereInput): BatchPayload!
  1233. createTraining(data: TrainingCreateInput!): Training!
  1234. updateTraining(data: TrainingUpdateInput!, where: TrainingWhereUniqueInput!): Training
  1235. updateManyTrainings(data: TrainingUpdateManyMutationInput!, where: TrainingWhereInput): BatchPayload!
  1236. upsertTraining(where: TrainingWhereUniqueInput!, create: TrainingCreateInput!, update: TrainingUpdateInput!): Training!
  1237. deleteTraining(where: TrainingWhereUniqueInput!): Training
  1238. deleteManyTrainings(where: TrainingWhereInput): BatchPayload!
  1239. createTrainingType(data: TrainingTypeCreateInput!): TrainingType!
  1240. updateTrainingType(data: TrainingTypeUpdateInput!, where: TrainingTypeWhereUniqueInput!): TrainingType
  1241. updateManyTrainingTypes(data: TrainingTypeUpdateManyMutationInput!, where: TrainingTypeWhereInput): BatchPayload!
  1242. upsertTrainingType(where: TrainingTypeWhereUniqueInput!, create: TrainingTypeCreateInput!, update: TrainingTypeUpdateInput!): TrainingType!
  1243. deleteTrainingType(where: TrainingTypeWhereUniqueInput!): TrainingType
  1244. deleteManyTrainingTypes(where: TrainingTypeWhereInput): BatchPayload!
  1245. createUser(data: UserCreateInput!): User!
  1246. updateUser(data: UserUpdateInput!, where: UserWhereUniqueInput!): User
  1247. updateManyUsers(data: UserUpdateManyMutationInput!, where: UserWhereInput): BatchPayload!
  1248. upsertUser(where: UserWhereUniqueInput!, create: UserCreateInput!, update: UserUpdateInput!): User!
  1249. deleteUser(where: UserWhereUniqueInput!): User
  1250. deleteManyUsers(where: UserWhereInput): BatchPayload!
  1251. }
  1252. enum MutationType {
  1253. CREATED
  1254. UPDATED
  1255. DELETED
  1256. }
  1257. interface Node {
  1258. id: ID!
  1259. }
  1260. type PageInfo {
  1261. hasNextPage: Boolean!
  1262. hasPreviousPage: Boolean!
  1263. startCursor: String
  1264. endCursor: String
  1265. }
  1266. enum Permission {
  1267. ADMIN
  1268. INSTRUCTOR
  1269. }
  1270. type Query {
  1271. block(where: BlockWhereUniqueInput!): Block
  1272. blocks(where: BlockWhereInput, orderBy: BlockOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Block]!
  1273. blocksConnection(where: BlockWhereInput, orderBy: BlockOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): BlockConnection!
  1274. blockInstance(where: BlockInstanceWhereUniqueInput!): BlockInstance
  1275. blockInstances(where: BlockInstanceWhereInput, orderBy: BlockInstanceOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [BlockInstance]!
  1276. blockInstancesConnection(where: BlockInstanceWhereInput, orderBy: BlockInstanceOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): BlockInstanceConnection!
  1277. comment(where: CommentWhereUniqueInput!): Comment
  1278. comments(where: CommentWhereInput, orderBy: CommentOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Comment]!
  1279. commentsConnection(where: CommentWhereInput, orderBy: CommentOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): CommentConnection!
  1280. exercise(where: ExerciseWhereUniqueInput!): Exercise
  1281. exercises(where: ExerciseWhereInput, orderBy: ExerciseOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Exercise]!
  1282. exercisesConnection(where: ExerciseWhereInput, orderBy: ExerciseOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): ExerciseConnection!
  1283. exerciseInstance(where: ExerciseInstanceWhereUniqueInput!): ExerciseInstance
  1284. exerciseInstances(where: ExerciseInstanceWhereInput, orderBy: ExerciseInstanceOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [ExerciseInstance]!
  1285. exerciseInstancesConnection(where: ExerciseInstanceWhereInput, orderBy: ExerciseInstanceOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): ExerciseInstanceConnection!
  1286. format(where: FormatWhereUniqueInput!): Format
  1287. formats(where: FormatWhereInput, orderBy: FormatOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Format]!
  1288. formatsConnection(where: FormatWhereInput, orderBy: FormatOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): FormatConnection!
  1289. rating(where: RatingWhereUniqueInput!): Rating
  1290. ratings(where: RatingWhereInput, orderBy: RatingOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Rating]!
  1291. ratingsConnection(where: RatingWhereInput, orderBy: RatingOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): RatingConnection!
  1292. track(where: TrackWhereUniqueInput!): Track
  1293. tracks(where: TrackWhereInput, orderBy: TrackOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Track]!
  1294. tracksConnection(where: TrackWhereInput, orderBy: TrackOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): TrackConnection!
  1295. training(where: TrainingWhereUniqueInput!): Training
  1296. trainings(where: TrainingWhereInput, orderBy: TrainingOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Training]!
  1297. trainingsConnection(where: TrainingWhereInput, orderBy: TrainingOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): TrainingConnection!
  1298. trainingType(where: TrainingTypeWhereUniqueInput!): TrainingType
  1299. trainingTypes(where: TrainingTypeWhereInput, orderBy: TrainingTypeOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [TrainingType]!
  1300. trainingTypesConnection(where: TrainingTypeWhereInput, orderBy: TrainingTypeOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): TrainingTypeConnection!
  1301. user(where: UserWhereUniqueInput!): User
  1302. users(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [User]!
  1303. usersConnection(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): UserConnection!
  1304. node(id: ID!): Node
  1305. }
  1306. type Rating {
  1307. id: ID!
  1308. user: User!
  1309. value: Int!
  1310. comment: String!
  1311. createdAt: DateTime!
  1312. }
  1313. type RatingConnection {
  1314. pageInfo: PageInfo!
  1315. edges: [RatingEdge]!
  1316. aggregate: AggregateRating!
  1317. }
  1318. input RatingCreateInput {
  1319. id: ID
  1320. user: UserCreateOneWithoutRatingsInput!
  1321. value: Int!
  1322. comment: String!
  1323. }
  1324. input RatingCreateManyInput {
  1325. create: [RatingCreateInput!]
  1326. connect: [RatingWhereUniqueInput!]
  1327. }
  1328. input RatingCreateManyWithoutUserInput {
  1329. create: [RatingCreateWithoutUserInput!]
  1330. connect: [RatingWhereUniqueInput!]
  1331. }
  1332. input RatingCreateWithoutUserInput {
  1333. id: ID
  1334. value: Int!
  1335. comment: String!
  1336. }
  1337. type RatingEdge {
  1338. node: Rating!
  1339. cursor: String!
  1340. }
  1341. enum RatingOrderByInput {
  1342. id_ASC
  1343. id_DESC
  1344. value_ASC
  1345. value_DESC
  1346. comment_ASC
  1347. comment_DESC
  1348. createdAt_ASC
  1349. createdAt_DESC
  1350. }
  1351. type RatingPreviousValues {
  1352. id: ID!
  1353. value: Int!
  1354. comment: String!
  1355. createdAt: DateTime!
  1356. }
  1357. input RatingScalarWhereInput {
  1358. id: ID
  1359. id_not: ID
  1360. id_in: [ID!]
  1361. id_not_in: [ID!]
  1362. id_lt: ID
  1363. id_lte: ID
  1364. id_gt: ID
  1365. id_gte: ID
  1366. id_contains: ID
  1367. id_not_contains: ID
  1368. id_starts_with: ID
  1369. id_not_starts_with: ID
  1370. id_ends_with: ID
  1371. id_not_ends_with: ID
  1372. value: Int
  1373. value_not: Int
  1374. value_in: [Int!]
  1375. value_not_in: [Int!]
  1376. value_lt: Int
  1377. value_lte: Int
  1378. value_gt: Int
  1379. value_gte: Int
  1380. comment: String
  1381. comment_not: String
  1382. comment_in: [String!]
  1383. comment_not_in: [String!]
  1384. comment_lt: String
  1385. comment_lte: String
  1386. comment_gt: String
  1387. comment_gte: String
  1388. comment_contains: String
  1389. comment_not_contains: String
  1390. comment_starts_with: String
  1391. comment_not_starts_with: String
  1392. comment_ends_with: String
  1393. comment_not_ends_with: String
  1394. createdAt: DateTime
  1395. createdAt_not: DateTime
  1396. createdAt_in: [DateTime!]
  1397. createdAt_not_in: [DateTime!]
  1398. createdAt_lt: DateTime
  1399. createdAt_lte: DateTime
  1400. createdAt_gt: DateTime
  1401. createdAt_gte: DateTime
  1402. AND: [RatingScalarWhereInput!]
  1403. OR: [RatingScalarWhereInput!]
  1404. NOT: [RatingScalarWhereInput!]
  1405. }
  1406. type RatingSubscriptionPayload {
  1407. mutation: MutationType!
  1408. node: Rating
  1409. updatedFields: [String!]
  1410. previousValues: RatingPreviousValues
  1411. }
  1412. input RatingSubscriptionWhereInput {
  1413. mutation_in: [MutationType!]
  1414. updatedFields_contains: String
  1415. updatedFields_contains_every: [String!]
  1416. updatedFields_contains_some: [String!]
  1417. node: RatingWhereInput
  1418. AND: [RatingSubscriptionWhereInput!]
  1419. OR: [RatingSubscriptionWhereInput!]
  1420. NOT: [RatingSubscriptionWhereInput!]
  1421. }
  1422. input RatingUpdateDataInput {
  1423. user: UserUpdateOneRequiredWithoutRatingsInput
  1424. value: Int
  1425. comment: String
  1426. }
  1427. input RatingUpdateInput {
  1428. user: UserUpdateOneRequiredWithoutRatingsInput
  1429. value: Int
  1430. comment: String
  1431. }
  1432. input RatingUpdateManyDataInput {
  1433. value: Int
  1434. comment: String
  1435. }
  1436. input RatingUpdateManyInput {
  1437. create: [RatingCreateInput!]
  1438. update: [RatingUpdateWithWhereUniqueNestedInput!]
  1439. upsert: [RatingUpsertWithWhereUniqueNestedInput!]
  1440. delete: [RatingWhereUniqueInput!]
  1441. connect: [RatingWhereUniqueInput!]
  1442. set: [RatingWhereUniqueInput!]
  1443. disconnect: [RatingWhereUniqueInput!]
  1444. deleteMany: [RatingScalarWhereInput!]
  1445. updateMany: [RatingUpdateManyWithWhereNestedInput!]
  1446. }
  1447. input RatingUpdateManyMutationInput {
  1448. value: Int
  1449. comment: String
  1450. }
  1451. input RatingUpdateManyWithoutUserInput {
  1452. create: [RatingCreateWithoutUserInput!]
  1453. delete: [RatingWhereUniqueInput!]
  1454. connect: [RatingWhereUniqueInput!]
  1455. set: [RatingWhereUniqueInput!]
  1456. disconnect: [RatingWhereUniqueInput!]
  1457. update: [RatingUpdateWithWhereUniqueWithoutUserInput!]
  1458. upsert: [RatingUpsertWithWhereUniqueWithoutUserInput!]
  1459. deleteMany: [RatingScalarWhereInput!]
  1460. updateMany: [RatingUpdateManyWithWhereNestedInput!]
  1461. }
  1462. input RatingUpdateManyWithWhereNestedInput {
  1463. where: RatingScalarWhereInput!
  1464. data: RatingUpdateManyDataInput!
  1465. }
  1466. input RatingUpdateWithoutUserDataInput {
  1467. value: Int
  1468. comment: String
  1469. }
  1470. input RatingUpdateWithWhereUniqueNestedInput {
  1471. where: RatingWhereUniqueInput!
  1472. data: RatingUpdateDataInput!
  1473. }
  1474. input RatingUpdateWithWhereUniqueWithoutUserInput {
  1475. where: RatingWhereUniqueInput!
  1476. data: RatingUpdateWithoutUserDataInput!
  1477. }
  1478. input RatingUpsertWithWhereUniqueNestedInput {
  1479. where: RatingWhereUniqueInput!
  1480. update: RatingUpdateDataInput!
  1481. create: RatingCreateInput!
  1482. }
  1483. input RatingUpsertWithWhereUniqueWithoutUserInput {
  1484. where: RatingWhereUniqueInput!
  1485. update: RatingUpdateWithoutUserDataInput!
  1486. create: RatingCreateWithoutUserInput!
  1487. }
  1488. input RatingWhereInput {
  1489. id: ID
  1490. id_not: ID
  1491. id_in: [ID!]
  1492. id_not_in: [ID!]
  1493. id_lt: ID
  1494. id_lte: ID
  1495. id_gt: ID
  1496. id_gte: ID
  1497. id_contains: ID
  1498. id_not_contains: ID
  1499. id_starts_with: ID
  1500. id_not_starts_with: ID
  1501. id_ends_with: ID
  1502. id_not_ends_with: ID
  1503. user: UserWhereInput
  1504. value: Int
  1505. value_not: Int
  1506. value_in: [Int!]
  1507. value_not_in: [Int!]
  1508. value_lt: Int
  1509. value_lte: Int
  1510. value_gt: Int
  1511. value_gte: Int
  1512. comment: String
  1513. comment_not: String
  1514. comment_in: [String!]
  1515. comment_not_in: [String!]
  1516. comment_lt: String
  1517. comment_lte: String
  1518. comment_gt: String
  1519. comment_gte: String
  1520. comment_contains: String
  1521. comment_not_contains: String
  1522. comment_starts_with: String
  1523. comment_not_starts_with: String
  1524. comment_ends_with: String
  1525. comment_not_ends_with: String
  1526. createdAt: DateTime
  1527. createdAt_not: DateTime
  1528. createdAt_in: [DateTime!]
  1529. createdAt_not_in: [DateTime!]
  1530. createdAt_lt: DateTime
  1531. createdAt_lte: DateTime
  1532. createdAt_gt: DateTime
  1533. createdAt_gte: DateTime
  1534. AND: [RatingWhereInput!]
  1535. OR: [RatingWhereInput!]
  1536. NOT: [RatingWhereInput!]
  1537. }
  1538. input RatingWhereUniqueInput {
  1539. id: ID
  1540. }
  1541. type Subscription {
  1542. block(where: BlockSubscriptionWhereInput): BlockSubscriptionPayload
  1543. blockInstance(where: BlockInstanceSubscriptionWhereInput): BlockInstanceSubscriptionPayload
  1544. comment(where: CommentSubscriptionWhereInput): CommentSubscriptionPayload
  1545. exercise(where: ExerciseSubscriptionWhereInput): ExerciseSubscriptionPayload
  1546. exerciseInstance(where: ExerciseInstanceSubscriptionWhereInput): ExerciseInstanceSubscriptionPayload
  1547. format(where: FormatSubscriptionWhereInput): FormatSubscriptionPayload
  1548. rating(where: RatingSubscriptionWhereInput): RatingSubscriptionPayload
  1549. track(where: TrackSubscriptionWhereInput): TrackSubscriptionPayload
  1550. training(where: TrainingSubscriptionWhereInput): TrainingSubscriptionPayload
  1551. trainingType(where: TrainingTypeSubscriptionWhereInput): TrainingTypeSubscriptionPayload
  1552. user(where: UserSubscriptionWhereInput): UserSubscriptionPayload
  1553. }
  1554. type Track {
  1555. id: ID!
  1556. title: String!
  1557. artist: String!
  1558. duration: Int!
  1559. link: String!
  1560. }
  1561. type TrackConnection {
  1562. pageInfo: PageInfo!
  1563. edges: [TrackEdge]!
  1564. aggregate: AggregateTrack!
  1565. }
  1566. input TrackCreateInput {
  1567. id: ID
  1568. title: String!
  1569. artist: String!
  1570. duration: Int!
  1571. link: String!
  1572. }
  1573. input TrackCreateManyInput {
  1574. create: [TrackCreateInput!]
  1575. connect: [TrackWhereUniqueInput!]
  1576. }
  1577. type TrackEdge {
  1578. node: Track!
  1579. cursor: String!
  1580. }
  1581. enum TrackOrderByInput {
  1582. id_ASC
  1583. id_DESC
  1584. title_ASC
  1585. title_DESC
  1586. artist_ASC
  1587. artist_DESC
  1588. duration_ASC
  1589. duration_DESC
  1590. link_ASC
  1591. link_DESC
  1592. }
  1593. type TrackPreviousValues {
  1594. id: ID!
  1595. title: String!
  1596. artist: String!
  1597. duration: Int!
  1598. link: String!
  1599. }
  1600. input TrackScalarWhereInput {
  1601. id: ID
  1602. id_not: ID
  1603. id_in: [ID!]
  1604. id_not_in: [ID!]
  1605. id_lt: ID
  1606. id_lte: ID
  1607. id_gt: ID
  1608. id_gte: ID
  1609. id_contains: ID
  1610. id_not_contains: ID
  1611. id_starts_with: ID
  1612. id_not_starts_with: ID
  1613. id_ends_with: ID
  1614. id_not_ends_with: ID
  1615. title: String
  1616. title_not: String
  1617. title_in: [String!]
  1618. title_not_in: [String!]
  1619. title_lt: String
  1620. title_lte: String
  1621. title_gt: String
  1622. title_gte: String
  1623. title_contains: String
  1624. title_not_contains: String
  1625. title_starts_with: String
  1626. title_not_starts_with: String
  1627. title_ends_with: String
  1628. title_not_ends_with: String
  1629. artist: String
  1630. artist_not: String
  1631. artist_in: [String!]
  1632. artist_not_in: [String!]
  1633. artist_lt: String
  1634. artist_lte: String
  1635. artist_gt: String
  1636. artist_gte: String
  1637. artist_contains: String
  1638. artist_not_contains: String
  1639. artist_starts_with: String
  1640. artist_not_starts_with: String
  1641. artist_ends_with: String
  1642. artist_not_ends_with: String
  1643. duration: Int
  1644. duration_not: Int
  1645. duration_in: [Int!]
  1646. duration_not_in: [Int!]
  1647. duration_lt: Int
  1648. duration_lte: Int
  1649. duration_gt: Int
  1650. duration_gte: Int
  1651. link: String
  1652. link_not: String
  1653. link_in: [String!]
  1654. link_not_in: [String!]
  1655. link_lt: String
  1656. link_lte: String
  1657. link_gt: String
  1658. link_gte: String
  1659. link_contains: String
  1660. link_not_contains: String
  1661. link_starts_with: String
  1662. link_not_starts_with: String
  1663. link_ends_with: String
  1664. link_not_ends_with: String
  1665. AND: [TrackScalarWhereInput!]
  1666. OR: [TrackScalarWhereInput!]
  1667. NOT: [TrackScalarWhereInput!]
  1668. }
  1669. type TrackSubscriptionPayload {
  1670. mutation: MutationType!
  1671. node: Track
  1672. updatedFields: [String!]
  1673. previousValues: TrackPreviousValues
  1674. }
  1675. input TrackSubscriptionWhereInput {
  1676. mutation_in: [MutationType!]
  1677. updatedFields_contains: String
  1678. updatedFields_contains_every: [String!]
  1679. updatedFields_contains_some: [String!]
  1680. node: TrackWhereInput
  1681. AND: [TrackSubscriptionWhereInput!]
  1682. OR: [TrackSubscriptionWhereInput!]
  1683. NOT: [TrackSubscriptionWhereInput!]
  1684. }
  1685. input TrackUpdateDataInput {
  1686. title: String
  1687. artist: String
  1688. duration: Int
  1689. link: String
  1690. }
  1691. input TrackUpdateInput {
  1692. title: String
  1693. artist: String
  1694. duration: Int
  1695. link: String
  1696. }
  1697. input TrackUpdateManyDataInput {
  1698. title: String
  1699. artist: String
  1700. duration: Int
  1701. link: String
  1702. }
  1703. input TrackUpdateManyInput {
  1704. create: [TrackCreateInput!]
  1705. update: [TrackUpdateWithWhereUniqueNestedInput!]
  1706. upsert: [TrackUpsertWithWhereUniqueNestedInput!]
  1707. delete: [TrackWhereUniqueInput!]
  1708. connect: [TrackWhereUniqueInput!]
  1709. set: [TrackWhereUniqueInput!]
  1710. disconnect: [TrackWhereUniqueInput!]
  1711. deleteMany: [TrackScalarWhereInput!]
  1712. updateMany: [TrackUpdateManyWithWhereNestedInput!]
  1713. }
  1714. input TrackUpdateManyMutationInput {
  1715. title: String
  1716. artist: String
  1717. duration: Int
  1718. link: String
  1719. }
  1720. input TrackUpdateManyWithWhereNestedInput {
  1721. where: TrackScalarWhereInput!
  1722. data: TrackUpdateManyDataInput!
  1723. }
  1724. input TrackUpdateWithWhereUniqueNestedInput {
  1725. where: TrackWhereUniqueInput!
  1726. data: TrackUpdateDataInput!
  1727. }
  1728. input TrackUpsertWithWhereUniqueNestedInput {
  1729. where: TrackWhereUniqueInput!
  1730. update: TrackUpdateDataInput!
  1731. create: TrackCreateInput!
  1732. }
  1733. input TrackWhereInput {
  1734. id: ID
  1735. id_not: ID
  1736. id_in: [ID!]
  1737. id_not_in: [ID!]
  1738. id_lt: ID
  1739. id_lte: ID
  1740. id_gt: ID
  1741. id_gte: ID
  1742. id_contains: ID
  1743. id_not_contains: ID
  1744. id_starts_with: ID
  1745. id_not_starts_with: ID
  1746. id_ends_with: ID
  1747. id_not_ends_with: ID
  1748. title: String
  1749. title_not: String
  1750. title_in: [String!]
  1751. title_not_in: [String!]
  1752. title_lt: String
  1753. title_lte: String
  1754. title_gt: String
  1755. title_gte: String
  1756. title_contains: String
  1757. title_not_contains: String
  1758. title_starts_with: String
  1759. title_not_starts_with: String
  1760. title_ends_with: String
  1761. title_not_ends_with: String
  1762. artist: String
  1763. artist_not: String
  1764. artist_in: [String!]
  1765. artist_not_in: [String!]
  1766. artist_lt: String
  1767. artist_lte: String
  1768. artist_gt: String
  1769. artist_gte: String
  1770. artist_contains: String
  1771. artist_not_contains: String
  1772. artist_starts_with: String
  1773. artist_not_starts_with: String
  1774. artist_ends_with: String
  1775. artist_not_ends_with: String
  1776. duration: Int
  1777. duration_not: Int
  1778. duration_in: [Int!]
  1779. duration_not_in: [Int!]
  1780. duration_lt: Int
  1781. duration_lte: Int
  1782. duration_gt: Int
  1783. duration_gte: Int
  1784. link: String
  1785. link_not: String
  1786. link_in: [String!]
  1787. link_not_in: [String!]
  1788. link_lt: String
  1789. link_lte: String
  1790. link_gt: String
  1791. link_gte: String
  1792. link_contains: String
  1793. link_not_contains: String
  1794. link_starts_with: String
  1795. link_not_starts_with: String
  1796. link_ends_with: String
  1797. link_not_ends_with: String
  1798. AND: [TrackWhereInput!]
  1799. OR: [TrackWhereInput!]
  1800. NOT: [TrackWhereInput!]
  1801. }
  1802. input TrackWhereUniqueInput {
  1803. id: ID
  1804. }
  1805. type Training {
  1806. id: ID!
  1807. title: String!
  1808. type: TrainingType!
  1809. createdAt: DateTime!
  1810. trainingDate: DateTime
  1811. location: String
  1812. registrations(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [User!]
  1813. attendance: Int
  1814. ratings(where: RatingWhereInput, orderBy: RatingOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Rating!]
  1815. published: Boolean!
  1816. blocks(where: BlockInstanceWhereInput, orderBy: BlockInstanceOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [BlockInstance!]
  1817. }
  1818. type TrainingConnection {
  1819. pageInfo: PageInfo!
  1820. edges: [TrainingEdge]!
  1821. aggregate: AggregateTraining!
  1822. }
  1823. input TrainingCreateInput {
  1824. id: ID
  1825. title: String!
  1826. type: TrainingTypeCreateOneInput!
  1827. trainingDate: DateTime
  1828. location: String
  1829. registrations: UserCreateManyInput
  1830. attendance: Int
  1831. ratings: RatingCreateManyInput
  1832. published: Boolean!
  1833. blocks: BlockInstanceCreateManyInput
  1834. }
  1835. type TrainingEdge {
  1836. node: Training!
  1837. cursor: String!
  1838. }
  1839. enum TrainingOrderByInput {
  1840. id_ASC
  1841. id_DESC
  1842. title_ASC
  1843. title_DESC
  1844. createdAt_ASC
  1845. createdAt_DESC
  1846. trainingDate_ASC
  1847. trainingDate_DESC
  1848. location_ASC
  1849. location_DESC
  1850. attendance_ASC
  1851. attendance_DESC
  1852. published_ASC
  1853. published_DESC
  1854. }
  1855. type TrainingPreviousValues {
  1856. id: ID!
  1857. title: String!
  1858. createdAt: DateTime!
  1859. trainingDate: DateTime
  1860. location: String
  1861. attendance: Int
  1862. published: Boolean!
  1863. }
  1864. type TrainingSubscriptionPayload {
  1865. mutation: MutationType!
  1866. node: Training
  1867. updatedFields: [String!]
  1868. previousValues: TrainingPreviousValues
  1869. }
  1870. input TrainingSubscriptionWhereInput {
  1871. mutation_in: [MutationType!]
  1872. updatedFields_contains: String
  1873. updatedFields_contains_every: [String!]
  1874. updatedFields_contains_some: [String!]
  1875. node: TrainingWhereInput
  1876. AND: [TrainingSubscriptionWhereInput!]
  1877. OR: [TrainingSubscriptionWhereInput!]
  1878. NOT: [TrainingSubscriptionWhereInput!]
  1879. }
  1880. type TrainingType {
  1881. id: ID!
  1882. name: String!
  1883. description: String!
  1884. }
  1885. type TrainingTypeConnection {
  1886. pageInfo: PageInfo!
  1887. edges: [TrainingTypeEdge]!
  1888. aggregate: AggregateTrainingType!
  1889. }
  1890. input TrainingTypeCreateInput {
  1891. id: ID
  1892. name: String!
  1893. description: String!
  1894. }
  1895. input TrainingTypeCreateOneInput {
  1896. create: TrainingTypeCreateInput
  1897. connect: TrainingTypeWhereUniqueInput
  1898. }
  1899. type TrainingTypeEdge {
  1900. node: TrainingType!
  1901. cursor: String!
  1902. }
  1903. enum TrainingTypeOrderByInput {
  1904. id_ASC
  1905. id_DESC
  1906. name_ASC
  1907. name_DESC
  1908. description_ASC
  1909. description_DESC
  1910. }
  1911. type TrainingTypePreviousValues {
  1912. id: ID!
  1913. name: String!
  1914. description: String!
  1915. }
  1916. type TrainingTypeSubscriptionPayload {
  1917. mutation: MutationType!
  1918. node: TrainingType
  1919. updatedFields: [String!]
  1920. previousValues: TrainingTypePreviousValues
  1921. }
  1922. input TrainingTypeSubscriptionWhereInput {
  1923. mutation_in: [MutationType!]
  1924. updatedFields_contains: String
  1925. updatedFields_contains_every: [String!]
  1926. updatedFields_contains_some: [String!]
  1927. node: TrainingTypeWhereInput
  1928. AND: [TrainingTypeSubscriptionWhereInput!]
  1929. OR: [TrainingTypeSubscriptionWhereInput!]
  1930. NOT: [TrainingTypeSubscriptionWhereInput!]
  1931. }
  1932. input TrainingTypeUpdateDataInput {
  1933. name: String
  1934. description: String
  1935. }
  1936. input TrainingTypeUpdateInput {
  1937. name: String
  1938. description: String
  1939. }
  1940. input TrainingTypeUpdateManyMutationInput {
  1941. name: String
  1942. description: String
  1943. }
  1944. input TrainingTypeUpdateOneRequiredInput {
  1945. create: TrainingTypeCreateInput
  1946. update: TrainingTypeUpdateDataInput
  1947. upsert: TrainingTypeUpsertNestedInput
  1948. connect: TrainingTypeWhereUniqueInput
  1949. }
  1950. input TrainingTypeUpsertNestedInput {
  1951. update: TrainingTypeUpdateDataInput!
  1952. create: TrainingTypeCreateInput!
  1953. }
  1954. input TrainingTypeWhereInput {
  1955. id: ID
  1956. id_not: ID
  1957. id_in: [ID!]
  1958. id_not_in: [ID!]
  1959. id_lt: ID
  1960. id_lte: ID
  1961. id_gt: ID
  1962. id_gte: ID
  1963. id_contains: ID
  1964. id_not_contains: ID
  1965. id_starts_with: ID
  1966. id_not_starts_with: ID
  1967. id_ends_with: ID
  1968. id_not_ends_with: ID
  1969. name: String
  1970. name_not: String
  1971. name_in: [String!]
  1972. name_not_in: [String!]
  1973. name_lt: String
  1974. name_lte: String
  1975. name_gt: String
  1976. name_gte: String
  1977. name_contains: String
  1978. name_not_contains: String
  1979. name_starts_with: String
  1980. name_not_starts_with: String
  1981. name_ends_with: String
  1982. name_not_ends_with: String
  1983. description: String
  1984. description_not: String
  1985. description_in: [String!]
  1986. description_not_in: [String!]
  1987. description_lt: String
  1988. description_lte: String
  1989. description_gt: String
  1990. description_gte: String
  1991. description_contains: String
  1992. description_not_contains: String
  1993. description_starts_with: String
  1994. description_not_starts_with: String
  1995. description_ends_with: String
  1996. description_not_ends_with: String
  1997. AND: [TrainingTypeWhereInput!]
  1998. OR: [TrainingTypeWhereInput!]
  1999. NOT: [TrainingTypeWhereInput!]
  2000. }
  2001. input TrainingTypeWhereUniqueInput {
  2002. id: ID
  2003. name: String
  2004. }
  2005. input TrainingUpdateInput {
  2006. title: String
  2007. type: TrainingTypeUpdateOneRequiredInput
  2008. trainingDate: DateTime
  2009. location: String
  2010. registrations: UserUpdateManyInput
  2011. attendance: Int
  2012. ratings: RatingUpdateManyInput
  2013. published: Boolean
  2014. blocks: BlockInstanceUpdateManyInput
  2015. }
  2016. input TrainingUpdateManyMutationInput {
  2017. title: String
  2018. trainingDate: DateTime
  2019. location: String
  2020. attendance: Int
  2021. published: Boolean
  2022. }
  2023. input TrainingWhereInput {
  2024. id: ID
  2025. id_not: ID
  2026. id_in: [ID!]
  2027. id_not_in: [ID!]
  2028. id_lt: ID
  2029. id_lte: ID
  2030. id_gt: ID
  2031. id_gte: ID
  2032. id_contains: ID
  2033. id_not_contains: ID
  2034. id_starts_with: ID
  2035. id_not_starts_with: ID
  2036. id_ends_with: ID
  2037. id_not_ends_with: ID
  2038. title: String
  2039. title_not: String
  2040. title_in: [String!]
  2041. title_not_in: [String!]
  2042. title_lt: String
  2043. title_lte: String
  2044. title_gt: String
  2045. title_gte: String
  2046. title_contains: String
  2047. title_not_contains: String
  2048. title_starts_with: String
  2049. title_not_starts_with: String
  2050. title_ends_with: String
  2051. title_not_ends_with: String
  2052. type: TrainingTypeWhereInput
  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. trainingDate: DateTime
  2062. trainingDate_not: DateTime
  2063. trainingDate_in: [DateTime!]
  2064. trainingDate_not_in: [DateTime!]
  2065. trainingDate_lt: DateTime
  2066. trainingDate_lte: DateTime
  2067. trainingDate_gt: DateTime
  2068. trainingDate_gte: DateTime
  2069. location: String
  2070. location_not: String
  2071. location_in: [String!]
  2072. location_not_in: [String!]
  2073. location_lt: String
  2074. location_lte: String
  2075. location_gt: String
  2076. location_gte: String
  2077. location_contains: String
  2078. location_not_contains: String
  2079. location_starts_with: String
  2080. location_not_starts_with: String
  2081. location_ends_with: String
  2082. location_not_ends_with: String
  2083. registrations_every: UserWhereInput
  2084. registrations_some: UserWhereInput
  2085. registrations_none: UserWhereInput
  2086. attendance: Int
  2087. attendance_not: Int
  2088. attendance_in: [Int!]
  2089. attendance_not_in: [Int!]
  2090. attendance_lt: Int
  2091. attendance_lte: Int
  2092. attendance_gt: Int
  2093. attendance_gte: Int
  2094. ratings_every: RatingWhereInput
  2095. ratings_some: RatingWhereInput
  2096. ratings_none: RatingWhereInput
  2097. published: Boolean
  2098. published_not: Boolean
  2099. blocks_every: BlockInstanceWhereInput
  2100. blocks_some: BlockInstanceWhereInput
  2101. blocks_none: BlockInstanceWhereInput
  2102. AND: [TrainingWhereInput!]
  2103. OR: [TrainingWhereInput!]
  2104. NOT: [TrainingWhereInput!]
  2105. }
  2106. input TrainingWhereUniqueInput {
  2107. id: ID
  2108. }
  2109. type User {
  2110. id: ID!
  2111. email: String!
  2112. name: String!
  2113. password: String!
  2114. resetToken: String
  2115. resetTokenExpiry: Float
  2116. createdAt: DateTime!
  2117. comments(where: CommentWhereInput, orderBy: CommentOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Comment!]
  2118. ratings(where: RatingWhereInput, orderBy: RatingOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Rating!]
  2119. permissions: [Permission!]!
  2120. interests: [String!]!
  2121. }
  2122. type UserConnection {
  2123. pageInfo: PageInfo!
  2124. edges: [UserEdge]!
  2125. aggregate: AggregateUser!
  2126. }
  2127. input UserCreateInput {
  2128. id: ID
  2129. email: String!
  2130. name: String!
  2131. password: String!
  2132. resetToken: String
  2133. resetTokenExpiry: Float
  2134. comments: CommentCreateManyWithoutAuthorInput
  2135. ratings: RatingCreateManyWithoutUserInput
  2136. permissions: UserCreatepermissionsInput
  2137. interests: UserCreateinterestsInput
  2138. }
  2139. input UserCreateinterestsInput {
  2140. set: [String!]
  2141. }
  2142. input UserCreateManyInput {
  2143. create: [UserCreateInput!]
  2144. connect: [UserWhereUniqueInput!]
  2145. }
  2146. input UserCreateOneWithoutCommentsInput {
  2147. create: UserCreateWithoutCommentsInput
  2148. connect: UserWhereUniqueInput
  2149. }
  2150. input UserCreateOneWithoutRatingsInput {
  2151. create: UserCreateWithoutRatingsInput
  2152. connect: UserWhereUniqueInput
  2153. }
  2154. input UserCreatepermissionsInput {
  2155. set: [Permission!]
  2156. }
  2157. input UserCreateWithoutCommentsInput {
  2158. id: ID
  2159. email: String!
  2160. name: String!
  2161. password: String!
  2162. resetToken: String
  2163. resetTokenExpiry: Float
  2164. ratings: RatingCreateManyWithoutUserInput
  2165. permissions: UserCreatepermissionsInput
  2166. interests: UserCreateinterestsInput
  2167. }
  2168. input UserCreateWithoutRatingsInput {
  2169. id: ID
  2170. email: String!
  2171. name: String!
  2172. password: String!
  2173. resetToken: String
  2174. resetTokenExpiry: Float
  2175. comments: CommentCreateManyWithoutAuthorInput
  2176. permissions: UserCreatepermissionsInput
  2177. interests: UserCreateinterestsInput
  2178. }
  2179. type UserEdge {
  2180. node: User!
  2181. cursor: String!
  2182. }
  2183. enum UserOrderByInput {
  2184. id_ASC
  2185. id_DESC
  2186. email_ASC
  2187. email_DESC
  2188. name_ASC
  2189. name_DESC
  2190. password_ASC
  2191. password_DESC
  2192. resetToken_ASC
  2193. resetToken_DESC
  2194. resetTokenExpiry_ASC
  2195. resetTokenExpiry_DESC
  2196. createdAt_ASC
  2197. createdAt_DESC
  2198. }
  2199. type UserPreviousValues {
  2200. id: ID!
  2201. email: String!
  2202. name: String!
  2203. password: String!
  2204. resetToken: String
  2205. resetTokenExpiry: Float
  2206. createdAt: DateTime!
  2207. permissions: [Permission!]!
  2208. interests: [String!]!
  2209. }
  2210. input UserScalarWhereInput {
  2211. id: ID
  2212. id_not: ID
  2213. id_in: [ID!]
  2214. id_not_in: [ID!]
  2215. id_lt: ID
  2216. id_lte: ID
  2217. id_gt: ID
  2218. id_gte: ID
  2219. id_contains: ID
  2220. id_not_contains: ID
  2221. id_starts_with: ID
  2222. id_not_starts_with: ID
  2223. id_ends_with: ID
  2224. id_not_ends_with: ID
  2225. email: String
  2226. email_not: String
  2227. email_in: [String!]
  2228. email_not_in: [String!]
  2229. email_lt: String
  2230. email_lte: String
  2231. email_gt: String
  2232. email_gte: String
  2233. email_contains: String
  2234. email_not_contains: String
  2235. email_starts_with: String
  2236. email_not_starts_with: String
  2237. email_ends_with: String
  2238. email_not_ends_with: String
  2239. name: String
  2240. name_not: String
  2241. name_in: [String!]
  2242. name_not_in: [String!]
  2243. name_lt: String
  2244. name_lte: String
  2245. name_gt: String
  2246. name_gte: String
  2247. name_contains: String
  2248. name_not_contains: String
  2249. name_starts_with: String
  2250. name_not_starts_with: String
  2251. name_ends_with: String
  2252. name_not_ends_with: String
  2253. password: String
  2254. password_not: String
  2255. password_in: [String!]
  2256. password_not_in: [String!]
  2257. password_lt: String
  2258. password_lte: String
  2259. password_gt: String
  2260. password_gte: String
  2261. password_contains: String
  2262. password_not_contains: String
  2263. password_starts_with: String
  2264. password_not_starts_with: String
  2265. password_ends_with: String
  2266. password_not_ends_with: String
  2267. resetToken: String
  2268. resetToken_not: String
  2269. resetToken_in: [String!]
  2270. resetToken_not_in: [String!]
  2271. resetToken_lt: String
  2272. resetToken_lte: String
  2273. resetToken_gt: String
  2274. resetToken_gte: String
  2275. resetToken_contains: String
  2276. resetToken_not_contains: String
  2277. resetToken_starts_with: String
  2278. resetToken_not_starts_with: String
  2279. resetToken_ends_with: String
  2280. resetToken_not_ends_with: String
  2281. resetTokenExpiry: Float
  2282. resetTokenExpiry_not: Float
  2283. resetTokenExpiry_in: [Float!]
  2284. resetTokenExpiry_not_in: [Float!]
  2285. resetTokenExpiry_lt: Float
  2286. resetTokenExpiry_lte: Float
  2287. resetTokenExpiry_gt: Float
  2288. resetTokenExpiry_gte: Float
  2289. createdAt: DateTime
  2290. createdAt_not: DateTime
  2291. createdAt_in: [DateTime!]
  2292. createdAt_not_in: [DateTime!]
  2293. createdAt_lt: DateTime
  2294. createdAt_lte: DateTime
  2295. createdAt_gt: DateTime
  2296. createdAt_gte: DateTime
  2297. AND: [UserScalarWhereInput!]
  2298. OR: [UserScalarWhereInput!]
  2299. NOT: [UserScalarWhereInput!]
  2300. }
  2301. type UserSubscriptionPayload {
  2302. mutation: MutationType!
  2303. node: User
  2304. updatedFields: [String!]
  2305. previousValues: UserPreviousValues
  2306. }
  2307. input UserSubscriptionWhereInput {
  2308. mutation_in: [MutationType!]
  2309. updatedFields_contains: String
  2310. updatedFields_contains_every: [String!]
  2311. updatedFields_contains_some: [String!]
  2312. node: UserWhereInput
  2313. AND: [UserSubscriptionWhereInput!]
  2314. OR: [UserSubscriptionWhereInput!]
  2315. NOT: [UserSubscriptionWhereInput!]
  2316. }
  2317. input UserUpdateDataInput {
  2318. email: String
  2319. name: String
  2320. password: String
  2321. resetToken: String
  2322. resetTokenExpiry: Float
  2323. comments: CommentUpdateManyWithoutAuthorInput
  2324. ratings: RatingUpdateManyWithoutUserInput
  2325. permissions: UserUpdatepermissionsInput
  2326. interests: UserUpdateinterestsInput
  2327. }
  2328. input UserUpdateInput {
  2329. email: String
  2330. name: String
  2331. password: String
  2332. resetToken: String
  2333. resetTokenExpiry: Float
  2334. comments: CommentUpdateManyWithoutAuthorInput
  2335. ratings: RatingUpdateManyWithoutUserInput
  2336. permissions: UserUpdatepermissionsInput
  2337. interests: UserUpdateinterestsInput
  2338. }
  2339. input UserUpdateinterestsInput {
  2340. set: [String!]
  2341. }
  2342. input UserUpdateManyDataInput {
  2343. email: String
  2344. name: String
  2345. password: String
  2346. resetToken: String
  2347. resetTokenExpiry: Float
  2348. permissions: UserUpdatepermissionsInput
  2349. interests: UserUpdateinterestsInput
  2350. }
  2351. input UserUpdateManyInput {
  2352. create: [UserCreateInput!]
  2353. update: [UserUpdateWithWhereUniqueNestedInput!]
  2354. upsert: [UserUpsertWithWhereUniqueNestedInput!]
  2355. delete: [UserWhereUniqueInput!]
  2356. connect: [UserWhereUniqueInput!]
  2357. set: [UserWhereUniqueInput!]
  2358. disconnect: [UserWhereUniqueInput!]
  2359. deleteMany: [UserScalarWhereInput!]
  2360. updateMany: [UserUpdateManyWithWhereNestedInput!]
  2361. }
  2362. input UserUpdateManyMutationInput {
  2363. email: String
  2364. name: String
  2365. password: String
  2366. resetToken: String
  2367. resetTokenExpiry: Float
  2368. permissions: UserUpdatepermissionsInput
  2369. interests: UserUpdateinterestsInput
  2370. }
  2371. input UserUpdateManyWithWhereNestedInput {
  2372. where: UserScalarWhereInput!
  2373. data: UserUpdateManyDataInput!
  2374. }
  2375. input UserUpdateOneRequiredWithoutCommentsInput {
  2376. create: UserCreateWithoutCommentsInput
  2377. update: UserUpdateWithoutCommentsDataInput
  2378. upsert: UserUpsertWithoutCommentsInput
  2379. connect: UserWhereUniqueInput
  2380. }
  2381. input UserUpdateOneRequiredWithoutRatingsInput {
  2382. create: UserCreateWithoutRatingsInput
  2383. update: UserUpdateWithoutRatingsDataInput
  2384. upsert: UserUpsertWithoutRatingsInput
  2385. connect: UserWhereUniqueInput
  2386. }
  2387. input UserUpdatepermissionsInput {
  2388. set: [Permission!]
  2389. }
  2390. input UserUpdateWithoutCommentsDataInput {
  2391. email: String
  2392. name: String
  2393. password: String
  2394. resetToken: String
  2395. resetTokenExpiry: Float
  2396. ratings: RatingUpdateManyWithoutUserInput
  2397. permissions: UserUpdatepermissionsInput
  2398. interests: UserUpdateinterestsInput
  2399. }
  2400. input UserUpdateWithoutRatingsDataInput {
  2401. email: String
  2402. name: String
  2403. password: String
  2404. resetToken: String
  2405. resetTokenExpiry: Float
  2406. comments: CommentUpdateManyWithoutAuthorInput
  2407. permissions: UserUpdatepermissionsInput
  2408. interests: UserUpdateinterestsInput
  2409. }
  2410. input UserUpdateWithWhereUniqueNestedInput {
  2411. where: UserWhereUniqueInput!
  2412. data: UserUpdateDataInput!
  2413. }
  2414. input UserUpsertWithoutCommentsInput {
  2415. update: UserUpdateWithoutCommentsDataInput!
  2416. create: UserCreateWithoutCommentsInput!
  2417. }
  2418. input UserUpsertWithoutRatingsInput {
  2419. update: UserUpdateWithoutRatingsDataInput!
  2420. create: UserCreateWithoutRatingsInput!
  2421. }
  2422. input UserUpsertWithWhereUniqueNestedInput {
  2423. where: UserWhereUniqueInput!
  2424. update: UserUpdateDataInput!
  2425. create: UserCreateInput!
  2426. }
  2427. input UserWhereInput {
  2428. id: ID
  2429. id_not: ID
  2430. id_in: [ID!]
  2431. id_not_in: [ID!]
  2432. id_lt: ID
  2433. id_lte: ID
  2434. id_gt: ID
  2435. id_gte: ID
  2436. id_contains: ID
  2437. id_not_contains: ID
  2438. id_starts_with: ID
  2439. id_not_starts_with: ID
  2440. id_ends_with: ID
  2441. id_not_ends_with: ID
  2442. email: String
  2443. email_not: String
  2444. email_in: [String!]
  2445. email_not_in: [String!]
  2446. email_lt: String
  2447. email_lte: String
  2448. email_gt: String
  2449. email_gte: String
  2450. email_contains: String
  2451. email_not_contains: String
  2452. email_starts_with: String
  2453. email_not_starts_with: String
  2454. email_ends_with: String
  2455. email_not_ends_with: String
  2456. name: String
  2457. name_not: String
  2458. name_in: [String!]
  2459. name_not_in: [String!]
  2460. name_lt: String
  2461. name_lte: String
  2462. name_gt: String
  2463. name_gte: String
  2464. name_contains: String
  2465. name_not_contains: String
  2466. name_starts_with: String
  2467. name_not_starts_with: String
  2468. name_ends_with: String
  2469. name_not_ends_with: String
  2470. password: String
  2471. password_not: String
  2472. password_in: [String!]
  2473. password_not_in: [String!]
  2474. password_lt: String
  2475. password_lte: String
  2476. password_gt: String
  2477. password_gte: String
  2478. password_contains: String
  2479. password_not_contains: String
  2480. password_starts_with: String
  2481. password_not_starts_with: String
  2482. password_ends_with: String
  2483. password_not_ends_with: String
  2484. resetToken: String
  2485. resetToken_not: String
  2486. resetToken_in: [String!]
  2487. resetToken_not_in: [String!]
  2488. resetToken_lt: String
  2489. resetToken_lte: String
  2490. resetToken_gt: String
  2491. resetToken_gte: String
  2492. resetToken_contains: String
  2493. resetToken_not_contains: String
  2494. resetToken_starts_with: String
  2495. resetToken_not_starts_with: String
  2496. resetToken_ends_with: String
  2497. resetToken_not_ends_with: String
  2498. resetTokenExpiry: Float
  2499. resetTokenExpiry_not: Float
  2500. resetTokenExpiry_in: [Float!]
  2501. resetTokenExpiry_not_in: [Float!]
  2502. resetTokenExpiry_lt: Float
  2503. resetTokenExpiry_lte: Float
  2504. resetTokenExpiry_gt: Float
  2505. resetTokenExpiry_gte: Float
  2506. createdAt: DateTime
  2507. createdAt_not: DateTime
  2508. createdAt_in: [DateTime!]
  2509. createdAt_not_in: [DateTime!]
  2510. createdAt_lt: DateTime
  2511. createdAt_lte: DateTime
  2512. createdAt_gt: DateTime
  2513. createdAt_gte: DateTime
  2514. comments_every: CommentWhereInput
  2515. comments_some: CommentWhereInput
  2516. comments_none: CommentWhereInput
  2517. ratings_every: RatingWhereInput
  2518. ratings_some: RatingWhereInput
  2519. ratings_none: RatingWhereInput
  2520. AND: [UserWhereInput!]
  2521. OR: [UserWhereInput!]
  2522. NOT: [UserWhereInput!]
  2523. }
  2524. input UserWhereUniqueInput {
  2525. id: ID
  2526. email: String
  2527. }
  2528. `