prisma-schema.js 53 KB

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