prisma-schema.js 60 KB

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