prisma-schema.js 62 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600
  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. }
  1114. type Query {
  1115. baseExercise(where: BaseExerciseWhereUniqueInput!): BaseExercise
  1116. baseExercises(where: BaseExerciseWhereInput, orderBy: BaseExerciseOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [BaseExercise]!
  1117. baseExercisesConnection(where: BaseExerciseWhereInput, orderBy: BaseExerciseOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): BaseExerciseConnection!
  1118. block(where: BlockWhereUniqueInput!): Block
  1119. blocks(where: BlockWhereInput, orderBy: BlockOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Block]!
  1120. blocksConnection(where: BlockWhereInput, orderBy: BlockOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): BlockConnection!
  1121. comment(where: CommentWhereUniqueInput!): Comment
  1122. comments(where: CommentWhereInput, orderBy: CommentOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Comment]!
  1123. commentsConnection(where: CommentWhereInput, orderBy: CommentOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): CommentConnection!
  1124. exercise(where: ExerciseWhereUniqueInput!): Exercise
  1125. exercises(where: ExerciseWhereInput, orderBy: ExerciseOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Exercise]!
  1126. exercisesConnection(where: ExerciseWhereInput, orderBy: ExerciseOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): ExerciseConnection!
  1127. format(where: FormatWhereUniqueInput!): Format
  1128. formats(where: FormatWhereInput, orderBy: FormatOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Format]!
  1129. formatsConnection(where: FormatWhereInput, orderBy: FormatOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): FormatConnection!
  1130. rating(where: RatingWhereUniqueInput!): Rating
  1131. ratings(where: RatingWhereInput, orderBy: RatingOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Rating]!
  1132. ratingsConnection(where: RatingWhereInput, orderBy: RatingOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): RatingConnection!
  1133. track(where: TrackWhereUniqueInput!): Track
  1134. tracks(where: TrackWhereInput, orderBy: TrackOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Track]!
  1135. tracksConnection(where: TrackWhereInput, orderBy: TrackOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): TrackConnection!
  1136. training(where: TrainingWhereUniqueInput!): Training
  1137. trainings(where: TrainingWhereInput, orderBy: TrainingOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Training]!
  1138. trainingsConnection(where: TrainingWhereInput, orderBy: TrainingOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): TrainingConnection!
  1139. trainingType(where: TrainingTypeWhereUniqueInput!): TrainingType
  1140. trainingTypes(where: TrainingTypeWhereInput, orderBy: TrainingTypeOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [TrainingType]!
  1141. trainingTypesConnection(where: TrainingTypeWhereInput, orderBy: TrainingTypeOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): TrainingTypeConnection!
  1142. user(where: UserWhereUniqueInput!): User
  1143. users(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [User]!
  1144. usersConnection(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): UserConnection!
  1145. node(id: ID!): Node
  1146. }
  1147. type Rating {
  1148. id: ID!
  1149. user: User!
  1150. value: Int!
  1151. comment: String!
  1152. createdAt: DateTime!
  1153. }
  1154. type RatingConnection {
  1155. pageInfo: PageInfo!
  1156. edges: [RatingEdge]!
  1157. aggregate: AggregateRating!
  1158. }
  1159. input RatingCreateInput {
  1160. id: ID
  1161. user: UserCreateOneWithoutRatingsInput!
  1162. value: Int!
  1163. comment: String!
  1164. }
  1165. input RatingCreateManyInput {
  1166. create: [RatingCreateInput!]
  1167. connect: [RatingWhereUniqueInput!]
  1168. }
  1169. input RatingCreateManyWithoutUserInput {
  1170. create: [RatingCreateWithoutUserInput!]
  1171. connect: [RatingWhereUniqueInput!]
  1172. }
  1173. input RatingCreateWithoutUserInput {
  1174. id: ID
  1175. value: Int!
  1176. comment: String!
  1177. }
  1178. type RatingEdge {
  1179. node: Rating!
  1180. cursor: String!
  1181. }
  1182. enum RatingOrderByInput {
  1183. id_ASC
  1184. id_DESC
  1185. value_ASC
  1186. value_DESC
  1187. comment_ASC
  1188. comment_DESC
  1189. createdAt_ASC
  1190. createdAt_DESC
  1191. }
  1192. type RatingPreviousValues {
  1193. id: ID!
  1194. value: Int!
  1195. comment: String!
  1196. createdAt: DateTime!
  1197. }
  1198. input RatingScalarWhereInput {
  1199. id: ID
  1200. id_not: ID
  1201. id_in: [ID!]
  1202. id_not_in: [ID!]
  1203. id_lt: ID
  1204. id_lte: ID
  1205. id_gt: ID
  1206. id_gte: ID
  1207. id_contains: ID
  1208. id_not_contains: ID
  1209. id_starts_with: ID
  1210. id_not_starts_with: ID
  1211. id_ends_with: ID
  1212. id_not_ends_with: ID
  1213. value: Int
  1214. value_not: Int
  1215. value_in: [Int!]
  1216. value_not_in: [Int!]
  1217. value_lt: Int
  1218. value_lte: Int
  1219. value_gt: Int
  1220. value_gte: Int
  1221. comment: String
  1222. comment_not: String
  1223. comment_in: [String!]
  1224. comment_not_in: [String!]
  1225. comment_lt: String
  1226. comment_lte: String
  1227. comment_gt: String
  1228. comment_gte: String
  1229. comment_contains: String
  1230. comment_not_contains: String
  1231. comment_starts_with: String
  1232. comment_not_starts_with: String
  1233. comment_ends_with: String
  1234. comment_not_ends_with: String
  1235. createdAt: DateTime
  1236. createdAt_not: DateTime
  1237. createdAt_in: [DateTime!]
  1238. createdAt_not_in: [DateTime!]
  1239. createdAt_lt: DateTime
  1240. createdAt_lte: DateTime
  1241. createdAt_gt: DateTime
  1242. createdAt_gte: DateTime
  1243. AND: [RatingScalarWhereInput!]
  1244. OR: [RatingScalarWhereInput!]
  1245. NOT: [RatingScalarWhereInput!]
  1246. }
  1247. type RatingSubscriptionPayload {
  1248. mutation: MutationType!
  1249. node: Rating
  1250. updatedFields: [String!]
  1251. previousValues: RatingPreviousValues
  1252. }
  1253. input RatingSubscriptionWhereInput {
  1254. mutation_in: [MutationType!]
  1255. updatedFields_contains: String
  1256. updatedFields_contains_every: [String!]
  1257. updatedFields_contains_some: [String!]
  1258. node: RatingWhereInput
  1259. AND: [RatingSubscriptionWhereInput!]
  1260. OR: [RatingSubscriptionWhereInput!]
  1261. NOT: [RatingSubscriptionWhereInput!]
  1262. }
  1263. input RatingUpdateDataInput {
  1264. user: UserUpdateOneRequiredWithoutRatingsInput
  1265. value: Int
  1266. comment: String
  1267. }
  1268. input RatingUpdateInput {
  1269. user: UserUpdateOneRequiredWithoutRatingsInput
  1270. value: Int
  1271. comment: String
  1272. }
  1273. input RatingUpdateManyDataInput {
  1274. value: Int
  1275. comment: String
  1276. }
  1277. input RatingUpdateManyInput {
  1278. create: [RatingCreateInput!]
  1279. update: [RatingUpdateWithWhereUniqueNestedInput!]
  1280. upsert: [RatingUpsertWithWhereUniqueNestedInput!]
  1281. delete: [RatingWhereUniqueInput!]
  1282. connect: [RatingWhereUniqueInput!]
  1283. set: [RatingWhereUniqueInput!]
  1284. disconnect: [RatingWhereUniqueInput!]
  1285. deleteMany: [RatingScalarWhereInput!]
  1286. updateMany: [RatingUpdateManyWithWhereNestedInput!]
  1287. }
  1288. input RatingUpdateManyMutationInput {
  1289. value: Int
  1290. comment: String
  1291. }
  1292. input RatingUpdateManyWithoutUserInput {
  1293. create: [RatingCreateWithoutUserInput!]
  1294. delete: [RatingWhereUniqueInput!]
  1295. connect: [RatingWhereUniqueInput!]
  1296. set: [RatingWhereUniqueInput!]
  1297. disconnect: [RatingWhereUniqueInput!]
  1298. update: [RatingUpdateWithWhereUniqueWithoutUserInput!]
  1299. upsert: [RatingUpsertWithWhereUniqueWithoutUserInput!]
  1300. deleteMany: [RatingScalarWhereInput!]
  1301. updateMany: [RatingUpdateManyWithWhereNestedInput!]
  1302. }
  1303. input RatingUpdateManyWithWhereNestedInput {
  1304. where: RatingScalarWhereInput!
  1305. data: RatingUpdateManyDataInput!
  1306. }
  1307. input RatingUpdateWithoutUserDataInput {
  1308. value: Int
  1309. comment: String
  1310. }
  1311. input RatingUpdateWithWhereUniqueNestedInput {
  1312. where: RatingWhereUniqueInput!
  1313. data: RatingUpdateDataInput!
  1314. }
  1315. input RatingUpdateWithWhereUniqueWithoutUserInput {
  1316. where: RatingWhereUniqueInput!
  1317. data: RatingUpdateWithoutUserDataInput!
  1318. }
  1319. input RatingUpsertWithWhereUniqueNestedInput {
  1320. where: RatingWhereUniqueInput!
  1321. update: RatingUpdateDataInput!
  1322. create: RatingCreateInput!
  1323. }
  1324. input RatingUpsertWithWhereUniqueWithoutUserInput {
  1325. where: RatingWhereUniqueInput!
  1326. update: RatingUpdateWithoutUserDataInput!
  1327. create: RatingCreateWithoutUserInput!
  1328. }
  1329. input RatingWhereInput {
  1330. id: ID
  1331. id_not: ID
  1332. id_in: [ID!]
  1333. id_not_in: [ID!]
  1334. id_lt: ID
  1335. id_lte: ID
  1336. id_gt: ID
  1337. id_gte: ID
  1338. id_contains: ID
  1339. id_not_contains: ID
  1340. id_starts_with: ID
  1341. id_not_starts_with: ID
  1342. id_ends_with: ID
  1343. id_not_ends_with: ID
  1344. user: UserWhereInput
  1345. value: Int
  1346. value_not: Int
  1347. value_in: [Int!]
  1348. value_not_in: [Int!]
  1349. value_lt: Int
  1350. value_lte: Int
  1351. value_gt: Int
  1352. value_gte: Int
  1353. comment: String
  1354. comment_not: String
  1355. comment_in: [String!]
  1356. comment_not_in: [String!]
  1357. comment_lt: String
  1358. comment_lte: String
  1359. comment_gt: String
  1360. comment_gte: String
  1361. comment_contains: String
  1362. comment_not_contains: String
  1363. comment_starts_with: String
  1364. comment_not_starts_with: String
  1365. comment_ends_with: String
  1366. comment_not_ends_with: String
  1367. createdAt: DateTime
  1368. createdAt_not: DateTime
  1369. createdAt_in: [DateTime!]
  1370. createdAt_not_in: [DateTime!]
  1371. createdAt_lt: DateTime
  1372. createdAt_lte: DateTime
  1373. createdAt_gt: DateTime
  1374. createdAt_gte: DateTime
  1375. AND: [RatingWhereInput!]
  1376. OR: [RatingWhereInput!]
  1377. NOT: [RatingWhereInput!]
  1378. }
  1379. input RatingWhereUniqueInput {
  1380. id: ID
  1381. }
  1382. type Subscription {
  1383. baseExercise(where: BaseExerciseSubscriptionWhereInput): BaseExerciseSubscriptionPayload
  1384. block(where: BlockSubscriptionWhereInput): BlockSubscriptionPayload
  1385. comment(where: CommentSubscriptionWhereInput): CommentSubscriptionPayload
  1386. exercise(where: ExerciseSubscriptionWhereInput): ExerciseSubscriptionPayload
  1387. format(where: FormatSubscriptionWhereInput): FormatSubscriptionPayload
  1388. rating(where: RatingSubscriptionWhereInput): RatingSubscriptionPayload
  1389. track(where: TrackSubscriptionWhereInput): TrackSubscriptionPayload
  1390. training(where: TrainingSubscriptionWhereInput): TrainingSubscriptionPayload
  1391. trainingType(where: TrainingTypeSubscriptionWhereInput): TrainingTypeSubscriptionPayload
  1392. user(where: UserSubscriptionWhereInput): UserSubscriptionPayload
  1393. }
  1394. type Track {
  1395. id: ID!
  1396. title: String!
  1397. artist: String!
  1398. duration: Int!
  1399. link: String!
  1400. }
  1401. type TrackConnection {
  1402. pageInfo: PageInfo!
  1403. edges: [TrackEdge]!
  1404. aggregate: AggregateTrack!
  1405. }
  1406. input TrackCreateInput {
  1407. id: ID
  1408. title: String!
  1409. artist: String!
  1410. duration: Int!
  1411. link: String!
  1412. }
  1413. input TrackCreateManyInput {
  1414. create: [TrackCreateInput!]
  1415. connect: [TrackWhereUniqueInput!]
  1416. }
  1417. type TrackEdge {
  1418. node: Track!
  1419. cursor: String!
  1420. }
  1421. enum TrackOrderByInput {
  1422. id_ASC
  1423. id_DESC
  1424. title_ASC
  1425. title_DESC
  1426. artist_ASC
  1427. artist_DESC
  1428. duration_ASC
  1429. duration_DESC
  1430. link_ASC
  1431. link_DESC
  1432. }
  1433. type TrackPreviousValues {
  1434. id: ID!
  1435. title: String!
  1436. artist: String!
  1437. duration: Int!
  1438. link: String!
  1439. }
  1440. input TrackScalarWhereInput {
  1441. id: ID
  1442. id_not: ID
  1443. id_in: [ID!]
  1444. id_not_in: [ID!]
  1445. id_lt: ID
  1446. id_lte: ID
  1447. id_gt: ID
  1448. id_gte: ID
  1449. id_contains: ID
  1450. id_not_contains: ID
  1451. id_starts_with: ID
  1452. id_not_starts_with: ID
  1453. id_ends_with: ID
  1454. id_not_ends_with: ID
  1455. title: String
  1456. title_not: String
  1457. title_in: [String!]
  1458. title_not_in: [String!]
  1459. title_lt: String
  1460. title_lte: String
  1461. title_gt: String
  1462. title_gte: String
  1463. title_contains: String
  1464. title_not_contains: String
  1465. title_starts_with: String
  1466. title_not_starts_with: String
  1467. title_ends_with: String
  1468. title_not_ends_with: String
  1469. artist: String
  1470. artist_not: String
  1471. artist_in: [String!]
  1472. artist_not_in: [String!]
  1473. artist_lt: String
  1474. artist_lte: String
  1475. artist_gt: String
  1476. artist_gte: String
  1477. artist_contains: String
  1478. artist_not_contains: String
  1479. artist_starts_with: String
  1480. artist_not_starts_with: String
  1481. artist_ends_with: String
  1482. artist_not_ends_with: String
  1483. duration: Int
  1484. duration_not: Int
  1485. duration_in: [Int!]
  1486. duration_not_in: [Int!]
  1487. duration_lt: Int
  1488. duration_lte: Int
  1489. duration_gt: Int
  1490. duration_gte: Int
  1491. link: String
  1492. link_not: String
  1493. link_in: [String!]
  1494. link_not_in: [String!]
  1495. link_lt: String
  1496. link_lte: String
  1497. link_gt: String
  1498. link_gte: String
  1499. link_contains: String
  1500. link_not_contains: String
  1501. link_starts_with: String
  1502. link_not_starts_with: String
  1503. link_ends_with: String
  1504. link_not_ends_with: String
  1505. AND: [TrackScalarWhereInput!]
  1506. OR: [TrackScalarWhereInput!]
  1507. NOT: [TrackScalarWhereInput!]
  1508. }
  1509. type TrackSubscriptionPayload {
  1510. mutation: MutationType!
  1511. node: Track
  1512. updatedFields: [String!]
  1513. previousValues: TrackPreviousValues
  1514. }
  1515. input TrackSubscriptionWhereInput {
  1516. mutation_in: [MutationType!]
  1517. updatedFields_contains: String
  1518. updatedFields_contains_every: [String!]
  1519. updatedFields_contains_some: [String!]
  1520. node: TrackWhereInput
  1521. AND: [TrackSubscriptionWhereInput!]
  1522. OR: [TrackSubscriptionWhereInput!]
  1523. NOT: [TrackSubscriptionWhereInput!]
  1524. }
  1525. input TrackUpdateDataInput {
  1526. title: String
  1527. artist: String
  1528. duration: Int
  1529. link: String
  1530. }
  1531. input TrackUpdateInput {
  1532. title: String
  1533. artist: String
  1534. duration: Int
  1535. link: String
  1536. }
  1537. input TrackUpdateManyDataInput {
  1538. title: String
  1539. artist: String
  1540. duration: Int
  1541. link: String
  1542. }
  1543. input TrackUpdateManyInput {
  1544. create: [TrackCreateInput!]
  1545. update: [TrackUpdateWithWhereUniqueNestedInput!]
  1546. upsert: [TrackUpsertWithWhereUniqueNestedInput!]
  1547. delete: [TrackWhereUniqueInput!]
  1548. connect: [TrackWhereUniqueInput!]
  1549. set: [TrackWhereUniqueInput!]
  1550. disconnect: [TrackWhereUniqueInput!]
  1551. deleteMany: [TrackScalarWhereInput!]
  1552. updateMany: [TrackUpdateManyWithWhereNestedInput!]
  1553. }
  1554. input TrackUpdateManyMutationInput {
  1555. title: String
  1556. artist: String
  1557. duration: Int
  1558. link: String
  1559. }
  1560. input TrackUpdateManyWithWhereNestedInput {
  1561. where: TrackScalarWhereInput!
  1562. data: TrackUpdateManyDataInput!
  1563. }
  1564. input TrackUpdateWithWhereUniqueNestedInput {
  1565. where: TrackWhereUniqueInput!
  1566. data: TrackUpdateDataInput!
  1567. }
  1568. input TrackUpsertWithWhereUniqueNestedInput {
  1569. where: TrackWhereUniqueInput!
  1570. update: TrackUpdateDataInput!
  1571. create: TrackCreateInput!
  1572. }
  1573. input TrackWhereInput {
  1574. id: ID
  1575. id_not: ID
  1576. id_in: [ID!]
  1577. id_not_in: [ID!]
  1578. id_lt: ID
  1579. id_lte: ID
  1580. id_gt: ID
  1581. id_gte: ID
  1582. id_contains: ID
  1583. id_not_contains: ID
  1584. id_starts_with: ID
  1585. id_not_starts_with: ID
  1586. id_ends_with: ID
  1587. id_not_ends_with: ID
  1588. title: String
  1589. title_not: String
  1590. title_in: [String!]
  1591. title_not_in: [String!]
  1592. title_lt: String
  1593. title_lte: String
  1594. title_gt: String
  1595. title_gte: String
  1596. title_contains: String
  1597. title_not_contains: String
  1598. title_starts_with: String
  1599. title_not_starts_with: String
  1600. title_ends_with: String
  1601. title_not_ends_with: String
  1602. artist: String
  1603. artist_not: String
  1604. artist_in: [String!]
  1605. artist_not_in: [String!]
  1606. artist_lt: String
  1607. artist_lte: String
  1608. artist_gt: String
  1609. artist_gte: String
  1610. artist_contains: String
  1611. artist_not_contains: String
  1612. artist_starts_with: String
  1613. artist_not_starts_with: String
  1614. artist_ends_with: String
  1615. artist_not_ends_with: String
  1616. duration: Int
  1617. duration_not: Int
  1618. duration_in: [Int!]
  1619. duration_not_in: [Int!]
  1620. duration_lt: Int
  1621. duration_lte: Int
  1622. duration_gt: Int
  1623. duration_gte: Int
  1624. link: String
  1625. link_not: String
  1626. link_in: [String!]
  1627. link_not_in: [String!]
  1628. link_lt: String
  1629. link_lte: String
  1630. link_gt: String
  1631. link_gte: String
  1632. link_contains: String
  1633. link_not_contains: String
  1634. link_starts_with: String
  1635. link_not_starts_with: String
  1636. link_ends_with: String
  1637. link_not_ends_with: String
  1638. AND: [TrackWhereInput!]
  1639. OR: [TrackWhereInput!]
  1640. NOT: [TrackWhereInput!]
  1641. }
  1642. input TrackWhereUniqueInput {
  1643. id: ID
  1644. }
  1645. type Training {
  1646. id: ID!
  1647. title: String!
  1648. type: TrainingType!
  1649. content(where: BlockWhereInput, orderBy: BlockOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Block!]
  1650. createdAt: DateTime!
  1651. trainingDate: DateTime!
  1652. location: String!
  1653. registration(where: UserWhereInput, orderBy: UserOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [User!]
  1654. attendance: Int!
  1655. ratings(where: RatingWhereInput, orderBy: RatingOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Rating!]
  1656. published: Boolean!
  1657. }
  1658. type TrainingConnection {
  1659. pageInfo: PageInfo!
  1660. edges: [TrainingEdge]!
  1661. aggregate: AggregateTraining!
  1662. }
  1663. input TrainingCreateInput {
  1664. id: ID
  1665. title: String!
  1666. type: TrainingTypeCreateOneInput!
  1667. content: BlockCreateManyInput
  1668. trainingDate: DateTime!
  1669. location: String!
  1670. registration: UserCreateManyInput
  1671. attendance: Int!
  1672. ratings: RatingCreateManyInput
  1673. published: Boolean!
  1674. }
  1675. type TrainingEdge {
  1676. node: Training!
  1677. cursor: String!
  1678. }
  1679. enum TrainingOrderByInput {
  1680. id_ASC
  1681. id_DESC
  1682. title_ASC
  1683. title_DESC
  1684. createdAt_ASC
  1685. createdAt_DESC
  1686. trainingDate_ASC
  1687. trainingDate_DESC
  1688. location_ASC
  1689. location_DESC
  1690. attendance_ASC
  1691. attendance_DESC
  1692. published_ASC
  1693. published_DESC
  1694. }
  1695. type TrainingPreviousValues {
  1696. id: ID!
  1697. title: String!
  1698. createdAt: DateTime!
  1699. trainingDate: DateTime!
  1700. location: String!
  1701. attendance: Int!
  1702. published: Boolean!
  1703. }
  1704. type TrainingSubscriptionPayload {
  1705. mutation: MutationType!
  1706. node: Training
  1707. updatedFields: [String!]
  1708. previousValues: TrainingPreviousValues
  1709. }
  1710. input TrainingSubscriptionWhereInput {
  1711. mutation_in: [MutationType!]
  1712. updatedFields_contains: String
  1713. updatedFields_contains_every: [String!]
  1714. updatedFields_contains_some: [String!]
  1715. node: TrainingWhereInput
  1716. AND: [TrainingSubscriptionWhereInput!]
  1717. OR: [TrainingSubscriptionWhereInput!]
  1718. NOT: [TrainingSubscriptionWhereInput!]
  1719. }
  1720. type TrainingType {
  1721. id: ID!
  1722. name: String!
  1723. description: String!
  1724. }
  1725. type TrainingTypeConnection {
  1726. pageInfo: PageInfo!
  1727. edges: [TrainingTypeEdge]!
  1728. aggregate: AggregateTrainingType!
  1729. }
  1730. input TrainingTypeCreateInput {
  1731. id: ID
  1732. name: String!
  1733. description: String!
  1734. }
  1735. input TrainingTypeCreateOneInput {
  1736. create: TrainingTypeCreateInput
  1737. connect: TrainingTypeWhereUniqueInput
  1738. }
  1739. type TrainingTypeEdge {
  1740. node: TrainingType!
  1741. cursor: String!
  1742. }
  1743. enum TrainingTypeOrderByInput {
  1744. id_ASC
  1745. id_DESC
  1746. name_ASC
  1747. name_DESC
  1748. description_ASC
  1749. description_DESC
  1750. }
  1751. type TrainingTypePreviousValues {
  1752. id: ID!
  1753. name: String!
  1754. description: String!
  1755. }
  1756. type TrainingTypeSubscriptionPayload {
  1757. mutation: MutationType!
  1758. node: TrainingType
  1759. updatedFields: [String!]
  1760. previousValues: TrainingTypePreviousValues
  1761. }
  1762. input TrainingTypeSubscriptionWhereInput {
  1763. mutation_in: [MutationType!]
  1764. updatedFields_contains: String
  1765. updatedFields_contains_every: [String!]
  1766. updatedFields_contains_some: [String!]
  1767. node: TrainingTypeWhereInput
  1768. AND: [TrainingTypeSubscriptionWhereInput!]
  1769. OR: [TrainingTypeSubscriptionWhereInput!]
  1770. NOT: [TrainingTypeSubscriptionWhereInput!]
  1771. }
  1772. input TrainingTypeUpdateDataInput {
  1773. name: String
  1774. description: String
  1775. }
  1776. input TrainingTypeUpdateInput {
  1777. name: String
  1778. description: String
  1779. }
  1780. input TrainingTypeUpdateManyMutationInput {
  1781. name: String
  1782. description: String
  1783. }
  1784. input TrainingTypeUpdateOneRequiredInput {
  1785. create: TrainingTypeCreateInput
  1786. update: TrainingTypeUpdateDataInput
  1787. upsert: TrainingTypeUpsertNestedInput
  1788. connect: TrainingTypeWhereUniqueInput
  1789. }
  1790. input TrainingTypeUpsertNestedInput {
  1791. update: TrainingTypeUpdateDataInput!
  1792. create: TrainingTypeCreateInput!
  1793. }
  1794. input TrainingTypeWhereInput {
  1795. id: ID
  1796. id_not: ID
  1797. id_in: [ID!]
  1798. id_not_in: [ID!]
  1799. id_lt: ID
  1800. id_lte: ID
  1801. id_gt: ID
  1802. id_gte: ID
  1803. id_contains: ID
  1804. id_not_contains: ID
  1805. id_starts_with: ID
  1806. id_not_starts_with: ID
  1807. id_ends_with: ID
  1808. id_not_ends_with: ID
  1809. name: String
  1810. name_not: String
  1811. name_in: [String!]
  1812. name_not_in: [String!]
  1813. name_lt: String
  1814. name_lte: String
  1815. name_gt: String
  1816. name_gte: String
  1817. name_contains: String
  1818. name_not_contains: String
  1819. name_starts_with: String
  1820. name_not_starts_with: String
  1821. name_ends_with: String
  1822. name_not_ends_with: String
  1823. description: String
  1824. description_not: String
  1825. description_in: [String!]
  1826. description_not_in: [String!]
  1827. description_lt: String
  1828. description_lte: String
  1829. description_gt: String
  1830. description_gte: String
  1831. description_contains: String
  1832. description_not_contains: String
  1833. description_starts_with: String
  1834. description_not_starts_with: String
  1835. description_ends_with: String
  1836. description_not_ends_with: String
  1837. AND: [TrainingTypeWhereInput!]
  1838. OR: [TrainingTypeWhereInput!]
  1839. NOT: [TrainingTypeWhereInput!]
  1840. }
  1841. input TrainingTypeWhereUniqueInput {
  1842. id: ID
  1843. name: String
  1844. }
  1845. input TrainingUpdateInput {
  1846. title: String
  1847. type: TrainingTypeUpdateOneRequiredInput
  1848. content: BlockUpdateManyInput
  1849. trainingDate: DateTime
  1850. location: String
  1851. registration: UserUpdateManyInput
  1852. attendance: Int
  1853. ratings: RatingUpdateManyInput
  1854. published: Boolean
  1855. }
  1856. input TrainingUpdateManyMutationInput {
  1857. title: String
  1858. trainingDate: DateTime
  1859. location: String
  1860. attendance: Int
  1861. published: Boolean
  1862. }
  1863. input TrainingWhereInput {
  1864. id: ID
  1865. id_not: ID
  1866. id_in: [ID!]
  1867. id_not_in: [ID!]
  1868. id_lt: ID
  1869. id_lte: ID
  1870. id_gt: ID
  1871. id_gte: ID
  1872. id_contains: ID
  1873. id_not_contains: ID
  1874. id_starts_with: ID
  1875. id_not_starts_with: ID
  1876. id_ends_with: ID
  1877. id_not_ends_with: ID
  1878. title: String
  1879. title_not: String
  1880. title_in: [String!]
  1881. title_not_in: [String!]
  1882. title_lt: String
  1883. title_lte: String
  1884. title_gt: String
  1885. title_gte: String
  1886. title_contains: String
  1887. title_not_contains: String
  1888. title_starts_with: String
  1889. title_not_starts_with: String
  1890. title_ends_with: String
  1891. title_not_ends_with: String
  1892. type: TrainingTypeWhereInput
  1893. content_every: BlockWhereInput
  1894. content_some: BlockWhereInput
  1895. content_none: BlockWhereInput
  1896. createdAt: DateTime
  1897. createdAt_not: DateTime
  1898. createdAt_in: [DateTime!]
  1899. createdAt_not_in: [DateTime!]
  1900. createdAt_lt: DateTime
  1901. createdAt_lte: DateTime
  1902. createdAt_gt: DateTime
  1903. createdAt_gte: DateTime
  1904. trainingDate: DateTime
  1905. trainingDate_not: DateTime
  1906. trainingDate_in: [DateTime!]
  1907. trainingDate_not_in: [DateTime!]
  1908. trainingDate_lt: DateTime
  1909. trainingDate_lte: DateTime
  1910. trainingDate_gt: DateTime
  1911. trainingDate_gte: DateTime
  1912. location: String
  1913. location_not: String
  1914. location_in: [String!]
  1915. location_not_in: [String!]
  1916. location_lt: String
  1917. location_lte: String
  1918. location_gt: String
  1919. location_gte: String
  1920. location_contains: String
  1921. location_not_contains: String
  1922. location_starts_with: String
  1923. location_not_starts_with: String
  1924. location_ends_with: String
  1925. location_not_ends_with: String
  1926. registration_every: UserWhereInput
  1927. registration_some: UserWhereInput
  1928. registration_none: UserWhereInput
  1929. attendance: Int
  1930. attendance_not: Int
  1931. attendance_in: [Int!]
  1932. attendance_not_in: [Int!]
  1933. attendance_lt: Int
  1934. attendance_lte: Int
  1935. attendance_gt: Int
  1936. attendance_gte: Int
  1937. ratings_every: RatingWhereInput
  1938. ratings_some: RatingWhereInput
  1939. ratings_none: RatingWhereInput
  1940. published: Boolean
  1941. published_not: Boolean
  1942. AND: [TrainingWhereInput!]
  1943. OR: [TrainingWhereInput!]
  1944. NOT: [TrainingWhereInput!]
  1945. }
  1946. input TrainingWhereUniqueInput {
  1947. id: ID
  1948. }
  1949. type User {
  1950. id: ID!
  1951. email: String!
  1952. name: String!
  1953. password: String!
  1954. resetToken: String
  1955. resetTokenExpiry: Float
  1956. createdAt: DateTime!
  1957. comments(where: CommentWhereInput, orderBy: CommentOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Comment!]
  1958. ratings(where: RatingWhereInput, orderBy: RatingOrderByInput, skip: Int, after: String, before: String, first: Int, last: Int): [Rating!]
  1959. permissions: [Permission!]!
  1960. interests: [String!]!
  1961. }
  1962. type UserConnection {
  1963. pageInfo: PageInfo!
  1964. edges: [UserEdge]!
  1965. aggregate: AggregateUser!
  1966. }
  1967. input UserCreateInput {
  1968. id: ID
  1969. email: String!
  1970. name: String!
  1971. password: String!
  1972. resetToken: String
  1973. resetTokenExpiry: Float
  1974. comments: CommentCreateManyWithoutAuthorInput
  1975. ratings: RatingCreateManyWithoutUserInput
  1976. permissions: UserCreatepermissionsInput
  1977. interests: UserCreateinterestsInput
  1978. }
  1979. input UserCreateinterestsInput {
  1980. set: [String!]
  1981. }
  1982. input UserCreateManyInput {
  1983. create: [UserCreateInput!]
  1984. connect: [UserWhereUniqueInput!]
  1985. }
  1986. input UserCreateOneWithoutCommentsInput {
  1987. create: UserCreateWithoutCommentsInput
  1988. connect: UserWhereUniqueInput
  1989. }
  1990. input UserCreateOneWithoutRatingsInput {
  1991. create: UserCreateWithoutRatingsInput
  1992. connect: UserWhereUniqueInput
  1993. }
  1994. input UserCreatepermissionsInput {
  1995. set: [Permission!]
  1996. }
  1997. input UserCreateWithoutCommentsInput {
  1998. id: ID
  1999. email: String!
  2000. name: String!
  2001. password: String!
  2002. resetToken: String
  2003. resetTokenExpiry: Float
  2004. ratings: RatingCreateManyWithoutUserInput
  2005. permissions: UserCreatepermissionsInput
  2006. interests: UserCreateinterestsInput
  2007. }
  2008. input UserCreateWithoutRatingsInput {
  2009. id: ID
  2010. email: String!
  2011. name: String!
  2012. password: String!
  2013. resetToken: String
  2014. resetTokenExpiry: Float
  2015. comments: CommentCreateManyWithoutAuthorInput
  2016. permissions: UserCreatepermissionsInput
  2017. interests: UserCreateinterestsInput
  2018. }
  2019. type UserEdge {
  2020. node: User!
  2021. cursor: String!
  2022. }
  2023. enum UserOrderByInput {
  2024. id_ASC
  2025. id_DESC
  2026. email_ASC
  2027. email_DESC
  2028. name_ASC
  2029. name_DESC
  2030. password_ASC
  2031. password_DESC
  2032. resetToken_ASC
  2033. resetToken_DESC
  2034. resetTokenExpiry_ASC
  2035. resetTokenExpiry_DESC
  2036. createdAt_ASC
  2037. createdAt_DESC
  2038. }
  2039. type UserPreviousValues {
  2040. id: ID!
  2041. email: String!
  2042. name: String!
  2043. password: String!
  2044. resetToken: String
  2045. resetTokenExpiry: Float
  2046. createdAt: DateTime!
  2047. permissions: [Permission!]!
  2048. interests: [String!]!
  2049. }
  2050. input UserScalarWhereInput {
  2051. id: ID
  2052. id_not: ID
  2053. id_in: [ID!]
  2054. id_not_in: [ID!]
  2055. id_lt: ID
  2056. id_lte: ID
  2057. id_gt: ID
  2058. id_gte: ID
  2059. id_contains: ID
  2060. id_not_contains: ID
  2061. id_starts_with: ID
  2062. id_not_starts_with: ID
  2063. id_ends_with: ID
  2064. id_not_ends_with: ID
  2065. email: String
  2066. email_not: String
  2067. email_in: [String!]
  2068. email_not_in: [String!]
  2069. email_lt: String
  2070. email_lte: String
  2071. email_gt: String
  2072. email_gte: String
  2073. email_contains: String
  2074. email_not_contains: String
  2075. email_starts_with: String
  2076. email_not_starts_with: String
  2077. email_ends_with: String
  2078. email_not_ends_with: String
  2079. name: String
  2080. name_not: String
  2081. name_in: [String!]
  2082. name_not_in: [String!]
  2083. name_lt: String
  2084. name_lte: String
  2085. name_gt: String
  2086. name_gte: String
  2087. name_contains: String
  2088. name_not_contains: String
  2089. name_starts_with: String
  2090. name_not_starts_with: String
  2091. name_ends_with: String
  2092. name_not_ends_with: String
  2093. password: String
  2094. password_not: String
  2095. password_in: [String!]
  2096. password_not_in: [String!]
  2097. password_lt: String
  2098. password_lte: String
  2099. password_gt: String
  2100. password_gte: String
  2101. password_contains: String
  2102. password_not_contains: String
  2103. password_starts_with: String
  2104. password_not_starts_with: String
  2105. password_ends_with: String
  2106. password_not_ends_with: String
  2107. resetToken: String
  2108. resetToken_not: String
  2109. resetToken_in: [String!]
  2110. resetToken_not_in: [String!]
  2111. resetToken_lt: String
  2112. resetToken_lte: String
  2113. resetToken_gt: String
  2114. resetToken_gte: String
  2115. resetToken_contains: String
  2116. resetToken_not_contains: String
  2117. resetToken_starts_with: String
  2118. resetToken_not_starts_with: String
  2119. resetToken_ends_with: String
  2120. resetToken_not_ends_with: String
  2121. resetTokenExpiry: Float
  2122. resetTokenExpiry_not: Float
  2123. resetTokenExpiry_in: [Float!]
  2124. resetTokenExpiry_not_in: [Float!]
  2125. resetTokenExpiry_lt: Float
  2126. resetTokenExpiry_lte: Float
  2127. resetTokenExpiry_gt: Float
  2128. resetTokenExpiry_gte: Float
  2129. createdAt: DateTime
  2130. createdAt_not: DateTime
  2131. createdAt_in: [DateTime!]
  2132. createdAt_not_in: [DateTime!]
  2133. createdAt_lt: DateTime
  2134. createdAt_lte: DateTime
  2135. createdAt_gt: DateTime
  2136. createdAt_gte: DateTime
  2137. AND: [UserScalarWhereInput!]
  2138. OR: [UserScalarWhereInput!]
  2139. NOT: [UserScalarWhereInput!]
  2140. }
  2141. type UserSubscriptionPayload {
  2142. mutation: MutationType!
  2143. node: User
  2144. updatedFields: [String!]
  2145. previousValues: UserPreviousValues
  2146. }
  2147. input UserSubscriptionWhereInput {
  2148. mutation_in: [MutationType!]
  2149. updatedFields_contains: String
  2150. updatedFields_contains_every: [String!]
  2151. updatedFields_contains_some: [String!]
  2152. node: UserWhereInput
  2153. AND: [UserSubscriptionWhereInput!]
  2154. OR: [UserSubscriptionWhereInput!]
  2155. NOT: [UserSubscriptionWhereInput!]
  2156. }
  2157. input UserUpdateDataInput {
  2158. email: String
  2159. name: String
  2160. password: String
  2161. resetToken: String
  2162. resetTokenExpiry: Float
  2163. comments: CommentUpdateManyWithoutAuthorInput
  2164. ratings: RatingUpdateManyWithoutUserInput
  2165. permissions: UserUpdatepermissionsInput
  2166. interests: UserUpdateinterestsInput
  2167. }
  2168. input UserUpdateInput {
  2169. email: String
  2170. name: String
  2171. password: String
  2172. resetToken: String
  2173. resetTokenExpiry: Float
  2174. comments: CommentUpdateManyWithoutAuthorInput
  2175. ratings: RatingUpdateManyWithoutUserInput
  2176. permissions: UserUpdatepermissionsInput
  2177. interests: UserUpdateinterestsInput
  2178. }
  2179. input UserUpdateinterestsInput {
  2180. set: [String!]
  2181. }
  2182. input UserUpdateManyDataInput {
  2183. email: String
  2184. name: String
  2185. password: String
  2186. resetToken: String
  2187. resetTokenExpiry: Float
  2188. permissions: UserUpdatepermissionsInput
  2189. interests: UserUpdateinterestsInput
  2190. }
  2191. input UserUpdateManyInput {
  2192. create: [UserCreateInput!]
  2193. update: [UserUpdateWithWhereUniqueNestedInput!]
  2194. upsert: [UserUpsertWithWhereUniqueNestedInput!]
  2195. delete: [UserWhereUniqueInput!]
  2196. connect: [UserWhereUniqueInput!]
  2197. set: [UserWhereUniqueInput!]
  2198. disconnect: [UserWhereUniqueInput!]
  2199. deleteMany: [UserScalarWhereInput!]
  2200. updateMany: [UserUpdateManyWithWhereNestedInput!]
  2201. }
  2202. input UserUpdateManyMutationInput {
  2203. email: String
  2204. name: String
  2205. password: String
  2206. resetToken: String
  2207. resetTokenExpiry: Float
  2208. permissions: UserUpdatepermissionsInput
  2209. interests: UserUpdateinterestsInput
  2210. }
  2211. input UserUpdateManyWithWhereNestedInput {
  2212. where: UserScalarWhereInput!
  2213. data: UserUpdateManyDataInput!
  2214. }
  2215. input UserUpdateOneRequiredWithoutCommentsInput {
  2216. create: UserCreateWithoutCommentsInput
  2217. update: UserUpdateWithoutCommentsDataInput
  2218. upsert: UserUpsertWithoutCommentsInput
  2219. connect: UserWhereUniqueInput
  2220. }
  2221. input UserUpdateOneRequiredWithoutRatingsInput {
  2222. create: UserCreateWithoutRatingsInput
  2223. update: UserUpdateWithoutRatingsDataInput
  2224. upsert: UserUpsertWithoutRatingsInput
  2225. connect: UserWhereUniqueInput
  2226. }
  2227. input UserUpdatepermissionsInput {
  2228. set: [Permission!]
  2229. }
  2230. input UserUpdateWithoutCommentsDataInput {
  2231. email: String
  2232. name: String
  2233. password: String
  2234. resetToken: String
  2235. resetTokenExpiry: Float
  2236. ratings: RatingUpdateManyWithoutUserInput
  2237. permissions: UserUpdatepermissionsInput
  2238. interests: UserUpdateinterestsInput
  2239. }
  2240. input UserUpdateWithoutRatingsDataInput {
  2241. email: String
  2242. name: String
  2243. password: String
  2244. resetToken: String
  2245. resetTokenExpiry: Float
  2246. comments: CommentUpdateManyWithoutAuthorInput
  2247. permissions: UserUpdatepermissionsInput
  2248. interests: UserUpdateinterestsInput
  2249. }
  2250. input UserUpdateWithWhereUniqueNestedInput {
  2251. where: UserWhereUniqueInput!
  2252. data: UserUpdateDataInput!
  2253. }
  2254. input UserUpsertWithoutCommentsInput {
  2255. update: UserUpdateWithoutCommentsDataInput!
  2256. create: UserCreateWithoutCommentsInput!
  2257. }
  2258. input UserUpsertWithoutRatingsInput {
  2259. update: UserUpdateWithoutRatingsDataInput!
  2260. create: UserCreateWithoutRatingsInput!
  2261. }
  2262. input UserUpsertWithWhereUniqueNestedInput {
  2263. where: UserWhereUniqueInput!
  2264. update: UserUpdateDataInput!
  2265. create: UserCreateInput!
  2266. }
  2267. input UserWhereInput {
  2268. id: ID
  2269. id_not: ID
  2270. id_in: [ID!]
  2271. id_not_in: [ID!]
  2272. id_lt: ID
  2273. id_lte: ID
  2274. id_gt: ID
  2275. id_gte: ID
  2276. id_contains: ID
  2277. id_not_contains: ID
  2278. id_starts_with: ID
  2279. id_not_starts_with: ID
  2280. id_ends_with: ID
  2281. id_not_ends_with: ID
  2282. email: String
  2283. email_not: String
  2284. email_in: [String!]
  2285. email_not_in: [String!]
  2286. email_lt: String
  2287. email_lte: String
  2288. email_gt: String
  2289. email_gte: String
  2290. email_contains: String
  2291. email_not_contains: String
  2292. email_starts_with: String
  2293. email_not_starts_with: String
  2294. email_ends_with: String
  2295. email_not_ends_with: String
  2296. name: String
  2297. name_not: String
  2298. name_in: [String!]
  2299. name_not_in: [String!]
  2300. name_lt: String
  2301. name_lte: String
  2302. name_gt: String
  2303. name_gte: String
  2304. name_contains: String
  2305. name_not_contains: String
  2306. name_starts_with: String
  2307. name_not_starts_with: String
  2308. name_ends_with: String
  2309. name_not_ends_with: String
  2310. password: String
  2311. password_not: String
  2312. password_in: [String!]
  2313. password_not_in: [String!]
  2314. password_lt: String
  2315. password_lte: String
  2316. password_gt: String
  2317. password_gte: String
  2318. password_contains: String
  2319. password_not_contains: String
  2320. password_starts_with: String
  2321. password_not_starts_with: String
  2322. password_ends_with: String
  2323. password_not_ends_with: String
  2324. resetToken: String
  2325. resetToken_not: String
  2326. resetToken_in: [String!]
  2327. resetToken_not_in: [String!]
  2328. resetToken_lt: String
  2329. resetToken_lte: String
  2330. resetToken_gt: String
  2331. resetToken_gte: String
  2332. resetToken_contains: String
  2333. resetToken_not_contains: String
  2334. resetToken_starts_with: String
  2335. resetToken_not_starts_with: String
  2336. resetToken_ends_with: String
  2337. resetToken_not_ends_with: String
  2338. resetTokenExpiry: Float
  2339. resetTokenExpiry_not: Float
  2340. resetTokenExpiry_in: [Float!]
  2341. resetTokenExpiry_not_in: [Float!]
  2342. resetTokenExpiry_lt: Float
  2343. resetTokenExpiry_lte: Float
  2344. resetTokenExpiry_gt: Float
  2345. resetTokenExpiry_gte: Float
  2346. createdAt: DateTime
  2347. createdAt_not: DateTime
  2348. createdAt_in: [DateTime!]
  2349. createdAt_not_in: [DateTime!]
  2350. createdAt_lt: DateTime
  2351. createdAt_lte: DateTime
  2352. createdAt_gt: DateTime
  2353. createdAt_gte: DateTime
  2354. comments_every: CommentWhereInput
  2355. comments_some: CommentWhereInput
  2356. comments_none: CommentWhereInput
  2357. ratings_every: RatingWhereInput
  2358. ratings_some: RatingWhereInput
  2359. ratings_none: RatingWhereInput
  2360. AND: [UserWhereInput!]
  2361. OR: [UserWhereInput!]
  2362. NOT: [UserWhereInput!]
  2363. }
  2364. input UserWhereUniqueInput {
  2365. id: ID
  2366. email: String
  2367. }
  2368. `
  2369. }