prisma-schema.js 60 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531
  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. name: String
  1845. }
  1846. input TrainingUpdateInput {
  1847. title: String
  1848. type: TrainingTypeUpdateOneRequiredInput
  1849. content: BlockUpdateManyInput
  1850. trainingDate: DateTime
  1851. location: String
  1852. registration: UserUpdateManyInput
  1853. attendance: Int
  1854. ratings: RatingUpdateManyInput
  1855. published: Boolean
  1856. }
  1857. input TrainingUpdateManyMutationInput {
  1858. title: String
  1859. trainingDate: DateTime
  1860. location: String
  1861. attendance: Int
  1862. published: Boolean
  1863. }
  1864. input TrainingWhereInput {
  1865. id: ID
  1866. id_not: ID
  1867. id_in: [ID!]
  1868. id_not_in: [ID!]
  1869. id_lt: ID
  1870. id_lte: ID
  1871. id_gt: ID
  1872. id_gte: ID
  1873. id_contains: ID
  1874. id_not_contains: ID
  1875. id_starts_with: ID
  1876. id_not_starts_with: ID
  1877. id_ends_with: ID
  1878. id_not_ends_with: ID
  1879. title: String
  1880. title_not: String
  1881. title_in: [String!]
  1882. title_not_in: [String!]
  1883. title_lt: String
  1884. title_lte: String
  1885. title_gt: String
  1886. title_gte: String
  1887. title_contains: String
  1888. title_not_contains: String
  1889. title_starts_with: String
  1890. title_not_starts_with: String
  1891. title_ends_with: String
  1892. title_not_ends_with: String
  1893. type: TrainingTypeWhereInput
  1894. content_every: BlockWhereInput
  1895. content_some: BlockWhereInput
  1896. content_none: BlockWhereInput
  1897. createdAt: DateTime
  1898. createdAt_not: DateTime
  1899. createdAt_in: [DateTime!]
  1900. createdAt_not_in: [DateTime!]
  1901. createdAt_lt: DateTime
  1902. createdAt_lte: DateTime
  1903. createdAt_gt: DateTime
  1904. createdAt_gte: DateTime
  1905. trainingDate: DateTime
  1906. trainingDate_not: DateTime
  1907. trainingDate_in: [DateTime!]
  1908. trainingDate_not_in: [DateTime!]
  1909. trainingDate_lt: DateTime
  1910. trainingDate_lte: DateTime
  1911. trainingDate_gt: DateTime
  1912. trainingDate_gte: DateTime
  1913. location: String
  1914. location_not: String
  1915. location_in: [String!]
  1916. location_not_in: [String!]
  1917. location_lt: String
  1918. location_lte: String
  1919. location_gt: String
  1920. location_gte: String
  1921. location_contains: String
  1922. location_not_contains: String
  1923. location_starts_with: String
  1924. location_not_starts_with: String
  1925. location_ends_with: String
  1926. location_not_ends_with: String
  1927. registration_every: UserWhereInput
  1928. registration_some: UserWhereInput
  1929. registration_none: UserWhereInput
  1930. attendance: Int
  1931. attendance_not: Int
  1932. attendance_in: [Int!]
  1933. attendance_not_in: [Int!]
  1934. attendance_lt: Int
  1935. attendance_lte: Int
  1936. attendance_gt: Int
  1937. attendance_gte: Int
  1938. ratings_every: RatingWhereInput
  1939. ratings_some: RatingWhereInput
  1940. ratings_none: RatingWhereInput
  1941. published: Boolean
  1942. published_not: Boolean
  1943. AND: [TrainingWhereInput!]
  1944. OR: [TrainingWhereInput!]
  1945. NOT: [TrainingWhereInput!]
  1946. }
  1947. input TrainingWhereUniqueInput {
  1948. id: ID
  1949. }
  1950. type User {
  1951. id: ID!
  1952. email: String!
  1953. name: String!
  1954. password: String!
  1955. createdAt: DateTime!
  1956. comments(where: CommentWhereInput, orderBy: CommentOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Comment!]
  1957. ratings(where: RatingWhereInput, orderBy: RatingOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Rating!]
  1958. permissions: [Permission!]!
  1959. interests: [String!]!
  1960. }
  1961. type UserConnection {
  1962. pageInfo: PageInfo!
  1963. edges: [UserEdge]!
  1964. aggregate: AggregateUser!
  1965. }
  1966. input UserCreateInput {
  1967. id: ID
  1968. email: String!
  1969. name: String!
  1970. password: String!
  1971. comments: CommentCreateManyWithoutAuthorInput
  1972. ratings: RatingCreateManyWithoutUserInput
  1973. permissions: UserCreatepermissionsInput
  1974. interests: UserCreateinterestsInput
  1975. }
  1976. input UserCreateinterestsInput {
  1977. set: [String!]
  1978. }
  1979. input UserCreateManyInput {
  1980. create: [UserCreateInput!]
  1981. connect: [UserWhereUniqueInput!]
  1982. }
  1983. input UserCreateOneWithoutCommentsInput {
  1984. create: UserCreateWithoutCommentsInput
  1985. connect: UserWhereUniqueInput
  1986. }
  1987. input UserCreateOneWithoutRatingsInput {
  1988. create: UserCreateWithoutRatingsInput
  1989. connect: UserWhereUniqueInput
  1990. }
  1991. input UserCreatepermissionsInput {
  1992. set: [Permission!]
  1993. }
  1994. input UserCreateWithoutCommentsInput {
  1995. id: ID
  1996. email: String!
  1997. name: String!
  1998. password: String!
  1999. ratings: RatingCreateManyWithoutUserInput
  2000. permissions: UserCreatepermissionsInput
  2001. interests: UserCreateinterestsInput
  2002. }
  2003. input UserCreateWithoutRatingsInput {
  2004. id: ID
  2005. email: String!
  2006. name: String!
  2007. password: String!
  2008. comments: CommentCreateManyWithoutAuthorInput
  2009. permissions: UserCreatepermissionsInput
  2010. interests: UserCreateinterestsInput
  2011. }
  2012. type UserEdge {
  2013. node: User!
  2014. cursor: String!
  2015. }
  2016. enum UserOrderByInput {
  2017. id_ASC
  2018. id_DESC
  2019. email_ASC
  2020. email_DESC
  2021. name_ASC
  2022. name_DESC
  2023. password_ASC
  2024. password_DESC
  2025. createdAt_ASC
  2026. createdAt_DESC
  2027. }
  2028. type UserPreviousValues {
  2029. id: ID!
  2030. email: String!
  2031. name: String!
  2032. password: String!
  2033. createdAt: DateTime!
  2034. permissions: [Permission!]!
  2035. interests: [String!]!
  2036. }
  2037. input UserScalarWhereInput {
  2038. id: ID
  2039. id_not: ID
  2040. id_in: [ID!]
  2041. id_not_in: [ID!]
  2042. id_lt: ID
  2043. id_lte: ID
  2044. id_gt: ID
  2045. id_gte: ID
  2046. id_contains: ID
  2047. id_not_contains: ID
  2048. id_starts_with: ID
  2049. id_not_starts_with: ID
  2050. id_ends_with: ID
  2051. id_not_ends_with: ID
  2052. email: String
  2053. email_not: String
  2054. email_in: [String!]
  2055. email_not_in: [String!]
  2056. email_lt: String
  2057. email_lte: String
  2058. email_gt: String
  2059. email_gte: String
  2060. email_contains: String
  2061. email_not_contains: String
  2062. email_starts_with: String
  2063. email_not_starts_with: String
  2064. email_ends_with: String
  2065. email_not_ends_with: String
  2066. name: String
  2067. name_not: String
  2068. name_in: [String!]
  2069. name_not_in: [String!]
  2070. name_lt: String
  2071. name_lte: String
  2072. name_gt: String
  2073. name_gte: String
  2074. name_contains: String
  2075. name_not_contains: String
  2076. name_starts_with: String
  2077. name_not_starts_with: String
  2078. name_ends_with: String
  2079. name_not_ends_with: String
  2080. password: String
  2081. password_not: String
  2082. password_in: [String!]
  2083. password_not_in: [String!]
  2084. password_lt: String
  2085. password_lte: String
  2086. password_gt: String
  2087. password_gte: String
  2088. password_contains: String
  2089. password_not_contains: String
  2090. password_starts_with: String
  2091. password_not_starts_with: String
  2092. password_ends_with: String
  2093. password_not_ends_with: String
  2094. createdAt: DateTime
  2095. createdAt_not: DateTime
  2096. createdAt_in: [DateTime!]
  2097. createdAt_not_in: [DateTime!]
  2098. createdAt_lt: DateTime
  2099. createdAt_lte: DateTime
  2100. createdAt_gt: DateTime
  2101. createdAt_gte: DateTime
  2102. AND: [UserScalarWhereInput!]
  2103. OR: [UserScalarWhereInput!]
  2104. NOT: [UserScalarWhereInput!]
  2105. }
  2106. type UserSubscriptionPayload {
  2107. mutation: MutationType!
  2108. node: User
  2109. updatedFields: [String!]
  2110. previousValues: UserPreviousValues
  2111. }
  2112. input UserSubscriptionWhereInput {
  2113. mutation_in: [MutationType!]
  2114. updatedFields_contains: String
  2115. updatedFields_contains_every: [String!]
  2116. updatedFields_contains_some: [String!]
  2117. node: UserWhereInput
  2118. AND: [UserSubscriptionWhereInput!]
  2119. OR: [UserSubscriptionWhereInput!]
  2120. NOT: [UserSubscriptionWhereInput!]
  2121. }
  2122. input UserUpdateDataInput {
  2123. email: String
  2124. name: String
  2125. password: String
  2126. comments: CommentUpdateManyWithoutAuthorInput
  2127. ratings: RatingUpdateManyWithoutUserInput
  2128. permissions: UserUpdatepermissionsInput
  2129. interests: UserUpdateinterestsInput
  2130. }
  2131. input UserUpdateInput {
  2132. email: String
  2133. name: String
  2134. password: String
  2135. comments: CommentUpdateManyWithoutAuthorInput
  2136. ratings: RatingUpdateManyWithoutUserInput
  2137. permissions: UserUpdatepermissionsInput
  2138. interests: UserUpdateinterestsInput
  2139. }
  2140. input UserUpdateinterestsInput {
  2141. set: [String!]
  2142. }
  2143. input UserUpdateManyDataInput {
  2144. email: String
  2145. name: String
  2146. password: String
  2147. permissions: UserUpdatepermissionsInput
  2148. interests: UserUpdateinterestsInput
  2149. }
  2150. input UserUpdateManyInput {
  2151. create: [UserCreateInput!]
  2152. update: [UserUpdateWithWhereUniqueNestedInput!]
  2153. upsert: [UserUpsertWithWhereUniqueNestedInput!]
  2154. delete: [UserWhereUniqueInput!]
  2155. connect: [UserWhereUniqueInput!]
  2156. set: [UserWhereUniqueInput!]
  2157. disconnect: [UserWhereUniqueInput!]
  2158. deleteMany: [UserScalarWhereInput!]
  2159. updateMany: [UserUpdateManyWithWhereNestedInput!]
  2160. }
  2161. input UserUpdateManyMutationInput {
  2162. email: String
  2163. name: String
  2164. password: String
  2165. permissions: UserUpdatepermissionsInput
  2166. interests: UserUpdateinterestsInput
  2167. }
  2168. input UserUpdateManyWithWhereNestedInput {
  2169. where: UserScalarWhereInput!
  2170. data: UserUpdateManyDataInput!
  2171. }
  2172. input UserUpdateOneRequiredWithoutCommentsInput {
  2173. create: UserCreateWithoutCommentsInput
  2174. update: UserUpdateWithoutCommentsDataInput
  2175. upsert: UserUpsertWithoutCommentsInput
  2176. connect: UserWhereUniqueInput
  2177. }
  2178. input UserUpdateOneRequiredWithoutRatingsInput {
  2179. create: UserCreateWithoutRatingsInput
  2180. update: UserUpdateWithoutRatingsDataInput
  2181. upsert: UserUpsertWithoutRatingsInput
  2182. connect: UserWhereUniqueInput
  2183. }
  2184. input UserUpdatepermissionsInput {
  2185. set: [Permission!]
  2186. }
  2187. input UserUpdateWithoutCommentsDataInput {
  2188. email: String
  2189. name: String
  2190. password: String
  2191. ratings: RatingUpdateManyWithoutUserInput
  2192. permissions: UserUpdatepermissionsInput
  2193. interests: UserUpdateinterestsInput
  2194. }
  2195. input UserUpdateWithoutRatingsDataInput {
  2196. email: String
  2197. name: String
  2198. password: String
  2199. comments: CommentUpdateManyWithoutAuthorInput
  2200. permissions: UserUpdatepermissionsInput
  2201. interests: UserUpdateinterestsInput
  2202. }
  2203. input UserUpdateWithWhereUniqueNestedInput {
  2204. where: UserWhereUniqueInput!
  2205. data: UserUpdateDataInput!
  2206. }
  2207. input UserUpsertWithoutCommentsInput {
  2208. update: UserUpdateWithoutCommentsDataInput!
  2209. create: UserCreateWithoutCommentsInput!
  2210. }
  2211. input UserUpsertWithoutRatingsInput {
  2212. update: UserUpdateWithoutRatingsDataInput!
  2213. create: UserCreateWithoutRatingsInput!
  2214. }
  2215. input UserUpsertWithWhereUniqueNestedInput {
  2216. where: UserWhereUniqueInput!
  2217. update: UserUpdateDataInput!
  2218. create: UserCreateInput!
  2219. }
  2220. input UserWhereInput {
  2221. id: ID
  2222. id_not: ID
  2223. id_in: [ID!]
  2224. id_not_in: [ID!]
  2225. id_lt: ID
  2226. id_lte: ID
  2227. id_gt: ID
  2228. id_gte: ID
  2229. id_contains: ID
  2230. id_not_contains: ID
  2231. id_starts_with: ID
  2232. id_not_starts_with: ID
  2233. id_ends_with: ID
  2234. id_not_ends_with: ID
  2235. email: String
  2236. email_not: String
  2237. email_in: [String!]
  2238. email_not_in: [String!]
  2239. email_lt: String
  2240. email_lte: String
  2241. email_gt: String
  2242. email_gte: String
  2243. email_contains: String
  2244. email_not_contains: String
  2245. email_starts_with: String
  2246. email_not_starts_with: String
  2247. email_ends_with: String
  2248. email_not_ends_with: String
  2249. name: String
  2250. name_not: String
  2251. name_in: [String!]
  2252. name_not_in: [String!]
  2253. name_lt: String
  2254. name_lte: String
  2255. name_gt: String
  2256. name_gte: String
  2257. name_contains: String
  2258. name_not_contains: String
  2259. name_starts_with: String
  2260. name_not_starts_with: String
  2261. name_ends_with: String
  2262. name_not_ends_with: String
  2263. password: String
  2264. password_not: String
  2265. password_in: [String!]
  2266. password_not_in: [String!]
  2267. password_lt: String
  2268. password_lte: String
  2269. password_gt: String
  2270. password_gte: String
  2271. password_contains: String
  2272. password_not_contains: String
  2273. password_starts_with: String
  2274. password_not_starts_with: String
  2275. password_ends_with: String
  2276. password_not_ends_with: String
  2277. createdAt: DateTime
  2278. createdAt_not: DateTime
  2279. createdAt_in: [DateTime!]
  2280. createdAt_not_in: [DateTime!]
  2281. createdAt_lt: DateTime
  2282. createdAt_lte: DateTime
  2283. createdAt_gt: DateTime
  2284. createdAt_gte: DateTime
  2285. comments_every: CommentWhereInput
  2286. comments_some: CommentWhereInput
  2287. comments_none: CommentWhereInput
  2288. ratings_every: RatingWhereInput
  2289. ratings_some: RatingWhereInput
  2290. ratings_none: RatingWhereInput
  2291. AND: [UserWhereInput!]
  2292. OR: [UserWhereInput!]
  2293. NOT: [UserWhereInput!]
  2294. }
  2295. input UserWhereUniqueInput {
  2296. id: ID
  2297. email: String
  2298. }
  2299. `
  2300. }