prisma.graphql 116 KB

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