schema.graphql 53 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324
  1. enum AssetAvailability {
  2. ACCEPTED
  3. PENDING
  4. INVALID
  5. }
  6. interface BaseGraphQLObject {
  7. id: ID!
  8. createdAt: DateTime!
  9. createdById: String!
  10. updatedAt: DateTime
  11. updatedById: String
  12. deletedAt: DateTime
  13. deletedById: String
  14. version: Int!
  15. }
  16. type BaseModel implements BaseGraphQLObject {
  17. id: ID!
  18. createdAt: DateTime!
  19. createdById: String!
  20. updatedAt: DateTime
  21. updatedById: String
  22. deletedAt: DateTime
  23. deletedById: String
  24. version: Int!
  25. }
  26. type BaseModelUUID implements BaseGraphQLObject {
  27. id: ID!
  28. createdAt: DateTime!
  29. createdById: String!
  30. updatedAt: DateTime
  31. updatedById: String
  32. deletedAt: DateTime
  33. deletedById: String
  34. version: Int!
  35. }
  36. input BaseWhereInput {
  37. id_eq: String
  38. id_in: [String!]
  39. createdAt_eq: String
  40. createdAt_lt: String
  41. createdAt_lte: String
  42. createdAt_gt: String
  43. createdAt_gte: String
  44. createdById_eq: String
  45. updatedAt_eq: String
  46. updatedAt_lt: String
  47. updatedAt_lte: String
  48. updatedAt_gt: String
  49. updatedAt_gte: String
  50. updatedById_eq: String
  51. deletedAt_all: Boolean
  52. deletedAt_eq: String
  53. deletedAt_lt: String
  54. deletedAt_lte: String
  55. deletedAt_gt: String
  56. deletedAt_gte: String
  57. deletedById_eq: String
  58. }
  59. type CuratorGroup implements BaseGraphQLObject {
  60. id: ID!
  61. createdAt: DateTime!
  62. createdById: String!
  63. updatedAt: DateTime
  64. updatedById: String
  65. deletedAt: DateTime
  66. deletedById: String
  67. version: Int!
  68. """Curators belonging to this group"""
  69. curatorIds: [Int!]!
  70. """Is group active or not"""
  71. isActive: Boolean!
  72. channels: [Channel!]!
  73. }
  74. type CuratorGroupConnection {
  75. totalCount: Int!
  76. edges: [CuratorGroupEdge!]!
  77. pageInfo: PageInfo!
  78. }
  79. input CuratorGroupCreateInput {
  80. curatorIds: [Int!]!
  81. isActive: Boolean!
  82. }
  83. type CuratorGroupEdge {
  84. node: CuratorGroup!
  85. cursor: String!
  86. }
  87. enum CuratorGroupOrderByInput {
  88. createdAt_ASC
  89. createdAt_DESC
  90. updatedAt_ASC
  91. updatedAt_DESC
  92. deletedAt_ASC
  93. deletedAt_DESC
  94. isActive_ASC
  95. isActive_DESC
  96. }
  97. input CuratorGroupUpdateInput {
  98. curatorIds: [Int!]
  99. isActive: Boolean
  100. }
  101. input CuratorGroupWhereInput {
  102. id_eq: ID
  103. id_in: [ID!]
  104. createdAt_eq: DateTime
  105. createdAt_lt: DateTime
  106. createdAt_lte: DateTime
  107. createdAt_gt: DateTime
  108. createdAt_gte: DateTime
  109. createdById_eq: ID
  110. createdById_in: [ID!]
  111. updatedAt_eq: DateTime
  112. updatedAt_lt: DateTime
  113. updatedAt_lte: DateTime
  114. updatedAt_gt: DateTime
  115. updatedAt_gte: DateTime
  116. updatedById_eq: ID
  117. updatedById_in: [ID!]
  118. deletedAt_all: Boolean
  119. deletedAt_eq: DateTime
  120. deletedAt_lt: DateTime
  121. deletedAt_lte: DateTime
  122. deletedAt_gt: DateTime
  123. deletedAt_gte: DateTime
  124. deletedById_eq: ID
  125. deletedById_in: [ID!]
  126. curatorIds_containsAll: [Int!]
  127. curatorIds_containsNone: [Int!]
  128. curatorIds_containsAny: [Int!]
  129. isActive_eq: Boolean
  130. isActive_in: [Boolean!]
  131. channels_none: ChannelWhereInput
  132. channels_some: ChannelWhereInput
  133. channels_every: ChannelWhereInput
  134. AND: [CuratorGroupWhereInput!]
  135. OR: [CuratorGroupWhereInput!]
  136. }
  137. input CuratorGroupWhereUniqueInput {
  138. id: ID!
  139. }
  140. """Manages content ids, type and storage provider decision about it"""
  141. type DataObject implements BaseGraphQLObject {
  142. id: ID!
  143. createdAt: DateTime!
  144. createdById: String!
  145. updatedAt: DateTime
  146. updatedById: String
  147. deletedAt: DateTime
  148. deletedById: String
  149. version: Int!
  150. """Content owner"""
  151. owner: DataObjectOwner!
  152. """Content added at"""
  153. createdInBlock: Int!
  154. """Content type id"""
  155. typeId: Int!
  156. """Content size in bytes"""
  157. size: Float!
  158. liaison: Worker
  159. liaisonId: String
  160. """Storage provider as liaison judgment"""
  161. liaisonJudgement: LiaisonJudgement!
  162. """IPFS content id"""
  163. ipfsContentId: String!
  164. """Joystream runtime content"""
  165. joystreamContentId: String!
  166. channelcoverPhotoDataObject: [Channel!]
  167. channelavatarPhotoDataObject: [Channel!]
  168. videothumbnailPhotoDataObject: [Video!]
  169. videomediaDataObject: [Video!]
  170. }
  171. type DataObjectConnection {
  172. totalCount: Int!
  173. edges: [DataObjectEdge!]!
  174. pageInfo: PageInfo!
  175. }
  176. input DataObjectCreateInput {
  177. owner: JSONObject!
  178. createdInBlock: Float!
  179. typeId: Float!
  180. size: Float!
  181. liaison: ID
  182. liaisonId: ID
  183. liaisonJudgement: LiaisonJudgement!
  184. ipfsContentId: String!
  185. joystreamContentId: String!
  186. }
  187. type DataObjectEdge {
  188. node: DataObject!
  189. cursor: String!
  190. }
  191. enum DataObjectOrderByInput {
  192. createdAt_ASC
  193. createdAt_DESC
  194. updatedAt_ASC
  195. updatedAt_DESC
  196. deletedAt_ASC
  197. deletedAt_DESC
  198. createdInBlock_ASC
  199. createdInBlock_DESC
  200. typeId_ASC
  201. typeId_DESC
  202. size_ASC
  203. size_DESC
  204. liaison_ASC
  205. liaison_DESC
  206. liaisonId_ASC
  207. liaisonId_DESC
  208. liaisonJudgement_ASC
  209. liaisonJudgement_DESC
  210. ipfsContentId_ASC
  211. ipfsContentId_DESC
  212. joystreamContentId_ASC
  213. joystreamContentId_DESC
  214. }
  215. union DataObjectOwner = DataObjectOwnerMember | DataObjectOwnerChannel | DataObjectOwnerDao | DataObjectOwnerCouncil | DataObjectOwnerWorkingGroup
  216. type DataObjectOwnerCouncil {
  217. """Variant needs to have at least one property. This value is not used."""
  218. dummy: Int
  219. }
  220. input DataObjectOwnerCouncilCreateInput {
  221. dummy: Float
  222. }
  223. input DataObjectOwnerCouncilUpdateInput {
  224. dummy: Float
  225. }
  226. input DataObjectOwnerCouncilWhereInput {
  227. id_eq: ID
  228. id_in: [ID!]
  229. createdAt_eq: DateTime
  230. createdAt_lt: DateTime
  231. createdAt_lte: DateTime
  232. createdAt_gt: DateTime
  233. createdAt_gte: DateTime
  234. createdById_eq: ID
  235. createdById_in: [ID!]
  236. updatedAt_eq: DateTime
  237. updatedAt_lt: DateTime
  238. updatedAt_lte: DateTime
  239. updatedAt_gt: DateTime
  240. updatedAt_gte: DateTime
  241. updatedById_eq: ID
  242. updatedById_in: [ID!]
  243. deletedAt_all: Boolean
  244. deletedAt_eq: DateTime
  245. deletedAt_lt: DateTime
  246. deletedAt_lte: DateTime
  247. deletedAt_gt: DateTime
  248. deletedAt_gte: DateTime
  249. deletedById_eq: ID
  250. deletedById_in: [ID!]
  251. dummy_eq: Int
  252. dummy_gt: Int
  253. dummy_gte: Int
  254. dummy_lt: Int
  255. dummy_lte: Int
  256. dummy_in: [Int!]
  257. AND: [DataObjectOwnerCouncilWhereInput!]
  258. OR: [DataObjectOwnerCouncilWhereInput!]
  259. }
  260. input DataObjectOwnerCouncilWhereUniqueInput {
  261. id: ID!
  262. }
  263. type DataObjectOwnerDao {
  264. """DAO identifier"""
  265. dao: Int!
  266. }
  267. input DataObjectOwnerDaoCreateInput {
  268. dao: Float!
  269. }
  270. input DataObjectOwnerDaoUpdateInput {
  271. dao: Float
  272. }
  273. input DataObjectOwnerDaoWhereInput {
  274. id_eq: ID
  275. id_in: [ID!]
  276. createdAt_eq: DateTime
  277. createdAt_lt: DateTime
  278. createdAt_lte: DateTime
  279. createdAt_gt: DateTime
  280. createdAt_gte: DateTime
  281. createdById_eq: ID
  282. createdById_in: [ID!]
  283. updatedAt_eq: DateTime
  284. updatedAt_lt: DateTime
  285. updatedAt_lte: DateTime
  286. updatedAt_gt: DateTime
  287. updatedAt_gte: DateTime
  288. updatedById_eq: ID
  289. updatedById_in: [ID!]
  290. deletedAt_all: Boolean
  291. deletedAt_eq: DateTime
  292. deletedAt_lt: DateTime
  293. deletedAt_lte: DateTime
  294. deletedAt_gt: DateTime
  295. deletedAt_gte: DateTime
  296. deletedById_eq: ID
  297. deletedById_in: [ID!]
  298. dao_eq: Int
  299. dao_gt: Int
  300. dao_gte: Int
  301. dao_lt: Int
  302. dao_lte: Int
  303. dao_in: [Int!]
  304. AND: [DataObjectOwnerDaoWhereInput!]
  305. OR: [DataObjectOwnerDaoWhereInput!]
  306. }
  307. input DataObjectOwnerDaoWhereUniqueInput {
  308. id: ID!
  309. }
  310. type DataObjectOwnerChannel {
  311. """Channel identifier"""
  312. channel: Int!
  313. """Variant needs to have at least one property. This value is not used."""
  314. dummy: Int
  315. }
  316. input DataObjectOwnerChannelCreateInput {
  317. channel: Float!
  318. dummy: Float
  319. }
  320. input DataObjectOwnerChannelUpdateInput {
  321. channel: Float
  322. dummy: Float
  323. }
  324. input DataObjectOwnerChannelWhereInput {
  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. channel_eq: Int
  350. channel_gt: Int
  351. channel_gte: Int
  352. channel_lt: Int
  353. channel_lte: Int
  354. channel_in: [Int!]
  355. dummy_eq: Int
  356. dummy_gt: Int
  357. dummy_gte: Int
  358. dummy_lt: Int
  359. dummy_lte: Int
  360. dummy_in: [Int!]
  361. AND: [DataObjectOwnerChannelWhereInput!]
  362. OR: [DataObjectOwnerChannelWhereInput!]
  363. }
  364. input DataObjectOwnerChannelWhereUniqueInput {
  365. id: ID!
  366. }
  367. type DataObjectOwnerMember {
  368. """Member identifier"""
  369. member: Int!
  370. """Variant needs to have at least one property. This value is not used."""
  371. dummy: Int
  372. }
  373. input DataObjectOwnerMemberCreateInput {
  374. member: Float!
  375. dummy: Float
  376. }
  377. input DataObjectOwnerMemberUpdateInput {
  378. member: Float
  379. dummy: Float
  380. }
  381. input DataObjectOwnerMemberWhereInput {
  382. id_eq: ID
  383. id_in: [ID!]
  384. createdAt_eq: DateTime
  385. createdAt_lt: DateTime
  386. createdAt_lte: DateTime
  387. createdAt_gt: DateTime
  388. createdAt_gte: DateTime
  389. createdById_eq: ID
  390. createdById_in: [ID!]
  391. updatedAt_eq: DateTime
  392. updatedAt_lt: DateTime
  393. updatedAt_lte: DateTime
  394. updatedAt_gt: DateTime
  395. updatedAt_gte: DateTime
  396. updatedById_eq: ID
  397. updatedById_in: [ID!]
  398. deletedAt_all: Boolean
  399. deletedAt_eq: DateTime
  400. deletedAt_lt: DateTime
  401. deletedAt_lte: DateTime
  402. deletedAt_gt: DateTime
  403. deletedAt_gte: DateTime
  404. deletedById_eq: ID
  405. deletedById_in: [ID!]
  406. member_eq: Int
  407. member_gt: Int
  408. member_gte: Int
  409. member_lt: Int
  410. member_lte: Int
  411. member_in: [Int!]
  412. dummy_eq: Int
  413. dummy_gt: Int
  414. dummy_gte: Int
  415. dummy_lt: Int
  416. dummy_lte: Int
  417. dummy_in: [Int!]
  418. AND: [DataObjectOwnerMemberWhereInput!]
  419. OR: [DataObjectOwnerMemberWhereInput!]
  420. }
  421. input DataObjectOwnerMemberWhereUniqueInput {
  422. id: ID!
  423. }
  424. type DataObjectOwnerWorkingGroup {
  425. """Working group identifier"""
  426. workingGroup: Int!
  427. }
  428. input DataObjectOwnerWorkingGroupCreateInput {
  429. workingGroup: Float!
  430. }
  431. input DataObjectOwnerWorkingGroupUpdateInput {
  432. workingGroup: Float
  433. }
  434. input DataObjectOwnerWorkingGroupWhereInput {
  435. id_eq: ID
  436. id_in: [ID!]
  437. createdAt_eq: DateTime
  438. createdAt_lt: DateTime
  439. createdAt_lte: DateTime
  440. createdAt_gt: DateTime
  441. createdAt_gte: DateTime
  442. createdById_eq: ID
  443. createdById_in: [ID!]
  444. updatedAt_eq: DateTime
  445. updatedAt_lt: DateTime
  446. updatedAt_lte: DateTime
  447. updatedAt_gt: DateTime
  448. updatedAt_gte: DateTime
  449. updatedById_eq: ID
  450. updatedById_in: [ID!]
  451. deletedAt_all: Boolean
  452. deletedAt_eq: DateTime
  453. deletedAt_lt: DateTime
  454. deletedAt_lte: DateTime
  455. deletedAt_gt: DateTime
  456. deletedAt_gte: DateTime
  457. deletedById_eq: ID
  458. deletedById_in: [ID!]
  459. workingGroup_eq: Int
  460. workingGroup_gt: Int
  461. workingGroup_gte: Int
  462. workingGroup_lt: Int
  463. workingGroup_lte: Int
  464. workingGroup_in: [Int!]
  465. AND: [DataObjectOwnerWorkingGroupWhereInput!]
  466. OR: [DataObjectOwnerWorkingGroupWhereInput!]
  467. }
  468. input DataObjectOwnerWorkingGroupWhereUniqueInput {
  469. id: ID!
  470. }
  471. input DataObjectUpdateInput {
  472. owner: JSONObject
  473. createdInBlock: Float
  474. typeId: Float
  475. size: Float
  476. liaison: ID
  477. liaisonId: ID
  478. liaisonJudgement: LiaisonJudgement
  479. ipfsContentId: String
  480. joystreamContentId: String
  481. }
  482. input DataObjectWhereInput {
  483. id_eq: ID
  484. id_in: [ID!]
  485. createdAt_eq: DateTime
  486. createdAt_lt: DateTime
  487. createdAt_lte: DateTime
  488. createdAt_gt: DateTime
  489. createdAt_gte: DateTime
  490. createdById_eq: ID
  491. createdById_in: [ID!]
  492. updatedAt_eq: DateTime
  493. updatedAt_lt: DateTime
  494. updatedAt_lte: DateTime
  495. updatedAt_gt: DateTime
  496. updatedAt_gte: DateTime
  497. updatedById_eq: ID
  498. updatedById_in: [ID!]
  499. deletedAt_all: Boolean
  500. deletedAt_eq: DateTime
  501. deletedAt_lt: DateTime
  502. deletedAt_lte: DateTime
  503. deletedAt_gt: DateTime
  504. deletedAt_gte: DateTime
  505. deletedById_eq: ID
  506. deletedById_in: [ID!]
  507. owner_json: JSONObject
  508. createdInBlock_eq: Int
  509. createdInBlock_gt: Int
  510. createdInBlock_gte: Int
  511. createdInBlock_lt: Int
  512. createdInBlock_lte: Int
  513. createdInBlock_in: [Int!]
  514. typeId_eq: Int
  515. typeId_gt: Int
  516. typeId_gte: Int
  517. typeId_lt: Int
  518. typeId_lte: Int
  519. typeId_in: [Int!]
  520. size_eq: Float
  521. size_gt: Float
  522. size_gte: Float
  523. size_lt: Float
  524. size_lte: Float
  525. size_in: [Float!]
  526. liaisonId_eq: ID
  527. liaisonId_in: [ID!]
  528. liaisonJudgement_eq: LiaisonJudgement
  529. liaisonJudgement_in: [LiaisonJudgement!]
  530. ipfsContentId_eq: String
  531. ipfsContentId_contains: String
  532. ipfsContentId_startsWith: String
  533. ipfsContentId_endsWith: String
  534. ipfsContentId_in: [String!]
  535. joystreamContentId_eq: String
  536. joystreamContentId_contains: String
  537. joystreamContentId_startsWith: String
  538. joystreamContentId_endsWith: String
  539. joystreamContentId_in: [String!]
  540. liaison: WorkerWhereInput
  541. channelcoverPhotoDataObject_none: ChannelWhereInput
  542. channelcoverPhotoDataObject_some: ChannelWhereInput
  543. channelcoverPhotoDataObject_every: ChannelWhereInput
  544. channelavatarPhotoDataObject_none: ChannelWhereInput
  545. channelavatarPhotoDataObject_some: ChannelWhereInput
  546. channelavatarPhotoDataObject_every: ChannelWhereInput
  547. videothumbnailPhotoDataObject_none: VideoMediaMetadataWhereInput
  548. videothumbnailPhotoDataObject_some: VideoMediaMetadataWhereInput
  549. videothumbnailPhotoDataObject_every: VideoMediaMetadataWhereInput
  550. videomediaDataObject_none: VideoMediaMetadataWhereInput
  551. videomediaDataObject_some: VideoMediaMetadataWhereInput
  552. videomediaDataObject_every: VideoMediaMetadataWhereInput
  553. AND: [DataObjectWhereInput!]
  554. OR: [DataObjectWhereInput!]
  555. }
  556. input DataObjectWhereUniqueInput {
  557. id: ID!
  558. }
  559. """
  560. The javascript `Date` as string. Type represents date and time as the ISO Date string.
  561. """
  562. scalar DateTime
  563. interface DeleteResponse {
  564. id: ID!
  565. }
  566. type Channel implements BaseGraphQLObject {
  567. id: ID!
  568. createdAt: DateTime!
  569. createdById: String!
  570. updatedAt: DateTime
  571. updatedById: String
  572. deletedAt: DateTime
  573. deletedById: String
  574. version: Int!
  575. ownerMember: Membership
  576. ownerMemberId: String
  577. ownerCuratorGroup: CuratorGroup
  578. ownerCuratorGroupId: String
  579. category: ChannelCategory
  580. categoryId: String
  581. """Reward account where revenue is sent if set."""
  582. rewardAccount: String
  583. """The title of the Channel"""
  584. title: String
  585. """The description of a Channel"""
  586. description: String
  587. coverPhotoDataObject: DataObject
  588. coverPhotoDataObjectId: String
  589. """URLs where the asset content can be accessed (if any)"""
  590. coverPhotoUrls: [String!]!
  591. """Availability meta information"""
  592. coverPhotoAvailability: AssetAvailability!
  593. avatarPhotoDataObject: DataObject
  594. avatarPhotoDataObjectId: String
  595. """URLs where the asset content can be accessed (if any)"""
  596. avatarPhotoUrls: [String!]!
  597. """Availability meta information"""
  598. avatarPhotoAvailability: AssetAvailability!
  599. """Flag signaling whether a channel is public."""
  600. isPublic: Boolean
  601. """Flag signaling whether a channel is censored."""
  602. isCensored: Boolean!
  603. language: Language
  604. languageId: String
  605. videos: [Video!]!
  606. createdInBlock: Int!
  607. }
  608. type ChannelCategoriesByNameFTSOutput {
  609. item: ChannelCategoriesByNameSearchResult!
  610. rank: Float!
  611. isTypeOf: String!
  612. highlight: String!
  613. }
  614. union ChannelCategoriesByNameSearchResult = ChannelCategory
  615. """Category of media channel"""
  616. type ChannelCategory implements BaseGraphQLObject {
  617. id: ID!
  618. createdAt: DateTime!
  619. createdById: String!
  620. updatedAt: DateTime
  621. updatedById: String
  622. deletedAt: DateTime
  623. deletedById: String
  624. version: Int!
  625. """The name of the category"""
  626. name: String
  627. channels: [Channel!]!
  628. createdInBlock: Int!
  629. }
  630. type ChannelCategoryConnection {
  631. totalCount: Int!
  632. edges: [ChannelCategoryEdge!]!
  633. pageInfo: PageInfo!
  634. }
  635. input ChannelCategoryCreateInput {
  636. name: String
  637. createdInBlock: Float!
  638. }
  639. type ChannelCategoryEdge {
  640. node: ChannelCategory!
  641. cursor: String!
  642. }
  643. enum ChannelCategoryOrderByInput {
  644. createdAt_ASC
  645. createdAt_DESC
  646. updatedAt_ASC
  647. updatedAt_DESC
  648. deletedAt_ASC
  649. deletedAt_DESC
  650. name_ASC
  651. name_DESC
  652. createdInBlock_ASC
  653. createdInBlock_DESC
  654. }
  655. input ChannelCategoryUpdateInput {
  656. name: String
  657. createdInBlock: Float
  658. }
  659. input ChannelCategoryWhereInput {
  660. id_eq: ID
  661. id_in: [ID!]
  662. createdAt_eq: DateTime
  663. createdAt_lt: DateTime
  664. createdAt_lte: DateTime
  665. createdAt_gt: DateTime
  666. createdAt_gte: DateTime
  667. createdById_eq: ID
  668. createdById_in: [ID!]
  669. updatedAt_eq: DateTime
  670. updatedAt_lt: DateTime
  671. updatedAt_lte: DateTime
  672. updatedAt_gt: DateTime
  673. updatedAt_gte: DateTime
  674. updatedById_eq: ID
  675. updatedById_in: [ID!]
  676. deletedAt_all: Boolean
  677. deletedAt_eq: DateTime
  678. deletedAt_lt: DateTime
  679. deletedAt_lte: DateTime
  680. deletedAt_gt: DateTime
  681. deletedAt_gte: DateTime
  682. deletedById_eq: ID
  683. deletedById_in: [ID!]
  684. name_eq: String
  685. name_contains: String
  686. name_startsWith: String
  687. name_endsWith: String
  688. name_in: [String!]
  689. createdInBlock_eq: Int
  690. createdInBlock_gt: Int
  691. createdInBlock_gte: Int
  692. createdInBlock_lt: Int
  693. createdInBlock_lte: Int
  694. createdInBlock_in: [Int!]
  695. channels_none: ChannelWhereInput
  696. channels_some: ChannelWhereInput
  697. channels_every: ChannelWhereInput
  698. AND: [ChannelCategoryWhereInput!]
  699. OR: [ChannelCategoryWhereInput!]
  700. }
  701. input ChannelCategoryWhereUniqueInput {
  702. id: ID!
  703. }
  704. type ChannelConnection {
  705. totalCount: Int!
  706. edges: [ChannelEdge!]!
  707. pageInfo: PageInfo!
  708. }
  709. input ChannelCreateInput {
  710. ownerMember: ID
  711. ownerMemberId: ID
  712. ownerCuratorGroup: ID
  713. ownerCuratorGroupId: ID
  714. category: ID
  715. categoryId: ID
  716. rewardAccount: String
  717. title: String
  718. description: String
  719. coverPhotoDataObject: ID
  720. coverPhotoDataObjectId: ID
  721. coverPhotoUrls: [String!]!
  722. coverPhotoAvailability: AssetAvailability!
  723. avatarPhotoDataObject: ID
  724. avatarPhotoDataObjectId: ID
  725. avatarPhotoUrls: [String!]!
  726. avatarPhotoAvailability: AssetAvailability!
  727. isPublic: Boolean
  728. isCensored: Boolean!
  729. language: ID
  730. languageId: ID
  731. createdInBlock: Float!
  732. }
  733. type ChannelEdge {
  734. node: Channel!
  735. cursor: String!
  736. }
  737. enum ChannelOrderByInput {
  738. createdAt_ASC
  739. createdAt_DESC
  740. updatedAt_ASC
  741. updatedAt_DESC
  742. deletedAt_ASC
  743. deletedAt_DESC
  744. ownerMember_ASC
  745. ownerMember_DESC
  746. ownerMemberId_ASC
  747. ownerMemberId_DESC
  748. ownerCuratorGroup_ASC
  749. ownerCuratorGroup_DESC
  750. ownerCuratorGroupId_ASC
  751. ownerCuratorGroupId_DESC
  752. category_ASC
  753. category_DESC
  754. categoryId_ASC
  755. categoryId_DESC
  756. rewardAccount_ASC
  757. rewardAccount_DESC
  758. title_ASC
  759. title_DESC
  760. description_ASC
  761. description_DESC
  762. coverPhotoDataObject_ASC
  763. coverPhotoDataObject_DESC
  764. coverPhotoDataObjectId_ASC
  765. coverPhotoDataObjectId_DESC
  766. coverPhotoAvailability_ASC
  767. coverPhotoAvailability_DESC
  768. avatarPhotoDataObject_ASC
  769. avatarPhotoDataObject_DESC
  770. avatarPhotoDataObjectId_ASC
  771. avatarPhotoDataObjectId_DESC
  772. avatarPhotoAvailability_ASC
  773. avatarPhotoAvailability_DESC
  774. isPublic_ASC
  775. isPublic_DESC
  776. isCensored_ASC
  777. isCensored_DESC
  778. language_ASC
  779. language_DESC
  780. languageId_ASC
  781. languageId_DESC
  782. createdInBlock_ASC
  783. createdInBlock_DESC
  784. }
  785. input ChannelUpdateInput {
  786. ownerMember: ID
  787. ownerMemberId: ID
  788. ownerCuratorGroup: ID
  789. ownerCuratorGroupId: ID
  790. category: ID
  791. categoryId: ID
  792. rewardAccount: String
  793. title: String
  794. description: String
  795. coverPhotoDataObject: ID
  796. coverPhotoDataObjectId: ID
  797. coverPhotoUrls: [String!]
  798. coverPhotoAvailability: AssetAvailability
  799. avatarPhotoDataObject: ID
  800. avatarPhotoDataObjectId: ID
  801. avatarPhotoUrls: [String!]
  802. avatarPhotoAvailability: AssetAvailability
  803. isPublic: Boolean
  804. isCensored: Boolean
  805. language: ID
  806. languageId: ID
  807. createdInBlock: Float
  808. }
  809. input ChannelWhereInput {
  810. id_eq: ID
  811. id_in: [ID!]
  812. createdAt_eq: DateTime
  813. createdAt_lt: DateTime
  814. createdAt_lte: DateTime
  815. createdAt_gt: DateTime
  816. createdAt_gte: DateTime
  817. createdById_eq: ID
  818. createdById_in: [ID!]
  819. updatedAt_eq: DateTime
  820. updatedAt_lt: DateTime
  821. updatedAt_lte: DateTime
  822. updatedAt_gt: DateTime
  823. updatedAt_gte: DateTime
  824. updatedById_eq: ID
  825. updatedById_in: [ID!]
  826. deletedAt_all: Boolean
  827. deletedAt_eq: DateTime
  828. deletedAt_lt: DateTime
  829. deletedAt_lte: DateTime
  830. deletedAt_gt: DateTime
  831. deletedAt_gte: DateTime
  832. deletedById_eq: ID
  833. deletedById_in: [ID!]
  834. ownerMemberId_eq: ID
  835. ownerMemberId_in: [ID!]
  836. ownerCuratorGroupId_eq: ID
  837. ownerCuratorGroupId_in: [ID!]
  838. categoryId_eq: ID
  839. categoryId_in: [ID!]
  840. rewardAccount_eq: String
  841. rewardAccount_contains: String
  842. rewardAccount_startsWith: String
  843. rewardAccount_endsWith: String
  844. rewardAccount_in: [String!]
  845. title_eq: String
  846. title_contains: String
  847. title_startsWith: String
  848. title_endsWith: String
  849. title_in: [String!]
  850. description_eq: String
  851. description_contains: String
  852. description_startsWith: String
  853. description_endsWith: String
  854. description_in: [String!]
  855. coverPhotoDataObjectId_eq: ID
  856. coverPhotoDataObjectId_in: [ID!]
  857. coverPhotoUrls_containsAll: [String!]
  858. coverPhotoUrls_containsNone: [String!]
  859. coverPhotoUrls_containsAny: [String!]
  860. coverPhotoAvailability_eq: AssetAvailability
  861. coverPhotoAvailability_in: [AssetAvailability!]
  862. avatarPhotoDataObjectId_eq: ID
  863. avatarPhotoDataObjectId_in: [ID!]
  864. avatarPhotoUrls_containsAll: [String!]
  865. avatarPhotoUrls_containsNone: [String!]
  866. avatarPhotoUrls_containsAny: [String!]
  867. avatarPhotoAvailability_eq: AssetAvailability
  868. avatarPhotoAvailability_in: [AssetAvailability!]
  869. isPublic_eq: Boolean
  870. isPublic_in: [Boolean!]
  871. isCensored_eq: Boolean
  872. isCensored_in: [Boolean!]
  873. languageId_eq: ID
  874. languageId_in: [ID!]
  875. createdInBlock_eq: Int
  876. createdInBlock_gt: Int
  877. createdInBlock_gte: Int
  878. createdInBlock_lt: Int
  879. createdInBlock_lte: Int
  880. createdInBlock_in: [Int!]
  881. ownerMember: MembershipWhereInput
  882. ownerCuratorGroup: CuratorGroupWhereInput
  883. category: ChannelCategoryWhereInput
  884. coverPhotoDataObject: DataObjectWhereInput
  885. avatarPhotoDataObject: DataObjectWhereInput
  886. language: LanguageWhereInput
  887. videos_none: VideoWhereInput
  888. videos_some: VideoWhereInput
  889. videos_every: VideoWhereInput
  890. AND: [ChannelWhereInput!]
  891. OR: [ChannelWhereInput!]
  892. }
  893. input ChannelWhereUniqueInput {
  894. id: ID!
  895. }
  896. """
  897. The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
  898. """
  899. scalar JSONObject
  900. type Language implements BaseGraphQLObject {
  901. id: ID!
  902. createdAt: DateTime!
  903. createdById: String!
  904. updatedAt: DateTime
  905. updatedById: String
  906. deletedAt: DateTime
  907. deletedById: String
  908. version: Int!
  909. """Language identifier ISO 639-1"""
  910. iso: String!
  911. createdInBlock: Int!
  912. channellanguage: [Channel!]
  913. videolanguage: [Video!]
  914. }
  915. type LanguageConnection {
  916. totalCount: Int!
  917. edges: [LanguageEdge!]!
  918. pageInfo: PageInfo!
  919. }
  920. input LanguageCreateInput {
  921. iso: String!
  922. createdInBlock: Float!
  923. }
  924. type LanguageEdge {
  925. node: Language!
  926. cursor: String!
  927. }
  928. enum LanguageOrderByInput {
  929. createdAt_ASC
  930. createdAt_DESC
  931. updatedAt_ASC
  932. updatedAt_DESC
  933. deletedAt_ASC
  934. deletedAt_DESC
  935. iso_ASC
  936. iso_DESC
  937. createdInBlock_ASC
  938. createdInBlock_DESC
  939. }
  940. input LanguageUpdateInput {
  941. iso: String
  942. createdInBlock: Float
  943. }
  944. input LanguageWhereInput {
  945. id_eq: ID
  946. id_in: [ID!]
  947. createdAt_eq: DateTime
  948. createdAt_lt: DateTime
  949. createdAt_lte: DateTime
  950. createdAt_gt: DateTime
  951. createdAt_gte: DateTime
  952. createdById_eq: ID
  953. createdById_in: [ID!]
  954. updatedAt_eq: DateTime
  955. updatedAt_lt: DateTime
  956. updatedAt_lte: DateTime
  957. updatedAt_gt: DateTime
  958. updatedAt_gte: DateTime
  959. updatedById_eq: ID
  960. updatedById_in: [ID!]
  961. deletedAt_all: Boolean
  962. deletedAt_eq: DateTime
  963. deletedAt_lt: DateTime
  964. deletedAt_lte: DateTime
  965. deletedAt_gt: DateTime
  966. deletedAt_gte: DateTime
  967. deletedById_eq: ID
  968. deletedById_in: [ID!]
  969. iso_eq: String
  970. iso_contains: String
  971. iso_startsWith: String
  972. iso_endsWith: String
  973. iso_in: [String!]
  974. createdInBlock_eq: Int
  975. createdInBlock_gt: Int
  976. createdInBlock_gte: Int
  977. createdInBlock_lt: Int
  978. createdInBlock_lte: Int
  979. createdInBlock_in: [Int!]
  980. channellanguage_none: ChannelWhereInput
  981. channellanguage_some: ChannelWhereInput
  982. channellanguage_every: ChannelWhereInput
  983. videolanguage_none: VideoWhereInput
  984. videolanguage_some: VideoWhereInput
  985. videolanguage_every: VideoWhereInput
  986. AND: [LanguageWhereInput!]
  987. OR: [LanguageWhereInput!]
  988. }
  989. input LanguageWhereUniqueInput {
  990. id: ID!
  991. }
  992. enum LiaisonJudgement {
  993. PENDING
  994. ACCEPTED
  995. }
  996. type License implements BaseGraphQLObject {
  997. id: ID!
  998. createdAt: DateTime!
  999. createdById: String!
  1000. updatedAt: DateTime
  1001. updatedById: String
  1002. deletedAt: DateTime
  1003. deletedById: String
  1004. version: Int!
  1005. """License code defined by Joystream"""
  1006. code: Int
  1007. """Attribution (if required by the license)"""
  1008. attribution: String
  1009. """Custom license content"""
  1010. customText: String
  1011. videolicense: [Video!]
  1012. }
  1013. type LicenseConnection {
  1014. totalCount: Int!
  1015. edges: [LicenseEdge!]!
  1016. pageInfo: PageInfo!
  1017. }
  1018. input LicenseCreateInput {
  1019. code: Float
  1020. attribution: String
  1021. customText: String
  1022. }
  1023. type LicenseEdge {
  1024. node: License!
  1025. cursor: String!
  1026. }
  1027. enum LicenseOrderByInput {
  1028. createdAt_ASC
  1029. createdAt_DESC
  1030. updatedAt_ASC
  1031. updatedAt_DESC
  1032. deletedAt_ASC
  1033. deletedAt_DESC
  1034. code_ASC
  1035. code_DESC
  1036. attribution_ASC
  1037. attribution_DESC
  1038. customText_ASC
  1039. customText_DESC
  1040. }
  1041. input LicenseUpdateInput {
  1042. code: Float
  1043. attribution: String
  1044. customText: String
  1045. }
  1046. input LicenseWhereInput {
  1047. id_eq: ID
  1048. id_in: [ID!]
  1049. createdAt_eq: DateTime
  1050. createdAt_lt: DateTime
  1051. createdAt_lte: DateTime
  1052. createdAt_gt: DateTime
  1053. createdAt_gte: DateTime
  1054. createdById_eq: ID
  1055. createdById_in: [ID!]
  1056. updatedAt_eq: DateTime
  1057. updatedAt_lt: DateTime
  1058. updatedAt_lte: DateTime
  1059. updatedAt_gt: DateTime
  1060. updatedAt_gte: DateTime
  1061. updatedById_eq: ID
  1062. updatedById_in: [ID!]
  1063. deletedAt_all: Boolean
  1064. deletedAt_eq: DateTime
  1065. deletedAt_lt: DateTime
  1066. deletedAt_lte: DateTime
  1067. deletedAt_gt: DateTime
  1068. deletedAt_gte: DateTime
  1069. deletedById_eq: ID
  1070. deletedById_in: [ID!]
  1071. code_eq: Int
  1072. code_gt: Int
  1073. code_gte: Int
  1074. code_lt: Int
  1075. code_lte: Int
  1076. code_in: [Int!]
  1077. attribution_eq: String
  1078. attribution_contains: String
  1079. attribution_startsWith: String
  1080. attribution_endsWith: String
  1081. attribution_in: [String!]
  1082. customText_eq: String
  1083. customText_contains: String
  1084. customText_startsWith: String
  1085. customText_endsWith: String
  1086. customText_in: [String!]
  1087. videolanguage_none: VideoWhereInput
  1088. videolanguage_some: VideoWhereInput
  1089. videolanguage_every: VideoWhereInput
  1090. AND: [LicenseWhereInput!]
  1091. OR: [LicenseWhereInput!]
  1092. }
  1093. input LicenseWhereUniqueInput {
  1094. id: ID!
  1095. }
  1096. type MembersByHandleFTSOutput {
  1097. item: MembersByHandleSearchResult!
  1098. rank: Float!
  1099. isTypeOf: String!
  1100. highlight: String!
  1101. }
  1102. union MembersByHandleSearchResult = Membership
  1103. """Stored information about a registered user"""
  1104. type Membership implements BaseGraphQLObject {
  1105. id: ID!
  1106. createdAt: DateTime!
  1107. createdById: String!
  1108. updatedAt: DateTime
  1109. updatedById: String
  1110. deletedAt: DateTime
  1111. deletedById: String
  1112. version: Int!
  1113. """The unique handle chosen by member"""
  1114. handle: String!
  1115. """A Url to member's Avatar image"""
  1116. avatarUri: String
  1117. """Short text chosen by member to share information about themselves"""
  1118. about: String
  1119. """Member's controller account id"""
  1120. controllerAccount: String!
  1121. """Member's root account id"""
  1122. rootAccount: String!
  1123. """Blocknumber when member was registered"""
  1124. createdInBlock: Int!
  1125. """How the member was registered"""
  1126. entry: MembershipEntryMethod!
  1127. """The type of subscription the member has purchased if any."""
  1128. subscription: Int
  1129. channels: [Channel!]!
  1130. }
  1131. type MembershipConnection {
  1132. totalCount: Int!
  1133. edges: [MembershipEdge!]!
  1134. pageInfo: PageInfo!
  1135. }
  1136. input MembershipCreateInput {
  1137. handle: String!
  1138. avatarUri: String
  1139. about: String
  1140. controllerAccount: String!
  1141. rootAccount: String!
  1142. createdInBlock: Float!
  1143. entry: MembershipEntryMethod!
  1144. subscription: Float
  1145. }
  1146. type MembershipEdge {
  1147. node: Membership!
  1148. cursor: String!
  1149. }
  1150. enum MembershipEntryMethod {
  1151. PAID
  1152. SCREENING
  1153. GENESIS
  1154. }
  1155. enum MembershipOrderByInput {
  1156. createdAt_ASC
  1157. createdAt_DESC
  1158. updatedAt_ASC
  1159. updatedAt_DESC
  1160. deletedAt_ASC
  1161. deletedAt_DESC
  1162. handle_ASC
  1163. handle_DESC
  1164. avatarUri_ASC
  1165. avatarUri_DESC
  1166. about_ASC
  1167. about_DESC
  1168. controllerAccount_ASC
  1169. controllerAccount_DESC
  1170. rootAccount_ASC
  1171. rootAccount_DESC
  1172. createdInBlock_ASC
  1173. createdInBlock_DESC
  1174. entry_ASC
  1175. entry_DESC
  1176. subscription_ASC
  1177. subscription_DESC
  1178. }
  1179. input MembershipUpdateInput {
  1180. handle: String
  1181. avatarUri: String
  1182. about: String
  1183. controllerAccount: String
  1184. rootAccount: String
  1185. createdInBlock: Float
  1186. entry: MembershipEntryMethod
  1187. subscription: Float
  1188. }
  1189. input MembershipWhereInput {
  1190. id_eq: ID
  1191. id_in: [ID!]
  1192. createdAt_eq: DateTime
  1193. createdAt_lt: DateTime
  1194. createdAt_lte: DateTime
  1195. createdAt_gt: DateTime
  1196. createdAt_gte: DateTime
  1197. createdById_eq: ID
  1198. createdById_in: [ID!]
  1199. updatedAt_eq: DateTime
  1200. updatedAt_lt: DateTime
  1201. updatedAt_lte: DateTime
  1202. updatedAt_gt: DateTime
  1203. updatedAt_gte: DateTime
  1204. updatedById_eq: ID
  1205. updatedById_in: [ID!]
  1206. deletedAt_all: Boolean
  1207. deletedAt_eq: DateTime
  1208. deletedAt_lt: DateTime
  1209. deletedAt_lte: DateTime
  1210. deletedAt_gt: DateTime
  1211. deletedAt_gte: DateTime
  1212. deletedById_eq: ID
  1213. deletedById_in: [ID!]
  1214. handle_eq: String
  1215. handle_contains: String
  1216. handle_startsWith: String
  1217. handle_endsWith: String
  1218. handle_in: [String!]
  1219. avatarUri_eq: String
  1220. avatarUri_contains: String
  1221. avatarUri_startsWith: String
  1222. avatarUri_endsWith: String
  1223. avatarUri_in: [String!]
  1224. about_eq: String
  1225. about_contains: String
  1226. about_startsWith: String
  1227. about_endsWith: String
  1228. about_in: [String!]
  1229. controllerAccount_eq: String
  1230. controllerAccount_contains: String
  1231. controllerAccount_startsWith: String
  1232. controllerAccount_endsWith: String
  1233. controllerAccount_in: [String!]
  1234. rootAccount_eq: String
  1235. rootAccount_contains: String
  1236. rootAccount_startsWith: String
  1237. rootAccount_endsWith: String
  1238. rootAccount_in: [String!]
  1239. createdInBlock_eq: Int
  1240. createdInBlock_gt: Int
  1241. createdInBlock_gte: Int
  1242. createdInBlock_lt: Int
  1243. createdInBlock_lte: Int
  1244. createdInBlock_in: [Int!]
  1245. entry_eq: MembershipEntryMethod
  1246. entry_in: [MembershipEntryMethod!]
  1247. subscription_eq: Int
  1248. subscription_gt: Int
  1249. subscription_gte: Int
  1250. subscription_lt: Int
  1251. subscription_lte: Int
  1252. subscription_in: [Int!]
  1253. channels_none: ChannelWhereInput
  1254. channels_some: ChannelWhereInput
  1255. channels_every: ChannelWhereInput
  1256. AND: [MembershipWhereInput!]
  1257. OR: [MembershipWhereInput!]
  1258. }
  1259. input MembershipWhereUniqueInput {
  1260. id: ID
  1261. handle: String
  1262. }
  1263. type NextEntityId implements BaseGraphQLObject {
  1264. id: ID!
  1265. createdAt: DateTime!
  1266. createdById: String!
  1267. updatedAt: DateTime
  1268. updatedById: String
  1269. deletedAt: DateTime
  1270. deletedById: String
  1271. version: Int!
  1272. """Next deterministic id for entities without custom id"""
  1273. nextId: Float!
  1274. }
  1275. type NextEntityIdConnection {
  1276. totalCount: Int!
  1277. edges: [NextEntityIdEdge!]!
  1278. pageInfo: PageInfo!
  1279. }
  1280. input NextEntityIdCreateInput {
  1281. nextId: Float!
  1282. }
  1283. type NextEntityIdEdge {
  1284. node: NextEntityId!
  1285. cursor: String!
  1286. }
  1287. enum NextEntityIdOrderByInput {
  1288. createdAt_ASC
  1289. createdAt_DESC
  1290. updatedAt_ASC
  1291. updatedAt_DESC
  1292. deletedAt_ASC
  1293. deletedAt_DESC
  1294. nextId_ASC
  1295. nextId_DESC
  1296. }
  1297. input NextEntityIdUpdateInput {
  1298. nextId: Float
  1299. }
  1300. input NextEntityIdWhereInput {
  1301. id_eq: ID
  1302. id_in: [ID!]
  1303. createdAt_eq: DateTime
  1304. createdAt_lt: DateTime
  1305. createdAt_lte: DateTime
  1306. createdAt_gt: DateTime
  1307. createdAt_gte: DateTime
  1308. createdById_eq: ID
  1309. createdById_in: [ID!]
  1310. updatedAt_eq: DateTime
  1311. updatedAt_lt: DateTime
  1312. updatedAt_lte: DateTime
  1313. updatedAt_gt: DateTime
  1314. updatedAt_gte: DateTime
  1315. updatedById_eq: ID
  1316. updatedById_in: [ID!]
  1317. deletedAt_all: Boolean
  1318. deletedAt_eq: DateTime
  1319. deletedAt_lt: DateTime
  1320. deletedAt_lte: DateTime
  1321. deletedAt_gt: DateTime
  1322. deletedAt_gte: DateTime
  1323. deletedById_eq: ID
  1324. deletedById_in: [ID!]
  1325. nextId_eq: Float
  1326. nextId_gt: Float
  1327. nextId_gte: Float
  1328. nextId_lt: Float
  1329. nextId_lte: Float
  1330. nextId_in: [Float!]
  1331. AND: [NextEntityIdWhereInput!]
  1332. OR: [NextEntityIdWhereInput!]
  1333. }
  1334. input NextEntityIdWhereUniqueInput {
  1335. id: ID!
  1336. }
  1337. type PageInfo {
  1338. hasNextPage: Boolean!
  1339. hasPreviousPage: Boolean!
  1340. startCursor: String
  1341. endCursor: String
  1342. }
  1343. type ProcessorState {
  1344. lastCompleteBlock: Float!
  1345. lastProcessedEvent: String!
  1346. indexerHead: Float!
  1347. chainHead: Float!
  1348. }
  1349. type Query {
  1350. curatorGroups(offset: Int, limit: Int = 50, where: CuratorGroupWhereInput, orderBy: [CuratorGroupOrderByInput!]): [CuratorGroup!]!
  1351. curatorGroupByUniqueInput(where: CuratorGroupWhereUniqueInput!): CuratorGroup
  1352. curatorGroupsConnection(first: Int, after: String, last: Int, before: String, where: CuratorGroupWhereInput, orderBy: [CuratorGroupOrderByInput!]): CuratorGroupConnection!
  1353. dataObjects(offset: Int, limit: Int = 50, where: DataObjectWhereInput, orderBy: [DataObjectOrderByInput!]): [DataObject!]!
  1354. dataObjectByUniqueInput(where: DataObjectWhereUniqueInput!): DataObject
  1355. dataObjectsConnection(first: Int, after: String, last: Int, before: String, where: DataObjectWhereInput, orderBy: [DataObjectOrderByInput!]): DataObjectConnection!
  1356. channelCategories(offset: Int, limit: Int = 50, where: ChannelCategoryWhereInput, orderBy: [ChannelCategoryOrderByInput!]): [ChannelCategory!]!
  1357. channelCategoryByUniqueInput(where: ChannelCategoryWhereUniqueInput!): ChannelCategory
  1358. channelCategoriesConnection(first: Int, after: String, last: Int, before: String, where: ChannelCategoryWhereInput, orderBy: [ChannelCategoryOrderByInput!]): ChannelCategoryConnection!
  1359. channels(offset: Int, limit: Int = 50, where: ChannelWhereInput, orderBy: [ChannelOrderByInput!]): [Channel!]!
  1360. channelByUniqueInput(where: ChannelWhereUniqueInput!): Channel
  1361. channelsConnection(first: Int, after: String, last: Int, before: String, where: ChannelWhereInput, orderBy: [ChannelOrderByInput!]): ChannelConnection!
  1362. languages(offset: Int, limit: Int = 50, where: LanguageWhereInput, orderBy: [LanguageOrderByInput!]): [Language!]!
  1363. languageByUniqueInput(where: LanguageWhereUniqueInput!): Language
  1364. languagesConnection(first: Int, after: String, last: Int, before: String, where: LanguageWhereInput, orderBy: [LanguageOrderByInput!]): LanguageConnection!
  1365. licenses(offset: Int, limit: Int = 50, where: LicenseWhereInput, orderBy: [LicenseOrderByInput!]): [License!]!
  1366. licenseByUniqueInput(where: LicenseWhereUniqueInput!): License
  1367. licensesConnection(first: Int, after: String, last: Int, before: String, where: LicenseWhereInput, orderBy: [LicenseOrderByInput!]): LicenseConnection!
  1368. memberships(offset: Int, limit: Int = 50, where: MembershipWhereInput, orderBy: [MembershipOrderByInput!]): [Membership!]!
  1369. membershipByUniqueInput(where: MembershipWhereUniqueInput!): Membership
  1370. membershipsConnection(first: Int, after: String, last: Int, before: String, where: MembershipWhereInput, orderBy: [MembershipOrderByInput!]): MembershipConnection!
  1371. nextEntityIds(offset: Int, limit: Int = 50, where: NextEntityIdWhereInput, orderBy: [NextEntityIdOrderByInput!]): [NextEntityId!]!
  1372. nextEntityIdByUniqueInput(where: NextEntityIdWhereUniqueInput!): NextEntityId
  1373. nextEntityIdsConnection(first: Int, after: String, last: Int, before: String, where: NextEntityIdWhereInput, orderBy: [NextEntityIdOrderByInput!]): NextEntityIdConnection!
  1374. channelCategoriesByName(whereChannelCategory: ChannelCategoryWhereInput, skip: Int = 0, limit: Int = 5, text: String!): [ChannelCategoriesByNameFTSOutput!]!
  1375. membersByHandle(whereMembership: MembershipWhereInput, skip: Int = 0, limit: Int = 5, text: String!): [MembersByHandleFTSOutput!]!
  1376. search(whereVideo: VideoWhereInput, whereChannel: ChannelWhereInput, skip: Int = 0, limit: Int = 5, text: String!): [SearchFTSOutput!]!
  1377. videoCategoriesByName(whereVideoCategory: VideoCategoryWhereInput, skip: Int = 0, limit: Int = 5, text: String!): [VideoCategoriesByNameFTSOutput!]!
  1378. videoCategories(offset: Int, limit: Int = 50, where: VideoCategoryWhereInput, orderBy: [VideoCategoryOrderByInput!]): [VideoCategory!]!
  1379. videoCategoryByUniqueInput(where: VideoCategoryWhereUniqueInput!): VideoCategory
  1380. videoCategoriesConnection(first: Int, after: String, last: Int, before: String, where: VideoCategoryWhereInput, orderBy: [VideoCategoryOrderByInput!]): VideoCategoryConnection!
  1381. videoMediaEncodings(offset: Int, limit: Int = 50, where: VideoMediaEncodingWhereInput, orderBy: [VideoMediaEncodingOrderByInput!]): [VideoMediaEncoding!]!
  1382. videoMediaEncodingByUniqueInput(where: VideoMediaEncodingWhereUniqueInput!): VideoMediaEncoding
  1383. videoMediaEncodingsConnection(first: Int, after: String, last: Int, before: String, where: VideoMediaEncodingWhereInput, orderBy: [VideoMediaEncodingOrderByInput!]): VideoMediaEncodingConnection!
  1384. videoMediaMetadata(offset: Int, limit: Int = 50, where: VideoMediaMetadataWhereInput, orderBy: [VideoMediaMetadataOrderByInput!]): [VideoMediaMetadata!]!
  1385. videoMediaMetadataByUniqueInput(where: VideoMediaMetadataWhereUniqueInput!): VideoMediaMetadata
  1386. videoMediaMetadataConnection(first: Int, after: String, last: Int, before: String, where: VideoMediaMetadataWhereInput, orderBy: [VideoMediaMetadataOrderByInput!]): VideoMediaMetadataConnection!
  1387. videos(offset: Int, limit: Int = 50, where: VideoWhereInput, orderBy: [VideoOrderByInput!]): [Video!]!
  1388. videoByUniqueInput(where: VideoWhereUniqueInput!): Video
  1389. videosConnection(first: Int, after: String, last: Int, before: String, where: VideoWhereInput, orderBy: [VideoOrderByInput!]): VideoConnection!
  1390. workers(offset: Int, limit: Int = 50, where: WorkerWhereInput, orderBy: [WorkerOrderByInput!]): [Worker!]!
  1391. workerByUniqueInput(where: WorkerWhereUniqueInput!): Worker
  1392. workersConnection(first: Int, after: String, last: Int, before: String, where: WorkerWhereInput, orderBy: [WorkerOrderByInput!]): WorkerConnection!
  1393. }
  1394. type SearchFTSOutput {
  1395. item: SearchSearchResult!
  1396. rank: Float!
  1397. isTypeOf: String!
  1398. highlight: String!
  1399. }
  1400. union SearchSearchResult = Channel | Video
  1401. type StandardDeleteResponse {
  1402. id: ID!
  1403. }
  1404. type Subscription {
  1405. stateSubscription: ProcessorState!
  1406. }
  1407. type Video implements BaseGraphQLObject {
  1408. id: ID!
  1409. createdAt: DateTime!
  1410. createdById: String!
  1411. updatedAt: DateTime
  1412. updatedById: String
  1413. deletedAt: DateTime
  1414. deletedById: String
  1415. version: Int!
  1416. channel: Channel
  1417. channelId: String
  1418. category: VideoCategory
  1419. categoryId: String
  1420. """The title of the video"""
  1421. title: String
  1422. """The description of the Video"""
  1423. description: String
  1424. """Video duration in seconds"""
  1425. duration: Int
  1426. thumbnailPhotoDataObject: DataObject
  1427. thumbnailPhotoDataObjectId: String
  1428. """URLs where the asset content can be accessed (if any)"""
  1429. thumbnailPhotoUrls: [String!]!
  1430. """Availability meta information"""
  1431. thumbnailPhotoAvailability: AssetAvailability!
  1432. language: Language
  1433. languageId: String
  1434. """Whether or not Video contains marketing"""
  1435. hasMarketing: Boolean
  1436. """
  1437. If the Video was published on other platform before beeing published on Joystream - the original publication date
  1438. """
  1439. publishedBeforeJoystream: DateTime
  1440. """Whether the Video is supposed to be publically displayed"""
  1441. isPublic: Boolean
  1442. """Flag signaling whether a video is censored."""
  1443. isCensored: Boolean!
  1444. """Whether the Video contains explicit material."""
  1445. isExplicit: Boolean
  1446. license: License
  1447. licenseId: String
  1448. mediaDataObject: DataObject
  1449. mediaDataObjectId: String
  1450. """URLs where the asset content can be accessed (if any)"""
  1451. mediaUrls: [String!]!
  1452. """Availability meta information"""
  1453. mediaAvailability: AssetAvailability!
  1454. mediaMetadata: VideoMediaMetadata
  1455. mediaMetadataId: String
  1456. createdInBlock: Int!
  1457. """Is video featured or not"""
  1458. isFeatured: Boolean!
  1459. }
  1460. type VideoCategoriesByNameFTSOutput {
  1461. item: VideoCategoriesByNameSearchResult!
  1462. rank: Float!
  1463. isTypeOf: String!
  1464. highlight: String!
  1465. }
  1466. union VideoCategoriesByNameSearchResult = VideoCategory
  1467. type VideoCategory implements BaseGraphQLObject {
  1468. id: ID!
  1469. createdAt: DateTime!
  1470. createdById: String!
  1471. updatedAt: DateTime
  1472. updatedById: String
  1473. deletedAt: DateTime
  1474. deletedById: String
  1475. version: Int!
  1476. """The name of the category"""
  1477. name: String
  1478. videos: [Video!]!
  1479. createdInBlock: Int!
  1480. }
  1481. type VideoCategoryConnection {
  1482. totalCount: Int!
  1483. edges: [VideoCategoryEdge!]!
  1484. pageInfo: PageInfo!
  1485. }
  1486. input VideoCategoryCreateInput {
  1487. name: String
  1488. createdInBlock: Float!
  1489. }
  1490. type VideoCategoryEdge {
  1491. node: VideoCategory!
  1492. cursor: String!
  1493. }
  1494. enum VideoCategoryOrderByInput {
  1495. createdAt_ASC
  1496. createdAt_DESC
  1497. updatedAt_ASC
  1498. updatedAt_DESC
  1499. deletedAt_ASC
  1500. deletedAt_DESC
  1501. name_ASC
  1502. name_DESC
  1503. createdInBlock_ASC
  1504. createdInBlock_DESC
  1505. }
  1506. input VideoCategoryUpdateInput {
  1507. name: String
  1508. createdInBlock: Float
  1509. }
  1510. input VideoCategoryWhereInput {
  1511. id_eq: ID
  1512. id_in: [ID!]
  1513. createdAt_eq: DateTime
  1514. createdAt_lt: DateTime
  1515. createdAt_lte: DateTime
  1516. createdAt_gt: DateTime
  1517. createdAt_gte: DateTime
  1518. createdById_eq: ID
  1519. createdById_in: [ID!]
  1520. updatedAt_eq: DateTime
  1521. updatedAt_lt: DateTime
  1522. updatedAt_lte: DateTime
  1523. updatedAt_gt: DateTime
  1524. updatedAt_gte: DateTime
  1525. updatedById_eq: ID
  1526. updatedById_in: [ID!]
  1527. deletedAt_all: Boolean
  1528. deletedAt_eq: DateTime
  1529. deletedAt_lt: DateTime
  1530. deletedAt_lte: DateTime
  1531. deletedAt_gt: DateTime
  1532. deletedAt_gte: DateTime
  1533. deletedById_eq: ID
  1534. deletedById_in: [ID!]
  1535. name_eq: String
  1536. name_contains: String
  1537. name_startsWith: String
  1538. name_endsWith: String
  1539. name_in: [String!]
  1540. createdInBlock_eq: Int
  1541. createdInBlock_gt: Int
  1542. createdInBlock_gte: Int
  1543. createdInBlock_lt: Int
  1544. createdInBlock_lte: Int
  1545. createdInBlock_in: [Int!]
  1546. videos_none: VideoWhereInput
  1547. videos_some: VideoWhereInput
  1548. videos_every: VideoWhereInput
  1549. AND: [VideoCategoryWhereInput!]
  1550. OR: [VideoCategoryWhereInput!]
  1551. }
  1552. input VideoCategoryWhereUniqueInput {
  1553. id: ID!
  1554. }
  1555. type VideoConnection {
  1556. totalCount: Int!
  1557. edges: [VideoEdge!]!
  1558. pageInfo: PageInfo!
  1559. }
  1560. input VideoCreateInput {
  1561. channel: ID
  1562. channelId: ID
  1563. category: ID
  1564. categoryId: ID
  1565. title: String
  1566. description: String
  1567. duration: Float
  1568. thumbnailPhotoDataObject: ID
  1569. thumbnailPhotoDataObjectId: ID
  1570. thumbnailPhotoUrls: [String!]!
  1571. thumbnailPhotoAvailability: AssetAvailability!
  1572. language: ID
  1573. languageId: ID
  1574. hasMarketing: Boolean
  1575. publishedBeforeJoystream: DateTime
  1576. isPublic: Boolean
  1577. isCensored: Boolean!
  1578. isExplicit: Boolean
  1579. license: ID
  1580. licenseId: ID
  1581. mediaDataObject: ID
  1582. mediaDataObjectId: ID
  1583. mediaUrls: [String!]!
  1584. mediaAvailability: AssetAvailability!
  1585. mediaMetadata: ID
  1586. mediaMetadataId: ID
  1587. createdInBlock: Float!
  1588. isFeatured: Boolean!
  1589. }
  1590. type VideoEdge {
  1591. node: Video!
  1592. cursor: String!
  1593. }
  1594. type VideoMediaEncoding implements BaseGraphQLObject {
  1595. id: ID!
  1596. createdAt: DateTime!
  1597. createdById: String!
  1598. updatedAt: DateTime
  1599. updatedById: String
  1600. deletedAt: DateTime
  1601. deletedById: String
  1602. version: Int!
  1603. """Encoding of the video media object"""
  1604. codecName: String
  1605. """Media container format"""
  1606. container: String
  1607. """Content MIME type"""
  1608. mimeMediaType: String
  1609. videomediametadataencoding: [VideoMediaMetadata!]
  1610. }
  1611. type VideoMediaEncodingConnection {
  1612. totalCount: Int!
  1613. edges: [VideoMediaEncodingEdge!]!
  1614. pageInfo: PageInfo!
  1615. }
  1616. input VideoMediaEncodingCreateInput {
  1617. codecName: String
  1618. container: String
  1619. mimeMediaType: String
  1620. }
  1621. type VideoMediaEncodingEdge {
  1622. node: VideoMediaEncoding!
  1623. cursor: String!
  1624. }
  1625. enum VideoMediaEncodingOrderByInput {
  1626. createdAt_ASC
  1627. createdAt_DESC
  1628. updatedAt_ASC
  1629. updatedAt_DESC
  1630. deletedAt_ASC
  1631. deletedAt_DESC
  1632. codecName_ASC
  1633. codecName_DESC
  1634. container_ASC
  1635. container_DESC
  1636. mimeMediaType_ASC
  1637. mimeMediaType_DESC
  1638. }
  1639. input VideoMediaEncodingUpdateInput {
  1640. codecName: String
  1641. container: String
  1642. mimeMediaType: String
  1643. }
  1644. input VideoMediaEncodingWhereInput {
  1645. id_eq: ID
  1646. id_in: [ID!]
  1647. createdAt_eq: DateTime
  1648. createdAt_lt: DateTime
  1649. createdAt_lte: DateTime
  1650. createdAt_gt: DateTime
  1651. createdAt_gte: DateTime
  1652. createdById_eq: ID
  1653. createdById_in: [ID!]
  1654. updatedAt_eq: DateTime
  1655. updatedAt_lt: DateTime
  1656. updatedAt_lte: DateTime
  1657. updatedAt_gt: DateTime
  1658. updatedAt_gte: DateTime
  1659. updatedById_eq: ID
  1660. updatedById_in: [ID!]
  1661. deletedAt_all: Boolean
  1662. deletedAt_eq: DateTime
  1663. deletedAt_lt: DateTime
  1664. deletedAt_lte: DateTime
  1665. deletedAt_gt: DateTime
  1666. deletedAt_gte: DateTime
  1667. deletedById_eq: ID
  1668. deletedById_in: [ID!]
  1669. codecName_eq: String
  1670. codecName_contains: String
  1671. codecName_startsWith: String
  1672. codecName_endsWith: String
  1673. codecName_in: [String!]
  1674. container_eq: String
  1675. container_contains: String
  1676. container_startsWith: String
  1677. container_endsWith: String
  1678. container_in: [String!]
  1679. mimeMediaType_eq: String
  1680. mimeMediaType_contains: String
  1681. mimeMediaType_startsWith: String
  1682. mimeMediaType_endsWith: String
  1683. mimeMediaType_in: [String!]
  1684. videomediametadataencoding_none: VideoMediaMetadataWhereInput
  1685. videomediametadataencoding_some: VideoMediaMetadataWhereInput
  1686. videomediametadataencoding_every: VideoMediaMetadataWhereInput
  1687. AND: [VideoMediaEncodingWhereInput!]
  1688. OR: [VideoMediaEncodingWhereInput!]
  1689. }
  1690. input VideoMediaEncodingWhereUniqueInput {
  1691. id: ID!
  1692. }
  1693. type VideoMediaMetadata implements BaseGraphQLObject {
  1694. id: ID!
  1695. createdAt: DateTime!
  1696. createdById: String!
  1697. updatedAt: DateTime
  1698. updatedById: String
  1699. deletedAt: DateTime
  1700. deletedById: String
  1701. version: Int!
  1702. encoding: VideoMediaEncoding
  1703. encodingId: String
  1704. """Video media width in pixels"""
  1705. pixelWidth: Int
  1706. """Video media height in pixels"""
  1707. pixelHeight: Int
  1708. """Video media size in bytes"""
  1709. size: Float
  1710. video: Video
  1711. createdInBlock: Int!
  1712. }
  1713. type VideoMediaMetadataConnection {
  1714. totalCount: Int!
  1715. edges: [VideoMediaMetadataEdge!]!
  1716. pageInfo: PageInfo!
  1717. }
  1718. input VideoMediaMetadataCreateInput {
  1719. encoding: ID
  1720. encodingId: ID
  1721. pixelWidth: Float
  1722. pixelHeight: Float
  1723. size: Float
  1724. createdInBlock: Float!
  1725. }
  1726. type VideoMediaMetadataEdge {
  1727. node: VideoMediaMetadata!
  1728. cursor: String!
  1729. }
  1730. enum VideoMediaMetadataOrderByInput {
  1731. createdAt_ASC
  1732. createdAt_DESC
  1733. updatedAt_ASC
  1734. updatedAt_DESC
  1735. deletedAt_ASC
  1736. deletedAt_DESC
  1737. encoding_ASC
  1738. encoding_DESC
  1739. encodingId_ASC
  1740. encodingId_DESC
  1741. pixelWidth_ASC
  1742. pixelWidth_DESC
  1743. pixelHeight_ASC
  1744. pixelHeight_DESC
  1745. size_ASC
  1746. size_DESC
  1747. createdInBlock_ASC
  1748. createdInBlock_DESC
  1749. }
  1750. input VideoMediaMetadataUpdateInput {
  1751. encoding: ID
  1752. encodingId: ID
  1753. pixelWidth: Float
  1754. pixelHeight: Float
  1755. size: Float
  1756. createdInBlock: Float
  1757. }
  1758. input VideoMediaMetadataWhereInput {
  1759. id_eq: ID
  1760. id_in: [ID!]
  1761. createdAt_eq: DateTime
  1762. createdAt_lt: DateTime
  1763. createdAt_lte: DateTime
  1764. createdAt_gt: DateTime
  1765. createdAt_gte: DateTime
  1766. createdById_eq: ID
  1767. createdById_in: [ID!]
  1768. updatedAt_eq: DateTime
  1769. updatedAt_lt: DateTime
  1770. updatedAt_lte: DateTime
  1771. updatedAt_gt: DateTime
  1772. updatedAt_gte: DateTime
  1773. updatedById_eq: ID
  1774. updatedById_in: [ID!]
  1775. deletedAt_all: Boolean
  1776. deletedAt_eq: DateTime
  1777. deletedAt_lt: DateTime
  1778. deletedAt_lte: DateTime
  1779. deletedAt_gt: DateTime
  1780. deletedAt_gte: DateTime
  1781. deletedById_eq: ID
  1782. deletedById_in: [ID!]
  1783. encodingId_eq: ID
  1784. encodingId_in: [ID!]
  1785. pixelWidth_eq: Int
  1786. pixelWidth_gt: Int
  1787. pixelWidth_gte: Int
  1788. pixelWidth_lt: Int
  1789. pixelWidth_lte: Int
  1790. pixelWidth_in: [Int!]
  1791. pixelHeight_eq: Int
  1792. pixelHeight_gt: Int
  1793. pixelHeight_gte: Int
  1794. pixelHeight_lt: Int
  1795. pixelHeight_lte: Int
  1796. pixelHeight_in: [Int!]
  1797. size_eq: Float
  1798. size_gt: Float
  1799. size_gte: Float
  1800. size_lt: Float
  1801. size_lte: Float
  1802. size_in: [Float!]
  1803. createdInBlock_eq: Int
  1804. createdInBlock_gt: Int
  1805. createdInBlock_gte: Int
  1806. createdInBlock_lt: Int
  1807. createdInBlock_lte: Int
  1808. createdInBlock_in: [Int!]
  1809. encoding: VideoMediaEncodingWhereInput
  1810. video: VideoWhereInput
  1811. AND: [VideoMediaMetadataWhereInput!]
  1812. OR: [VideoMediaMetadataWhereInput!]
  1813. }
  1814. input VideoMediaMetadataWhereUniqueInput {
  1815. id: ID!
  1816. }
  1817. enum VideoOrderByInput {
  1818. createdAt_ASC
  1819. createdAt_DESC
  1820. updatedAt_ASC
  1821. updatedAt_DESC
  1822. deletedAt_ASC
  1823. deletedAt_DESC
  1824. channel_ASC
  1825. channel_DESC
  1826. channelId_ASC
  1827. channelId_DESC
  1828. category_ASC
  1829. category_DESC
  1830. categoryId_ASC
  1831. categoryId_DESC
  1832. title_ASC
  1833. title_DESC
  1834. description_ASC
  1835. description_DESC
  1836. duration_ASC
  1837. duration_DESC
  1838. thumbnailPhotoDataObject_ASC
  1839. thumbnailPhotoDataObject_DESC
  1840. thumbnailPhotoDataObjectId_ASC
  1841. thumbnailPhotoDataObjectId_DESC
  1842. thumbnailPhotoAvailability_ASC
  1843. thumbnailPhotoAvailability_DESC
  1844. language_ASC
  1845. language_DESC
  1846. languageId_ASC
  1847. languageId_DESC
  1848. hasMarketing_ASC
  1849. hasMarketing_DESC
  1850. publishedBeforeJoystream_ASC
  1851. publishedBeforeJoystream_DESC
  1852. isPublic_ASC
  1853. isPublic_DESC
  1854. isCensored_ASC
  1855. isCensored_DESC
  1856. isExplicit_ASC
  1857. isExplicit_DESC
  1858. license_ASC
  1859. license_DESC
  1860. licenseId_ASC
  1861. licenseId_DESC
  1862. mediaDataObject_ASC
  1863. mediaDataObject_DESC
  1864. mediaDataObjectId_ASC
  1865. mediaDataObjectId_DESC
  1866. mediaAvailability_ASC
  1867. mediaAvailability_DESC
  1868. mediaMetadata_ASC
  1869. mediaMetadata_DESC
  1870. mediaMetadataId_ASC
  1871. mediaMetadataId_DESC
  1872. createdInBlock_ASC
  1873. createdInBlock_DESC
  1874. isFeatured_ASC
  1875. isFeatured_DESC
  1876. }
  1877. input VideoUpdateInput {
  1878. channel: ID
  1879. channelId: ID
  1880. category: ID
  1881. categoryId: ID
  1882. title: String
  1883. description: String
  1884. duration: Float
  1885. thumbnailPhotoDataObject: ID
  1886. thumbnailPhotoDataObjectId: ID
  1887. thumbnailPhotoUrls: [String!]
  1888. thumbnailPhotoAvailability: AssetAvailability
  1889. language: ID
  1890. languageId: ID
  1891. hasMarketing: Boolean
  1892. publishedBeforeJoystream: DateTime
  1893. isPublic: Boolean
  1894. isCensored: Boolean
  1895. isExplicit: Boolean
  1896. license: ID
  1897. licenseId: ID
  1898. mediaDataObject: ID
  1899. mediaDataObjectId: ID
  1900. mediaUrls: [String!]
  1901. mediaAvailability: AssetAvailability
  1902. mediaMetadata: ID
  1903. mediaMetadataId: ID
  1904. createdInBlock: Float
  1905. isFeatured: Boolean
  1906. }
  1907. input VideoWhereInput {
  1908. id_eq: ID
  1909. id_in: [ID!]
  1910. createdAt_eq: DateTime
  1911. createdAt_lt: DateTime
  1912. createdAt_lte: DateTime
  1913. createdAt_gt: DateTime
  1914. createdAt_gte: DateTime
  1915. createdById_eq: ID
  1916. createdById_in: [ID!]
  1917. updatedAt_eq: DateTime
  1918. updatedAt_lt: DateTime
  1919. updatedAt_lte: DateTime
  1920. updatedAt_gt: DateTime
  1921. updatedAt_gte: DateTime
  1922. updatedById_eq: ID
  1923. updatedById_in: [ID!]
  1924. deletedAt_all: Boolean
  1925. deletedAt_eq: DateTime
  1926. deletedAt_lt: DateTime
  1927. deletedAt_lte: DateTime
  1928. deletedAt_gt: DateTime
  1929. deletedAt_gte: DateTime
  1930. deletedById_eq: ID
  1931. deletedById_in: [ID!]
  1932. channelId_eq: ID
  1933. channelId_in: [ID!]
  1934. categoryId_eq: ID
  1935. categoryId_in: [ID!]
  1936. title_eq: String
  1937. title_contains: String
  1938. title_startsWith: String
  1939. title_endsWith: String
  1940. title_in: [String!]
  1941. description_eq: String
  1942. description_contains: String
  1943. description_startsWith: String
  1944. description_endsWith: String
  1945. description_in: [String!]
  1946. duration_eq: Int
  1947. duration_gt: Int
  1948. duration_gte: Int
  1949. duration_lt: Int
  1950. duration_lte: Int
  1951. duration_in: [Int!]
  1952. thumbnailPhotoDataObjectId_eq: ID
  1953. thumbnailPhotoDataObjectId_in: [ID!]
  1954. thumbnailPhotoUrls_containsAll: [String!]
  1955. thumbnailPhotoUrls_containsNone: [String!]
  1956. thumbnailPhotoUrls_containsAny: [String!]
  1957. thumbnailPhotoAvailability_eq: AssetAvailability
  1958. thumbnailPhotoAvailability_in: [AssetAvailability!]
  1959. languageId_eq: ID
  1960. languageId_in: [ID!]
  1961. hasMarketing_eq: Boolean
  1962. hasMarketing_in: [Boolean!]
  1963. publishedBeforeJoystream_eq: DateTime
  1964. publishedBeforeJoystream_lt: DateTime
  1965. publishedBeforeJoystream_lte: DateTime
  1966. publishedBeforeJoystream_gt: DateTime
  1967. publishedBeforeJoystream_gte: DateTime
  1968. isPublic_eq: Boolean
  1969. isPublic_in: [Boolean!]
  1970. isCensored_eq: Boolean
  1971. isCensored_in: [Boolean!]
  1972. isExplicit_eq: Boolean
  1973. isExplicit_in: [Boolean!]
  1974. licenseId_eq: ID
  1975. licenseId_in: [ID!]
  1976. mediaDataObjectId_eq: ID
  1977. mediaDataObjectId_in: [ID!]
  1978. mediaUrls_containsAll: [String!]
  1979. mediaUrls_containsNone: [String!]
  1980. mediaUrls_containsAny: [String!]
  1981. mediaAvailability_eq: AssetAvailability
  1982. mediaAvailability_in: [AssetAvailability!]
  1983. mediaMetadataId_eq: ID
  1984. mediaMetadataId_in: [ID!]
  1985. createdInBlock_eq: Int
  1986. createdInBlock_gt: Int
  1987. createdInBlock_gte: Int
  1988. createdInBlock_lt: Int
  1989. createdInBlock_lte: Int
  1990. createdInBlock_in: [Int!]
  1991. isFeatured_eq: Boolean
  1992. isFeatured_in: [Boolean!]
  1993. channel: ChannelWhereInput
  1994. category: VideoCategoryWhereInput
  1995. thumbnailPhotoDataObject: DataObjectWhereInput
  1996. language: LanguageWhereInput
  1997. license: LicenseWhereInput
  1998. mediaDataObject: DataObjectWhereInput
  1999. mediaMetadata: VideoMediaMetadataWhereInput
  2000. AND: [VideoWhereInput!]
  2001. OR: [VideoWhereInput!]
  2002. }
  2003. input VideoWhereUniqueInput {
  2004. id: ID!
  2005. }
  2006. type Worker implements BaseGraphQLObject {
  2007. id: ID!
  2008. createdAt: DateTime!
  2009. createdById: String!
  2010. updatedAt: DateTime
  2011. updatedById: String
  2012. deletedAt: DateTime
  2013. deletedById: String
  2014. version: Int!
  2015. """Sign of worker still being active"""
  2016. isActive: Boolean!
  2017. """Runtime identifier"""
  2018. workerId: String!
  2019. """Associated working group"""
  2020. type: WorkerType!
  2021. """Custom metadata set by provider"""
  2022. metadata: String
  2023. dataObjects: [DataObject!]!
  2024. }
  2025. type WorkerConnection {
  2026. totalCount: Int!
  2027. edges: [WorkerEdge!]!
  2028. pageInfo: PageInfo!
  2029. }
  2030. input WorkerCreateInput {
  2031. isActive: Boolean!
  2032. workerId: String!
  2033. type: WorkerType!
  2034. metadata: String
  2035. }
  2036. type WorkerEdge {
  2037. node: Worker!
  2038. cursor: String!
  2039. }
  2040. enum WorkerOrderByInput {
  2041. createdAt_ASC
  2042. createdAt_DESC
  2043. updatedAt_ASC
  2044. updatedAt_DESC
  2045. deletedAt_ASC
  2046. deletedAt_DESC
  2047. isActive_ASC
  2048. isActive_DESC
  2049. workerId_ASC
  2050. workerId_DESC
  2051. type_ASC
  2052. type_DESC
  2053. metadata_ASC
  2054. metadata_DESC
  2055. }
  2056. enum WorkerType {
  2057. GATEWAY
  2058. STORAGE
  2059. }
  2060. input WorkerUpdateInput {
  2061. isActive: Boolean
  2062. workerId: String
  2063. type: WorkerType
  2064. metadata: String
  2065. }
  2066. input WorkerWhereInput {
  2067. id_eq: ID
  2068. id_in: [ID!]
  2069. createdAt_eq: DateTime
  2070. createdAt_lt: DateTime
  2071. createdAt_lte: DateTime
  2072. createdAt_gt: DateTime
  2073. createdAt_gte: DateTime
  2074. createdById_eq: ID
  2075. createdById_in: [ID!]
  2076. updatedAt_eq: DateTime
  2077. updatedAt_lt: DateTime
  2078. updatedAt_lte: DateTime
  2079. updatedAt_gt: DateTime
  2080. updatedAt_gte: DateTime
  2081. updatedById_eq: ID
  2082. updatedById_in: [ID!]
  2083. deletedAt_all: Boolean
  2084. deletedAt_eq: DateTime
  2085. deletedAt_lt: DateTime
  2086. deletedAt_lte: DateTime
  2087. deletedAt_gt: DateTime
  2088. deletedAt_gte: DateTime
  2089. deletedById_eq: ID
  2090. deletedById_in: [ID!]
  2091. isActive_eq: Boolean
  2092. isActive_in: [Boolean!]
  2093. workerId_eq: String
  2094. workerId_contains: String
  2095. workerId_startsWith: String
  2096. workerId_endsWith: String
  2097. workerId_in: [String!]
  2098. type_eq: WorkerType
  2099. type_in: [WorkerType!]
  2100. metadata_eq: String
  2101. metadata_contains: String
  2102. metadata_startsWith: String
  2103. metadata_endsWith: String
  2104. metadata_in: [String!]
  2105. dataObjects_none: DataObjectWhereInput
  2106. dataObjects_some: DataObjectWhereInput
  2107. dataObjects_every: DataObjectWhereInput
  2108. AND: [WorkerWhereInput!]
  2109. OR: [WorkerWhereInput!]
  2110. }
  2111. input WorkerWhereUniqueInput {
  2112. id: ID!
  2113. }