prisma-schema.js 60 KB

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