prisma.graphql 112 KB

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