prisma-schema.ts 60 KB

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