prisma-schema.ts 72 KB

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