binding.ts 50 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675
  1. import 'graphql-import-node'; // Needed so you can import *.graphql files
  2. import { makeBindingClass, Options } from 'graphql-binding'
  3. import { GraphQLResolveInfo, GraphQLSchema } from 'graphql'
  4. import { IResolvers } from 'graphql-tools/dist/Interfaces'
  5. import * as schema from './schema.graphql'
  6. export interface Query {
  7. blocks: <T = Array<Block>>(args: { offset?: Int | null, limit?: Int | null, where?: BlockWhereInput | null, orderBy?: BlockOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  8. blockConnection: <T = BlockConnection>(args: { first?: Int | null, after?: String | null, last?: Int | null, before?: String | null, where?: BlockWhereInput | null, orderBy?: BlockOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  9. categorys: <T = Array<Category>>(args: { offset?: Int | null, limit?: Int | null, where?: CategoryWhereInput | null, orderBy?: CategoryOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  10. categoryConnection: <T = CategoryConnection>(args: { first?: Int | null, after?: String | null, last?: Int | null, before?: String | null, where?: CategoryWhereInput | null, orderBy?: CategoryOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  11. channels: <T = Array<Channel>>(args: { offset?: Int | null, limit?: Int | null, where?: ChannelWhereInput | null, orderBy?: ChannelOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  12. channelConnection: <T = ChannelConnection>(args: { first?: Int | null, after?: String | null, last?: Int | null, before?: String | null, where?: ChannelWhereInput | null, orderBy?: ChannelOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  13. classEntitys: <T = Array<ClassEntity>>(args: { offset?: Int | null, limit?: Int | null, where?: ClassEntityWhereInput | null, orderBy?: ClassEntityOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  14. classEntityConnection: <T = ClassEntityConnection>(args: { first?: Int | null, after?: String | null, last?: Int | null, before?: String | null, where?: ClassEntityWhereInput | null, orderBy?: ClassEntityOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  15. httpMediaLocations: <T = Array<HttpMediaLocation>>(args: { offset?: Int | null, limit?: Int | null, where?: HttpMediaLocationWhereInput | null, orderBy?: HttpMediaLocationOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  16. httpMediaLocationConnection: <T = HttpMediaLocationConnection>(args: { first?: Int | null, after?: String | null, last?: Int | null, before?: String | null, where?: HttpMediaLocationWhereInput | null, orderBy?: HttpMediaLocationOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  17. joystreamMediaLocations: <T = Array<JoystreamMediaLocation>>(args: { offset?: Int | null, limit?: Int | null, where?: JoystreamMediaLocationWhereInput | null, orderBy?: JoystreamMediaLocationOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  18. joystreamMediaLocationConnection: <T = JoystreamMediaLocationConnection>(args: { first?: Int | null, after?: String | null, last?: Int | null, before?: String | null, where?: JoystreamMediaLocationWhereInput | null, orderBy?: JoystreamMediaLocationOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  19. knownLicenses: <T = Array<KnownLicense>>(args: { offset?: Int | null, limit?: Int | null, where?: KnownLicenseWhereInput | null, orderBy?: KnownLicenseOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  20. knownLicenseConnection: <T = KnownLicenseConnection>(args: { first?: Int | null, after?: String | null, last?: Int | null, before?: String | null, where?: KnownLicenseWhereInput | null, orderBy?: KnownLicenseOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  21. languages: <T = Array<Language>>(args: { offset?: Int | null, limit?: Int | null, where?: LanguageWhereInput | null, orderBy?: LanguageOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  22. languageConnection: <T = LanguageConnection>(args: { first?: Int | null, after?: String | null, last?: Int | null, before?: String | null, where?: LanguageWhereInput | null, orderBy?: LanguageOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  23. members: <T = Array<Member>>(args: { offset?: Int | null, limit?: Int | null, where?: MemberWhereInput | null, orderBy?: MemberOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  24. memberConnection: <T = MemberConnection>(args: { first?: Int | null, after?: String | null, last?: Int | null, before?: String | null, where?: MemberWhereInput | null, orderBy?: MemberOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  25. handles: <T = Array<HandlesFTSOutput>>(args: { limit?: Int | null, text: String }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  26. names: <T = Array<NamesFTSOutput>>(args: { limit?: Int | null, text: String }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  27. titles: <T = Array<TitlesFTSOutput>>(args: { limit?: Int | null, text: String }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  28. userDefinedLicenses: <T = Array<UserDefinedLicense>>(args: { offset?: Int | null, limit?: Int | null, where?: UserDefinedLicenseWhereInput | null, orderBy?: UserDefinedLicenseOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  29. userDefinedLicenseConnection: <T = UserDefinedLicenseConnection>(args: { first?: Int | null, after?: String | null, last?: Int | null, before?: String | null, where?: UserDefinedLicenseWhereInput | null, orderBy?: UserDefinedLicenseOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  30. videoMediaEncodings: <T = Array<VideoMediaEncoding>>(args: { offset?: Int | null, limit?: Int | null, where?: VideoMediaEncodingWhereInput | null, orderBy?: VideoMediaEncodingOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  31. videoMediaEncodingConnection: <T = VideoMediaEncodingConnection>(args: { first?: Int | null, after?: String | null, last?: Int | null, before?: String | null, where?: VideoMediaEncodingWhereInput | null, orderBy?: VideoMediaEncodingOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  32. videoMedias: <T = Array<VideoMedia>>(args: { offset?: Int | null, limit?: Int | null, where?: VideoMediaWhereInput | null, orderBy?: VideoMediaOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  33. videoMediaConnection: <T = VideoMediaConnection>(args: { first?: Int | null, after?: String | null, last?: Int | null, before?: String | null, where?: VideoMediaWhereInput | null, orderBy?: VideoMediaOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  34. videos: <T = Array<Video>>(args: { offset?: Int | null, limit?: Int | null, where?: VideoWhereInput | null, orderBy?: VideoOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T> ,
  35. videoConnection: <T = VideoConnection>(args: { first?: Int | null, after?: String | null, last?: Int | null, before?: String | null, where?: VideoWhereInput | null, orderBy?: VideoOrderByInput | null }, info?: GraphQLResolveInfo | string, options?: Options) => Promise<T>
  36. }
  37. export interface Mutation {}
  38. export interface Subscription {}
  39. export interface Binding {
  40. query: Query
  41. mutation: Mutation
  42. subscription: Subscription
  43. request: <T = any>(query: string, variables?: {[key: string]: any}) => Promise<T>
  44. delegate(operation: 'query' | 'mutation', fieldName: string, args: {
  45. [key: string]: any;
  46. }, infoOrQuery?: GraphQLResolveInfo | string, options?: Options): Promise<any>;
  47. delegateSubscription(fieldName: string, args?: {
  48. [key: string]: any;
  49. }, infoOrQuery?: GraphQLResolveInfo | string, options?: Options): Promise<AsyncIterator<any>>;
  50. getAbstractResolvers(filterSchema?: GraphQLSchema | string): IResolvers;
  51. }
  52. export interface BindingConstructor<T> {
  53. new(...args: any[]): T
  54. }
  55. export const Binding = makeBindingClass<BindingConstructor<Binding>>({ schema: schema as any })
  56. /**
  57. * Types
  58. */
  59. export type BlockOrderByInput = 'createdAt_ASC' |
  60. 'createdAt_DESC' |
  61. 'updatedAt_ASC' |
  62. 'updatedAt_DESC' |
  63. 'deletedAt_ASC' |
  64. 'deletedAt_DESC' |
  65. 'block_ASC' |
  66. 'block_DESC' |
  67. 'timestamp_ASC' |
  68. 'timestamp_DESC' |
  69. 'nework_ASC' |
  70. 'nework_DESC'
  71. export type CategoryOrderByInput = 'createdAt_ASC' |
  72. 'createdAt_DESC' |
  73. 'updatedAt_ASC' |
  74. 'updatedAt_DESC' |
  75. 'deletedAt_ASC' |
  76. 'deletedAt_DESC' |
  77. 'name_ASC' |
  78. 'name_DESC' |
  79. 'description_ASC' |
  80. 'description_DESC' |
  81. 'happenedInId_ASC' |
  82. 'happenedInId_DESC'
  83. export type ChannelOrderByInput = 'createdAt_ASC' |
  84. 'createdAt_DESC' |
  85. 'updatedAt_ASC' |
  86. 'updatedAt_DESC' |
  87. 'deletedAt_ASC' |
  88. 'deletedAt_DESC' |
  89. 'title_ASC' |
  90. 'title_DESC' |
  91. 'description_ASC' |
  92. 'description_DESC' |
  93. 'coverPhotoUrl_ASC' |
  94. 'coverPhotoUrl_DESC' |
  95. 'avatarPhotoUrl_ASC' |
  96. 'avatarPhotoUrl_DESC' |
  97. 'isPublic_ASC' |
  98. 'isPublic_DESC' |
  99. 'isCurated_ASC' |
  100. 'isCurated_DESC' |
  101. 'languageId_ASC' |
  102. 'languageId_DESC' |
  103. 'happenedInId_ASC' |
  104. 'happenedInId_DESC'
  105. export type ClassEntityOrderByInput = 'createdAt_ASC' |
  106. 'createdAt_DESC' |
  107. 'updatedAt_ASC' |
  108. 'updatedAt_DESC' |
  109. 'deletedAt_ASC' |
  110. 'deletedAt_DESC' |
  111. 'classId_ASC' |
  112. 'classId_DESC' |
  113. 'happenedInId_ASC' |
  114. 'happenedInId_DESC'
  115. export type HttpMediaLocationOrderByInput = 'createdAt_ASC' |
  116. 'createdAt_DESC' |
  117. 'updatedAt_ASC' |
  118. 'updatedAt_DESC' |
  119. 'deletedAt_ASC' |
  120. 'deletedAt_DESC' |
  121. 'url_ASC' |
  122. 'url_DESC' |
  123. 'port_ASC' |
  124. 'port_DESC' |
  125. 'happenedInId_ASC' |
  126. 'happenedInId_DESC'
  127. export type JoystreamMediaLocationOrderByInput = 'createdAt_ASC' |
  128. 'createdAt_DESC' |
  129. 'updatedAt_ASC' |
  130. 'updatedAt_DESC' |
  131. 'deletedAt_ASC' |
  132. 'deletedAt_DESC' |
  133. 'dataObjectId_ASC' |
  134. 'dataObjectId_DESC' |
  135. 'happenedInId_ASC' |
  136. 'happenedInId_DESC'
  137. export type KnownLicenseOrderByInput = 'createdAt_ASC' |
  138. 'createdAt_DESC' |
  139. 'updatedAt_ASC' |
  140. 'updatedAt_DESC' |
  141. 'deletedAt_ASC' |
  142. 'deletedAt_DESC' |
  143. 'code_ASC' |
  144. 'code_DESC' |
  145. 'name_ASC' |
  146. 'name_DESC' |
  147. 'description_ASC' |
  148. 'description_DESC' |
  149. 'url_ASC' |
  150. 'url_DESC' |
  151. 'happenedInId_ASC' |
  152. 'happenedInId_DESC'
  153. export type LanguageOrderByInput = 'createdAt_ASC' |
  154. 'createdAt_DESC' |
  155. 'updatedAt_ASC' |
  156. 'updatedAt_DESC' |
  157. 'deletedAt_ASC' |
  158. 'deletedAt_DESC' |
  159. 'name_ASC' |
  160. 'name_DESC' |
  161. 'code_ASC' |
  162. 'code_DESC' |
  163. 'happenedInId_ASC' |
  164. 'happenedInId_DESC'
  165. export type MemberOrderByInput = 'createdAt_ASC' |
  166. 'createdAt_DESC' |
  167. 'updatedAt_ASC' |
  168. 'updatedAt_DESC' |
  169. 'deletedAt_ASC' |
  170. 'deletedAt_DESC' |
  171. 'handle_ASC' |
  172. 'handle_DESC' |
  173. 'avatarUri_ASC' |
  174. 'avatarUri_DESC' |
  175. 'about_ASC' |
  176. 'about_DESC' |
  177. 'registeredAtBlock_ASC' |
  178. 'registeredAtBlock_DESC' |
  179. 'controllerAccount_ASC' |
  180. 'controllerAccount_DESC' |
  181. 'rootAccount_ASC' |
  182. 'rootAccount_DESC' |
  183. 'happenedInId_ASC' |
  184. 'happenedInId_DESC'
  185. export type Network = 'BABYLON' |
  186. 'ALEXANDRIA' |
  187. 'ROME'
  188. export type UserDefinedLicenseOrderByInput = 'createdAt_ASC' |
  189. 'createdAt_DESC' |
  190. 'updatedAt_ASC' |
  191. 'updatedAt_DESC' |
  192. 'deletedAt_ASC' |
  193. 'deletedAt_DESC' |
  194. 'content_ASC' |
  195. 'content_DESC' |
  196. 'happenedInId_ASC' |
  197. 'happenedInId_DESC'
  198. export type VideoMediaEncodingOrderByInput = 'createdAt_ASC' |
  199. 'createdAt_DESC' |
  200. 'updatedAt_ASC' |
  201. 'updatedAt_DESC' |
  202. 'deletedAt_ASC' |
  203. 'deletedAt_DESC' |
  204. 'name_ASC' |
  205. 'name_DESC'
  206. export type VideoMediaOrderByInput = 'createdAt_ASC' |
  207. 'createdAt_DESC' |
  208. 'updatedAt_ASC' |
  209. 'updatedAt_DESC' |
  210. 'deletedAt_ASC' |
  211. 'deletedAt_DESC' |
  212. 'encodingId_ASC' |
  213. 'encodingId_DESC' |
  214. 'pixelWidth_ASC' |
  215. 'pixelWidth_DESC' |
  216. 'pixelHeight_ASC' |
  217. 'pixelHeight_DESC' |
  218. 'size_ASC' |
  219. 'size_DESC' |
  220. 'locationId_ASC' |
  221. 'locationId_DESC' |
  222. 'happenedInId_ASC' |
  223. 'happenedInId_DESC'
  224. export type VideoOrderByInput = 'createdAt_ASC' |
  225. 'createdAt_DESC' |
  226. 'updatedAt_ASC' |
  227. 'updatedAt_DESC' |
  228. 'deletedAt_ASC' |
  229. 'deletedAt_DESC' |
  230. 'channelId_ASC' |
  231. 'channelId_DESC' |
  232. 'categoryId_ASC' |
  233. 'categoryId_DESC' |
  234. 'title_ASC' |
  235. 'title_DESC' |
  236. 'description_ASC' |
  237. 'description_DESC' |
  238. 'duration_ASC' |
  239. 'duration_DESC' |
  240. 'skippableIntroDuration_ASC' |
  241. 'skippableIntroDuration_DESC' |
  242. 'thumbnailUrl_ASC' |
  243. 'thumbnailUrl_DESC' |
  244. 'languageId_ASC' |
  245. 'languageId_DESC' |
  246. 'videoMediaId_ASC' |
  247. 'videoMediaId_DESC' |
  248. 'hasMarketing_ASC' |
  249. 'hasMarketing_DESC' |
  250. 'publishedBeforeJoystream_ASC' |
  251. 'publishedBeforeJoystream_DESC' |
  252. 'isPublic_ASC' |
  253. 'isPublic_DESC' |
  254. 'isCurated_ASC' |
  255. 'isCurated_DESC' |
  256. 'isExplicit_ASC' |
  257. 'isExplicit_DESC' |
  258. 'licenseId_ASC' |
  259. 'licenseId_DESC' |
  260. 'happenedInId_ASC' |
  261. 'happenedInId_DESC'
  262. export interface BaseWhereInput {
  263. id_eq?: String | null
  264. id_in?: String[] | String | null
  265. createdAt_eq?: String | null
  266. createdAt_lt?: String | null
  267. createdAt_lte?: String | null
  268. createdAt_gt?: String | null
  269. createdAt_gte?: String | null
  270. createdById_eq?: String | null
  271. updatedAt_eq?: String | null
  272. updatedAt_lt?: String | null
  273. updatedAt_lte?: String | null
  274. updatedAt_gt?: String | null
  275. updatedAt_gte?: String | null
  276. updatedById_eq?: String | null
  277. deletedAt_all?: Boolean | null
  278. deletedAt_eq?: String | null
  279. deletedAt_lt?: String | null
  280. deletedAt_lte?: String | null
  281. deletedAt_gt?: String | null
  282. deletedAt_gte?: String | null
  283. deletedById_eq?: String | null
  284. }
  285. export interface BlockCreateInput {
  286. block: Float
  287. timestamp: Float
  288. nework: Network
  289. }
  290. export interface BlockUpdateInput {
  291. block?: Float | null
  292. timestamp?: Float | null
  293. nework?: Network | null
  294. }
  295. export interface BlockWhereInput {
  296. id_eq?: ID_Input | null
  297. id_in?: ID_Output[] | ID_Output | null
  298. createdAt_eq?: DateTime | null
  299. createdAt_lt?: DateTime | null
  300. createdAt_lte?: DateTime | null
  301. createdAt_gt?: DateTime | null
  302. createdAt_gte?: DateTime | null
  303. createdById_eq?: ID_Input | null
  304. createdById_in?: ID_Output[] | ID_Output | null
  305. updatedAt_eq?: DateTime | null
  306. updatedAt_lt?: DateTime | null
  307. updatedAt_lte?: DateTime | null
  308. updatedAt_gt?: DateTime | null
  309. updatedAt_gte?: DateTime | null
  310. updatedById_eq?: ID_Input | null
  311. updatedById_in?: ID_Output[] | ID_Output | null
  312. deletedAt_all?: Boolean | null
  313. deletedAt_eq?: DateTime | null
  314. deletedAt_lt?: DateTime | null
  315. deletedAt_lte?: DateTime | null
  316. deletedAt_gt?: DateTime | null
  317. deletedAt_gte?: DateTime | null
  318. deletedById_eq?: ID_Input | null
  319. deletedById_in?: ID_Output[] | ID_Output | null
  320. block_eq?: Int | null
  321. block_gt?: Int | null
  322. block_gte?: Int | null
  323. block_lt?: Int | null
  324. block_lte?: Int | null
  325. block_in?: Int[] | Int | null
  326. timestamp_eq?: Int | null
  327. timestamp_gt?: Int | null
  328. timestamp_gte?: Int | null
  329. timestamp_lt?: Int | null
  330. timestamp_lte?: Int | null
  331. timestamp_in?: Int[] | Int | null
  332. nework_eq?: Network | null
  333. nework_in?: Network[] | Network | null
  334. }
  335. export interface BlockWhereUniqueInput {
  336. id: ID_Output
  337. }
  338. export interface CategoryCreateInput {
  339. name: String
  340. description?: String | null
  341. happenedInId: ID_Output
  342. }
  343. export interface CategoryUpdateInput {
  344. name?: String | null
  345. description?: String | null
  346. happenedInId?: ID_Input | null
  347. }
  348. export interface CategoryWhereInput {
  349. id_eq?: ID_Input | null
  350. id_in?: ID_Output[] | ID_Output | null
  351. createdAt_eq?: DateTime | null
  352. createdAt_lt?: DateTime | null
  353. createdAt_lte?: DateTime | null
  354. createdAt_gt?: DateTime | null
  355. createdAt_gte?: DateTime | null
  356. createdById_eq?: ID_Input | null
  357. createdById_in?: ID_Output[] | ID_Output | null
  358. updatedAt_eq?: DateTime | null
  359. updatedAt_lt?: DateTime | null
  360. updatedAt_lte?: DateTime | null
  361. updatedAt_gt?: DateTime | null
  362. updatedAt_gte?: DateTime | null
  363. updatedById_eq?: ID_Input | null
  364. updatedById_in?: ID_Output[] | ID_Output | null
  365. deletedAt_all?: Boolean | null
  366. deletedAt_eq?: DateTime | null
  367. deletedAt_lt?: DateTime | null
  368. deletedAt_lte?: DateTime | null
  369. deletedAt_gt?: DateTime | null
  370. deletedAt_gte?: DateTime | null
  371. deletedById_eq?: ID_Input | null
  372. deletedById_in?: ID_Output[] | ID_Output | null
  373. name_eq?: String | null
  374. name_contains?: String | null
  375. name_startsWith?: String | null
  376. name_endsWith?: String | null
  377. name_in?: String[] | String | null
  378. description_eq?: String | null
  379. description_contains?: String | null
  380. description_startsWith?: String | null
  381. description_endsWith?: String | null
  382. description_in?: String[] | String | null
  383. happenedInId_eq?: ID_Input | null
  384. happenedInId_in?: ID_Output[] | ID_Output | null
  385. }
  386. export interface CategoryWhereUniqueInput {
  387. id?: ID_Input | null
  388. name?: String | null
  389. }
  390. export interface ChannelCreateInput {
  391. title: String
  392. description: String
  393. coverPhotoUrl: String
  394. avatarPhotoUrl: String
  395. isPublic: Boolean
  396. isCurated: Boolean
  397. languageId?: Float | null
  398. happenedInId: ID_Output
  399. }
  400. export interface ChannelUpdateInput {
  401. title?: String | null
  402. description?: String | null
  403. coverPhotoUrl?: String | null
  404. avatarPhotoUrl?: String | null
  405. isPublic?: Boolean | null
  406. isCurated?: Boolean | null
  407. languageId?: Float | null
  408. happenedInId?: ID_Input | null
  409. }
  410. export interface ChannelWhereInput {
  411. id_eq?: ID_Input | null
  412. id_in?: ID_Output[] | ID_Output | null
  413. createdAt_eq?: DateTime | null
  414. createdAt_lt?: DateTime | null
  415. createdAt_lte?: DateTime | null
  416. createdAt_gt?: DateTime | null
  417. createdAt_gte?: DateTime | null
  418. createdById_eq?: ID_Input | null
  419. createdById_in?: ID_Output[] | ID_Output | null
  420. updatedAt_eq?: DateTime | null
  421. updatedAt_lt?: DateTime | null
  422. updatedAt_lte?: DateTime | null
  423. updatedAt_gt?: DateTime | null
  424. updatedAt_gte?: DateTime | null
  425. updatedById_eq?: ID_Input | null
  426. updatedById_in?: ID_Output[] | ID_Output | null
  427. deletedAt_all?: Boolean | null
  428. deletedAt_eq?: DateTime | null
  429. deletedAt_lt?: DateTime | null
  430. deletedAt_lte?: DateTime | null
  431. deletedAt_gt?: DateTime | null
  432. deletedAt_gte?: DateTime | null
  433. deletedById_eq?: ID_Input | null
  434. deletedById_in?: ID_Output[] | ID_Output | null
  435. title_eq?: String | null
  436. title_contains?: String | null
  437. title_startsWith?: String | null
  438. title_endsWith?: String | null
  439. title_in?: String[] | String | null
  440. description_eq?: String | null
  441. description_contains?: String | null
  442. description_startsWith?: String | null
  443. description_endsWith?: String | null
  444. description_in?: String[] | String | null
  445. coverPhotoUrl_eq?: String | null
  446. coverPhotoUrl_contains?: String | null
  447. coverPhotoUrl_startsWith?: String | null
  448. coverPhotoUrl_endsWith?: String | null
  449. coverPhotoUrl_in?: String[] | String | null
  450. avatarPhotoUrl_eq?: String | null
  451. avatarPhotoUrl_contains?: String | null
  452. avatarPhotoUrl_startsWith?: String | null
  453. avatarPhotoUrl_endsWith?: String | null
  454. avatarPhotoUrl_in?: String[] | String | null
  455. isPublic_eq?: Boolean | null
  456. isPublic_in?: Boolean[] | Boolean | null
  457. isCurated_eq?: Boolean | null
  458. isCurated_in?: Boolean[] | Boolean | null
  459. languageId_eq?: Int | null
  460. languageId_gt?: Int | null
  461. languageId_gte?: Int | null
  462. languageId_lt?: Int | null
  463. languageId_lte?: Int | null
  464. languageId_in?: Int[] | Int | null
  465. happenedInId_eq?: ID_Input | null
  466. happenedInId_in?: ID_Output[] | ID_Output | null
  467. }
  468. export interface ChannelWhereUniqueInput {
  469. id: ID_Output
  470. }
  471. export interface ClassEntityCreateInput {
  472. classId: Float
  473. happenedInId: ID_Output
  474. }
  475. export interface ClassEntityUpdateInput {
  476. classId?: Float | null
  477. happenedInId?: ID_Input | null
  478. }
  479. export interface ClassEntityWhereInput {
  480. id_eq?: ID_Input | null
  481. id_in?: ID_Output[] | ID_Output | null
  482. createdAt_eq?: DateTime | null
  483. createdAt_lt?: DateTime | null
  484. createdAt_lte?: DateTime | null
  485. createdAt_gt?: DateTime | null
  486. createdAt_gte?: DateTime | null
  487. createdById_eq?: ID_Input | null
  488. createdById_in?: ID_Output[] | ID_Output | null
  489. updatedAt_eq?: DateTime | null
  490. updatedAt_lt?: DateTime | null
  491. updatedAt_lte?: DateTime | null
  492. updatedAt_gt?: DateTime | null
  493. updatedAt_gte?: DateTime | null
  494. updatedById_eq?: ID_Input | null
  495. updatedById_in?: ID_Output[] | ID_Output | null
  496. deletedAt_all?: Boolean | null
  497. deletedAt_eq?: DateTime | null
  498. deletedAt_lt?: DateTime | null
  499. deletedAt_lte?: DateTime | null
  500. deletedAt_gt?: DateTime | null
  501. deletedAt_gte?: DateTime | null
  502. deletedById_eq?: ID_Input | null
  503. deletedById_in?: ID_Output[] | ID_Output | null
  504. classId_eq?: Int | null
  505. classId_gt?: Int | null
  506. classId_gte?: Int | null
  507. classId_lt?: Int | null
  508. classId_lte?: Int | null
  509. classId_in?: Int[] | Int | null
  510. happenedInId_eq?: ID_Input | null
  511. happenedInId_in?: ID_Output[] | ID_Output | null
  512. }
  513. export interface ClassEntityWhereUniqueInput {
  514. id: ID_Output
  515. }
  516. export interface HttpMediaLocationCreateInput {
  517. url: String
  518. port?: Float | null
  519. happenedInId: ID_Output
  520. }
  521. export interface HttpMediaLocationUpdateInput {
  522. url?: String | null
  523. port?: Float | null
  524. happenedInId?: ID_Input | null
  525. }
  526. export interface HttpMediaLocationWhereInput {
  527. id_eq?: ID_Input | null
  528. id_in?: ID_Output[] | ID_Output | null
  529. createdAt_eq?: DateTime | null
  530. createdAt_lt?: DateTime | null
  531. createdAt_lte?: DateTime | null
  532. createdAt_gt?: DateTime | null
  533. createdAt_gte?: DateTime | null
  534. createdById_eq?: ID_Input | null
  535. createdById_in?: ID_Output[] | ID_Output | null
  536. updatedAt_eq?: DateTime | null
  537. updatedAt_lt?: DateTime | null
  538. updatedAt_lte?: DateTime | null
  539. updatedAt_gt?: DateTime | null
  540. updatedAt_gte?: DateTime | null
  541. updatedById_eq?: ID_Input | null
  542. updatedById_in?: ID_Output[] | ID_Output | null
  543. deletedAt_all?: Boolean | null
  544. deletedAt_eq?: DateTime | null
  545. deletedAt_lt?: DateTime | null
  546. deletedAt_lte?: DateTime | null
  547. deletedAt_gt?: DateTime | null
  548. deletedAt_gte?: DateTime | null
  549. deletedById_eq?: ID_Input | null
  550. deletedById_in?: ID_Output[] | ID_Output | null
  551. url_eq?: String | null
  552. url_contains?: String | null
  553. url_startsWith?: String | null
  554. url_endsWith?: String | null
  555. url_in?: String[] | String | null
  556. port_eq?: Int | null
  557. port_gt?: Int | null
  558. port_gte?: Int | null
  559. port_lt?: Int | null
  560. port_lte?: Int | null
  561. port_in?: Int[] | Int | null
  562. happenedInId_eq?: ID_Input | null
  563. happenedInId_in?: ID_Output[] | ID_Output | null
  564. }
  565. export interface HttpMediaLocationWhereUniqueInput {
  566. id: ID_Output
  567. }
  568. export interface JoystreamMediaLocationCreateInput {
  569. dataObjectId: String
  570. happenedInId: ID_Output
  571. }
  572. export interface JoystreamMediaLocationUpdateInput {
  573. dataObjectId?: String | null
  574. happenedInId?: ID_Input | null
  575. }
  576. export interface JoystreamMediaLocationWhereInput {
  577. id_eq?: ID_Input | null
  578. id_in?: ID_Output[] | ID_Output | null
  579. createdAt_eq?: DateTime | null
  580. createdAt_lt?: DateTime | null
  581. createdAt_lte?: DateTime | null
  582. createdAt_gt?: DateTime | null
  583. createdAt_gte?: DateTime | null
  584. createdById_eq?: ID_Input | null
  585. createdById_in?: ID_Output[] | ID_Output | null
  586. updatedAt_eq?: DateTime | null
  587. updatedAt_lt?: DateTime | null
  588. updatedAt_lte?: DateTime | null
  589. updatedAt_gt?: DateTime | null
  590. updatedAt_gte?: DateTime | null
  591. updatedById_eq?: ID_Input | null
  592. updatedById_in?: ID_Output[] | ID_Output | null
  593. deletedAt_all?: Boolean | null
  594. deletedAt_eq?: DateTime | null
  595. deletedAt_lt?: DateTime | null
  596. deletedAt_lte?: DateTime | null
  597. deletedAt_gt?: DateTime | null
  598. deletedAt_gte?: DateTime | null
  599. deletedById_eq?: ID_Input | null
  600. deletedById_in?: ID_Output[] | ID_Output | null
  601. dataObjectId_eq?: String | null
  602. dataObjectId_contains?: String | null
  603. dataObjectId_startsWith?: String | null
  604. dataObjectId_endsWith?: String | null
  605. dataObjectId_in?: String[] | String | null
  606. happenedInId_eq?: ID_Input | null
  607. happenedInId_in?: ID_Output[] | ID_Output | null
  608. }
  609. export interface JoystreamMediaLocationWhereUniqueInput {
  610. id?: ID_Input | null
  611. dataObjectId?: String | null
  612. }
  613. export interface KnownLicenseCreateInput {
  614. code: String
  615. name?: String | null
  616. description?: String | null
  617. url?: String | null
  618. happenedInId: ID_Output
  619. }
  620. export interface KnownLicenseUpdateInput {
  621. code?: String | null
  622. name?: String | null
  623. description?: String | null
  624. url?: String | null
  625. happenedInId?: ID_Input | null
  626. }
  627. export interface KnownLicenseWhereInput {
  628. id_eq?: ID_Input | null
  629. id_in?: ID_Output[] | ID_Output | null
  630. createdAt_eq?: DateTime | null
  631. createdAt_lt?: DateTime | null
  632. createdAt_lte?: DateTime | null
  633. createdAt_gt?: DateTime | null
  634. createdAt_gte?: DateTime | null
  635. createdById_eq?: ID_Input | null
  636. createdById_in?: ID_Output[] | ID_Output | null
  637. updatedAt_eq?: DateTime | null
  638. updatedAt_lt?: DateTime | null
  639. updatedAt_lte?: DateTime | null
  640. updatedAt_gt?: DateTime | null
  641. updatedAt_gte?: DateTime | null
  642. updatedById_eq?: ID_Input | null
  643. updatedById_in?: ID_Output[] | ID_Output | null
  644. deletedAt_all?: Boolean | null
  645. deletedAt_eq?: DateTime | null
  646. deletedAt_lt?: DateTime | null
  647. deletedAt_lte?: DateTime | null
  648. deletedAt_gt?: DateTime | null
  649. deletedAt_gte?: DateTime | null
  650. deletedById_eq?: ID_Input | null
  651. deletedById_in?: ID_Output[] | ID_Output | null
  652. code_eq?: String | null
  653. code_contains?: String | null
  654. code_startsWith?: String | null
  655. code_endsWith?: String | null
  656. code_in?: String[] | String | null
  657. name_eq?: String | null
  658. name_contains?: String | null
  659. name_startsWith?: String | null
  660. name_endsWith?: String | null
  661. name_in?: String[] | String | null
  662. description_eq?: String | null
  663. description_contains?: String | null
  664. description_startsWith?: String | null
  665. description_endsWith?: String | null
  666. description_in?: String[] | String | null
  667. url_eq?: String | null
  668. url_contains?: String | null
  669. url_startsWith?: String | null
  670. url_endsWith?: String | null
  671. url_in?: String[] | String | null
  672. happenedInId_eq?: ID_Input | null
  673. happenedInId_in?: ID_Output[] | ID_Output | null
  674. }
  675. export interface KnownLicenseWhereUniqueInput {
  676. id?: ID_Input | null
  677. code?: String | null
  678. }
  679. export interface LanguageCreateInput {
  680. name: String
  681. code: String
  682. happenedInId: ID_Output
  683. }
  684. export interface LanguageUpdateInput {
  685. name?: String | null
  686. code?: String | null
  687. happenedInId?: ID_Input | null
  688. }
  689. export interface LanguageWhereInput {
  690. id_eq?: ID_Input | null
  691. id_in?: ID_Output[] | ID_Output | null
  692. createdAt_eq?: DateTime | null
  693. createdAt_lt?: DateTime | null
  694. createdAt_lte?: DateTime | null
  695. createdAt_gt?: DateTime | null
  696. createdAt_gte?: DateTime | null
  697. createdById_eq?: ID_Input | null
  698. createdById_in?: ID_Output[] | ID_Output | null
  699. updatedAt_eq?: DateTime | null
  700. updatedAt_lt?: DateTime | null
  701. updatedAt_lte?: DateTime | null
  702. updatedAt_gt?: DateTime | null
  703. updatedAt_gte?: DateTime | null
  704. updatedById_eq?: ID_Input | null
  705. updatedById_in?: ID_Output[] | ID_Output | null
  706. deletedAt_all?: Boolean | null
  707. deletedAt_eq?: DateTime | null
  708. deletedAt_lt?: DateTime | null
  709. deletedAt_lte?: DateTime | null
  710. deletedAt_gt?: DateTime | null
  711. deletedAt_gte?: DateTime | null
  712. deletedById_eq?: ID_Input | null
  713. deletedById_in?: ID_Output[] | ID_Output | null
  714. name_eq?: String | null
  715. name_contains?: String | null
  716. name_startsWith?: String | null
  717. name_endsWith?: String | null
  718. name_in?: String[] | String | null
  719. code_eq?: String | null
  720. code_contains?: String | null
  721. code_startsWith?: String | null
  722. code_endsWith?: String | null
  723. code_in?: String[] | String | null
  724. happenedInId_eq?: ID_Input | null
  725. happenedInId_in?: ID_Output[] | ID_Output | null
  726. }
  727. export interface LanguageWhereUniqueInput {
  728. id: ID_Output
  729. }
  730. export interface MemberCreateInput {
  731. handle?: String | null
  732. avatarUri?: String | null
  733. about?: String | null
  734. registeredAtBlock: Float
  735. controllerAccount: String
  736. rootAccount: String
  737. happenedInId: ID_Output
  738. }
  739. export interface MemberUpdateInput {
  740. handle?: String | null
  741. avatarUri?: String | null
  742. about?: String | null
  743. registeredAtBlock?: Float | null
  744. controllerAccount?: String | null
  745. rootAccount?: String | null
  746. happenedInId?: ID_Input | null
  747. }
  748. export interface MemberWhereInput {
  749. id_eq?: ID_Input | null
  750. id_in?: ID_Output[] | ID_Output | null
  751. createdAt_eq?: DateTime | null
  752. createdAt_lt?: DateTime | null
  753. createdAt_lte?: DateTime | null
  754. createdAt_gt?: DateTime | null
  755. createdAt_gte?: DateTime | null
  756. createdById_eq?: ID_Input | null
  757. createdById_in?: ID_Output[] | ID_Output | null
  758. updatedAt_eq?: DateTime | null
  759. updatedAt_lt?: DateTime | null
  760. updatedAt_lte?: DateTime | null
  761. updatedAt_gt?: DateTime | null
  762. updatedAt_gte?: DateTime | null
  763. updatedById_eq?: ID_Input | null
  764. updatedById_in?: ID_Output[] | ID_Output | null
  765. deletedAt_all?: Boolean | null
  766. deletedAt_eq?: DateTime | null
  767. deletedAt_lt?: DateTime | null
  768. deletedAt_lte?: DateTime | null
  769. deletedAt_gt?: DateTime | null
  770. deletedAt_gte?: DateTime | null
  771. deletedById_eq?: ID_Input | null
  772. deletedById_in?: ID_Output[] | ID_Output | null
  773. handle_eq?: String | null
  774. handle_contains?: String | null
  775. handle_startsWith?: String | null
  776. handle_endsWith?: String | null
  777. handle_in?: String[] | String | null
  778. avatarUri_eq?: String | null
  779. avatarUri_contains?: String | null
  780. avatarUri_startsWith?: String | null
  781. avatarUri_endsWith?: String | null
  782. avatarUri_in?: String[] | String | null
  783. about_eq?: String | null
  784. about_contains?: String | null
  785. about_startsWith?: String | null
  786. about_endsWith?: String | null
  787. about_in?: String[] | String | null
  788. registeredAtBlock_eq?: Int | null
  789. registeredAtBlock_gt?: Int | null
  790. registeredAtBlock_gte?: Int | null
  791. registeredAtBlock_lt?: Int | null
  792. registeredAtBlock_lte?: Int | null
  793. registeredAtBlock_in?: Int[] | Int | null
  794. controllerAccount_eq?: String | null
  795. controllerAccount_contains?: String | null
  796. controllerAccount_startsWith?: String | null
  797. controllerAccount_endsWith?: String | null
  798. controllerAccount_in?: String[] | String | null
  799. rootAccount_eq?: String | null
  800. rootAccount_contains?: String | null
  801. rootAccount_startsWith?: String | null
  802. rootAccount_endsWith?: String | null
  803. rootAccount_in?: String[] | String | null
  804. happenedInId_eq?: ID_Input | null
  805. happenedInId_in?: ID_Output[] | ID_Output | null
  806. }
  807. export interface MemberWhereUniqueInput {
  808. id?: ID_Input | null
  809. handle?: String | null
  810. }
  811. export interface UserDefinedLicenseCreateInput {
  812. content: String
  813. happenedInId: ID_Output
  814. }
  815. export interface UserDefinedLicenseUpdateInput {
  816. content?: String | null
  817. happenedInId?: ID_Input | null
  818. }
  819. export interface UserDefinedLicenseWhereInput {
  820. id_eq?: ID_Input | null
  821. id_in?: ID_Output[] | ID_Output | null
  822. createdAt_eq?: DateTime | null
  823. createdAt_lt?: DateTime | null
  824. createdAt_lte?: DateTime | null
  825. createdAt_gt?: DateTime | null
  826. createdAt_gte?: DateTime | null
  827. createdById_eq?: ID_Input | null
  828. createdById_in?: ID_Output[] | ID_Output | null
  829. updatedAt_eq?: DateTime | null
  830. updatedAt_lt?: DateTime | null
  831. updatedAt_lte?: DateTime | null
  832. updatedAt_gt?: DateTime | null
  833. updatedAt_gte?: DateTime | null
  834. updatedById_eq?: ID_Input | null
  835. updatedById_in?: ID_Output[] | ID_Output | null
  836. deletedAt_all?: Boolean | null
  837. deletedAt_eq?: DateTime | null
  838. deletedAt_lt?: DateTime | null
  839. deletedAt_lte?: DateTime | null
  840. deletedAt_gt?: DateTime | null
  841. deletedAt_gte?: DateTime | null
  842. deletedById_eq?: ID_Input | null
  843. deletedById_in?: ID_Output[] | ID_Output | null
  844. content_eq?: String | null
  845. content_contains?: String | null
  846. content_startsWith?: String | null
  847. content_endsWith?: String | null
  848. content_in?: String[] | String | null
  849. happenedInId_eq?: ID_Input | null
  850. happenedInId_in?: ID_Output[] | ID_Output | null
  851. }
  852. export interface UserDefinedLicenseWhereUniqueInput {
  853. id: ID_Output
  854. }
  855. export interface VideoCreateInput {
  856. channelId: Float
  857. categoryId: Float
  858. title: String
  859. description: String
  860. duration: Float
  861. skippableIntroDuration?: Float | null
  862. thumbnailUrl: String
  863. languageId?: Float | null
  864. videoMediaId: Float
  865. hasMarketing?: Boolean | null
  866. publishedBeforeJoystream?: Float | null
  867. isPublic: Boolean
  868. isCurated: Boolean
  869. isExplicit: Boolean
  870. licenseId: Float
  871. happenedInId: ID_Output
  872. }
  873. export interface VideoMediaCreateInput {
  874. encodingId: Float
  875. pixelWidth: Float
  876. pixelHeight: Float
  877. size?: Float | null
  878. locationId: Float
  879. happenedInId: ID_Output
  880. }
  881. export interface VideoMediaEncodingCreateInput {
  882. name: String
  883. }
  884. export interface VideoMediaEncodingUpdateInput {
  885. name?: String | null
  886. }
  887. export interface VideoMediaEncodingWhereInput {
  888. id_eq?: ID_Input | null
  889. id_in?: ID_Output[] | ID_Output | null
  890. createdAt_eq?: DateTime | null
  891. createdAt_lt?: DateTime | null
  892. createdAt_lte?: DateTime | null
  893. createdAt_gt?: DateTime | null
  894. createdAt_gte?: DateTime | null
  895. createdById_eq?: ID_Input | null
  896. createdById_in?: ID_Output[] | ID_Output | null
  897. updatedAt_eq?: DateTime | null
  898. updatedAt_lt?: DateTime | null
  899. updatedAt_lte?: DateTime | null
  900. updatedAt_gt?: DateTime | null
  901. updatedAt_gte?: DateTime | null
  902. updatedById_eq?: ID_Input | null
  903. updatedById_in?: ID_Output[] | ID_Output | null
  904. deletedAt_all?: Boolean | null
  905. deletedAt_eq?: DateTime | null
  906. deletedAt_lt?: DateTime | null
  907. deletedAt_lte?: DateTime | null
  908. deletedAt_gt?: DateTime | null
  909. deletedAt_gte?: DateTime | null
  910. deletedById_eq?: ID_Input | null
  911. deletedById_in?: ID_Output[] | ID_Output | null
  912. name_eq?: String | null
  913. name_contains?: String | null
  914. name_startsWith?: String | null
  915. name_endsWith?: String | null
  916. name_in?: String[] | String | null
  917. }
  918. export interface VideoMediaEncodingWhereUniqueInput {
  919. id: ID_Output
  920. }
  921. export interface VideoMediaUpdateInput {
  922. encodingId?: Float | null
  923. pixelWidth?: Float | null
  924. pixelHeight?: Float | null
  925. size?: Float | null
  926. locationId?: Float | null
  927. happenedInId?: ID_Input | null
  928. }
  929. export interface VideoMediaWhereInput {
  930. id_eq?: ID_Input | null
  931. id_in?: ID_Output[] | ID_Output | null
  932. createdAt_eq?: DateTime | null
  933. createdAt_lt?: DateTime | null
  934. createdAt_lte?: DateTime | null
  935. createdAt_gt?: DateTime | null
  936. createdAt_gte?: DateTime | null
  937. createdById_eq?: ID_Input | null
  938. createdById_in?: ID_Output[] | ID_Output | null
  939. updatedAt_eq?: DateTime | null
  940. updatedAt_lt?: DateTime | null
  941. updatedAt_lte?: DateTime | null
  942. updatedAt_gt?: DateTime | null
  943. updatedAt_gte?: DateTime | null
  944. updatedById_eq?: ID_Input | null
  945. updatedById_in?: ID_Output[] | ID_Output | null
  946. deletedAt_all?: Boolean | null
  947. deletedAt_eq?: DateTime | null
  948. deletedAt_lt?: DateTime | null
  949. deletedAt_lte?: DateTime | null
  950. deletedAt_gt?: DateTime | null
  951. deletedAt_gte?: DateTime | null
  952. deletedById_eq?: ID_Input | null
  953. deletedById_in?: ID_Output[] | ID_Output | null
  954. encodingId_eq?: Int | null
  955. encodingId_gt?: Int | null
  956. encodingId_gte?: Int | null
  957. encodingId_lt?: Int | null
  958. encodingId_lte?: Int | null
  959. encodingId_in?: Int[] | Int | null
  960. pixelWidth_eq?: Int | null
  961. pixelWidth_gt?: Int | null
  962. pixelWidth_gte?: Int | null
  963. pixelWidth_lt?: Int | null
  964. pixelWidth_lte?: Int | null
  965. pixelWidth_in?: Int[] | Int | null
  966. pixelHeight_eq?: Int | null
  967. pixelHeight_gt?: Int | null
  968. pixelHeight_gte?: Int | null
  969. pixelHeight_lt?: Int | null
  970. pixelHeight_lte?: Int | null
  971. pixelHeight_in?: Int[] | Int | null
  972. size_eq?: Int | null
  973. size_gt?: Int | null
  974. size_gte?: Int | null
  975. size_lt?: Int | null
  976. size_lte?: Int | null
  977. size_in?: Int[] | Int | null
  978. locationId_eq?: Int | null
  979. locationId_gt?: Int | null
  980. locationId_gte?: Int | null
  981. locationId_lt?: Int | null
  982. locationId_lte?: Int | null
  983. locationId_in?: Int[] | Int | null
  984. happenedInId_eq?: ID_Input | null
  985. happenedInId_in?: ID_Output[] | ID_Output | null
  986. }
  987. export interface VideoMediaWhereUniqueInput {
  988. id: ID_Output
  989. }
  990. export interface VideoUpdateInput {
  991. channelId?: Float | null
  992. categoryId?: Float | null
  993. title?: String | null
  994. description?: String | null
  995. duration?: Float | null
  996. skippableIntroDuration?: Float | null
  997. thumbnailUrl?: String | null
  998. languageId?: Float | null
  999. videoMediaId?: Float | null
  1000. hasMarketing?: Boolean | null
  1001. publishedBeforeJoystream?: Float | null
  1002. isPublic?: Boolean | null
  1003. isCurated?: Boolean | null
  1004. isExplicit?: Boolean | null
  1005. licenseId?: Float | null
  1006. happenedInId?: ID_Input | null
  1007. }
  1008. export interface VideoWhereInput {
  1009. id_eq?: ID_Input | null
  1010. id_in?: ID_Output[] | ID_Output | null
  1011. createdAt_eq?: DateTime | null
  1012. createdAt_lt?: DateTime | null
  1013. createdAt_lte?: DateTime | null
  1014. createdAt_gt?: DateTime | null
  1015. createdAt_gte?: DateTime | null
  1016. createdById_eq?: ID_Input | null
  1017. createdById_in?: ID_Output[] | ID_Output | null
  1018. updatedAt_eq?: DateTime | null
  1019. updatedAt_lt?: DateTime | null
  1020. updatedAt_lte?: DateTime | null
  1021. updatedAt_gt?: DateTime | null
  1022. updatedAt_gte?: DateTime | null
  1023. updatedById_eq?: ID_Input | null
  1024. updatedById_in?: ID_Output[] | ID_Output | null
  1025. deletedAt_all?: Boolean | null
  1026. deletedAt_eq?: DateTime | null
  1027. deletedAt_lt?: DateTime | null
  1028. deletedAt_lte?: DateTime | null
  1029. deletedAt_gt?: DateTime | null
  1030. deletedAt_gte?: DateTime | null
  1031. deletedById_eq?: ID_Input | null
  1032. deletedById_in?: ID_Output[] | ID_Output | null
  1033. channelId_eq?: Int | null
  1034. channelId_gt?: Int | null
  1035. channelId_gte?: Int | null
  1036. channelId_lt?: Int | null
  1037. channelId_lte?: Int | null
  1038. channelId_in?: Int[] | Int | null
  1039. categoryId_eq?: Int | null
  1040. categoryId_gt?: Int | null
  1041. categoryId_gte?: Int | null
  1042. categoryId_lt?: Int | null
  1043. categoryId_lte?: Int | null
  1044. categoryId_in?: Int[] | Int | null
  1045. title_eq?: String | null
  1046. title_contains?: String | null
  1047. title_startsWith?: String | null
  1048. title_endsWith?: String | null
  1049. title_in?: String[] | String | null
  1050. description_eq?: String | null
  1051. description_contains?: String | null
  1052. description_startsWith?: String | null
  1053. description_endsWith?: String | null
  1054. description_in?: String[] | String | null
  1055. duration_eq?: Int | null
  1056. duration_gt?: Int | null
  1057. duration_gte?: Int | null
  1058. duration_lt?: Int | null
  1059. duration_lte?: Int | null
  1060. duration_in?: Int[] | Int | null
  1061. skippableIntroDuration_eq?: Int | null
  1062. skippableIntroDuration_gt?: Int | null
  1063. skippableIntroDuration_gte?: Int | null
  1064. skippableIntroDuration_lt?: Int | null
  1065. skippableIntroDuration_lte?: Int | null
  1066. skippableIntroDuration_in?: Int[] | Int | null
  1067. thumbnailUrl_eq?: String | null
  1068. thumbnailUrl_contains?: String | null
  1069. thumbnailUrl_startsWith?: String | null
  1070. thumbnailUrl_endsWith?: String | null
  1071. thumbnailUrl_in?: String[] | String | null
  1072. languageId_eq?: Int | null
  1073. languageId_gt?: Int | null
  1074. languageId_gte?: Int | null
  1075. languageId_lt?: Int | null
  1076. languageId_lte?: Int | null
  1077. languageId_in?: Int[] | Int | null
  1078. videoMediaId_eq?: Int | null
  1079. videoMediaId_gt?: Int | null
  1080. videoMediaId_gte?: Int | null
  1081. videoMediaId_lt?: Int | null
  1082. videoMediaId_lte?: Int | null
  1083. videoMediaId_in?: Int[] | Int | null
  1084. hasMarketing_eq?: Boolean | null
  1085. hasMarketing_in?: Boolean[] | Boolean | null
  1086. publishedBeforeJoystream_eq?: Int | null
  1087. publishedBeforeJoystream_gt?: Int | null
  1088. publishedBeforeJoystream_gte?: Int | null
  1089. publishedBeforeJoystream_lt?: Int | null
  1090. publishedBeforeJoystream_lte?: Int | null
  1091. publishedBeforeJoystream_in?: Int[] | Int | null
  1092. isPublic_eq?: Boolean | null
  1093. isPublic_in?: Boolean[] | Boolean | null
  1094. isCurated_eq?: Boolean | null
  1095. isCurated_in?: Boolean[] | Boolean | null
  1096. isExplicit_eq?: Boolean | null
  1097. isExplicit_in?: Boolean[] | Boolean | null
  1098. licenseId_eq?: Int | null
  1099. licenseId_gt?: Int | null
  1100. licenseId_gte?: Int | null
  1101. licenseId_lt?: Int | null
  1102. licenseId_lte?: Int | null
  1103. licenseId_in?: Int[] | Int | null
  1104. happenedInId_eq?: ID_Input | null
  1105. happenedInId_in?: ID_Output[] | ID_Output | null
  1106. }
  1107. export interface VideoWhereUniqueInput {
  1108. id: ID_Output
  1109. }
  1110. export interface BaseGraphQLObject {
  1111. id: ID_Output
  1112. createdAt: DateTime
  1113. createdById: String
  1114. updatedAt?: DateTime | null
  1115. updatedById?: String | null
  1116. deletedAt?: DateTime | null
  1117. deletedById?: String | null
  1118. version: Int
  1119. }
  1120. export interface DeleteResponse {
  1121. id: ID_Output
  1122. }
  1123. export interface BaseModel extends BaseGraphQLObject {
  1124. id: ID_Output
  1125. createdAt: DateTime
  1126. createdById: String
  1127. updatedAt?: DateTime | null
  1128. updatedById?: String | null
  1129. deletedAt?: DateTime | null
  1130. deletedById?: String | null
  1131. version: Int
  1132. }
  1133. export interface BaseModelUUID extends BaseGraphQLObject {
  1134. id: ID_Output
  1135. createdAt: DateTime
  1136. createdById: String
  1137. updatedAt?: DateTime | null
  1138. updatedById?: String | null
  1139. deletedAt?: DateTime | null
  1140. deletedById?: String | null
  1141. version: Int
  1142. }
  1143. export interface Block extends BaseGraphQLObject {
  1144. id: ID_Output
  1145. createdAt: DateTime
  1146. createdById: String
  1147. updatedAt?: DateTime | null
  1148. updatedById?: String | null
  1149. deletedAt?: DateTime | null
  1150. deletedById?: String | null
  1151. version: Int
  1152. block: Int
  1153. timestamp: Int
  1154. nework: Network
  1155. categorys?: Array<Category> | null
  1156. channels?: Array<Channel> | null
  1157. classEntitys?: Array<ClassEntity> | null
  1158. httpMediaLocations?: Array<HttpMediaLocation> | null
  1159. joystreamMediaLocations?: Array<JoystreamMediaLocation> | null
  1160. knownLicenses?: Array<KnownLicense> | null
  1161. languages?: Array<Language> | null
  1162. members?: Array<Member> | null
  1163. userDefinedLicenses?: Array<UserDefinedLicense> | null
  1164. videos?: Array<Video> | null
  1165. videoMedias?: Array<VideoMedia> | null
  1166. }
  1167. export interface BlockConnection {
  1168. totalCount: Int
  1169. edges: Array<BlockEdge>
  1170. pageInfo: PageInfo
  1171. }
  1172. export interface BlockEdge {
  1173. node: Block
  1174. cursor: String
  1175. }
  1176. export interface Category extends BaseGraphQLObject {
  1177. id: ID_Output
  1178. createdAt: DateTime
  1179. createdById: String
  1180. updatedAt?: DateTime | null
  1181. updatedById?: String | null
  1182. deletedAt?: DateTime | null
  1183. deletedById?: String | null
  1184. version: Int
  1185. name: String
  1186. description?: String | null
  1187. happenedIn?: Block | null
  1188. happenedInId: String
  1189. }
  1190. export interface CategoryConnection {
  1191. totalCount: Int
  1192. edges: Array<CategoryEdge>
  1193. pageInfo: PageInfo
  1194. }
  1195. export interface CategoryEdge {
  1196. node: Category
  1197. cursor: String
  1198. }
  1199. export interface Channel extends BaseGraphQLObject {
  1200. id: ID_Output
  1201. createdAt: DateTime
  1202. createdById: String
  1203. updatedAt?: DateTime | null
  1204. updatedById?: String | null
  1205. deletedAt?: DateTime | null
  1206. deletedById?: String | null
  1207. version: Int
  1208. title: String
  1209. description: String
  1210. coverPhotoUrl: String
  1211. avatarPhotoUrl: String
  1212. isPublic: Boolean
  1213. isCurated: Boolean
  1214. languageId?: Int | null
  1215. happenedIn?: Block | null
  1216. happenedInId: String
  1217. }
  1218. export interface ChannelConnection {
  1219. totalCount: Int
  1220. edges: Array<ChannelEdge>
  1221. pageInfo: PageInfo
  1222. }
  1223. export interface ChannelEdge {
  1224. node: Channel
  1225. cursor: String
  1226. }
  1227. /*
  1228. * This type is to keep which entity belongs to which class. This type will be used
  1229. , * by EntityCreated event. When a new schema support added to an Entity we will get the
  1230. , * class name from this table.
  1231. , * We need this because we can't create a database row (Channel, Video etc) without
  1232. , * with empty fields.
  1233. */
  1234. export interface ClassEntity extends BaseGraphQLObject {
  1235. id: ID_Output
  1236. createdAt: DateTime
  1237. createdById: String
  1238. updatedAt?: DateTime | null
  1239. updatedById?: String | null
  1240. deletedAt?: DateTime | null
  1241. deletedById?: String | null
  1242. version: Int
  1243. classId: Int
  1244. happenedIn?: Block | null
  1245. happenedInId: String
  1246. }
  1247. export interface ClassEntityConnection {
  1248. totalCount: Int
  1249. edges: Array<ClassEntityEdge>
  1250. pageInfo: PageInfo
  1251. }
  1252. export interface ClassEntityEdge {
  1253. node: ClassEntity
  1254. cursor: String
  1255. }
  1256. export interface HandlesFTSOutput {
  1257. item: HandlesSearchResult
  1258. rank: Float
  1259. isTypeOf: String
  1260. highlight: String
  1261. }
  1262. export interface HttpMediaLocation extends BaseGraphQLObject {
  1263. id: ID_Output
  1264. createdAt: DateTime
  1265. createdById: String
  1266. updatedAt?: DateTime | null
  1267. updatedById?: String | null
  1268. deletedAt?: DateTime | null
  1269. deletedById?: String | null
  1270. version: Int
  1271. url: String
  1272. port?: Int | null
  1273. happenedIn?: Block | null
  1274. happenedInId: String
  1275. }
  1276. export interface HttpMediaLocationConnection {
  1277. totalCount: Int
  1278. edges: Array<HttpMediaLocationEdge>
  1279. pageInfo: PageInfo
  1280. }
  1281. export interface HttpMediaLocationEdge {
  1282. node: HttpMediaLocation
  1283. cursor: String
  1284. }
  1285. export interface JoystreamMediaLocation extends BaseGraphQLObject {
  1286. id: ID_Output
  1287. createdAt: DateTime
  1288. createdById: String
  1289. updatedAt?: DateTime | null
  1290. updatedById?: String | null
  1291. deletedAt?: DateTime | null
  1292. deletedById?: String | null
  1293. version: Int
  1294. dataObjectId: String
  1295. happenedIn?: Block | null
  1296. happenedInId: String
  1297. }
  1298. export interface JoystreamMediaLocationConnection {
  1299. totalCount: Int
  1300. edges: Array<JoystreamMediaLocationEdge>
  1301. pageInfo: PageInfo
  1302. }
  1303. export interface JoystreamMediaLocationEdge {
  1304. node: JoystreamMediaLocation
  1305. cursor: String
  1306. }
  1307. export interface KnownLicense extends BaseGraphQLObject {
  1308. id: ID_Output
  1309. createdAt: DateTime
  1310. createdById: String
  1311. updatedAt?: DateTime | null
  1312. updatedById?: String | null
  1313. deletedAt?: DateTime | null
  1314. deletedById?: String | null
  1315. version: Int
  1316. code: String
  1317. name?: String | null
  1318. description?: String | null
  1319. url?: String | null
  1320. happenedIn?: Block | null
  1321. happenedInId: String
  1322. }
  1323. export interface KnownLicenseConnection {
  1324. totalCount: Int
  1325. edges: Array<KnownLicenseEdge>
  1326. pageInfo: PageInfo
  1327. }
  1328. export interface KnownLicenseEdge {
  1329. node: KnownLicense
  1330. cursor: String
  1331. }
  1332. export interface Language extends BaseGraphQLObject {
  1333. id: ID_Output
  1334. createdAt: DateTime
  1335. createdById: String
  1336. updatedAt?: DateTime | null
  1337. updatedById?: String | null
  1338. deletedAt?: DateTime | null
  1339. deletedById?: String | null
  1340. version: Int
  1341. name: String
  1342. code: String
  1343. happenedIn?: Block | null
  1344. happenedInId: String
  1345. }
  1346. export interface LanguageConnection {
  1347. totalCount: Int
  1348. edges: Array<LanguageEdge>
  1349. pageInfo: PageInfo
  1350. }
  1351. export interface LanguageEdge {
  1352. node: Language
  1353. cursor: String
  1354. }
  1355. /*
  1356. * Stored information about a registered user
  1357. */
  1358. export interface Member extends BaseGraphQLObject {
  1359. id: ID_Output
  1360. createdAt: DateTime
  1361. createdById: String
  1362. updatedAt?: DateTime | null
  1363. updatedById?: String | null
  1364. deletedAt?: DateTime | null
  1365. deletedById?: String | null
  1366. version: Int
  1367. handle?: String | null
  1368. avatarUri?: String | null
  1369. about?: String | null
  1370. registeredAtBlock: Int
  1371. controllerAccount: String
  1372. rootAccount: String
  1373. happenedIn?: Block | null
  1374. happenedInId: String
  1375. }
  1376. export interface MemberConnection {
  1377. totalCount: Int
  1378. edges: Array<MemberEdge>
  1379. pageInfo: PageInfo
  1380. }
  1381. export interface MemberEdge {
  1382. node: Member
  1383. cursor: String
  1384. }
  1385. export interface NamesFTSOutput {
  1386. item: NamesSearchResult
  1387. rank: Float
  1388. isTypeOf: String
  1389. highlight: String
  1390. }
  1391. export interface PageInfo {
  1392. hasNextPage: Boolean
  1393. hasPreviousPage: Boolean
  1394. startCursor?: String | null
  1395. endCursor?: String | null
  1396. }
  1397. export interface StandardDeleteResponse {
  1398. id: ID_Output
  1399. }
  1400. export interface TitlesFTSOutput {
  1401. item: TitlesSearchResult
  1402. rank: Float
  1403. isTypeOf: String
  1404. highlight: String
  1405. }
  1406. export interface UserDefinedLicense extends BaseGraphQLObject {
  1407. id: ID_Output
  1408. createdAt: DateTime
  1409. createdById: String
  1410. updatedAt?: DateTime | null
  1411. updatedById?: String | null
  1412. deletedAt?: DateTime | null
  1413. deletedById?: String | null
  1414. version: Int
  1415. content: String
  1416. happenedIn?: Block | null
  1417. happenedInId: String
  1418. }
  1419. export interface UserDefinedLicenseConnection {
  1420. totalCount: Int
  1421. edges: Array<UserDefinedLicenseEdge>
  1422. pageInfo: PageInfo
  1423. }
  1424. export interface UserDefinedLicenseEdge {
  1425. node: UserDefinedLicense
  1426. cursor: String
  1427. }
  1428. export interface Video extends BaseGraphQLObject {
  1429. id: ID_Output
  1430. createdAt: DateTime
  1431. createdById: String
  1432. updatedAt?: DateTime | null
  1433. updatedById?: String | null
  1434. deletedAt?: DateTime | null
  1435. deletedById?: String | null
  1436. version: Int
  1437. channelId: Int
  1438. categoryId: Int
  1439. title: String
  1440. description: String
  1441. duration: Int
  1442. skippableIntroDuration?: Int | null
  1443. thumbnailUrl: String
  1444. languageId?: Int | null
  1445. videoMediaId: Int
  1446. hasMarketing?: Boolean | null
  1447. publishedBeforeJoystream?: Int | null
  1448. isPublic: Boolean
  1449. isCurated: Boolean
  1450. isExplicit: Boolean
  1451. licenseId: Int
  1452. happenedIn?: Block | null
  1453. happenedInId: String
  1454. }
  1455. export interface VideoConnection {
  1456. totalCount: Int
  1457. edges: Array<VideoEdge>
  1458. pageInfo: PageInfo
  1459. }
  1460. export interface VideoEdge {
  1461. node: Video
  1462. cursor: String
  1463. }
  1464. export interface VideoMedia extends BaseGraphQLObject {
  1465. id: ID_Output
  1466. createdAt: DateTime
  1467. createdById: String
  1468. updatedAt?: DateTime | null
  1469. updatedById?: String | null
  1470. deletedAt?: DateTime | null
  1471. deletedById?: String | null
  1472. version: Int
  1473. encodingId: Int
  1474. pixelWidth: Int
  1475. pixelHeight: Int
  1476. size?: Int | null
  1477. locationId: Int
  1478. happenedIn?: Block | null
  1479. happenedInId: String
  1480. }
  1481. export interface VideoMediaConnection {
  1482. totalCount: Int
  1483. edges: Array<VideoMediaEdge>
  1484. pageInfo: PageInfo
  1485. }
  1486. export interface VideoMediaEdge {
  1487. node: VideoMedia
  1488. cursor: String
  1489. }
  1490. /*
  1491. * Encoding and containers
  1492. */
  1493. export interface VideoMediaEncoding extends BaseGraphQLObject {
  1494. id: ID_Output
  1495. createdAt: DateTime
  1496. createdById: String
  1497. updatedAt?: DateTime | null
  1498. updatedById?: String | null
  1499. deletedAt?: DateTime | null
  1500. deletedById?: String | null
  1501. version: Int
  1502. name: String
  1503. }
  1504. export interface VideoMediaEncodingConnection {
  1505. totalCount: Int
  1506. edges: Array<VideoMediaEncodingEdge>
  1507. pageInfo: PageInfo
  1508. }
  1509. export interface VideoMediaEncodingEdge {
  1510. node: VideoMediaEncoding
  1511. cursor: String
  1512. }
  1513. /*
  1514. The `Boolean` scalar type represents `true` or `false`.
  1515. */
  1516. export type Boolean = boolean
  1517. /*
  1518. The javascript `Date` as string. Type represents date and time as the ISO Date string.
  1519. */
  1520. export type DateTime = Date | string
  1521. /*
  1522. The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
  1523. */
  1524. export type Float = number
  1525. /*
  1526. The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.
  1527. */
  1528. export type ID_Input = string | number
  1529. export type ID_Output = string
  1530. /*
  1531. The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
  1532. */
  1533. export type Int = number
  1534. /*
  1535. The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
  1536. */
  1537. export type String = string
  1538. export type HandlesSearchResult = Member
  1539. export type NamesSearchResult = Category
  1540. export type TitlesSearchResult = Channel | Video