prisma-schema.ts 78 KB

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