index.tsx 88 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250
  1. /* eslint-disable */
  2. import { gql } from '@apollo/client';
  3. import * as ApolloReactCommon from '@apollo/react-common';
  4. import * as ApolloReactHooks from '@apollo/client';
  5. export type Maybe<T> = T | null;
  6. /** All built-in and custom scalars, mapped to their actual values */
  7. export type Scalars = {
  8. ID: string,
  9. String: string,
  10. Boolean: boolean,
  11. Int: number,
  12. Float: number,
  13. DateTime: any,
  14. };
  15. export type BaseExercise = Node & {
  16. __typename?: 'BaseExercise',
  17. id: Scalars['ID'],
  18. name: Scalars['String'],
  19. variations?: Maybe<Array<Exercise>>,
  20. };
  21. export type BaseExerciseVariationsArgs = {
  22. where?: Maybe<ExerciseWhereInput>,
  23. orderBy?: Maybe<ExerciseOrderByInput>,
  24. skip?: Maybe<Scalars['Int']>,
  25. after?: Maybe<Scalars['String']>,
  26. before?: Maybe<Scalars['String']>,
  27. first?: Maybe<Scalars['Int']>,
  28. last?: Maybe<Scalars['Int']>
  29. };
  30. export type BaseExerciseWhereInput = {
  31. /** Logical AND on all given filters. */
  32. AND?: Maybe<Array<BaseExerciseWhereInput>>,
  33. /** Logical OR on all given filters. */
  34. OR?: Maybe<Array<BaseExerciseWhereInput>>,
  35. /** Logical NOT on all given filters combined by AND. */
  36. NOT?: Maybe<Array<BaseExerciseWhereInput>>,
  37. id?: Maybe<Scalars['ID']>,
  38. /** All values that are not equal to given value. */
  39. id_not?: Maybe<Scalars['ID']>,
  40. /** All values that are contained in given list. */
  41. id_in?: Maybe<Array<Scalars['ID']>>,
  42. /** All values that are not contained in given list. */
  43. id_not_in?: Maybe<Array<Scalars['ID']>>,
  44. /** All values less than the given value. */
  45. id_lt?: Maybe<Scalars['ID']>,
  46. /** All values less than or equal the given value. */
  47. id_lte?: Maybe<Scalars['ID']>,
  48. /** All values greater than the given value. */
  49. id_gt?: Maybe<Scalars['ID']>,
  50. /** All values greater than or equal the given value. */
  51. id_gte?: Maybe<Scalars['ID']>,
  52. /** All values containing the given string. */
  53. id_contains?: Maybe<Scalars['ID']>,
  54. /** All values not containing the given string. */
  55. id_not_contains?: Maybe<Scalars['ID']>,
  56. /** All values starting with the given string. */
  57. id_starts_with?: Maybe<Scalars['ID']>,
  58. /** All values not starting with the given string. */
  59. id_not_starts_with?: Maybe<Scalars['ID']>,
  60. /** All values ending with the given string. */
  61. id_ends_with?: Maybe<Scalars['ID']>,
  62. /** All values not ending with the given string. */
  63. id_not_ends_with?: Maybe<Scalars['ID']>,
  64. name?: Maybe<Scalars['String']>,
  65. /** All values that are not equal to given value. */
  66. name_not?: Maybe<Scalars['String']>,
  67. /** All values that are contained in given list. */
  68. name_in?: Maybe<Array<Scalars['String']>>,
  69. /** All values that are not contained in given list. */
  70. name_not_in?: Maybe<Array<Scalars['String']>>,
  71. /** All values less than the given value. */
  72. name_lt?: Maybe<Scalars['String']>,
  73. /** All values less than or equal the given value. */
  74. name_lte?: Maybe<Scalars['String']>,
  75. /** All values greater than the given value. */
  76. name_gt?: Maybe<Scalars['String']>,
  77. /** All values greater than or equal the given value. */
  78. name_gte?: Maybe<Scalars['String']>,
  79. /** All values containing the given string. */
  80. name_contains?: Maybe<Scalars['String']>,
  81. /** All values not containing the given string. */
  82. name_not_contains?: Maybe<Scalars['String']>,
  83. /** All values starting with the given string. */
  84. name_starts_with?: Maybe<Scalars['String']>,
  85. /** All values not starting with the given string. */
  86. name_not_starts_with?: Maybe<Scalars['String']>,
  87. /** All values ending with the given string. */
  88. name_ends_with?: Maybe<Scalars['String']>,
  89. /** All values not ending with the given string. */
  90. name_not_ends_with?: Maybe<Scalars['String']>,
  91. variations_every?: Maybe<ExerciseWhereInput>,
  92. variations_some?: Maybe<ExerciseWhereInput>,
  93. variations_none?: Maybe<ExerciseWhereInput>,
  94. };
  95. export type Block = Node & {
  96. __typename?: 'Block',
  97. id: Scalars['ID'],
  98. sequence: Scalars['Int'],
  99. title: Scalars['String'],
  100. duration: Scalars['Int'],
  101. variation?: Maybe<Scalars['String']>,
  102. format?: Maybe<Format>,
  103. tracks?: Maybe<Array<Track>>,
  104. exercises?: Maybe<Array<Exercise>>,
  105. description: Scalars['String'],
  106. };
  107. export type BlockTracksArgs = {
  108. where?: Maybe<TrackWhereInput>,
  109. orderBy?: Maybe<TrackOrderByInput>,
  110. skip?: Maybe<Scalars['Int']>,
  111. after?: Maybe<Scalars['String']>,
  112. before?: Maybe<Scalars['String']>,
  113. first?: Maybe<Scalars['Int']>,
  114. last?: Maybe<Scalars['Int']>
  115. };
  116. export type BlockExercisesArgs = {
  117. where?: Maybe<ExerciseWhereInput>,
  118. orderBy?: Maybe<ExerciseOrderByInput>,
  119. skip?: Maybe<Scalars['Int']>,
  120. after?: Maybe<Scalars['String']>,
  121. before?: Maybe<Scalars['String']>,
  122. first?: Maybe<Scalars['Int']>,
  123. last?: Maybe<Scalars['Int']>
  124. };
  125. export enum BlockOrderByInput {
  126. IdAsc = 'id_ASC',
  127. IdDesc = 'id_DESC',
  128. SequenceAsc = 'sequence_ASC',
  129. SequenceDesc = 'sequence_DESC',
  130. TitleAsc = 'title_ASC',
  131. TitleDesc = 'title_DESC',
  132. DurationAsc = 'duration_ASC',
  133. DurationDesc = 'duration_DESC',
  134. VariationAsc = 'variation_ASC',
  135. VariationDesc = 'variation_DESC',
  136. DescriptionAsc = 'description_ASC',
  137. DescriptionDesc = 'description_DESC'
  138. }
  139. export type BlockWhereInput = {
  140. /** Logical AND on all given filters. */
  141. AND?: Maybe<Array<BlockWhereInput>>,
  142. /** Logical OR on all given filters. */
  143. OR?: Maybe<Array<BlockWhereInput>>,
  144. /** Logical NOT on all given filters combined by AND. */
  145. NOT?: Maybe<Array<BlockWhereInput>>,
  146. id?: Maybe<Scalars['ID']>,
  147. /** All values that are not equal to given value. */
  148. id_not?: Maybe<Scalars['ID']>,
  149. /** All values that are contained in given list. */
  150. id_in?: Maybe<Array<Scalars['ID']>>,
  151. /** All values that are not contained in given list. */
  152. id_not_in?: Maybe<Array<Scalars['ID']>>,
  153. /** All values less than the given value. */
  154. id_lt?: Maybe<Scalars['ID']>,
  155. /** All values less than or equal the given value. */
  156. id_lte?: Maybe<Scalars['ID']>,
  157. /** All values greater than the given value. */
  158. id_gt?: Maybe<Scalars['ID']>,
  159. /** All values greater than or equal the given value. */
  160. id_gte?: Maybe<Scalars['ID']>,
  161. /** All values containing the given string. */
  162. id_contains?: Maybe<Scalars['ID']>,
  163. /** All values not containing the given string. */
  164. id_not_contains?: Maybe<Scalars['ID']>,
  165. /** All values starting with the given string. */
  166. id_starts_with?: Maybe<Scalars['ID']>,
  167. /** All values not starting with the given string. */
  168. id_not_starts_with?: Maybe<Scalars['ID']>,
  169. /** All values ending with the given string. */
  170. id_ends_with?: Maybe<Scalars['ID']>,
  171. /** All values not ending with the given string. */
  172. id_not_ends_with?: Maybe<Scalars['ID']>,
  173. sequence?: Maybe<Scalars['Int']>,
  174. /** All values that are not equal to given value. */
  175. sequence_not?: Maybe<Scalars['Int']>,
  176. /** All values that are contained in given list. */
  177. sequence_in?: Maybe<Array<Scalars['Int']>>,
  178. /** All values that are not contained in given list. */
  179. sequence_not_in?: Maybe<Array<Scalars['Int']>>,
  180. /** All values less than the given value. */
  181. sequence_lt?: Maybe<Scalars['Int']>,
  182. /** All values less than or equal the given value. */
  183. sequence_lte?: Maybe<Scalars['Int']>,
  184. /** All values greater than the given value. */
  185. sequence_gt?: Maybe<Scalars['Int']>,
  186. /** All values greater than or equal the given value. */
  187. sequence_gte?: Maybe<Scalars['Int']>,
  188. title?: Maybe<Scalars['String']>,
  189. /** All values that are not equal to given value. */
  190. title_not?: Maybe<Scalars['String']>,
  191. /** All values that are contained in given list. */
  192. title_in?: Maybe<Array<Scalars['String']>>,
  193. /** All values that are not contained in given list. */
  194. title_not_in?: Maybe<Array<Scalars['String']>>,
  195. /** All values less than the given value. */
  196. title_lt?: Maybe<Scalars['String']>,
  197. /** All values less than or equal the given value. */
  198. title_lte?: Maybe<Scalars['String']>,
  199. /** All values greater than the given value. */
  200. title_gt?: Maybe<Scalars['String']>,
  201. /** All values greater than or equal the given value. */
  202. title_gte?: Maybe<Scalars['String']>,
  203. /** All values containing the given string. */
  204. title_contains?: Maybe<Scalars['String']>,
  205. /** All values not containing the given string. */
  206. title_not_contains?: Maybe<Scalars['String']>,
  207. /** All values starting with the given string. */
  208. title_starts_with?: Maybe<Scalars['String']>,
  209. /** All values not starting with the given string. */
  210. title_not_starts_with?: Maybe<Scalars['String']>,
  211. /** All values ending with the given string. */
  212. title_ends_with?: Maybe<Scalars['String']>,
  213. /** All values not ending with the given string. */
  214. title_not_ends_with?: Maybe<Scalars['String']>,
  215. duration?: Maybe<Scalars['Int']>,
  216. /** All values that are not equal to given value. */
  217. duration_not?: Maybe<Scalars['Int']>,
  218. /** All values that are contained in given list. */
  219. duration_in?: Maybe<Array<Scalars['Int']>>,
  220. /** All values that are not contained in given list. */
  221. duration_not_in?: Maybe<Array<Scalars['Int']>>,
  222. /** All values less than the given value. */
  223. duration_lt?: Maybe<Scalars['Int']>,
  224. /** All values less than or equal the given value. */
  225. duration_lte?: Maybe<Scalars['Int']>,
  226. /** All values greater than the given value. */
  227. duration_gt?: Maybe<Scalars['Int']>,
  228. /** All values greater than or equal the given value. */
  229. duration_gte?: Maybe<Scalars['Int']>,
  230. variation?: Maybe<Scalars['String']>,
  231. /** All values that are not equal to given value. */
  232. variation_not?: Maybe<Scalars['String']>,
  233. /** All values that are contained in given list. */
  234. variation_in?: Maybe<Array<Scalars['String']>>,
  235. /** All values that are not contained in given list. */
  236. variation_not_in?: Maybe<Array<Scalars['String']>>,
  237. /** All values less than the given value. */
  238. variation_lt?: Maybe<Scalars['String']>,
  239. /** All values less than or equal the given value. */
  240. variation_lte?: Maybe<Scalars['String']>,
  241. /** All values greater than the given value. */
  242. variation_gt?: Maybe<Scalars['String']>,
  243. /** All values greater than or equal the given value. */
  244. variation_gte?: Maybe<Scalars['String']>,
  245. /** All values containing the given string. */
  246. variation_contains?: Maybe<Scalars['String']>,
  247. /** All values not containing the given string. */
  248. variation_not_contains?: Maybe<Scalars['String']>,
  249. /** All values starting with the given string. */
  250. variation_starts_with?: Maybe<Scalars['String']>,
  251. /** All values not starting with the given string. */
  252. variation_not_starts_with?: Maybe<Scalars['String']>,
  253. /** All values ending with the given string. */
  254. variation_ends_with?: Maybe<Scalars['String']>,
  255. /** All values not ending with the given string. */
  256. variation_not_ends_with?: Maybe<Scalars['String']>,
  257. description?: Maybe<Scalars['String']>,
  258. /** All values that are not equal to given value. */
  259. description_not?: Maybe<Scalars['String']>,
  260. /** All values that are contained in given list. */
  261. description_in?: Maybe<Array<Scalars['String']>>,
  262. /** All values that are not contained in given list. */
  263. description_not_in?: Maybe<Array<Scalars['String']>>,
  264. /** All values less than the given value. */
  265. description_lt?: Maybe<Scalars['String']>,
  266. /** All values less than or equal the given value. */
  267. description_lte?: Maybe<Scalars['String']>,
  268. /** All values greater than the given value. */
  269. description_gt?: Maybe<Scalars['String']>,
  270. /** All values greater than or equal the given value. */
  271. description_gte?: Maybe<Scalars['String']>,
  272. /** All values containing the given string. */
  273. description_contains?: Maybe<Scalars['String']>,
  274. /** All values not containing the given string. */
  275. description_not_contains?: Maybe<Scalars['String']>,
  276. /** All values starting with the given string. */
  277. description_starts_with?: Maybe<Scalars['String']>,
  278. /** All values not starting with the given string. */
  279. description_not_starts_with?: Maybe<Scalars['String']>,
  280. /** All values ending with the given string. */
  281. description_ends_with?: Maybe<Scalars['String']>,
  282. /** All values not ending with the given string. */
  283. description_not_ends_with?: Maybe<Scalars['String']>,
  284. format?: Maybe<FormatWhereInput>,
  285. tracks_every?: Maybe<TrackWhereInput>,
  286. tracks_some?: Maybe<TrackWhereInput>,
  287. tracks_none?: Maybe<TrackWhereInput>,
  288. exercises_every?: Maybe<ExerciseWhereInput>,
  289. exercises_some?: Maybe<ExerciseWhereInput>,
  290. exercises_none?: Maybe<ExerciseWhereInput>,
  291. };
  292. export type Comment = Node & {
  293. __typename?: 'Comment',
  294. id: Scalars['ID'],
  295. text: Scalars['String'],
  296. author: User,
  297. createdAt: Scalars['DateTime'],
  298. };
  299. export type CommentCreateManyWithoutAuthorInput = {
  300. create?: Maybe<Array<CommentCreateWithoutAuthorInput>>,
  301. connect?: Maybe<Array<CommentWhereUniqueInput>>,
  302. };
  303. export type CommentCreateWithoutAuthorInput = {
  304. id?: Maybe<Scalars['ID']>,
  305. text: Scalars['String'],
  306. };
  307. export enum CommentOrderByInput {
  308. IdAsc = 'id_ASC',
  309. IdDesc = 'id_DESC',
  310. TextAsc = 'text_ASC',
  311. TextDesc = 'text_DESC',
  312. CreatedAtAsc = 'createdAt_ASC',
  313. CreatedAtDesc = 'createdAt_DESC'
  314. }
  315. export type CommentScalarWhereInput = {
  316. /** Logical AND on all given filters. */
  317. AND?: Maybe<Array<CommentScalarWhereInput>>,
  318. /** Logical OR on all given filters. */
  319. OR?: Maybe<Array<CommentScalarWhereInput>>,
  320. /** Logical NOT on all given filters combined by AND. */
  321. NOT?: Maybe<Array<CommentScalarWhereInput>>,
  322. id?: Maybe<Scalars['ID']>,
  323. /** All values that are not equal to given value. */
  324. id_not?: Maybe<Scalars['ID']>,
  325. /** All values that are contained in given list. */
  326. id_in?: Maybe<Array<Scalars['ID']>>,
  327. /** All values that are not contained in given list. */
  328. id_not_in?: Maybe<Array<Scalars['ID']>>,
  329. /** All values less than the given value. */
  330. id_lt?: Maybe<Scalars['ID']>,
  331. /** All values less than or equal the given value. */
  332. id_lte?: Maybe<Scalars['ID']>,
  333. /** All values greater than the given value. */
  334. id_gt?: Maybe<Scalars['ID']>,
  335. /** All values greater than or equal the given value. */
  336. id_gte?: Maybe<Scalars['ID']>,
  337. /** All values containing the given string. */
  338. id_contains?: Maybe<Scalars['ID']>,
  339. /** All values not containing the given string. */
  340. id_not_contains?: Maybe<Scalars['ID']>,
  341. /** All values starting with the given string. */
  342. id_starts_with?: Maybe<Scalars['ID']>,
  343. /** All values not starting with the given string. */
  344. id_not_starts_with?: Maybe<Scalars['ID']>,
  345. /** All values ending with the given string. */
  346. id_ends_with?: Maybe<Scalars['ID']>,
  347. /** All values not ending with the given string. */
  348. id_not_ends_with?: Maybe<Scalars['ID']>,
  349. text?: Maybe<Scalars['String']>,
  350. /** All values that are not equal to given value. */
  351. text_not?: Maybe<Scalars['String']>,
  352. /** All values that are contained in given list. */
  353. text_in?: Maybe<Array<Scalars['String']>>,
  354. /** All values that are not contained in given list. */
  355. text_not_in?: Maybe<Array<Scalars['String']>>,
  356. /** All values less than the given value. */
  357. text_lt?: Maybe<Scalars['String']>,
  358. /** All values less than or equal the given value. */
  359. text_lte?: Maybe<Scalars['String']>,
  360. /** All values greater than the given value. */
  361. text_gt?: Maybe<Scalars['String']>,
  362. /** All values greater than or equal the given value. */
  363. text_gte?: Maybe<Scalars['String']>,
  364. /** All values containing the given string. */
  365. text_contains?: Maybe<Scalars['String']>,
  366. /** All values not containing the given string. */
  367. text_not_contains?: Maybe<Scalars['String']>,
  368. /** All values starting with the given string. */
  369. text_starts_with?: Maybe<Scalars['String']>,
  370. /** All values not starting with the given string. */
  371. text_not_starts_with?: Maybe<Scalars['String']>,
  372. /** All values ending with the given string. */
  373. text_ends_with?: Maybe<Scalars['String']>,
  374. /** All values not ending with the given string. */
  375. text_not_ends_with?: Maybe<Scalars['String']>,
  376. createdAt?: Maybe<Scalars['DateTime']>,
  377. /** All values that are not equal to given value. */
  378. createdAt_not?: Maybe<Scalars['DateTime']>,
  379. /** All values that are contained in given list. */
  380. createdAt_in?: Maybe<Array<Scalars['DateTime']>>,
  381. /** All values that are not contained in given list. */
  382. createdAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
  383. /** All values less than the given value. */
  384. createdAt_lt?: Maybe<Scalars['DateTime']>,
  385. /** All values less than or equal the given value. */
  386. createdAt_lte?: Maybe<Scalars['DateTime']>,
  387. /** All values greater than the given value. */
  388. createdAt_gt?: Maybe<Scalars['DateTime']>,
  389. /** All values greater than or equal the given value. */
  390. createdAt_gte?: Maybe<Scalars['DateTime']>,
  391. };
  392. export type CommentUpdateManyDataInput = {
  393. text?: Maybe<Scalars['String']>,
  394. };
  395. export type CommentUpdateManyWithoutAuthorInput = {
  396. create?: Maybe<Array<CommentCreateWithoutAuthorInput>>,
  397. connect?: Maybe<Array<CommentWhereUniqueInput>>,
  398. set?: Maybe<Array<CommentWhereUniqueInput>>,
  399. disconnect?: Maybe<Array<CommentWhereUniqueInput>>,
  400. delete?: Maybe<Array<CommentWhereUniqueInput>>,
  401. update?: Maybe<Array<CommentUpdateWithWhereUniqueWithoutAuthorInput>>,
  402. updateMany?: Maybe<Array<CommentUpdateManyWithWhereNestedInput>>,
  403. deleteMany?: Maybe<Array<CommentScalarWhereInput>>,
  404. upsert?: Maybe<Array<CommentUpsertWithWhereUniqueWithoutAuthorInput>>,
  405. };
  406. export type CommentUpdateManyWithWhereNestedInput = {
  407. where: CommentScalarWhereInput,
  408. data: CommentUpdateManyDataInput,
  409. };
  410. export type CommentUpdateWithoutAuthorDataInput = {
  411. text?: Maybe<Scalars['String']>,
  412. };
  413. export type CommentUpdateWithWhereUniqueWithoutAuthorInput = {
  414. where: CommentWhereUniqueInput,
  415. data: CommentUpdateWithoutAuthorDataInput,
  416. };
  417. export type CommentUpsertWithWhereUniqueWithoutAuthorInput = {
  418. where: CommentWhereUniqueInput,
  419. update: CommentUpdateWithoutAuthorDataInput,
  420. create: CommentCreateWithoutAuthorInput,
  421. };
  422. export type CommentWhereInput = {
  423. /** Logical AND on all given filters. */
  424. AND?: Maybe<Array<CommentWhereInput>>,
  425. /** Logical OR on all given filters. */
  426. OR?: Maybe<Array<CommentWhereInput>>,
  427. /** Logical NOT on all given filters combined by AND. */
  428. NOT?: Maybe<Array<CommentWhereInput>>,
  429. id?: Maybe<Scalars['ID']>,
  430. /** All values that are not equal to given value. */
  431. id_not?: Maybe<Scalars['ID']>,
  432. /** All values that are contained in given list. */
  433. id_in?: Maybe<Array<Scalars['ID']>>,
  434. /** All values that are not contained in given list. */
  435. id_not_in?: Maybe<Array<Scalars['ID']>>,
  436. /** All values less than the given value. */
  437. id_lt?: Maybe<Scalars['ID']>,
  438. /** All values less than or equal the given value. */
  439. id_lte?: Maybe<Scalars['ID']>,
  440. /** All values greater than the given value. */
  441. id_gt?: Maybe<Scalars['ID']>,
  442. /** All values greater than or equal the given value. */
  443. id_gte?: Maybe<Scalars['ID']>,
  444. /** All values containing the given string. */
  445. id_contains?: Maybe<Scalars['ID']>,
  446. /** All values not containing the given string. */
  447. id_not_contains?: Maybe<Scalars['ID']>,
  448. /** All values starting with the given string. */
  449. id_starts_with?: Maybe<Scalars['ID']>,
  450. /** All values not starting with the given string. */
  451. id_not_starts_with?: Maybe<Scalars['ID']>,
  452. /** All values ending with the given string. */
  453. id_ends_with?: Maybe<Scalars['ID']>,
  454. /** All values not ending with the given string. */
  455. id_not_ends_with?: Maybe<Scalars['ID']>,
  456. text?: Maybe<Scalars['String']>,
  457. /** All values that are not equal to given value. */
  458. text_not?: Maybe<Scalars['String']>,
  459. /** All values that are contained in given list. */
  460. text_in?: Maybe<Array<Scalars['String']>>,
  461. /** All values that are not contained in given list. */
  462. text_not_in?: Maybe<Array<Scalars['String']>>,
  463. /** All values less than the given value. */
  464. text_lt?: Maybe<Scalars['String']>,
  465. /** All values less than or equal the given value. */
  466. text_lte?: Maybe<Scalars['String']>,
  467. /** All values greater than the given value. */
  468. text_gt?: Maybe<Scalars['String']>,
  469. /** All values greater than or equal the given value. */
  470. text_gte?: Maybe<Scalars['String']>,
  471. /** All values containing the given string. */
  472. text_contains?: Maybe<Scalars['String']>,
  473. /** All values not containing the given string. */
  474. text_not_contains?: Maybe<Scalars['String']>,
  475. /** All values starting with the given string. */
  476. text_starts_with?: Maybe<Scalars['String']>,
  477. /** All values not starting with the given string. */
  478. text_not_starts_with?: Maybe<Scalars['String']>,
  479. /** All values ending with the given string. */
  480. text_ends_with?: Maybe<Scalars['String']>,
  481. /** All values not ending with the given string. */
  482. text_not_ends_with?: Maybe<Scalars['String']>,
  483. createdAt?: Maybe<Scalars['DateTime']>,
  484. /** All values that are not equal to given value. */
  485. createdAt_not?: Maybe<Scalars['DateTime']>,
  486. /** All values that are contained in given list. */
  487. createdAt_in?: Maybe<Array<Scalars['DateTime']>>,
  488. /** All values that are not contained in given list. */
  489. createdAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
  490. /** All values less than the given value. */
  491. createdAt_lt?: Maybe<Scalars['DateTime']>,
  492. /** All values less than or equal the given value. */
  493. createdAt_lte?: Maybe<Scalars['DateTime']>,
  494. /** All values greater than the given value. */
  495. createdAt_gt?: Maybe<Scalars['DateTime']>,
  496. /** All values greater than or equal the given value. */
  497. createdAt_gte?: Maybe<Scalars['DateTime']>,
  498. author?: Maybe<UserWhereInput>,
  499. };
  500. export type CommentWhereUniqueInput = {
  501. id?: Maybe<Scalars['ID']>,
  502. };
  503. export type Exercise = Node & {
  504. __typename?: 'Exercise',
  505. id: Scalars['ID'],
  506. name: Scalars['String'],
  507. description: Scalars['String'],
  508. video: Scalars['String'],
  509. targets: Array<Scalars['String']>,
  510. baseExercise: BaseExercise,
  511. };
  512. export enum ExerciseOrderByInput {
  513. IdAsc = 'id_ASC',
  514. IdDesc = 'id_DESC',
  515. NameAsc = 'name_ASC',
  516. NameDesc = 'name_DESC',
  517. DescriptionAsc = 'description_ASC',
  518. DescriptionDesc = 'description_DESC',
  519. VideoAsc = 'video_ASC',
  520. VideoDesc = 'video_DESC'
  521. }
  522. export type ExerciseWhereInput = {
  523. /** Logical AND on all given filters. */
  524. AND?: Maybe<Array<ExerciseWhereInput>>,
  525. /** Logical OR on all given filters. */
  526. OR?: Maybe<Array<ExerciseWhereInput>>,
  527. /** Logical NOT on all given filters combined by AND. */
  528. NOT?: Maybe<Array<ExerciseWhereInput>>,
  529. id?: Maybe<Scalars['ID']>,
  530. /** All values that are not equal to given value. */
  531. id_not?: Maybe<Scalars['ID']>,
  532. /** All values that are contained in given list. */
  533. id_in?: Maybe<Array<Scalars['ID']>>,
  534. /** All values that are not contained in given list. */
  535. id_not_in?: Maybe<Array<Scalars['ID']>>,
  536. /** All values less than the given value. */
  537. id_lt?: Maybe<Scalars['ID']>,
  538. /** All values less than or equal the given value. */
  539. id_lte?: Maybe<Scalars['ID']>,
  540. /** All values greater than the given value. */
  541. id_gt?: Maybe<Scalars['ID']>,
  542. /** All values greater than or equal the given value. */
  543. id_gte?: Maybe<Scalars['ID']>,
  544. /** All values containing the given string. */
  545. id_contains?: Maybe<Scalars['ID']>,
  546. /** All values not containing the given string. */
  547. id_not_contains?: Maybe<Scalars['ID']>,
  548. /** All values starting with the given string. */
  549. id_starts_with?: Maybe<Scalars['ID']>,
  550. /** All values not starting with the given string. */
  551. id_not_starts_with?: Maybe<Scalars['ID']>,
  552. /** All values ending with the given string. */
  553. id_ends_with?: Maybe<Scalars['ID']>,
  554. /** All values not ending with the given string. */
  555. id_not_ends_with?: Maybe<Scalars['ID']>,
  556. name?: Maybe<Scalars['String']>,
  557. /** All values that are not equal to given value. */
  558. name_not?: Maybe<Scalars['String']>,
  559. /** All values that are contained in given list. */
  560. name_in?: Maybe<Array<Scalars['String']>>,
  561. /** All values that are not contained in given list. */
  562. name_not_in?: Maybe<Array<Scalars['String']>>,
  563. /** All values less than the given value. */
  564. name_lt?: Maybe<Scalars['String']>,
  565. /** All values less than or equal the given value. */
  566. name_lte?: Maybe<Scalars['String']>,
  567. /** All values greater than the given value. */
  568. name_gt?: Maybe<Scalars['String']>,
  569. /** All values greater than or equal the given value. */
  570. name_gte?: Maybe<Scalars['String']>,
  571. /** All values containing the given string. */
  572. name_contains?: Maybe<Scalars['String']>,
  573. /** All values not containing the given string. */
  574. name_not_contains?: Maybe<Scalars['String']>,
  575. /** All values starting with the given string. */
  576. name_starts_with?: Maybe<Scalars['String']>,
  577. /** All values not starting with the given string. */
  578. name_not_starts_with?: Maybe<Scalars['String']>,
  579. /** All values ending with the given string. */
  580. name_ends_with?: Maybe<Scalars['String']>,
  581. /** All values not ending with the given string. */
  582. name_not_ends_with?: Maybe<Scalars['String']>,
  583. description?: Maybe<Scalars['String']>,
  584. /** All values that are not equal to given value. */
  585. description_not?: Maybe<Scalars['String']>,
  586. /** All values that are contained in given list. */
  587. description_in?: Maybe<Array<Scalars['String']>>,
  588. /** All values that are not contained in given list. */
  589. description_not_in?: Maybe<Array<Scalars['String']>>,
  590. /** All values less than the given value. */
  591. description_lt?: Maybe<Scalars['String']>,
  592. /** All values less than or equal the given value. */
  593. description_lte?: Maybe<Scalars['String']>,
  594. /** All values greater than the given value. */
  595. description_gt?: Maybe<Scalars['String']>,
  596. /** All values greater than or equal the given value. */
  597. description_gte?: Maybe<Scalars['String']>,
  598. /** All values containing the given string. */
  599. description_contains?: Maybe<Scalars['String']>,
  600. /** All values not containing the given string. */
  601. description_not_contains?: Maybe<Scalars['String']>,
  602. /** All values starting with the given string. */
  603. description_starts_with?: Maybe<Scalars['String']>,
  604. /** All values not starting with the given string. */
  605. description_not_starts_with?: Maybe<Scalars['String']>,
  606. /** All values ending with the given string. */
  607. description_ends_with?: Maybe<Scalars['String']>,
  608. /** All values not ending with the given string. */
  609. description_not_ends_with?: Maybe<Scalars['String']>,
  610. video?: Maybe<Scalars['String']>,
  611. /** All values that are not equal to given value. */
  612. video_not?: Maybe<Scalars['String']>,
  613. /** All values that are contained in given list. */
  614. video_in?: Maybe<Array<Scalars['String']>>,
  615. /** All values that are not contained in given list. */
  616. video_not_in?: Maybe<Array<Scalars['String']>>,
  617. /** All values less than the given value. */
  618. video_lt?: Maybe<Scalars['String']>,
  619. /** All values less than or equal the given value. */
  620. video_lte?: Maybe<Scalars['String']>,
  621. /** All values greater than the given value. */
  622. video_gt?: Maybe<Scalars['String']>,
  623. /** All values greater than or equal the given value. */
  624. video_gte?: Maybe<Scalars['String']>,
  625. /** All values containing the given string. */
  626. video_contains?: Maybe<Scalars['String']>,
  627. /** All values not containing the given string. */
  628. video_not_contains?: Maybe<Scalars['String']>,
  629. /** All values starting with the given string. */
  630. video_starts_with?: Maybe<Scalars['String']>,
  631. /** All values not starting with the given string. */
  632. video_not_starts_with?: Maybe<Scalars['String']>,
  633. /** All values ending with the given string. */
  634. video_ends_with?: Maybe<Scalars['String']>,
  635. /** All values not ending with the given string. */
  636. video_not_ends_with?: Maybe<Scalars['String']>,
  637. baseExercise?: Maybe<BaseExerciseWhereInput>,
  638. };
  639. export type Format = Node & {
  640. __typename?: 'Format',
  641. id: Scalars['ID'],
  642. name: Scalars['String'],
  643. description: Scalars['String'],
  644. };
  645. export type FormatWhereInput = {
  646. /** Logical AND on all given filters. */
  647. AND?: Maybe<Array<FormatWhereInput>>,
  648. /** Logical OR on all given filters. */
  649. OR?: Maybe<Array<FormatWhereInput>>,
  650. /** Logical NOT on all given filters combined by AND. */
  651. NOT?: Maybe<Array<FormatWhereInput>>,
  652. id?: Maybe<Scalars['ID']>,
  653. /** All values that are not equal to given value. */
  654. id_not?: Maybe<Scalars['ID']>,
  655. /** All values that are contained in given list. */
  656. id_in?: Maybe<Array<Scalars['ID']>>,
  657. /** All values that are not contained in given list. */
  658. id_not_in?: Maybe<Array<Scalars['ID']>>,
  659. /** All values less than the given value. */
  660. id_lt?: Maybe<Scalars['ID']>,
  661. /** All values less than or equal the given value. */
  662. id_lte?: Maybe<Scalars['ID']>,
  663. /** All values greater than the given value. */
  664. id_gt?: Maybe<Scalars['ID']>,
  665. /** All values greater than or equal the given value. */
  666. id_gte?: Maybe<Scalars['ID']>,
  667. /** All values containing the given string. */
  668. id_contains?: Maybe<Scalars['ID']>,
  669. /** All values not containing the given string. */
  670. id_not_contains?: Maybe<Scalars['ID']>,
  671. /** All values starting with the given string. */
  672. id_starts_with?: Maybe<Scalars['ID']>,
  673. /** All values not starting with the given string. */
  674. id_not_starts_with?: Maybe<Scalars['ID']>,
  675. /** All values ending with the given string. */
  676. id_ends_with?: Maybe<Scalars['ID']>,
  677. /** All values not ending with the given string. */
  678. id_not_ends_with?: Maybe<Scalars['ID']>,
  679. name?: Maybe<Scalars['String']>,
  680. /** All values that are not equal to given value. */
  681. name_not?: Maybe<Scalars['String']>,
  682. /** All values that are contained in given list. */
  683. name_in?: Maybe<Array<Scalars['String']>>,
  684. /** All values that are not contained in given list. */
  685. name_not_in?: Maybe<Array<Scalars['String']>>,
  686. /** All values less than the given value. */
  687. name_lt?: Maybe<Scalars['String']>,
  688. /** All values less than or equal the given value. */
  689. name_lte?: Maybe<Scalars['String']>,
  690. /** All values greater than the given value. */
  691. name_gt?: Maybe<Scalars['String']>,
  692. /** All values greater than or equal the given value. */
  693. name_gte?: Maybe<Scalars['String']>,
  694. /** All values containing the given string. */
  695. name_contains?: Maybe<Scalars['String']>,
  696. /** All values not containing the given string. */
  697. name_not_contains?: Maybe<Scalars['String']>,
  698. /** All values starting with the given string. */
  699. name_starts_with?: Maybe<Scalars['String']>,
  700. /** All values not starting with the given string. */
  701. name_not_starts_with?: Maybe<Scalars['String']>,
  702. /** All values ending with the given string. */
  703. name_ends_with?: Maybe<Scalars['String']>,
  704. /** All values not ending with the given string. */
  705. name_not_ends_with?: Maybe<Scalars['String']>,
  706. description?: Maybe<Scalars['String']>,
  707. /** All values that are not equal to given value. */
  708. description_not?: Maybe<Scalars['String']>,
  709. /** All values that are contained in given list. */
  710. description_in?: Maybe<Array<Scalars['String']>>,
  711. /** All values that are not contained in given list. */
  712. description_not_in?: Maybe<Array<Scalars['String']>>,
  713. /** All values less than the given value. */
  714. description_lt?: Maybe<Scalars['String']>,
  715. /** All values less than or equal the given value. */
  716. description_lte?: Maybe<Scalars['String']>,
  717. /** All values greater than the given value. */
  718. description_gt?: Maybe<Scalars['String']>,
  719. /** All values greater than or equal the given value. */
  720. description_gte?: Maybe<Scalars['String']>,
  721. /** All values containing the given string. */
  722. description_contains?: Maybe<Scalars['String']>,
  723. /** All values not containing the given string. */
  724. description_not_contains?: Maybe<Scalars['String']>,
  725. /** All values starting with the given string. */
  726. description_starts_with?: Maybe<Scalars['String']>,
  727. /** All values not starting with the given string. */
  728. description_not_starts_with?: Maybe<Scalars['String']>,
  729. /** All values ending with the given string. */
  730. description_ends_with?: Maybe<Scalars['String']>,
  731. /** All values not ending with the given string. */
  732. description_not_ends_with?: Maybe<Scalars['String']>,
  733. };
  734. export type Mutation = {
  735. __typename?: 'Mutation',
  736. createUser: User,
  737. updateUser?: Maybe<User>,
  738. deleteUser?: Maybe<User>,
  739. createTraining: Training,
  740. createTrainingType: TrainingType,
  741. createBlock: Block,
  742. login: User,
  743. logout: Scalars['String'],
  744. signup: User,
  745. requestReset: Scalars['String'],
  746. resetPassword: User,
  747. };
  748. export type MutationCreateUserArgs = {
  749. data: UserCreateInput
  750. };
  751. export type MutationUpdateUserArgs = {
  752. data: UserUpdateInput,
  753. where: UserWhereUniqueInput
  754. };
  755. export type MutationDeleteUserArgs = {
  756. where: UserWhereUniqueInput
  757. };
  758. export type MutationCreateTrainingArgs = {
  759. title: Scalars['String']
  760. };
  761. export type MutationCreateTrainingTypeArgs = {
  762. name: Scalars['String'],
  763. description: Scalars['String']
  764. };
  765. export type MutationCreateBlockArgs = {
  766. sequence: Scalars['Int'],
  767. title: Scalars['String'],
  768. duration: Scalars['Int'],
  769. variation?: Maybe<Scalars['String']>,
  770. format?: Maybe<Scalars['ID']>,
  771. tracks: Array<Maybe<Scalars['ID']>>,
  772. exercises: Array<Maybe<Scalars['ID']>>,
  773. description: Scalars['String']
  774. };
  775. export type MutationLoginArgs = {
  776. email: Scalars['String'],
  777. password: Scalars['String']
  778. };
  779. export type MutationSignupArgs = {
  780. name: Scalars['String'],
  781. email: Scalars['String'],
  782. password: Scalars['String']
  783. };
  784. export type MutationRequestResetArgs = {
  785. email: Scalars['String']
  786. };
  787. export type MutationResetPasswordArgs = {
  788. token: Scalars['String'],
  789. password: Scalars['String']
  790. };
  791. /** An object with an ID */
  792. export type Node = {
  793. /** The id of the object. */
  794. id: Scalars['ID'],
  795. };
  796. export enum Permission {
  797. Admin = 'ADMIN',
  798. Instructor = 'INSTRUCTOR'
  799. }
  800. export type Query = {
  801. __typename?: 'Query',
  802. users: Array<Maybe<User>>,
  803. training?: Maybe<Training>,
  804. trainings: Array<Maybe<Training>>,
  805. trainingTypes: Array<Maybe<TrainingType>>,
  806. blocks: Array<Maybe<Block>>,
  807. me: User,
  808. };
  809. export type QueryUsersArgs = {
  810. where?: Maybe<UserWhereInput>,
  811. orderBy?: Maybe<UserOrderByInput>,
  812. skip?: Maybe<Scalars['Int']>,
  813. after?: Maybe<Scalars['String']>,
  814. before?: Maybe<Scalars['String']>,
  815. first?: Maybe<Scalars['Int']>,
  816. last?: Maybe<Scalars['Int']>
  817. };
  818. export type QueryTrainingArgs = {
  819. where: TrainingWhereUniqueInput
  820. };
  821. export type QueryTrainingsArgs = {
  822. where?: Maybe<TrainingWhereInput>,
  823. orderBy?: Maybe<TrainingOrderByInput>,
  824. skip?: Maybe<Scalars['Int']>,
  825. after?: Maybe<Scalars['String']>,
  826. before?: Maybe<Scalars['String']>,
  827. first?: Maybe<Scalars['Int']>,
  828. last?: Maybe<Scalars['Int']>
  829. };
  830. export type QueryTrainingTypesArgs = {
  831. where?: Maybe<TrainingTypeWhereInput>,
  832. orderBy?: Maybe<TrainingTypeOrderByInput>,
  833. skip?: Maybe<Scalars['Int']>,
  834. after?: Maybe<Scalars['String']>,
  835. before?: Maybe<Scalars['String']>,
  836. first?: Maybe<Scalars['Int']>,
  837. last?: Maybe<Scalars['Int']>
  838. };
  839. export type QueryBlocksArgs = {
  840. where?: Maybe<BlockWhereInput>,
  841. orderBy?: Maybe<BlockOrderByInput>,
  842. skip?: Maybe<Scalars['Int']>,
  843. after?: Maybe<Scalars['String']>,
  844. before?: Maybe<Scalars['String']>,
  845. first?: Maybe<Scalars['Int']>,
  846. last?: Maybe<Scalars['Int']>
  847. };
  848. export type Rating = Node & {
  849. __typename?: 'Rating',
  850. id: Scalars['ID'],
  851. user: User,
  852. value: Scalars['Int'],
  853. comment: Scalars['String'],
  854. createdAt: Scalars['DateTime'],
  855. };
  856. export type RatingCreateManyWithoutUserInput = {
  857. create?: Maybe<Array<RatingCreateWithoutUserInput>>,
  858. connect?: Maybe<Array<RatingWhereUniqueInput>>,
  859. };
  860. export type RatingCreateWithoutUserInput = {
  861. id?: Maybe<Scalars['ID']>,
  862. value: Scalars['Int'],
  863. comment: Scalars['String'],
  864. };
  865. export enum RatingOrderByInput {
  866. IdAsc = 'id_ASC',
  867. IdDesc = 'id_DESC',
  868. ValueAsc = 'value_ASC',
  869. ValueDesc = 'value_DESC',
  870. CommentAsc = 'comment_ASC',
  871. CommentDesc = 'comment_DESC',
  872. CreatedAtAsc = 'createdAt_ASC',
  873. CreatedAtDesc = 'createdAt_DESC'
  874. }
  875. export type RatingScalarWhereInput = {
  876. /** Logical AND on all given filters. */
  877. AND?: Maybe<Array<RatingScalarWhereInput>>,
  878. /** Logical OR on all given filters. */
  879. OR?: Maybe<Array<RatingScalarWhereInput>>,
  880. /** Logical NOT on all given filters combined by AND. */
  881. NOT?: Maybe<Array<RatingScalarWhereInput>>,
  882. id?: Maybe<Scalars['ID']>,
  883. /** All values that are not equal to given value. */
  884. id_not?: Maybe<Scalars['ID']>,
  885. /** All values that are contained in given list. */
  886. id_in?: Maybe<Array<Scalars['ID']>>,
  887. /** All values that are not contained in given list. */
  888. id_not_in?: Maybe<Array<Scalars['ID']>>,
  889. /** All values less than the given value. */
  890. id_lt?: Maybe<Scalars['ID']>,
  891. /** All values less than or equal the given value. */
  892. id_lte?: Maybe<Scalars['ID']>,
  893. /** All values greater than the given value. */
  894. id_gt?: Maybe<Scalars['ID']>,
  895. /** All values greater than or equal the given value. */
  896. id_gte?: Maybe<Scalars['ID']>,
  897. /** All values containing the given string. */
  898. id_contains?: Maybe<Scalars['ID']>,
  899. /** All values not containing the given string. */
  900. id_not_contains?: Maybe<Scalars['ID']>,
  901. /** All values starting with the given string. */
  902. id_starts_with?: Maybe<Scalars['ID']>,
  903. /** All values not starting with the given string. */
  904. id_not_starts_with?: Maybe<Scalars['ID']>,
  905. /** All values ending with the given string. */
  906. id_ends_with?: Maybe<Scalars['ID']>,
  907. /** All values not ending with the given string. */
  908. id_not_ends_with?: Maybe<Scalars['ID']>,
  909. value?: Maybe<Scalars['Int']>,
  910. /** All values that are not equal to given value. */
  911. value_not?: Maybe<Scalars['Int']>,
  912. /** All values that are contained in given list. */
  913. value_in?: Maybe<Array<Scalars['Int']>>,
  914. /** All values that are not contained in given list. */
  915. value_not_in?: Maybe<Array<Scalars['Int']>>,
  916. /** All values less than the given value. */
  917. value_lt?: Maybe<Scalars['Int']>,
  918. /** All values less than or equal the given value. */
  919. value_lte?: Maybe<Scalars['Int']>,
  920. /** All values greater than the given value. */
  921. value_gt?: Maybe<Scalars['Int']>,
  922. /** All values greater than or equal the given value. */
  923. value_gte?: Maybe<Scalars['Int']>,
  924. comment?: Maybe<Scalars['String']>,
  925. /** All values that are not equal to given value. */
  926. comment_not?: Maybe<Scalars['String']>,
  927. /** All values that are contained in given list. */
  928. comment_in?: Maybe<Array<Scalars['String']>>,
  929. /** All values that are not contained in given list. */
  930. comment_not_in?: Maybe<Array<Scalars['String']>>,
  931. /** All values less than the given value. */
  932. comment_lt?: Maybe<Scalars['String']>,
  933. /** All values less than or equal the given value. */
  934. comment_lte?: Maybe<Scalars['String']>,
  935. /** All values greater than the given value. */
  936. comment_gt?: Maybe<Scalars['String']>,
  937. /** All values greater than or equal the given value. */
  938. comment_gte?: Maybe<Scalars['String']>,
  939. /** All values containing the given string. */
  940. comment_contains?: Maybe<Scalars['String']>,
  941. /** All values not containing the given string. */
  942. comment_not_contains?: Maybe<Scalars['String']>,
  943. /** All values starting with the given string. */
  944. comment_starts_with?: Maybe<Scalars['String']>,
  945. /** All values not starting with the given string. */
  946. comment_not_starts_with?: Maybe<Scalars['String']>,
  947. /** All values ending with the given string. */
  948. comment_ends_with?: Maybe<Scalars['String']>,
  949. /** All values not ending with the given string. */
  950. comment_not_ends_with?: Maybe<Scalars['String']>,
  951. createdAt?: Maybe<Scalars['DateTime']>,
  952. /** All values that are not equal to given value. */
  953. createdAt_not?: Maybe<Scalars['DateTime']>,
  954. /** All values that are contained in given list. */
  955. createdAt_in?: Maybe<Array<Scalars['DateTime']>>,
  956. /** All values that are not contained in given list. */
  957. createdAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
  958. /** All values less than the given value. */
  959. createdAt_lt?: Maybe<Scalars['DateTime']>,
  960. /** All values less than or equal the given value. */
  961. createdAt_lte?: Maybe<Scalars['DateTime']>,
  962. /** All values greater than the given value. */
  963. createdAt_gt?: Maybe<Scalars['DateTime']>,
  964. /** All values greater than or equal the given value. */
  965. createdAt_gte?: Maybe<Scalars['DateTime']>,
  966. };
  967. export type RatingUpdateManyDataInput = {
  968. value?: Maybe<Scalars['Int']>,
  969. comment?: Maybe<Scalars['String']>,
  970. };
  971. export type RatingUpdateManyWithoutUserInput = {
  972. create?: Maybe<Array<RatingCreateWithoutUserInput>>,
  973. connect?: Maybe<Array<RatingWhereUniqueInput>>,
  974. set?: Maybe<Array<RatingWhereUniqueInput>>,
  975. disconnect?: Maybe<Array<RatingWhereUniqueInput>>,
  976. delete?: Maybe<Array<RatingWhereUniqueInput>>,
  977. update?: Maybe<Array<RatingUpdateWithWhereUniqueWithoutUserInput>>,
  978. updateMany?: Maybe<Array<RatingUpdateManyWithWhereNestedInput>>,
  979. deleteMany?: Maybe<Array<RatingScalarWhereInput>>,
  980. upsert?: Maybe<Array<RatingUpsertWithWhereUniqueWithoutUserInput>>,
  981. };
  982. export type RatingUpdateManyWithWhereNestedInput = {
  983. where: RatingScalarWhereInput,
  984. data: RatingUpdateManyDataInput,
  985. };
  986. export type RatingUpdateWithoutUserDataInput = {
  987. value?: Maybe<Scalars['Int']>,
  988. comment?: Maybe<Scalars['String']>,
  989. };
  990. export type RatingUpdateWithWhereUniqueWithoutUserInput = {
  991. where: RatingWhereUniqueInput,
  992. data: RatingUpdateWithoutUserDataInput,
  993. };
  994. export type RatingUpsertWithWhereUniqueWithoutUserInput = {
  995. where: RatingWhereUniqueInput,
  996. update: RatingUpdateWithoutUserDataInput,
  997. create: RatingCreateWithoutUserInput,
  998. };
  999. export type RatingWhereInput = {
  1000. /** Logical AND on all given filters. */
  1001. AND?: Maybe<Array<RatingWhereInput>>,
  1002. /** Logical OR on all given filters. */
  1003. OR?: Maybe<Array<RatingWhereInput>>,
  1004. /** Logical NOT on all given filters combined by AND. */
  1005. NOT?: Maybe<Array<RatingWhereInput>>,
  1006. id?: Maybe<Scalars['ID']>,
  1007. /** All values that are not equal to given value. */
  1008. id_not?: Maybe<Scalars['ID']>,
  1009. /** All values that are contained in given list. */
  1010. id_in?: Maybe<Array<Scalars['ID']>>,
  1011. /** All values that are not contained in given list. */
  1012. id_not_in?: Maybe<Array<Scalars['ID']>>,
  1013. /** All values less than the given value. */
  1014. id_lt?: Maybe<Scalars['ID']>,
  1015. /** All values less than or equal the given value. */
  1016. id_lte?: Maybe<Scalars['ID']>,
  1017. /** All values greater than the given value. */
  1018. id_gt?: Maybe<Scalars['ID']>,
  1019. /** All values greater than or equal the given value. */
  1020. id_gte?: Maybe<Scalars['ID']>,
  1021. /** All values containing the given string. */
  1022. id_contains?: Maybe<Scalars['ID']>,
  1023. /** All values not containing the given string. */
  1024. id_not_contains?: Maybe<Scalars['ID']>,
  1025. /** All values starting with the given string. */
  1026. id_starts_with?: Maybe<Scalars['ID']>,
  1027. /** All values not starting with the given string. */
  1028. id_not_starts_with?: Maybe<Scalars['ID']>,
  1029. /** All values ending with the given string. */
  1030. id_ends_with?: Maybe<Scalars['ID']>,
  1031. /** All values not ending with the given string. */
  1032. id_not_ends_with?: Maybe<Scalars['ID']>,
  1033. value?: Maybe<Scalars['Int']>,
  1034. /** All values that are not equal to given value. */
  1035. value_not?: Maybe<Scalars['Int']>,
  1036. /** All values that are contained in given list. */
  1037. value_in?: Maybe<Array<Scalars['Int']>>,
  1038. /** All values that are not contained in given list. */
  1039. value_not_in?: Maybe<Array<Scalars['Int']>>,
  1040. /** All values less than the given value. */
  1041. value_lt?: Maybe<Scalars['Int']>,
  1042. /** All values less than or equal the given value. */
  1043. value_lte?: Maybe<Scalars['Int']>,
  1044. /** All values greater than the given value. */
  1045. value_gt?: Maybe<Scalars['Int']>,
  1046. /** All values greater than or equal the given value. */
  1047. value_gte?: Maybe<Scalars['Int']>,
  1048. comment?: Maybe<Scalars['String']>,
  1049. /** All values that are not equal to given value. */
  1050. comment_not?: Maybe<Scalars['String']>,
  1051. /** All values that are contained in given list. */
  1052. comment_in?: Maybe<Array<Scalars['String']>>,
  1053. /** All values that are not contained in given list. */
  1054. comment_not_in?: Maybe<Array<Scalars['String']>>,
  1055. /** All values less than the given value. */
  1056. comment_lt?: Maybe<Scalars['String']>,
  1057. /** All values less than or equal the given value. */
  1058. comment_lte?: Maybe<Scalars['String']>,
  1059. /** All values greater than the given value. */
  1060. comment_gt?: Maybe<Scalars['String']>,
  1061. /** All values greater than or equal the given value. */
  1062. comment_gte?: Maybe<Scalars['String']>,
  1063. /** All values containing the given string. */
  1064. comment_contains?: Maybe<Scalars['String']>,
  1065. /** All values not containing the given string. */
  1066. comment_not_contains?: Maybe<Scalars['String']>,
  1067. /** All values starting with the given string. */
  1068. comment_starts_with?: Maybe<Scalars['String']>,
  1069. /** All values not starting with the given string. */
  1070. comment_not_starts_with?: Maybe<Scalars['String']>,
  1071. /** All values ending with the given string. */
  1072. comment_ends_with?: Maybe<Scalars['String']>,
  1073. /** All values not ending with the given string. */
  1074. comment_not_ends_with?: Maybe<Scalars['String']>,
  1075. createdAt?: Maybe<Scalars['DateTime']>,
  1076. /** All values that are not equal to given value. */
  1077. createdAt_not?: Maybe<Scalars['DateTime']>,
  1078. /** All values that are contained in given list. */
  1079. createdAt_in?: Maybe<Array<Scalars['DateTime']>>,
  1080. /** All values that are not contained in given list. */
  1081. createdAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
  1082. /** All values less than the given value. */
  1083. createdAt_lt?: Maybe<Scalars['DateTime']>,
  1084. /** All values less than or equal the given value. */
  1085. createdAt_lte?: Maybe<Scalars['DateTime']>,
  1086. /** All values greater than the given value. */
  1087. createdAt_gt?: Maybe<Scalars['DateTime']>,
  1088. /** All values greater than or equal the given value. */
  1089. createdAt_gte?: Maybe<Scalars['DateTime']>,
  1090. user?: Maybe<UserWhereInput>,
  1091. };
  1092. export type RatingWhereUniqueInput = {
  1093. id?: Maybe<Scalars['ID']>,
  1094. };
  1095. export type Track = Node & {
  1096. __typename?: 'Track',
  1097. id: Scalars['ID'],
  1098. title: Scalars['String'],
  1099. artist: Scalars['String'],
  1100. duration: Scalars['Int'],
  1101. link: Scalars['String'],
  1102. };
  1103. export enum TrackOrderByInput {
  1104. IdAsc = 'id_ASC',
  1105. IdDesc = 'id_DESC',
  1106. TitleAsc = 'title_ASC',
  1107. TitleDesc = 'title_DESC',
  1108. ArtistAsc = 'artist_ASC',
  1109. ArtistDesc = 'artist_DESC',
  1110. DurationAsc = 'duration_ASC',
  1111. DurationDesc = 'duration_DESC',
  1112. LinkAsc = 'link_ASC',
  1113. LinkDesc = 'link_DESC'
  1114. }
  1115. export type TrackWhereInput = {
  1116. /** Logical AND on all given filters. */
  1117. AND?: Maybe<Array<TrackWhereInput>>,
  1118. /** Logical OR on all given filters. */
  1119. OR?: Maybe<Array<TrackWhereInput>>,
  1120. /** Logical NOT on all given filters combined by AND. */
  1121. NOT?: Maybe<Array<TrackWhereInput>>,
  1122. id?: Maybe<Scalars['ID']>,
  1123. /** All values that are not equal to given value. */
  1124. id_not?: Maybe<Scalars['ID']>,
  1125. /** All values that are contained in given list. */
  1126. id_in?: Maybe<Array<Scalars['ID']>>,
  1127. /** All values that are not contained in given list. */
  1128. id_not_in?: Maybe<Array<Scalars['ID']>>,
  1129. /** All values less than the given value. */
  1130. id_lt?: Maybe<Scalars['ID']>,
  1131. /** All values less than or equal the given value. */
  1132. id_lte?: Maybe<Scalars['ID']>,
  1133. /** All values greater than the given value. */
  1134. id_gt?: Maybe<Scalars['ID']>,
  1135. /** All values greater than or equal the given value. */
  1136. id_gte?: Maybe<Scalars['ID']>,
  1137. /** All values containing the given string. */
  1138. id_contains?: Maybe<Scalars['ID']>,
  1139. /** All values not containing the given string. */
  1140. id_not_contains?: Maybe<Scalars['ID']>,
  1141. /** All values starting with the given string. */
  1142. id_starts_with?: Maybe<Scalars['ID']>,
  1143. /** All values not starting with the given string. */
  1144. id_not_starts_with?: Maybe<Scalars['ID']>,
  1145. /** All values ending with the given string. */
  1146. id_ends_with?: Maybe<Scalars['ID']>,
  1147. /** All values not ending with the given string. */
  1148. id_not_ends_with?: Maybe<Scalars['ID']>,
  1149. title?: Maybe<Scalars['String']>,
  1150. /** All values that are not equal to given value. */
  1151. title_not?: Maybe<Scalars['String']>,
  1152. /** All values that are contained in given list. */
  1153. title_in?: Maybe<Array<Scalars['String']>>,
  1154. /** All values that are not contained in given list. */
  1155. title_not_in?: Maybe<Array<Scalars['String']>>,
  1156. /** All values less than the given value. */
  1157. title_lt?: Maybe<Scalars['String']>,
  1158. /** All values less than or equal the given value. */
  1159. title_lte?: Maybe<Scalars['String']>,
  1160. /** All values greater than the given value. */
  1161. title_gt?: Maybe<Scalars['String']>,
  1162. /** All values greater than or equal the given value. */
  1163. title_gte?: Maybe<Scalars['String']>,
  1164. /** All values containing the given string. */
  1165. title_contains?: Maybe<Scalars['String']>,
  1166. /** All values not containing the given string. */
  1167. title_not_contains?: Maybe<Scalars['String']>,
  1168. /** All values starting with the given string. */
  1169. title_starts_with?: Maybe<Scalars['String']>,
  1170. /** All values not starting with the given string. */
  1171. title_not_starts_with?: Maybe<Scalars['String']>,
  1172. /** All values ending with the given string. */
  1173. title_ends_with?: Maybe<Scalars['String']>,
  1174. /** All values not ending with the given string. */
  1175. title_not_ends_with?: Maybe<Scalars['String']>,
  1176. artist?: Maybe<Scalars['String']>,
  1177. /** All values that are not equal to given value. */
  1178. artist_not?: Maybe<Scalars['String']>,
  1179. /** All values that are contained in given list. */
  1180. artist_in?: Maybe<Array<Scalars['String']>>,
  1181. /** All values that are not contained in given list. */
  1182. artist_not_in?: Maybe<Array<Scalars['String']>>,
  1183. /** All values less than the given value. */
  1184. artist_lt?: Maybe<Scalars['String']>,
  1185. /** All values less than or equal the given value. */
  1186. artist_lte?: Maybe<Scalars['String']>,
  1187. /** All values greater than the given value. */
  1188. artist_gt?: Maybe<Scalars['String']>,
  1189. /** All values greater than or equal the given value. */
  1190. artist_gte?: Maybe<Scalars['String']>,
  1191. /** All values containing the given string. */
  1192. artist_contains?: Maybe<Scalars['String']>,
  1193. /** All values not containing the given string. */
  1194. artist_not_contains?: Maybe<Scalars['String']>,
  1195. /** All values starting with the given string. */
  1196. artist_starts_with?: Maybe<Scalars['String']>,
  1197. /** All values not starting with the given string. */
  1198. artist_not_starts_with?: Maybe<Scalars['String']>,
  1199. /** All values ending with the given string. */
  1200. artist_ends_with?: Maybe<Scalars['String']>,
  1201. /** All values not ending with the given string. */
  1202. artist_not_ends_with?: Maybe<Scalars['String']>,
  1203. duration?: Maybe<Scalars['Int']>,
  1204. /** All values that are not equal to given value. */
  1205. duration_not?: Maybe<Scalars['Int']>,
  1206. /** All values that are contained in given list. */
  1207. duration_in?: Maybe<Array<Scalars['Int']>>,
  1208. /** All values that are not contained in given list. */
  1209. duration_not_in?: Maybe<Array<Scalars['Int']>>,
  1210. /** All values less than the given value. */
  1211. duration_lt?: Maybe<Scalars['Int']>,
  1212. /** All values less than or equal the given value. */
  1213. duration_lte?: Maybe<Scalars['Int']>,
  1214. /** All values greater than the given value. */
  1215. duration_gt?: Maybe<Scalars['Int']>,
  1216. /** All values greater than or equal the given value. */
  1217. duration_gte?: Maybe<Scalars['Int']>,
  1218. link?: Maybe<Scalars['String']>,
  1219. /** All values that are not equal to given value. */
  1220. link_not?: Maybe<Scalars['String']>,
  1221. /** All values that are contained in given list. */
  1222. link_in?: Maybe<Array<Scalars['String']>>,
  1223. /** All values that are not contained in given list. */
  1224. link_not_in?: Maybe<Array<Scalars['String']>>,
  1225. /** All values less than the given value. */
  1226. link_lt?: Maybe<Scalars['String']>,
  1227. /** All values less than or equal the given value. */
  1228. link_lte?: Maybe<Scalars['String']>,
  1229. /** All values greater than the given value. */
  1230. link_gt?: Maybe<Scalars['String']>,
  1231. /** All values greater than or equal the given value. */
  1232. link_gte?: Maybe<Scalars['String']>,
  1233. /** All values containing the given string. */
  1234. link_contains?: Maybe<Scalars['String']>,
  1235. /** All values not containing the given string. */
  1236. link_not_contains?: Maybe<Scalars['String']>,
  1237. /** All values starting with the given string. */
  1238. link_starts_with?: Maybe<Scalars['String']>,
  1239. /** All values not starting with the given string. */
  1240. link_not_starts_with?: Maybe<Scalars['String']>,
  1241. /** All values ending with the given string. */
  1242. link_ends_with?: Maybe<Scalars['String']>,
  1243. /** All values not ending with the given string. */
  1244. link_not_ends_with?: Maybe<Scalars['String']>,
  1245. };
  1246. export type Training = Node & {
  1247. __typename?: 'Training',
  1248. id: Scalars['ID'],
  1249. title: Scalars['String'],
  1250. type: TrainingType,
  1251. content?: Maybe<Array<Block>>,
  1252. createdAt: Scalars['DateTime'],
  1253. trainingDate: Scalars['DateTime'],
  1254. location: Scalars['String'],
  1255. registration?: Maybe<Array<User>>,
  1256. attendance: Scalars['Int'],
  1257. ratings?: Maybe<Array<Rating>>,
  1258. published: Scalars['Boolean'],
  1259. };
  1260. export type TrainingContentArgs = {
  1261. where?: Maybe<BlockWhereInput>,
  1262. orderBy?: Maybe<BlockOrderByInput>,
  1263. skip?: Maybe<Scalars['Int']>,
  1264. after?: Maybe<Scalars['String']>,
  1265. before?: Maybe<Scalars['String']>,
  1266. first?: Maybe<Scalars['Int']>,
  1267. last?: Maybe<Scalars['Int']>
  1268. };
  1269. export type TrainingRegistrationArgs = {
  1270. where?: Maybe<UserWhereInput>,
  1271. orderBy?: Maybe<UserOrderByInput>,
  1272. skip?: Maybe<Scalars['Int']>,
  1273. after?: Maybe<Scalars['String']>,
  1274. before?: Maybe<Scalars['String']>,
  1275. first?: Maybe<Scalars['Int']>,
  1276. last?: Maybe<Scalars['Int']>
  1277. };
  1278. export type TrainingRatingsArgs = {
  1279. where?: Maybe<RatingWhereInput>,
  1280. orderBy?: Maybe<RatingOrderByInput>,
  1281. skip?: Maybe<Scalars['Int']>,
  1282. after?: Maybe<Scalars['String']>,
  1283. before?: Maybe<Scalars['String']>,
  1284. first?: Maybe<Scalars['Int']>,
  1285. last?: Maybe<Scalars['Int']>
  1286. };
  1287. export enum TrainingOrderByInput {
  1288. IdAsc = 'id_ASC',
  1289. IdDesc = 'id_DESC',
  1290. TitleAsc = 'title_ASC',
  1291. TitleDesc = 'title_DESC',
  1292. CreatedAtAsc = 'createdAt_ASC',
  1293. CreatedAtDesc = 'createdAt_DESC',
  1294. TrainingDateAsc = 'trainingDate_ASC',
  1295. TrainingDateDesc = 'trainingDate_DESC',
  1296. LocationAsc = 'location_ASC',
  1297. LocationDesc = 'location_DESC',
  1298. AttendanceAsc = 'attendance_ASC',
  1299. AttendanceDesc = 'attendance_DESC',
  1300. PublishedAsc = 'published_ASC',
  1301. PublishedDesc = 'published_DESC'
  1302. }
  1303. export type TrainingType = Node & {
  1304. __typename?: 'TrainingType',
  1305. id: Scalars['ID'],
  1306. name: Scalars['String'],
  1307. description: Scalars['String'],
  1308. };
  1309. export enum TrainingTypeOrderByInput {
  1310. IdAsc = 'id_ASC',
  1311. IdDesc = 'id_DESC',
  1312. NameAsc = 'name_ASC',
  1313. NameDesc = 'name_DESC',
  1314. DescriptionAsc = 'description_ASC',
  1315. DescriptionDesc = 'description_DESC'
  1316. }
  1317. export type TrainingTypeWhereInput = {
  1318. /** Logical AND on all given filters. */
  1319. AND?: Maybe<Array<TrainingTypeWhereInput>>,
  1320. /** Logical OR on all given filters. */
  1321. OR?: Maybe<Array<TrainingTypeWhereInput>>,
  1322. /** Logical NOT on all given filters combined by AND. */
  1323. NOT?: Maybe<Array<TrainingTypeWhereInput>>,
  1324. id?: Maybe<Scalars['ID']>,
  1325. /** All values that are not equal to given value. */
  1326. id_not?: Maybe<Scalars['ID']>,
  1327. /** All values that are contained in given list. */
  1328. id_in?: Maybe<Array<Scalars['ID']>>,
  1329. /** All values that are not contained in given list. */
  1330. id_not_in?: Maybe<Array<Scalars['ID']>>,
  1331. /** All values less than the given value. */
  1332. id_lt?: Maybe<Scalars['ID']>,
  1333. /** All values less than or equal the given value. */
  1334. id_lte?: Maybe<Scalars['ID']>,
  1335. /** All values greater than the given value. */
  1336. id_gt?: Maybe<Scalars['ID']>,
  1337. /** All values greater than or equal the given value. */
  1338. id_gte?: Maybe<Scalars['ID']>,
  1339. /** All values containing the given string. */
  1340. id_contains?: Maybe<Scalars['ID']>,
  1341. /** All values not containing the given string. */
  1342. id_not_contains?: Maybe<Scalars['ID']>,
  1343. /** All values starting with the given string. */
  1344. id_starts_with?: Maybe<Scalars['ID']>,
  1345. /** All values not starting with the given string. */
  1346. id_not_starts_with?: Maybe<Scalars['ID']>,
  1347. /** All values ending with the given string. */
  1348. id_ends_with?: Maybe<Scalars['ID']>,
  1349. /** All values not ending with the given string. */
  1350. id_not_ends_with?: Maybe<Scalars['ID']>,
  1351. name?: Maybe<Scalars['String']>,
  1352. /** All values that are not equal to given value. */
  1353. name_not?: Maybe<Scalars['String']>,
  1354. /** All values that are contained in given list. */
  1355. name_in?: Maybe<Array<Scalars['String']>>,
  1356. /** All values that are not contained in given list. */
  1357. name_not_in?: Maybe<Array<Scalars['String']>>,
  1358. /** All values less than the given value. */
  1359. name_lt?: Maybe<Scalars['String']>,
  1360. /** All values less than or equal the given value. */
  1361. name_lte?: Maybe<Scalars['String']>,
  1362. /** All values greater than the given value. */
  1363. name_gt?: Maybe<Scalars['String']>,
  1364. /** All values greater than or equal the given value. */
  1365. name_gte?: Maybe<Scalars['String']>,
  1366. /** All values containing the given string. */
  1367. name_contains?: Maybe<Scalars['String']>,
  1368. /** All values not containing the given string. */
  1369. name_not_contains?: Maybe<Scalars['String']>,
  1370. /** All values starting with the given string. */
  1371. name_starts_with?: Maybe<Scalars['String']>,
  1372. /** All values not starting with the given string. */
  1373. name_not_starts_with?: Maybe<Scalars['String']>,
  1374. /** All values ending with the given string. */
  1375. name_ends_with?: Maybe<Scalars['String']>,
  1376. /** All values not ending with the given string. */
  1377. name_not_ends_with?: Maybe<Scalars['String']>,
  1378. description?: Maybe<Scalars['String']>,
  1379. /** All values that are not equal to given value. */
  1380. description_not?: Maybe<Scalars['String']>,
  1381. /** All values that are contained in given list. */
  1382. description_in?: Maybe<Array<Scalars['String']>>,
  1383. /** All values that are not contained in given list. */
  1384. description_not_in?: Maybe<Array<Scalars['String']>>,
  1385. /** All values less than the given value. */
  1386. description_lt?: Maybe<Scalars['String']>,
  1387. /** All values less than or equal the given value. */
  1388. description_lte?: Maybe<Scalars['String']>,
  1389. /** All values greater than the given value. */
  1390. description_gt?: Maybe<Scalars['String']>,
  1391. /** All values greater than or equal the given value. */
  1392. description_gte?: Maybe<Scalars['String']>,
  1393. /** All values containing the given string. */
  1394. description_contains?: Maybe<Scalars['String']>,
  1395. /** All values not containing the given string. */
  1396. description_not_contains?: Maybe<Scalars['String']>,
  1397. /** All values starting with the given string. */
  1398. description_starts_with?: Maybe<Scalars['String']>,
  1399. /** All values not starting with the given string. */
  1400. description_not_starts_with?: Maybe<Scalars['String']>,
  1401. /** All values ending with the given string. */
  1402. description_ends_with?: Maybe<Scalars['String']>,
  1403. /** All values not ending with the given string. */
  1404. description_not_ends_with?: Maybe<Scalars['String']>,
  1405. };
  1406. export type TrainingWhereInput = {
  1407. /** Logical AND on all given filters. */
  1408. AND?: Maybe<Array<TrainingWhereInput>>,
  1409. /** Logical OR on all given filters. */
  1410. OR?: Maybe<Array<TrainingWhereInput>>,
  1411. /** Logical NOT on all given filters combined by AND. */
  1412. NOT?: Maybe<Array<TrainingWhereInput>>,
  1413. id?: Maybe<Scalars['ID']>,
  1414. /** All values that are not equal to given value. */
  1415. id_not?: Maybe<Scalars['ID']>,
  1416. /** All values that are contained in given list. */
  1417. id_in?: Maybe<Array<Scalars['ID']>>,
  1418. /** All values that are not contained in given list. */
  1419. id_not_in?: Maybe<Array<Scalars['ID']>>,
  1420. /** All values less than the given value. */
  1421. id_lt?: Maybe<Scalars['ID']>,
  1422. /** All values less than or equal the given value. */
  1423. id_lte?: Maybe<Scalars['ID']>,
  1424. /** All values greater than the given value. */
  1425. id_gt?: Maybe<Scalars['ID']>,
  1426. /** All values greater than or equal the given value. */
  1427. id_gte?: Maybe<Scalars['ID']>,
  1428. /** All values containing the given string. */
  1429. id_contains?: Maybe<Scalars['ID']>,
  1430. /** All values not containing the given string. */
  1431. id_not_contains?: Maybe<Scalars['ID']>,
  1432. /** All values starting with the given string. */
  1433. id_starts_with?: Maybe<Scalars['ID']>,
  1434. /** All values not starting with the given string. */
  1435. id_not_starts_with?: Maybe<Scalars['ID']>,
  1436. /** All values ending with the given string. */
  1437. id_ends_with?: Maybe<Scalars['ID']>,
  1438. /** All values not ending with the given string. */
  1439. id_not_ends_with?: Maybe<Scalars['ID']>,
  1440. title?: Maybe<Scalars['String']>,
  1441. /** All values that are not equal to given value. */
  1442. title_not?: Maybe<Scalars['String']>,
  1443. /** All values that are contained in given list. */
  1444. title_in?: Maybe<Array<Scalars['String']>>,
  1445. /** All values that are not contained in given list. */
  1446. title_not_in?: Maybe<Array<Scalars['String']>>,
  1447. /** All values less than the given value. */
  1448. title_lt?: Maybe<Scalars['String']>,
  1449. /** All values less than or equal the given value. */
  1450. title_lte?: Maybe<Scalars['String']>,
  1451. /** All values greater than the given value. */
  1452. title_gt?: Maybe<Scalars['String']>,
  1453. /** All values greater than or equal the given value. */
  1454. title_gte?: Maybe<Scalars['String']>,
  1455. /** All values containing the given string. */
  1456. title_contains?: Maybe<Scalars['String']>,
  1457. /** All values not containing the given string. */
  1458. title_not_contains?: Maybe<Scalars['String']>,
  1459. /** All values starting with the given string. */
  1460. title_starts_with?: Maybe<Scalars['String']>,
  1461. /** All values not starting with the given string. */
  1462. title_not_starts_with?: Maybe<Scalars['String']>,
  1463. /** All values ending with the given string. */
  1464. title_ends_with?: Maybe<Scalars['String']>,
  1465. /** All values not ending with the given string. */
  1466. title_not_ends_with?: Maybe<Scalars['String']>,
  1467. createdAt?: Maybe<Scalars['DateTime']>,
  1468. /** All values that are not equal to given value. */
  1469. createdAt_not?: Maybe<Scalars['DateTime']>,
  1470. /** All values that are contained in given list. */
  1471. createdAt_in?: Maybe<Array<Scalars['DateTime']>>,
  1472. /** All values that are not contained in given list. */
  1473. createdAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
  1474. /** All values less than the given value. */
  1475. createdAt_lt?: Maybe<Scalars['DateTime']>,
  1476. /** All values less than or equal the given value. */
  1477. createdAt_lte?: Maybe<Scalars['DateTime']>,
  1478. /** All values greater than the given value. */
  1479. createdAt_gt?: Maybe<Scalars['DateTime']>,
  1480. /** All values greater than or equal the given value. */
  1481. createdAt_gte?: Maybe<Scalars['DateTime']>,
  1482. trainingDate?: Maybe<Scalars['DateTime']>,
  1483. /** All values that are not equal to given value. */
  1484. trainingDate_not?: Maybe<Scalars['DateTime']>,
  1485. /** All values that are contained in given list. */
  1486. trainingDate_in?: Maybe<Array<Scalars['DateTime']>>,
  1487. /** All values that are not contained in given list. */
  1488. trainingDate_not_in?: Maybe<Array<Scalars['DateTime']>>,
  1489. /** All values less than the given value. */
  1490. trainingDate_lt?: Maybe<Scalars['DateTime']>,
  1491. /** All values less than or equal the given value. */
  1492. trainingDate_lte?: Maybe<Scalars['DateTime']>,
  1493. /** All values greater than the given value. */
  1494. trainingDate_gt?: Maybe<Scalars['DateTime']>,
  1495. /** All values greater than or equal the given value. */
  1496. trainingDate_gte?: Maybe<Scalars['DateTime']>,
  1497. location?: Maybe<Scalars['String']>,
  1498. /** All values that are not equal to given value. */
  1499. location_not?: Maybe<Scalars['String']>,
  1500. /** All values that are contained in given list. */
  1501. location_in?: Maybe<Array<Scalars['String']>>,
  1502. /** All values that are not contained in given list. */
  1503. location_not_in?: Maybe<Array<Scalars['String']>>,
  1504. /** All values less than the given value. */
  1505. location_lt?: Maybe<Scalars['String']>,
  1506. /** All values less than or equal the given value. */
  1507. location_lte?: Maybe<Scalars['String']>,
  1508. /** All values greater than the given value. */
  1509. location_gt?: Maybe<Scalars['String']>,
  1510. /** All values greater than or equal the given value. */
  1511. location_gte?: Maybe<Scalars['String']>,
  1512. /** All values containing the given string. */
  1513. location_contains?: Maybe<Scalars['String']>,
  1514. /** All values not containing the given string. */
  1515. location_not_contains?: Maybe<Scalars['String']>,
  1516. /** All values starting with the given string. */
  1517. location_starts_with?: Maybe<Scalars['String']>,
  1518. /** All values not starting with the given string. */
  1519. location_not_starts_with?: Maybe<Scalars['String']>,
  1520. /** All values ending with the given string. */
  1521. location_ends_with?: Maybe<Scalars['String']>,
  1522. /** All values not ending with the given string. */
  1523. location_not_ends_with?: Maybe<Scalars['String']>,
  1524. attendance?: Maybe<Scalars['Int']>,
  1525. /** All values that are not equal to given value. */
  1526. attendance_not?: Maybe<Scalars['Int']>,
  1527. /** All values that are contained in given list. */
  1528. attendance_in?: Maybe<Array<Scalars['Int']>>,
  1529. /** All values that are not contained in given list. */
  1530. attendance_not_in?: Maybe<Array<Scalars['Int']>>,
  1531. /** All values less than the given value. */
  1532. attendance_lt?: Maybe<Scalars['Int']>,
  1533. /** All values less than or equal the given value. */
  1534. attendance_lte?: Maybe<Scalars['Int']>,
  1535. /** All values greater than the given value. */
  1536. attendance_gt?: Maybe<Scalars['Int']>,
  1537. /** All values greater than or equal the given value. */
  1538. attendance_gte?: Maybe<Scalars['Int']>,
  1539. published?: Maybe<Scalars['Boolean']>,
  1540. /** All values that are not equal to given value. */
  1541. published_not?: Maybe<Scalars['Boolean']>,
  1542. type?: Maybe<TrainingTypeWhereInput>,
  1543. content_every?: Maybe<BlockWhereInput>,
  1544. content_some?: Maybe<BlockWhereInput>,
  1545. content_none?: Maybe<BlockWhereInput>,
  1546. registration_every?: Maybe<UserWhereInput>,
  1547. registration_some?: Maybe<UserWhereInput>,
  1548. registration_none?: Maybe<UserWhereInput>,
  1549. ratings_every?: Maybe<RatingWhereInput>,
  1550. ratings_some?: Maybe<RatingWhereInput>,
  1551. ratings_none?: Maybe<RatingWhereInput>,
  1552. };
  1553. export type TrainingWhereUniqueInput = {
  1554. id?: Maybe<Scalars['ID']>,
  1555. };
  1556. export type User = Node & {
  1557. __typename?: 'User',
  1558. id: Scalars['ID'],
  1559. email: Scalars['String'],
  1560. name: Scalars['String'],
  1561. password: Scalars['String'],
  1562. resetToken?: Maybe<Scalars['String']>,
  1563. resetTokenExpiry?: Maybe<Scalars['Float']>,
  1564. createdAt: Scalars['DateTime'],
  1565. comments?: Maybe<Array<Comment>>,
  1566. ratings?: Maybe<Array<Rating>>,
  1567. permissions: Array<Permission>,
  1568. interests: Array<Scalars['String']>,
  1569. };
  1570. export type UserCommentsArgs = {
  1571. where?: Maybe<CommentWhereInput>,
  1572. orderBy?: Maybe<CommentOrderByInput>,
  1573. skip?: Maybe<Scalars['Int']>,
  1574. after?: Maybe<Scalars['String']>,
  1575. before?: Maybe<Scalars['String']>,
  1576. first?: Maybe<Scalars['Int']>,
  1577. last?: Maybe<Scalars['Int']>
  1578. };
  1579. export type UserRatingsArgs = {
  1580. where?: Maybe<RatingWhereInput>,
  1581. orderBy?: Maybe<RatingOrderByInput>,
  1582. skip?: Maybe<Scalars['Int']>,
  1583. after?: Maybe<Scalars['String']>,
  1584. before?: Maybe<Scalars['String']>,
  1585. first?: Maybe<Scalars['Int']>,
  1586. last?: Maybe<Scalars['Int']>
  1587. };
  1588. export type UserCreateInput = {
  1589. id?: Maybe<Scalars['ID']>,
  1590. email: Scalars['String'],
  1591. name: Scalars['String'],
  1592. password: Scalars['String'],
  1593. resetToken?: Maybe<Scalars['String']>,
  1594. resetTokenExpiry?: Maybe<Scalars['Float']>,
  1595. permissions?: Maybe<UserCreatepermissionsInput>,
  1596. interests?: Maybe<UserCreateinterestsInput>,
  1597. comments?: Maybe<CommentCreateManyWithoutAuthorInput>,
  1598. ratings?: Maybe<RatingCreateManyWithoutUserInput>,
  1599. };
  1600. export type UserCreateinterestsInput = {
  1601. set?: Maybe<Array<Scalars['String']>>,
  1602. };
  1603. export type UserCreatepermissionsInput = {
  1604. set?: Maybe<Array<Permission>>,
  1605. };
  1606. export enum UserOrderByInput {
  1607. IdAsc = 'id_ASC',
  1608. IdDesc = 'id_DESC',
  1609. EmailAsc = 'email_ASC',
  1610. EmailDesc = 'email_DESC',
  1611. NameAsc = 'name_ASC',
  1612. NameDesc = 'name_DESC',
  1613. PasswordAsc = 'password_ASC',
  1614. PasswordDesc = 'password_DESC',
  1615. ResetTokenAsc = 'resetToken_ASC',
  1616. ResetTokenDesc = 'resetToken_DESC',
  1617. ResetTokenExpiryAsc = 'resetTokenExpiry_ASC',
  1618. ResetTokenExpiryDesc = 'resetTokenExpiry_DESC',
  1619. CreatedAtAsc = 'createdAt_ASC',
  1620. CreatedAtDesc = 'createdAt_DESC'
  1621. }
  1622. export type UserUpdateInput = {
  1623. email?: Maybe<Scalars['String']>,
  1624. name?: Maybe<Scalars['String']>,
  1625. password?: Maybe<Scalars['String']>,
  1626. resetToken?: Maybe<Scalars['String']>,
  1627. resetTokenExpiry?: Maybe<Scalars['Float']>,
  1628. permissions?: Maybe<UserUpdatepermissionsInput>,
  1629. interests?: Maybe<UserUpdateinterestsInput>,
  1630. comments?: Maybe<CommentUpdateManyWithoutAuthorInput>,
  1631. ratings?: Maybe<RatingUpdateManyWithoutUserInput>,
  1632. };
  1633. export type UserUpdateinterestsInput = {
  1634. set?: Maybe<Array<Scalars['String']>>,
  1635. };
  1636. export type UserUpdatepermissionsInput = {
  1637. set?: Maybe<Array<Permission>>,
  1638. };
  1639. export type UserWhereInput = {
  1640. /** Logical AND on all given filters. */
  1641. AND?: Maybe<Array<UserWhereInput>>,
  1642. /** Logical OR on all given filters. */
  1643. OR?: Maybe<Array<UserWhereInput>>,
  1644. /** Logical NOT on all given filters combined by AND. */
  1645. NOT?: Maybe<Array<UserWhereInput>>,
  1646. id?: Maybe<Scalars['ID']>,
  1647. /** All values that are not equal to given value. */
  1648. id_not?: Maybe<Scalars['ID']>,
  1649. /** All values that are contained in given list. */
  1650. id_in?: Maybe<Array<Scalars['ID']>>,
  1651. /** All values that are not contained in given list. */
  1652. id_not_in?: Maybe<Array<Scalars['ID']>>,
  1653. /** All values less than the given value. */
  1654. id_lt?: Maybe<Scalars['ID']>,
  1655. /** All values less than or equal the given value. */
  1656. id_lte?: Maybe<Scalars['ID']>,
  1657. /** All values greater than the given value. */
  1658. id_gt?: Maybe<Scalars['ID']>,
  1659. /** All values greater than or equal the given value. */
  1660. id_gte?: Maybe<Scalars['ID']>,
  1661. /** All values containing the given string. */
  1662. id_contains?: Maybe<Scalars['ID']>,
  1663. /** All values not containing the given string. */
  1664. id_not_contains?: Maybe<Scalars['ID']>,
  1665. /** All values starting with the given string. */
  1666. id_starts_with?: Maybe<Scalars['ID']>,
  1667. /** All values not starting with the given string. */
  1668. id_not_starts_with?: Maybe<Scalars['ID']>,
  1669. /** All values ending with the given string. */
  1670. id_ends_with?: Maybe<Scalars['ID']>,
  1671. /** All values not ending with the given string. */
  1672. id_not_ends_with?: Maybe<Scalars['ID']>,
  1673. email?: Maybe<Scalars['String']>,
  1674. /** All values that are not equal to given value. */
  1675. email_not?: Maybe<Scalars['String']>,
  1676. /** All values that are contained in given list. */
  1677. email_in?: Maybe<Array<Scalars['String']>>,
  1678. /** All values that are not contained in given list. */
  1679. email_not_in?: Maybe<Array<Scalars['String']>>,
  1680. /** All values less than the given value. */
  1681. email_lt?: Maybe<Scalars['String']>,
  1682. /** All values less than or equal the given value. */
  1683. email_lte?: Maybe<Scalars['String']>,
  1684. /** All values greater than the given value. */
  1685. email_gt?: Maybe<Scalars['String']>,
  1686. /** All values greater than or equal the given value. */
  1687. email_gte?: Maybe<Scalars['String']>,
  1688. /** All values containing the given string. */
  1689. email_contains?: Maybe<Scalars['String']>,
  1690. /** All values not containing the given string. */
  1691. email_not_contains?: Maybe<Scalars['String']>,
  1692. /** All values starting with the given string. */
  1693. email_starts_with?: Maybe<Scalars['String']>,
  1694. /** All values not starting with the given string. */
  1695. email_not_starts_with?: Maybe<Scalars['String']>,
  1696. /** All values ending with the given string. */
  1697. email_ends_with?: Maybe<Scalars['String']>,
  1698. /** All values not ending with the given string. */
  1699. email_not_ends_with?: Maybe<Scalars['String']>,
  1700. name?: Maybe<Scalars['String']>,
  1701. /** All values that are not equal to given value. */
  1702. name_not?: Maybe<Scalars['String']>,
  1703. /** All values that are contained in given list. */
  1704. name_in?: Maybe<Array<Scalars['String']>>,
  1705. /** All values that are not contained in given list. */
  1706. name_not_in?: Maybe<Array<Scalars['String']>>,
  1707. /** All values less than the given value. */
  1708. name_lt?: Maybe<Scalars['String']>,
  1709. /** All values less than or equal the given value. */
  1710. name_lte?: Maybe<Scalars['String']>,
  1711. /** All values greater than the given value. */
  1712. name_gt?: Maybe<Scalars['String']>,
  1713. /** All values greater than or equal the given value. */
  1714. name_gte?: Maybe<Scalars['String']>,
  1715. /** All values containing the given string. */
  1716. name_contains?: Maybe<Scalars['String']>,
  1717. /** All values not containing the given string. */
  1718. name_not_contains?: Maybe<Scalars['String']>,
  1719. /** All values starting with the given string. */
  1720. name_starts_with?: Maybe<Scalars['String']>,
  1721. /** All values not starting with the given string. */
  1722. name_not_starts_with?: Maybe<Scalars['String']>,
  1723. /** All values ending with the given string. */
  1724. name_ends_with?: Maybe<Scalars['String']>,
  1725. /** All values not ending with the given string. */
  1726. name_not_ends_with?: Maybe<Scalars['String']>,
  1727. password?: Maybe<Scalars['String']>,
  1728. /** All values that are not equal to given value. */
  1729. password_not?: Maybe<Scalars['String']>,
  1730. /** All values that are contained in given list. */
  1731. password_in?: Maybe<Array<Scalars['String']>>,
  1732. /** All values that are not contained in given list. */
  1733. password_not_in?: Maybe<Array<Scalars['String']>>,
  1734. /** All values less than the given value. */
  1735. password_lt?: Maybe<Scalars['String']>,
  1736. /** All values less than or equal the given value. */
  1737. password_lte?: Maybe<Scalars['String']>,
  1738. /** All values greater than the given value. */
  1739. password_gt?: Maybe<Scalars['String']>,
  1740. /** All values greater than or equal the given value. */
  1741. password_gte?: Maybe<Scalars['String']>,
  1742. /** All values containing the given string. */
  1743. password_contains?: Maybe<Scalars['String']>,
  1744. /** All values not containing the given string. */
  1745. password_not_contains?: Maybe<Scalars['String']>,
  1746. /** All values starting with the given string. */
  1747. password_starts_with?: Maybe<Scalars['String']>,
  1748. /** All values not starting with the given string. */
  1749. password_not_starts_with?: Maybe<Scalars['String']>,
  1750. /** All values ending with the given string. */
  1751. password_ends_with?: Maybe<Scalars['String']>,
  1752. /** All values not ending with the given string. */
  1753. password_not_ends_with?: Maybe<Scalars['String']>,
  1754. resetToken?: Maybe<Scalars['String']>,
  1755. /** All values that are not equal to given value. */
  1756. resetToken_not?: Maybe<Scalars['String']>,
  1757. /** All values that are contained in given list. */
  1758. resetToken_in?: Maybe<Array<Scalars['String']>>,
  1759. /** All values that are not contained in given list. */
  1760. resetToken_not_in?: Maybe<Array<Scalars['String']>>,
  1761. /** All values less than the given value. */
  1762. resetToken_lt?: Maybe<Scalars['String']>,
  1763. /** All values less than or equal the given value. */
  1764. resetToken_lte?: Maybe<Scalars['String']>,
  1765. /** All values greater than the given value. */
  1766. resetToken_gt?: Maybe<Scalars['String']>,
  1767. /** All values greater than or equal the given value. */
  1768. resetToken_gte?: Maybe<Scalars['String']>,
  1769. /** All values containing the given string. */
  1770. resetToken_contains?: Maybe<Scalars['String']>,
  1771. /** All values not containing the given string. */
  1772. resetToken_not_contains?: Maybe<Scalars['String']>,
  1773. /** All values starting with the given string. */
  1774. resetToken_starts_with?: Maybe<Scalars['String']>,
  1775. /** All values not starting with the given string. */
  1776. resetToken_not_starts_with?: Maybe<Scalars['String']>,
  1777. /** All values ending with the given string. */
  1778. resetToken_ends_with?: Maybe<Scalars['String']>,
  1779. /** All values not ending with the given string. */
  1780. resetToken_not_ends_with?: Maybe<Scalars['String']>,
  1781. resetTokenExpiry?: Maybe<Scalars['Float']>,
  1782. /** All values that are not equal to given value. */
  1783. resetTokenExpiry_not?: Maybe<Scalars['Float']>,
  1784. /** All values that are contained in given list. */
  1785. resetTokenExpiry_in?: Maybe<Array<Scalars['Float']>>,
  1786. /** All values that are not contained in given list. */
  1787. resetTokenExpiry_not_in?: Maybe<Array<Scalars['Float']>>,
  1788. /** All values less than the given value. */
  1789. resetTokenExpiry_lt?: Maybe<Scalars['Float']>,
  1790. /** All values less than or equal the given value. */
  1791. resetTokenExpiry_lte?: Maybe<Scalars['Float']>,
  1792. /** All values greater than the given value. */
  1793. resetTokenExpiry_gt?: Maybe<Scalars['Float']>,
  1794. /** All values greater than or equal the given value. */
  1795. resetTokenExpiry_gte?: Maybe<Scalars['Float']>,
  1796. createdAt?: Maybe<Scalars['DateTime']>,
  1797. /** All values that are not equal to given value. */
  1798. createdAt_not?: Maybe<Scalars['DateTime']>,
  1799. /** All values that are contained in given list. */
  1800. createdAt_in?: Maybe<Array<Scalars['DateTime']>>,
  1801. /** All values that are not contained in given list. */
  1802. createdAt_not_in?: Maybe<Array<Scalars['DateTime']>>,
  1803. /** All values less than the given value. */
  1804. createdAt_lt?: Maybe<Scalars['DateTime']>,
  1805. /** All values less than or equal the given value. */
  1806. createdAt_lte?: Maybe<Scalars['DateTime']>,
  1807. /** All values greater than the given value. */
  1808. createdAt_gt?: Maybe<Scalars['DateTime']>,
  1809. /** All values greater than or equal the given value. */
  1810. createdAt_gte?: Maybe<Scalars['DateTime']>,
  1811. comments_every?: Maybe<CommentWhereInput>,
  1812. comments_some?: Maybe<CommentWhereInput>,
  1813. comments_none?: Maybe<CommentWhereInput>,
  1814. ratings_every?: Maybe<RatingWhereInput>,
  1815. ratings_some?: Maybe<RatingWhereInput>,
  1816. ratings_none?: Maybe<RatingWhereInput>,
  1817. };
  1818. export type UserWhereUniqueInput = {
  1819. id?: Maybe<Scalars['ID']>,
  1820. email?: Maybe<Scalars['String']>,
  1821. };
  1822. export type UsersQueryVariables = {};
  1823. export type UsersQuery = (
  1824. { __typename?: 'Query' }
  1825. & { users: Array<Maybe<(
  1826. { __typename?: 'User' }
  1827. & Pick<User, 'id' | 'email' | 'name' | 'permissions' | 'interests'>
  1828. )>> }
  1829. );
  1830. export type UserSignupMutationVariables = {
  1831. email: Scalars['String'],
  1832. password: Scalars['String'],
  1833. name: Scalars['String']
  1834. };
  1835. export type UserSignupMutation = (
  1836. { __typename?: 'Mutation' }
  1837. & { signup: (
  1838. { __typename?: 'User' }
  1839. & Pick<User, 'id' | 'email' | 'name'>
  1840. ) }
  1841. );
  1842. export type UserLoginMutationVariables = {
  1843. email: Scalars['String'],
  1844. password: Scalars['String']
  1845. };
  1846. export type UserLoginMutation = (
  1847. { __typename?: 'Mutation' }
  1848. & { login: (
  1849. { __typename?: 'User' }
  1850. & Pick<User, 'id' | 'email' | 'name'>
  1851. ) }
  1852. );
  1853. export type UserLogoutMutationVariables = {};
  1854. export type UserLogoutMutation = (
  1855. { __typename?: 'Mutation' }
  1856. & Pick<Mutation, 'logout'>
  1857. );
  1858. export type CurrentUserQueryVariables = {};
  1859. export type CurrentUserQuery = (
  1860. { __typename?: 'Query' }
  1861. & { me: (
  1862. { __typename?: 'User' }
  1863. & Pick<User, 'id' | 'email' | 'name' | 'permissions' | 'interests'>
  1864. ) }
  1865. );
  1866. export type RequestResetMutationVariables = {
  1867. email: Scalars['String']
  1868. };
  1869. export type RequestResetMutation = (
  1870. { __typename?: 'Mutation' }
  1871. & Pick<Mutation, 'requestReset'>
  1872. );
  1873. export type ResetPasswordMutationVariables = {
  1874. token: Scalars['String'],
  1875. password: Scalars['String']
  1876. };
  1877. export type ResetPasswordMutation = (
  1878. { __typename?: 'Mutation' }
  1879. & { resetPassword: (
  1880. { __typename?: 'User' }
  1881. & Pick<User, 'id' | 'name'>
  1882. ) }
  1883. );
  1884. export const UsersDocument = gql`
  1885. query Users {
  1886. users {
  1887. id
  1888. email
  1889. name
  1890. permissions
  1891. interests
  1892. }
  1893. }
  1894. `;
  1895. /**
  1896. * __useUsersQuery__
  1897. *
  1898. * To run a query within a React component, call `useUsersQuery` and pass it any options that fit your needs.
  1899. * When your component renders, `useUsersQuery` returns an object from Apollo Client that contains loading, error, and data properties
  1900. * you can use to render your UI.
  1901. *
  1902. * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
  1903. *
  1904. * @example
  1905. * const { data, loading, error } = useUsersQuery({
  1906. * variables: {
  1907. * },
  1908. * });
  1909. */
  1910. export function useUsersQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<UsersQuery, UsersQueryVariables>) {
  1911. return ApolloReactHooks.useQuery<UsersQuery, UsersQueryVariables>(UsersDocument, baseOptions);
  1912. }
  1913. export function useUsersLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<UsersQuery, UsersQueryVariables>) {
  1914. return ApolloReactHooks.useLazyQuery<UsersQuery, UsersQueryVariables>(UsersDocument, baseOptions);
  1915. }
  1916. export type UsersQueryHookResult = ReturnType<typeof useUsersQuery>;
  1917. export type UsersLazyQueryHookResult = ReturnType<typeof useUsersLazyQuery>;
  1918. export type UsersQueryResult = ApolloReactCommon.QueryResult<UsersQuery, UsersQueryVariables>;
  1919. export const UserSignupDocument = gql`
  1920. mutation UserSignup($email: String!, $password: String!, $name: String!) {
  1921. signup(email: $email, password: $password, name: $name) {
  1922. id
  1923. email
  1924. name
  1925. }
  1926. }
  1927. `;
  1928. export type UserSignupMutationFn = ApolloReactCommon.MutationFunction<UserSignupMutation, UserSignupMutationVariables>;
  1929. /**
  1930. * __useUserSignupMutation__
  1931. *
  1932. * To run a mutation, you first call `useUserSignupMutation` within a React component and pass it any options that fit your needs.
  1933. * When your component renders, `useUserSignupMutation` returns a tuple that includes:
  1934. * - A mutate function that you can call at any time to execute the mutation
  1935. * - An object with fields that represent the current status of the mutation's execution
  1936. *
  1937. * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
  1938. *
  1939. * @example
  1940. * const [userSignupMutation, { data, loading, error }] = useUserSignupMutation({
  1941. * variables: {
  1942. * email: // value for 'email'
  1943. * password: // value for 'password'
  1944. * name: // value for 'name'
  1945. * },
  1946. * });
  1947. */
  1948. export function useUserSignupMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<UserSignupMutation, UserSignupMutationVariables>) {
  1949. return ApolloReactHooks.useMutation<UserSignupMutation, UserSignupMutationVariables>(UserSignupDocument, baseOptions);
  1950. }
  1951. export type UserSignupMutationHookResult = ReturnType<typeof useUserSignupMutation>;
  1952. export type UserSignupMutationResult = ApolloReactCommon.MutationResult<UserSignupMutation>;
  1953. export type UserSignupMutationOptions = ApolloReactCommon.BaseMutationOptions<UserSignupMutation, UserSignupMutationVariables>;
  1954. export const UserLoginDocument = gql`
  1955. mutation UserLogin($email: String!, $password: String!) {
  1956. login(email: $email, password: $password) {
  1957. id
  1958. email
  1959. name
  1960. }
  1961. }
  1962. `;
  1963. export type UserLoginMutationFn = ApolloReactCommon.MutationFunction<UserLoginMutation, UserLoginMutationVariables>;
  1964. /**
  1965. * __useUserLoginMutation__
  1966. *
  1967. * To run a mutation, you first call `useUserLoginMutation` within a React component and pass it any options that fit your needs.
  1968. * When your component renders, `useUserLoginMutation` returns a tuple that includes:
  1969. * - A mutate function that you can call at any time to execute the mutation
  1970. * - An object with fields that represent the current status of the mutation's execution
  1971. *
  1972. * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
  1973. *
  1974. * @example
  1975. * const [userLoginMutation, { data, loading, error }] = useUserLoginMutation({
  1976. * variables: {
  1977. * email: // value for 'email'
  1978. * password: // value for 'password'
  1979. * },
  1980. * });
  1981. */
  1982. export function useUserLoginMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<UserLoginMutation, UserLoginMutationVariables>) {
  1983. return ApolloReactHooks.useMutation<UserLoginMutation, UserLoginMutationVariables>(UserLoginDocument, baseOptions);
  1984. }
  1985. export type UserLoginMutationHookResult = ReturnType<typeof useUserLoginMutation>;
  1986. export type UserLoginMutationResult = ApolloReactCommon.MutationResult<UserLoginMutation>;
  1987. export type UserLoginMutationOptions = ApolloReactCommon.BaseMutationOptions<UserLoginMutation, UserLoginMutationVariables>;
  1988. export const UserLogoutDocument = gql`
  1989. mutation UserLogout {
  1990. logout
  1991. }
  1992. `;
  1993. export type UserLogoutMutationFn = ApolloReactCommon.MutationFunction<UserLogoutMutation, UserLogoutMutationVariables>;
  1994. /**
  1995. * __useUserLogoutMutation__
  1996. *
  1997. * To run a mutation, you first call `useUserLogoutMutation` within a React component and pass it any options that fit your needs.
  1998. * When your component renders, `useUserLogoutMutation` returns a tuple that includes:
  1999. * - A mutate function that you can call at any time to execute the mutation
  2000. * - An object with fields that represent the current status of the mutation's execution
  2001. *
  2002. * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
  2003. *
  2004. * @example
  2005. * const [userLogoutMutation, { data, loading, error }] = useUserLogoutMutation({
  2006. * variables: {
  2007. * },
  2008. * });
  2009. */
  2010. export function useUserLogoutMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<UserLogoutMutation, UserLogoutMutationVariables>) {
  2011. return ApolloReactHooks.useMutation<UserLogoutMutation, UserLogoutMutationVariables>(UserLogoutDocument, baseOptions);
  2012. }
  2013. export type UserLogoutMutationHookResult = ReturnType<typeof useUserLogoutMutation>;
  2014. export type UserLogoutMutationResult = ApolloReactCommon.MutationResult<UserLogoutMutation>;
  2015. export type UserLogoutMutationOptions = ApolloReactCommon.BaseMutationOptions<UserLogoutMutation, UserLogoutMutationVariables>;
  2016. export const CurrentUserDocument = gql`
  2017. query CurrentUser {
  2018. me {
  2019. id
  2020. email
  2021. name
  2022. permissions
  2023. interests
  2024. }
  2025. }
  2026. `;
  2027. /**
  2028. * __useCurrentUserQuery__
  2029. *
  2030. * To run a query within a React component, call `useCurrentUserQuery` and pass it any options that fit your needs.
  2031. * When your component renders, `useCurrentUserQuery` returns an object from Apollo Client that contains loading, error, and data properties
  2032. * you can use to render your UI.
  2033. *
  2034. * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
  2035. *
  2036. * @example
  2037. * const { data, loading, error } = useCurrentUserQuery({
  2038. * variables: {
  2039. * },
  2040. * });
  2041. */
  2042. export function useCurrentUserQuery(baseOptions?: ApolloReactHooks.QueryHookOptions<CurrentUserQuery, CurrentUserQueryVariables>) {
  2043. return ApolloReactHooks.useQuery<CurrentUserQuery, CurrentUserQueryVariables>(CurrentUserDocument, baseOptions);
  2044. }
  2045. export function useCurrentUserLazyQuery(baseOptions?: ApolloReactHooks.LazyQueryHookOptions<CurrentUserQuery, CurrentUserQueryVariables>) {
  2046. return ApolloReactHooks.useLazyQuery<CurrentUserQuery, CurrentUserQueryVariables>(CurrentUserDocument, baseOptions);
  2047. }
  2048. export type CurrentUserQueryHookResult = ReturnType<typeof useCurrentUserQuery>;
  2049. export type CurrentUserLazyQueryHookResult = ReturnType<typeof useCurrentUserLazyQuery>;
  2050. export type CurrentUserQueryResult = ApolloReactCommon.QueryResult<CurrentUserQuery, CurrentUserQueryVariables>;
  2051. export const RequestResetDocument = gql`
  2052. mutation RequestReset($email: String!) {
  2053. requestReset(email: $email)
  2054. }
  2055. `;
  2056. export type RequestResetMutationFn = ApolloReactCommon.MutationFunction<RequestResetMutation, RequestResetMutationVariables>;
  2057. /**
  2058. * __useRequestResetMutation__
  2059. *
  2060. * To run a mutation, you first call `useRequestResetMutation` within a React component and pass it any options that fit your needs.
  2061. * When your component renders, `useRequestResetMutation` returns a tuple that includes:
  2062. * - A mutate function that you can call at any time to execute the mutation
  2063. * - An object with fields that represent the current status of the mutation's execution
  2064. *
  2065. * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
  2066. *
  2067. * @example
  2068. * const [requestResetMutation, { data, loading, error }] = useRequestResetMutation({
  2069. * variables: {
  2070. * email: // value for 'email'
  2071. * },
  2072. * });
  2073. */
  2074. export function useRequestResetMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<RequestResetMutation, RequestResetMutationVariables>) {
  2075. return ApolloReactHooks.useMutation<RequestResetMutation, RequestResetMutationVariables>(RequestResetDocument, baseOptions);
  2076. }
  2077. export type RequestResetMutationHookResult = ReturnType<typeof useRequestResetMutation>;
  2078. export type RequestResetMutationResult = ApolloReactCommon.MutationResult<RequestResetMutation>;
  2079. export type RequestResetMutationOptions = ApolloReactCommon.BaseMutationOptions<RequestResetMutation, RequestResetMutationVariables>;
  2080. export const ResetPasswordDocument = gql`
  2081. mutation ResetPassword($token: String!, $password: String!) {
  2082. resetPassword(token: $token, password: $password) {
  2083. id
  2084. name
  2085. }
  2086. }
  2087. `;
  2088. export type ResetPasswordMutationFn = ApolloReactCommon.MutationFunction<ResetPasswordMutation, ResetPasswordMutationVariables>;
  2089. /**
  2090. * __useResetPasswordMutation__
  2091. *
  2092. * To run a mutation, you first call `useResetPasswordMutation` within a React component and pass it any options that fit your needs.
  2093. * When your component renders, `useResetPasswordMutation` returns a tuple that includes:
  2094. * - A mutate function that you can call at any time to execute the mutation
  2095. * - An object with fields that represent the current status of the mutation's execution
  2096. *
  2097. * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
  2098. *
  2099. * @example
  2100. * const [resetPasswordMutation, { data, loading, error }] = useResetPasswordMutation({
  2101. * variables: {
  2102. * token: // value for 'token'
  2103. * password: // value for 'password'
  2104. * },
  2105. * });
  2106. */
  2107. export function useResetPasswordMutation(baseOptions?: ApolloReactHooks.MutationHookOptions<ResetPasswordMutation, ResetPasswordMutationVariables>) {
  2108. return ApolloReactHooks.useMutation<ResetPasswordMutation, ResetPasswordMutationVariables>(ResetPasswordDocument, baseOptions);
  2109. }
  2110. export type ResetPasswordMutationHookResult = ReturnType<typeof useResetPasswordMutation>;
  2111. export type ResetPasswordMutationResult = ApolloReactCommon.MutationResult<ResetPasswordMutation>;
  2112. export type ResetPasswordMutationOptions = ApolloReactCommon.BaseMutationOptions<ResetPasswordMutation, ResetPasswordMutationVariables>;