schema.graphql 37 KB

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