@streamscloud/embeddable 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (337) hide show
  1. package/README.md +1 -0
  2. package/dist/advertising/ad-view/cmp.ad-view.svelte +82 -0
  3. package/dist/advertising/ad-view/cmp.ad-view.svelte.d.ts +8 -0
  4. package/dist/advertising/ad-view/index.d.ts +2 -0
  5. package/dist/advertising/ad-view/index.js +1 -0
  6. package/dist/advertising/ad-view/mapper.d.ts +3 -0
  7. package/dist/advertising/ad-view/mapper.js +16 -0
  8. package/dist/advertising/ad-view/operations.generated.d.ts +17 -0
  9. package/dist/advertising/ad-view/operations.generated.js +46 -0
  10. package/dist/advertising/ad-view/operations.graphql +14 -0
  11. package/dist/advertising/ad-view/types.d.ts +10 -0
  12. package/dist/advertising/ad-view/types.js +1 -0
  13. package/dist/advertising/index.d.ts +1 -0
  14. package/dist/advertising/index.js +1 -0
  15. package/dist/advertising/types.d.ts +5 -0
  16. package/dist/advertising/types.js +6 -0
  17. package/dist/core/continuation-token.d.ts +10 -0
  18. package/dist/core/continuation-token.js +32 -0
  19. package/dist/core/cursor-result.d.ts +9 -0
  20. package/dist/core/cursor-result.js +1 -0
  21. package/dist/core/data-loaders/cursor-data-loader.svelte.d.ts +14 -0
  22. package/dist/core/data-loaders/cursor-data-loader.svelte.js +35 -0
  23. package/dist/core/data-loaders/data-loader.d.ts +4 -0
  24. package/dist/core/data-loaders/data-loader.js +1 -0
  25. package/dist/core/data-loaders/index.d.ts +2 -0
  26. package/dist/core/data-loaders/index.js +1 -0
  27. package/dist/core/deferred.d.ts +6 -0
  28. package/dist/core/deferred.js +13 -0
  29. package/dist/core/graphql.d.ts +1 -0
  30. package/dist/core/graphql.js +10 -0
  31. package/dist/core/media/image-helper.d.ts +10 -0
  32. package/dist/core/media/image-helper.js +30 -0
  33. package/dist/core/media/images-size-detector.service.d.ts +6 -0
  34. package/dist/core/media/images-size-detector.service.js +15 -0
  35. package/dist/core/media/index.d.ts +4 -0
  36. package/dist/core/media/index.js +4 -0
  37. package/dist/core/media/media-item-url.service.d.ts +2 -0
  38. package/dist/core/media/media-item-url.service.js +2 -0
  39. package/dist/core/media/types.d.ts +28 -0
  40. package/dist/core/media/types.js +19 -0
  41. package/dist/core/toastr.d.ts +1 -0
  42. package/dist/core/toastr.js +26 -0
  43. package/dist/core/transitions/index.d.ts +1 -0
  44. package/dist/core/transitions/index.js +1 -0
  45. package/dist/core/transitions/slide-horizontally.d.ts +7 -0
  46. package/dist/core/transitions/slide-horizontally.js +55 -0
  47. package/dist/core/utils/array-helper.d.ts +23 -0
  48. package/dist/core/utils/array-helper.js +148 -0
  49. package/dist/core/utils/date-helper.d.ts +29 -0
  50. package/dist/core/utils/date-helper.js +146 -0
  51. package/dist/core/utils/dom-helper.d.ts +12 -0
  52. package/dist/core/utils/dom-helper.js +76 -0
  53. package/dist/core/utils/html-helper.d.ts +40 -0
  54. package/dist/core/utils/html-helper.js +97 -0
  55. package/dist/core/utils/index.d.ts +3 -0
  56. package/dist/core/utils/index.js +3 -0
  57. package/dist/core/utils/number-helper.d.ts +6 -0
  58. package/dist/core/utils/number-helper.js +28 -0
  59. package/dist/core/utils/string-generator.d.ts +2 -0
  60. package/dist/core/utils/string-generator.js +15 -0
  61. package/dist/core/utils/string-helper.d.ts +10 -0
  62. package/dist/core/utils/string-helper.js +53 -0
  63. package/dist/core/utils/url-helper.d.ts +3 -0
  64. package/dist/core/utils/url-helper.js +13 -0
  65. package/dist/core/utils/utils.d.ts +28 -0
  66. package/dist/core/utils/utils.js +100 -0
  67. package/dist/index.d.ts +4 -0
  68. package/dist/index.js +4 -0
  69. package/dist/products/index.d.ts +1 -0
  70. package/dist/products/index.js +1 -0
  71. package/dist/products/price-helper.d.ts +4 -0
  72. package/dist/products/price-helper.js +36 -0
  73. package/dist/products/product-card/cmp.product-card.svelte +121 -0
  74. package/dist/products/product-card/cmp.product-card.svelte.d.ts +10 -0
  75. package/dist/products/product-card/index.d.ts +3 -0
  76. package/dist/products/product-card/index.js +3 -0
  77. package/dist/products/product-card/mapper.d.ts +3 -0
  78. package/dist/products/product-card/mapper.js +14 -0
  79. package/dist/products/product-card/operations.generated.d.ts +22 -0
  80. package/dist/products/product-card/operations.generated.js +65 -0
  81. package/dist/products/product-card/operations.graphql +19 -0
  82. package/dist/products/product-card/product-card-localization.svelte.d.ts +7 -0
  83. package/dist/products/product-card/product-card-localization.svelte.js +11 -0
  84. package/dist/products/product-card/types.d.ts +10 -0
  85. package/dist/products/product-card/types.js +1 -0
  86. package/dist/products/types.d.ts +5 -0
  87. package/dist/products/types.js +6 -0
  88. package/dist/short-videos/short-video-viewer/cmp.attachments.svelte +71 -0
  89. package/dist/short-videos/short-video-viewer/cmp.attachments.svelte.d.ts +7 -0
  90. package/dist/short-videos/short-video-viewer/cmp.short-video-details.svelte +145 -0
  91. package/dist/short-videos/short-video-viewer/cmp.short-video-details.svelte.d.ts +10 -0
  92. package/dist/short-videos/short-video-viewer/cmp.short-video-heading.svelte +86 -0
  93. package/dist/short-videos/short-video-viewer/cmp.short-video-heading.svelte.d.ts +9 -0
  94. package/dist/short-videos/short-video-viewer/cmp.short-video-viewer.svelte +133 -0
  95. package/dist/short-videos/short-video-viewer/cmp.short-video-viewer.svelte.d.ts +12 -0
  96. package/dist/short-videos/short-video-viewer/description.svelte +46 -0
  97. package/dist/short-videos/short-video-viewer/description.svelte.d.ts +9 -0
  98. package/dist/short-videos/short-video-viewer/index.d.ts +6 -0
  99. package/dist/short-videos/short-video-viewer/index.js +4 -0
  100. package/dist/short-videos/short-video-viewer/mapper.d.ts +3 -0
  101. package/dist/short-videos/short-video-viewer/mapper.js +28 -0
  102. package/dist/short-videos/short-video-viewer/operations.generated.d.ts +56 -0
  103. package/dist/short-videos/short-video-viewer/operations.generated.js +187 -0
  104. package/dist/short-videos/short-video-viewer/operations.graphql +26 -0
  105. package/dist/short-videos/short-video-viewer/short-video-details-localization.svelte.d.ts +14 -0
  106. package/dist/short-videos/short-video-viewer/short-video-details-localization.svelte.js +21 -0
  107. package/dist/short-videos/short-video-viewer/short-video-viewer-localization.svelte.d.ts +10 -0
  108. package/dist/short-videos/short-video-viewer/short-video-viewer-localization.svelte.js +13 -0
  109. package/dist/short-videos/short-video-viewer/types.d.ts +17 -0
  110. package/dist/short-videos/short-video-viewer/types.js +1 -0
  111. package/dist/short-videos/short-video-viewer/ui-manager.svelte.d.ts +12 -0
  112. package/dist/short-videos/short-video-viewer/ui-manager.svelte.js +26 -0
  113. package/dist/short-videos/short-videos-player/action-button.svelte +38 -0
  114. package/dist/short-videos/short-videos-player/action-button.svelte.d.ts +10 -0
  115. package/dist/short-videos/short-videos-player/cmp.short-videos-player.svelte +91 -0
  116. package/dist/short-videos/short-videos-player/cmp.short-videos-player.svelte.d.ts +13 -0
  117. package/dist/short-videos/short-videos-player/controls.svelte +215 -0
  118. package/dist/short-videos/short-videos-player/controls.svelte.d.ts +15 -0
  119. package/dist/short-videos/short-videos-player/index.d.ts +2 -0
  120. package/dist/short-videos/short-videos-player/index.js +1 -0
  121. package/dist/short-videos/short-videos-player/short-videos-player-localization.svelte.d.ts +14 -0
  122. package/dist/short-videos/short-videos-player/short-videos-player-localization.svelte.js +21 -0
  123. package/dist/short-videos/short-videos-player/ui-manager.svelte.d.ts +16 -0
  124. package/dist/short-videos/short-videos-player/ui-manager.svelte.js +25 -0
  125. package/dist/short-videos/short-videos-player-modal/cmp.short-videos-player-modal.svelte +485 -0
  126. package/dist/short-videos/short-videos-player-modal/cmp.short-videos-player-modal.svelte.d.ts +3 -0
  127. package/dist/short-videos/short-videos-player-modal/index.d.ts +79 -0
  128. package/dist/short-videos/short-videos-player-modal/index.js +78 -0
  129. package/dist/short-videos/short-videos-player-modal/short-videos-player-modal-state.svelte.d.ts +16 -0
  130. package/dist/short-videos/short-videos-player-modal/short-videos-player-modal-state.svelte.js +13 -0
  131. package/dist/streams/components/cmp.stream-page-component.svelte +16 -0
  132. package/dist/streams/components/cmp.stream-page-component.svelte.d.ts +10 -0
  133. package/dist/streams/components/components.factory.d.ts +22 -0
  134. package/dist/streams/components/components.factory.js +34 -0
  135. package/dist/streams/components/images/cmp.images-component.svelte +7 -0
  136. package/dist/streams/components/images/cmp.images-component.svelte.d.ts +7 -0
  137. package/dist/streams/components/images/index.d.ts +2 -0
  138. package/dist/streams/components/images/index.js +1 -0
  139. package/dist/streams/components/images/types.d.ts +8 -0
  140. package/dist/streams/components/images/types.js +5 -0
  141. package/dist/streams/components/index.d.ts +7 -0
  142. package/dist/streams/components/index.js +6 -0
  143. package/dist/streams/components/mapper.d.ts +3 -0
  144. package/dist/streams/components/mapper.js +43 -0
  145. package/dist/streams/components/operations.generated.d.ts +178 -0
  146. package/dist/streams/components/operations.generated.js +653 -0
  147. package/dist/streams/components/operations.graphql +35 -0
  148. package/dist/streams/components/product/cmp.product-component.svelte +148 -0
  149. package/dist/streams/components/product/cmp.product-component.svelte.d.ts +8 -0
  150. package/dist/streams/components/product/index.d.ts +3 -0
  151. package/dist/streams/components/product/index.js +2 -0
  152. package/dist/streams/components/product/mapper.d.ts +3 -0
  153. package/dist/streams/components/product/mapper.js +14 -0
  154. package/dist/streams/components/product/operations.generated.d.ts +22 -0
  155. package/dist/streams/components/product/operations.generated.js +53 -0
  156. package/dist/streams/components/product/operations.graphql +19 -0
  157. package/dist/streams/components/product/types.d.ts +10 -0
  158. package/dist/streams/components/product/types.js +1 -0
  159. package/dist/streams/components/short-video/cmp.short-video-component.svelte +9 -0
  160. package/dist/streams/components/short-video/cmp.short-video-component.svelte.d.ts +10 -0
  161. package/dist/streams/components/short-video/index.d.ts +3 -0
  162. package/dist/streams/components/short-video/index.js +2 -0
  163. package/dist/streams/components/short-video/mapper.d.ts +3 -0
  164. package/dist/streams/components/short-video/mapper.js +4 -0
  165. package/dist/streams/components/short-video/operations.generated.d.ts +56 -0
  166. package/dist/streams/components/short-video/operations.generated.js +193 -0
  167. package/dist/streams/components/short-video/operations.graphql +3 -0
  168. package/dist/streams/components/short-video/types.d.ts +2 -0
  169. package/dist/streams/components/short-video/types.js +1 -0
  170. package/dist/streams/components/stream-components-localization.svelte.d.ts +10 -0
  171. package/dist/streams/components/stream-components-localization.svelte.js +13 -0
  172. package/dist/streams/components/types.d.ts +27 -0
  173. package/dist/streams/components/types.js +6 -0
  174. package/dist/streams/slots/cmp.stream-component-slot.svelte +35 -0
  175. package/dist/streams/slots/cmp.stream-component-slot.svelte.d.ts +9 -0
  176. package/dist/streams/slots/index.d.ts +3 -0
  177. package/dist/streams/slots/index.js +2 -0
  178. package/dist/streams/slots/mapper.d.ts +3 -0
  179. package/dist/streams/slots/mapper.js +18 -0
  180. package/dist/streams/slots/operations.generated.d.ts +17 -0
  181. package/dist/streams/slots/operations.generated.js +34 -0
  182. package/dist/streams/slots/operations.graphql +14 -0
  183. package/dist/streams/slots/styles-transformer.d.ts +6 -0
  184. package/dist/streams/slots/styles-transformer.js +12 -0
  185. package/dist/streams/slots/types.d.ts +16 -0
  186. package/dist/streams/slots/types.js +1 -0
  187. package/dist/streams/stream-page-viewer/cmp.stream-page-viewer.svelte +47 -0
  188. package/dist/streams/stream-page-viewer/cmp.stream-page-viewer.svelte.d.ts +9 -0
  189. package/dist/streams/stream-page-viewer/index.d.ts +2 -0
  190. package/dist/streams/stream-page-viewer/index.js +1 -0
  191. package/dist/streams/stream-page-viewer/mapper.d.ts +3 -0
  192. package/dist/streams/stream-page-viewer/mapper.js +23 -0
  193. package/dist/streams/stream-page-viewer/operations.generated.d.ts +113 -0
  194. package/dist/streams/stream-page-viewer/operations.generated.js +400 -0
  195. package/dist/streams/stream-page-viewer/operations.graphql +13 -0
  196. package/dist/streams/stream-page-viewer/stream-page-viewer-localization.svelte.d.ts +10 -0
  197. package/dist/streams/stream-page-viewer/stream-page-viewer-localization.svelte.js +13 -0
  198. package/dist/streams/stream-page-viewer/types.d.ts +18 -0
  199. package/dist/streams/stream-page-viewer/types.js +1 -0
  200. package/dist/streams/stream-player/action-button.svelte +38 -0
  201. package/dist/streams/stream-player/action-button.svelte.d.ts +10 -0
  202. package/dist/streams/stream-player/cmp.stream-player.svelte +141 -0
  203. package/dist/streams/stream-player/cmp.stream-player.svelte.d.ts +16 -0
  204. package/dist/streams/stream-player/controls.svelte +222 -0
  205. package/dist/streams/stream-player/controls.svelte.d.ts +14 -0
  206. package/dist/streams/stream-player/index.d.ts +2 -0
  207. package/dist/streams/stream-player/index.js +1 -0
  208. package/dist/streams/stream-player/mapper.d.ts +3 -0
  209. package/dist/streams/stream-player/mapper.js +15 -0
  210. package/dist/streams/stream-player/operations.generated.d.ts +161 -0
  211. package/dist/streams/stream-player/operations.generated.js +559 -0
  212. package/dist/streams/stream-player/operations.graphql +32 -0
  213. package/dist/streams/stream-player/stream-overview.svelte +239 -0
  214. package/dist/streams/stream-player/stream-overview.svelte.d.ts +17 -0
  215. package/dist/streams/stream-player/stream-player-buffer.svelte.d.ts +25 -0
  216. package/dist/streams/stream-player/stream-player-buffer.svelte.js +84 -0
  217. package/dist/streams/stream-player/stream-player-localization.svelte.d.ts +18 -0
  218. package/dist/streams/stream-player/stream-player-localization.svelte.js +29 -0
  219. package/dist/streams/stream-player/types.d.ts +12 -0
  220. package/dist/streams/stream-player/types.js +1 -0
  221. package/dist/streams/stream-player/ui-manager.svelte.d.ts +17 -0
  222. package/dist/streams/stream-player/ui-manager.svelte.js +26 -0
  223. package/dist/streams/stream-player-modal/cmp.stream-player-modal.svelte +486 -0
  224. package/dist/streams/stream-player-modal/cmp.stream-player-modal.svelte.d.ts +3 -0
  225. package/dist/streams/stream-player-modal/index.d.ts +79 -0
  226. package/dist/streams/stream-player-modal/index.js +78 -0
  227. package/dist/streams/stream-player-modal/stream-player-modal-state.svelte.d.ts +17 -0
  228. package/dist/streams/stream-player-modal/stream-player-modal-state.svelte.js +14 -0
  229. package/dist/ui/button/cmp.button.svelte +10 -0
  230. package/dist/ui/button/cmp.button.svelte.d.ts +16 -0
  231. package/dist/ui/button/index.d.ts +2 -0
  232. package/dist/ui/button/index.js +2 -0
  233. package/dist/ui/button/resources/button-base.svelte +84 -0
  234. package/dist/ui/button/resources/button-base.svelte.d.ts +13 -0
  235. package/dist/ui/button/resources/button-theme.svelte +204 -0
  236. package/dist/ui/button/resources/button-theme.svelte.d.ts +10 -0
  237. package/dist/ui/button/resources/button-types.d.ts +21 -0
  238. package/dist/ui/button/resources/button-types.js +23 -0
  239. package/dist/ui/dynamic-component/cmp.dynamic-component.svelte +5 -0
  240. package/dist/ui/dynamic-component/cmp.dynamic-component.svelte.d.ts +7 -0
  241. package/dist/ui/dynamic-component/index.d.ts +2 -0
  242. package/dist/ui/dynamic-component/index.js +2 -0
  243. package/dist/ui/dynamic-component/types.svelte.d.ts +11 -0
  244. package/dist/ui/dynamic-component/types.svelte.js +13 -0
  245. package/dist/ui/icon/cmp.icon.svelte +113 -0
  246. package/dist/ui/icon/cmp.icon.svelte.d.ts +8 -0
  247. package/dist/ui/icon/index.d.ts +2 -0
  248. package/dist/ui/icon/index.js +2 -0
  249. package/dist/ui/icon/types.d.ts +9 -0
  250. package/dist/ui/icon/types.js +10 -0
  251. package/dist/ui/image/cmp.image-round.svelte +41 -0
  252. package/dist/ui/image/cmp.image-round.svelte.d.ts +11 -0
  253. package/dist/ui/image/cmp.image-rounded.svelte +71 -0
  254. package/dist/ui/image/cmp.image-rounded.svelte.d.ts +11 -0
  255. package/dist/ui/image/cmp.image-stub.svelte +34 -0
  256. package/dist/ui/image/cmp.image-stub.svelte.d.ts +18 -0
  257. package/dist/ui/image/cmp.image.svelte +82 -0
  258. package/dist/ui/image/cmp.image.svelte.d.ts +13 -0
  259. package/dist/ui/image/image-state.d.ts +6 -0
  260. package/dist/ui/image/image-state.js +17 -0
  261. package/dist/ui/image/index.d.ts +4 -0
  262. package/dist/ui/image/index.js +4 -0
  263. package/dist/ui/infinite-scrolling/cmp.infinite-scrolling.svelte +84 -0
  264. package/dist/ui/infinite-scrolling/cmp.infinite-scrolling.svelte.d.ts +11 -0
  265. package/dist/ui/infinite-scrolling/index.d.ts +1 -0
  266. package/dist/ui/infinite-scrolling/index.js +1 -0
  267. package/dist/ui/line-clamp/cmp.line-clamp.svelte +89 -0
  268. package/dist/ui/line-clamp/cmp.line-clamp.svelte.d.ts +12 -0
  269. package/dist/ui/line-clamp/index.d.ts +2 -0
  270. package/dist/ui/line-clamp/index.js +2 -0
  271. package/dist/ui/line-clamp/line-clamp-localization.svelte.d.ts +9 -0
  272. package/dist/ui/line-clamp/line-clamp-localization.svelte.js +15 -0
  273. package/dist/ui/line-clamp/line-clamp-types.d.ts +3 -0
  274. package/dist/ui/line-clamp/line-clamp-types.js +1 -0
  275. package/dist/ui/line-clamp/line-clamp-utils.d.ts +8 -0
  276. package/dist/ui/line-clamp/line-clamp-utils.js +33 -0
  277. package/dist/ui/loading/cmp.loading.svelte +97 -0
  278. package/dist/ui/loading/cmp.loading.svelte.d.ts +9 -0
  279. package/dist/ui/loading/index.d.ts +1 -0
  280. package/dist/ui/loading/index.js +1 -0
  281. package/dist/ui/media-item-view/cmp.media-item-view.svelte +90 -0
  282. package/dist/ui/media-item-view/cmp.media-item-view.svelte.d.ts +12 -0
  283. package/dist/ui/media-item-view/index.d.ts +1 -0
  284. package/dist/ui/media-item-view/index.js +1 -0
  285. package/dist/ui/media-items-gallery/cmp.media-items-gallery.svelte +277 -0
  286. package/dist/ui/media-items-gallery/cmp.media-items-gallery.svelte.d.ts +12 -0
  287. package/dist/ui/media-items-gallery/index.d.ts +1 -0
  288. package/dist/ui/media-items-gallery/index.js +1 -0
  289. package/dist/ui/media-items-gallery/types.d.ts +12 -0
  290. package/dist/ui/media-items-gallery/types.js +35 -0
  291. package/dist/ui/media-playback/index.d.ts +2 -0
  292. package/dist/ui/media-playback/index.js +2 -0
  293. package/dist/ui/media-playback/playback-manager.svelte.d.ts +25 -0
  294. package/dist/ui/media-playback/playback-manager.svelte.js +62 -0
  295. package/dist/ui/media-playback/volume-manager.svelte.d.ts +10 -0
  296. package/dist/ui/media-playback/volume-manager.svelte.js +27 -0
  297. package/dist/ui/player/cmp.player-slider.svelte +161 -0
  298. package/dist/ui/player/cmp.player-slider.svelte.d.ts +33 -0
  299. package/dist/ui/player/index.d.ts +4 -0
  300. package/dist/ui/player/index.js +3 -0
  301. package/dist/ui/player/player-buffer.svelte.d.ts +28 -0
  302. package/dist/ui/player/player-buffer.svelte.js +64 -0
  303. package/dist/ui/player/prevent-slider-scroll.d.ts +5 -0
  304. package/dist/ui/player/prevent-slider-scroll.js +11 -0
  305. package/dist/ui/player/types.d.ts +14 -0
  306. package/dist/ui/player/types.js +1 -0
  307. package/dist/ui/progress/cmp.progress.svelte +37 -0
  308. package/dist/ui/progress/cmp.progress.svelte.d.ts +6 -0
  309. package/dist/ui/progress/index.d.ts +1 -0
  310. package/dist/ui/progress/index.js +1 -0
  311. package/dist/ui/proportional-container/cmp.proportional-container.svelte +39 -0
  312. package/dist/ui/proportional-container/cmp.proportional-container.svelte.d.ts +8 -0
  313. package/dist/ui/proportional-container/index.d.ts +1 -0
  314. package/dist/ui/proportional-container/index.js +1 -0
  315. package/dist/ui/seek-bar/cmp.seek-bar.svelte +63 -0
  316. package/dist/ui/seek-bar/cmp.seek-bar.svelte.d.ts +12 -0
  317. package/dist/ui/seek-bar/index.d.ts +1 -0
  318. package/dist/ui/seek-bar/index.js +1 -0
  319. package/dist/ui/shadow-dom/cmp.shadow-dom.svelte +26 -0
  320. package/dist/ui/shadow-dom/cmp.shadow-dom.svelte.d.ts +7 -0
  321. package/dist/ui/shadow-dom/index.d.ts +1 -0
  322. package/dist/ui/shadow-dom/index.js +1 -0
  323. package/dist/ui/spotlight-layout/cmp.spotlight-layout.svelte +120 -0
  324. package/dist/ui/spotlight-layout/cmp.spotlight-layout.svelte.d.ts +18 -0
  325. package/dist/ui/spotlight-layout/index.d.ts +1 -0
  326. package/dist/ui/spotlight-layout/index.js +1 -0
  327. package/dist/ui/time-ago/cmp.time-ago.svelte +69 -0
  328. package/dist/ui/time-ago/cmp.time-ago.svelte.d.ts +9 -0
  329. package/dist/ui/time-ago/index.d.ts +2 -0
  330. package/dist/ui/time-ago/index.js +1 -0
  331. package/dist/ui/time-ago/time-ago-localization.svelte.d.ts +21 -0
  332. package/dist/ui/time-ago/time-ago-localization.svelte.js +39 -0
  333. package/dist/ui/video/cmp.video.svelte +377 -0
  334. package/dist/ui/video/cmp.video.svelte.d.ts +24 -0
  335. package/dist/ui/video/index.d.ts +1 -0
  336. package/dist/ui/video/index.js +1 -0
  337. package/package.json +89 -0
@@ -0,0 +1,559 @@
1
+ export const StreamPlayerPayloadFragmentDoc = {
2
+ kind: 'Document',
3
+ definitions: [
4
+ {
5
+ kind: 'FragmentDefinition',
6
+ name: { kind: 'Name', value: 'StreamPlayerPayloadFragment' },
7
+ typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Stream' } },
8
+ selectionSet: {
9
+ kind: 'SelectionSet',
10
+ selections: [
11
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
12
+ { kind: 'Field', name: { kind: 'Name', value: 'title' } },
13
+ { kind: 'Field', name: { kind: 'Name', value: 'subTitle' } },
14
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
15
+ { kind: 'Field', name: { kind: 'Name', value: 'publishedAt' } },
16
+ {
17
+ kind: 'Field',
18
+ name: { kind: 'Name', value: 'ownerProfile' },
19
+ selectionSet: {
20
+ kind: 'SelectionSet',
21
+ selections: [
22
+ { kind: 'Field', name: { kind: 'Name', value: 'image' } },
23
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } }
24
+ ]
25
+ }
26
+ },
27
+ {
28
+ kind: 'Field',
29
+ name: { kind: 'Name', value: 'availableFrom' },
30
+ selectionSet: {
31
+ kind: 'SelectionSet',
32
+ selections: [
33
+ { kind: 'Field', name: { kind: 'Name', value: 'image' } },
34
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } }
35
+ ]
36
+ }
37
+ },
38
+ { kind: 'Field', name: { kind: 'Name', value: 'pagesCount' } }
39
+ ]
40
+ }
41
+ }
42
+ ]
43
+ };
44
+ export const GetStreamDocument = {
45
+ kind: 'Document',
46
+ definitions: [
47
+ {
48
+ kind: 'OperationDefinition',
49
+ operation: 'query',
50
+ name: { kind: 'Name', value: 'GetStream' },
51
+ variableDefinitions: [
52
+ {
53
+ kind: 'VariableDefinition',
54
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'id' } },
55
+ type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } }
56
+ }
57
+ ],
58
+ selectionSet: {
59
+ kind: 'SelectionSet',
60
+ selections: [
61
+ {
62
+ kind: 'Field',
63
+ name: { kind: 'Name', value: 'stream' },
64
+ arguments: [
65
+ {
66
+ kind: 'Argument',
67
+ name: { kind: 'Name', value: 'input' },
68
+ value: {
69
+ kind: 'ObjectValue',
70
+ fields: [{ kind: 'ObjectField', name: { kind: 'Name', value: 'id' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'id' } } }]
71
+ }
72
+ }
73
+ ],
74
+ selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'StreamPlayerPayloadFragment' } }] }
75
+ }
76
+ ]
77
+ }
78
+ },
79
+ {
80
+ kind: 'FragmentDefinition',
81
+ name: { kind: 'Name', value: 'StreamPlayerPayloadFragment' },
82
+ typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Stream' } },
83
+ selectionSet: {
84
+ kind: 'SelectionSet',
85
+ selections: [
86
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
87
+ { kind: 'Field', name: { kind: 'Name', value: 'title' } },
88
+ { kind: 'Field', name: { kind: 'Name', value: 'subTitle' } },
89
+ { kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
90
+ { kind: 'Field', name: { kind: 'Name', value: 'publishedAt' } },
91
+ {
92
+ kind: 'Field',
93
+ name: { kind: 'Name', value: 'ownerProfile' },
94
+ selectionSet: {
95
+ kind: 'SelectionSet',
96
+ selections: [
97
+ { kind: 'Field', name: { kind: 'Name', value: 'image' } },
98
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } }
99
+ ]
100
+ }
101
+ },
102
+ {
103
+ kind: 'Field',
104
+ name: { kind: 'Name', value: 'availableFrom' },
105
+ selectionSet: {
106
+ kind: 'SelectionSet',
107
+ selections: [
108
+ { kind: 'Field', name: { kind: 'Name', value: 'image' } },
109
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } }
110
+ ]
111
+ }
112
+ },
113
+ { kind: 'Field', name: { kind: 'Name', value: 'pagesCount' } }
114
+ ]
115
+ }
116
+ }
117
+ ]
118
+ };
119
+ export const GetStreamPagesDocument = {
120
+ kind: 'Document',
121
+ definitions: [
122
+ {
123
+ kind: 'OperationDefinition',
124
+ operation: 'query',
125
+ name: { kind: 'Name', value: 'GetStreamPages' },
126
+ variableDefinitions: [
127
+ {
128
+ kind: 'VariableDefinition',
129
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
130
+ type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'StreamPagesInput' } } }
131
+ },
132
+ {
133
+ kind: 'VariableDefinition',
134
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } },
135
+ type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ImageScale' } } }
136
+ }
137
+ ],
138
+ selectionSet: {
139
+ kind: 'SelectionSet',
140
+ selections: [
141
+ {
142
+ kind: 'Field',
143
+ name: { kind: 'Name', value: 'streamPages' },
144
+ arguments: [{ kind: 'Argument', name: { kind: 'Name', value: 'input' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } } }],
145
+ selectionSet: {
146
+ kind: 'SelectionSet',
147
+ selections: [
148
+ {
149
+ kind: 'Field',
150
+ name: { kind: 'Name', value: 'items' },
151
+ selectionSet: {
152
+ kind: 'SelectionSet',
153
+ selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'StreamPageViewerPayloadFragment' } }]
154
+ }
155
+ },
156
+ { kind: 'Field', name: { kind: 'Name', value: 'continuationToken' } }
157
+ ]
158
+ }
159
+ }
160
+ ]
161
+ }
162
+ },
163
+ {
164
+ kind: 'FragmentDefinition',
165
+ name: { kind: 'Name', value: 'ProductCardPayloadFragment' },
166
+ typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } },
167
+ selectionSet: {
168
+ kind: 'SelectionSet',
169
+ selections: [
170
+ {
171
+ kind: 'Field',
172
+ name: { kind: 'Name', value: 'media' },
173
+ selectionSet: {
174
+ kind: 'SelectionSet',
175
+ selections: [
176
+ {
177
+ kind: 'Field',
178
+ name: { kind: 'Name', value: 'url' },
179
+ arguments: [
180
+ { kind: 'Argument', name: { kind: 'Name', value: 'scale' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } } }
181
+ ]
182
+ },
183
+ {
184
+ kind: 'Field',
185
+ name: { kind: 'Name', value: 'thumbnailUrl' },
186
+ arguments: [
187
+ { kind: 'Argument', name: { kind: 'Name', value: 'scale' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } } }
188
+ ]
189
+ },
190
+ { kind: 'Field', name: { kind: 'Name', value: 'type' } }
191
+ ]
192
+ }
193
+ },
194
+ { kind: 'Field', name: { kind: 'Name', value: 'title' } },
195
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
196
+ { kind: 'Field', name: { kind: 'Name', value: 'link' } },
197
+ {
198
+ kind: 'Field',
199
+ name: { kind: 'Name', value: 'priceAndAvailability' },
200
+ selectionSet: {
201
+ kind: 'SelectionSet',
202
+ selections: [
203
+ { kind: 'Field', name: { kind: 'Name', value: 'currency' } },
204
+ { kind: 'Field', name: { kind: 'Name', value: 'price' } },
205
+ {
206
+ kind: 'Field',
207
+ name: { kind: 'Name', value: 'productSalePrices' },
208
+ selectionSet: {
209
+ kind: 'SelectionSet',
210
+ selections: [
211
+ { kind: 'Field', name: { kind: 'Name', value: 'salePrice' } },
212
+ { kind: 'Field', name: { kind: 'Name', value: 'salePriceEffectiveDateFrom' } },
213
+ { kind: 'Field', name: { kind: 'Name', value: 'salePriceEffectiveDateTo' } }
214
+ ]
215
+ }
216
+ }
217
+ ]
218
+ }
219
+ }
220
+ ]
221
+ }
222
+ },
223
+ {
224
+ kind: 'FragmentDefinition',
225
+ name: { kind: 'Name', value: 'AdViewPayloadFragment' },
226
+ typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Ad' } },
227
+ selectionSet: {
228
+ kind: 'SelectionSet',
229
+ selections: [
230
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
231
+ { kind: 'Field', name: { kind: 'Name', value: 'title' } },
232
+ { kind: 'Field', name: { kind: 'Name', value: 'description' } },
233
+ { kind: 'Field', name: { kind: 'Name', value: 'buttonText' } },
234
+ { kind: 'Field', name: { kind: 'Name', value: 'buttonUrl' } },
235
+ { kind: 'Field', name: { kind: 'Name', value: 'openLinkInNewWindow' } },
236
+ { kind: 'Field', name: { kind: 'Name', value: 'type' } },
237
+ {
238
+ kind: 'Field',
239
+ name: { kind: 'Name', value: 'media' },
240
+ selectionSet: {
241
+ kind: 'SelectionSet',
242
+ selections: [
243
+ { kind: 'Field', name: { kind: 'Name', value: 'type' } },
244
+ {
245
+ kind: 'Field',
246
+ name: { kind: 'Name', value: 'url' },
247
+ arguments: [
248
+ { kind: 'Argument', name: { kind: 'Name', value: 'scale' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } } }
249
+ ]
250
+ },
251
+ {
252
+ kind: 'Field',
253
+ name: { kind: 'Name', value: 'thumbnailUrl' },
254
+ arguments: [
255
+ { kind: 'Argument', name: { kind: 'Name', value: 'scale' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } } }
256
+ ]
257
+ }
258
+ ]
259
+ }
260
+ }
261
+ ]
262
+ }
263
+ },
264
+ {
265
+ kind: 'FragmentDefinition',
266
+ name: { kind: 'Name', value: 'ShortVideoViewerPayloadFragment' },
267
+ typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Post' } },
268
+ selectionSet: {
269
+ kind: 'SelectionSet',
270
+ selections: [
271
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
272
+ { kind: 'Field', name: { kind: 'Name', value: 'enableSocialInteractions' } },
273
+ {
274
+ kind: 'Field',
275
+ name: { kind: 'Name', value: 'postHeading' },
276
+ selectionSet: {
277
+ kind: 'SelectionSet',
278
+ selections: [
279
+ { kind: 'Field', name: { kind: 'Name', value: 'sourceImage' } },
280
+ { kind: 'Field', name: { kind: 'Name', value: 'sourceName' } },
281
+ { kind: 'Field', name: { kind: 'Name', value: 'postDisplayDate' } },
282
+ { kind: 'Field', name: { kind: 'Name', value: 'postViewsCount' } }
283
+ ]
284
+ }
285
+ },
286
+ {
287
+ kind: 'Field',
288
+ name: { kind: 'Name', value: 'allProducts' },
289
+ selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductCardPayloadFragment' } }] }
290
+ },
291
+ {
292
+ kind: 'Field',
293
+ name: { kind: 'Name', value: 'ad' },
294
+ selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'AdViewPayloadFragment' } }] }
295
+ },
296
+ {
297
+ kind: 'Field',
298
+ name: { kind: 'Name', value: 'postData' },
299
+ selectionSet: {
300
+ kind: 'SelectionSet',
301
+ selections: [
302
+ {
303
+ kind: 'Field',
304
+ name: { kind: 'Name', value: 'media' },
305
+ selectionSet: {
306
+ kind: 'SelectionSet',
307
+ selections: [
308
+ {
309
+ kind: 'Field',
310
+ name: { kind: 'Name', value: 'url' },
311
+ arguments: [
312
+ {
313
+ kind: 'Argument',
314
+ name: { kind: 'Name', value: 'scale' },
315
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } }
316
+ }
317
+ ]
318
+ },
319
+ {
320
+ kind: 'Field',
321
+ name: { kind: 'Name', value: 'thumbnailUrl' },
322
+ arguments: [
323
+ {
324
+ kind: 'Argument',
325
+ name: { kind: 'Name', value: 'scale' },
326
+ value: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } }
327
+ }
328
+ ]
329
+ },
330
+ { kind: 'Field', name: { kind: 'Name', value: 'type' } }
331
+ ]
332
+ }
333
+ },
334
+ {
335
+ kind: 'Field',
336
+ name: { kind: 'Name', value: 'shortVideoData' },
337
+ selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'Field', name: { kind: 'Name', value: 'text' } }] }
338
+ }
339
+ ]
340
+ }
341
+ }
342
+ ]
343
+ }
344
+ },
345
+ {
346
+ kind: 'FragmentDefinition',
347
+ name: { kind: 'Name', value: 'ShortVideoStreamComponentDataFragment' },
348
+ typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Post' } },
349
+ selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShortVideoViewerPayloadFragment' } }] }
350
+ },
351
+ {
352
+ kind: 'FragmentDefinition',
353
+ name: { kind: 'Name', value: 'ShortVideoStreamComponentParamsFragment' },
354
+ typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ShortVideoStreamComponentParams' } },
355
+ selectionSet: {
356
+ kind: 'SelectionSet',
357
+ selections: [
358
+ {
359
+ kind: 'Field',
360
+ name: { kind: 'Name', value: 'data' },
361
+ selectionSet: {
362
+ kind: 'SelectionSet',
363
+ selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShortVideoStreamComponentDataFragment' } }]
364
+ }
365
+ }
366
+ ]
367
+ }
368
+ },
369
+ {
370
+ kind: 'FragmentDefinition',
371
+ name: { kind: 'Name', value: 'ImagesStreamComponentParamsFragment' },
372
+ typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ImagesStreamComponentParams' } },
373
+ selectionSet: {
374
+ kind: 'SelectionSet',
375
+ selections: [
376
+ {
377
+ kind: 'Field',
378
+ name: { kind: 'Name', value: 'images' },
379
+ selectionSet: {
380
+ kind: 'SelectionSet',
381
+ selections: [
382
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
383
+ { kind: 'Field', name: { kind: 'Name', value: 'url' } }
384
+ ]
385
+ }
386
+ },
387
+ { kind: 'Field', name: { kind: 'Name', value: 'mode' } }
388
+ ]
389
+ }
390
+ },
391
+ {
392
+ kind: 'FragmentDefinition',
393
+ name: { kind: 'Name', value: 'ProductStreamComponentDataFragment' },
394
+ typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } },
395
+ selectionSet: {
396
+ kind: 'SelectionSet',
397
+ selections: [
398
+ {
399
+ kind: 'Field',
400
+ name: { kind: 'Name', value: 'media' },
401
+ selectionSet: {
402
+ kind: 'SelectionSet',
403
+ selections: [
404
+ { kind: 'Field', name: { kind: 'Name', value: 'url' } },
405
+ { kind: 'Field', name: { kind: 'Name', value: 'thumbnailUrl' } },
406
+ { kind: 'Field', name: { kind: 'Name', value: 'type' } }
407
+ ]
408
+ }
409
+ },
410
+ { kind: 'Field', name: { kind: 'Name', value: 'title' } },
411
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
412
+ { kind: 'Field', name: { kind: 'Name', value: 'link' } },
413
+ {
414
+ kind: 'Field',
415
+ name: { kind: 'Name', value: 'priceAndAvailability' },
416
+ selectionSet: {
417
+ kind: 'SelectionSet',
418
+ selections: [
419
+ { kind: 'Field', name: { kind: 'Name', value: 'currency' } },
420
+ { kind: 'Field', name: { kind: 'Name', value: 'price' } },
421
+ {
422
+ kind: 'Field',
423
+ name: { kind: 'Name', value: 'productSalePrices' },
424
+ selectionSet: {
425
+ kind: 'SelectionSet',
426
+ selections: [
427
+ { kind: 'Field', name: { kind: 'Name', value: 'salePrice' } },
428
+ { kind: 'Field', name: { kind: 'Name', value: 'salePriceEffectiveDateFrom' } },
429
+ { kind: 'Field', name: { kind: 'Name', value: 'salePriceEffectiveDateTo' } }
430
+ ]
431
+ }
432
+ }
433
+ ]
434
+ }
435
+ }
436
+ ]
437
+ }
438
+ },
439
+ {
440
+ kind: 'FragmentDefinition',
441
+ name: { kind: 'Name', value: 'ProductStreamComponentParamsFragment' },
442
+ typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductStreamComponentParams' } },
443
+ selectionSet: {
444
+ kind: 'SelectionSet',
445
+ selections: [
446
+ {
447
+ kind: 'Field',
448
+ name: { kind: 'Name', value: 'data' },
449
+ selectionSet: {
450
+ kind: 'SelectionSet',
451
+ selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductStreamComponentDataFragment' } }]
452
+ }
453
+ }
454
+ ]
455
+ }
456
+ },
457
+ {
458
+ kind: 'FragmentDefinition',
459
+ name: { kind: 'Name', value: 'StreamComponentPayloadFragment' },
460
+ typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'StreamComponent' } },
461
+ selectionSet: {
462
+ kind: 'SelectionSet',
463
+ selections: [
464
+ { kind: 'Field', name: { kind: 'Name', value: 'slotId' } },
465
+ { kind: 'Field', name: { kind: 'Name', value: 'type' } },
466
+ {
467
+ kind: 'Field',
468
+ name: { kind: 'Name', value: 'params' },
469
+ selectionSet: {
470
+ kind: 'SelectionSet',
471
+ selections: [
472
+ {
473
+ kind: 'Field',
474
+ name: { kind: 'Name', value: 'shortVideo' },
475
+ selectionSet: {
476
+ kind: 'SelectionSet',
477
+ selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShortVideoStreamComponentParamsFragment' } }]
478
+ }
479
+ },
480
+ {
481
+ kind: 'Field',
482
+ name: { kind: 'Name', value: 'images' },
483
+ selectionSet: {
484
+ kind: 'SelectionSet',
485
+ selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ImagesStreamComponentParamsFragment' } }]
486
+ }
487
+ },
488
+ {
489
+ kind: 'Field',
490
+ name: { kind: 'Name', value: 'product' },
491
+ selectionSet: {
492
+ kind: 'SelectionSet',
493
+ selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductStreamComponentParamsFragment' } }]
494
+ }
495
+ }
496
+ ]
497
+ }
498
+ }
499
+ ]
500
+ }
501
+ },
502
+ {
503
+ kind: 'FragmentDefinition',
504
+ name: { kind: 'Name', value: 'StreamComponentSlotFragment' },
505
+ typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'StreamComponentSlot' } },
506
+ selectionSet: {
507
+ kind: 'SelectionSet',
508
+ selections: [
509
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
510
+ { kind: 'Field', name: { kind: 'Name', value: 'allowedComponents' } },
511
+ { kind: 'Field', name: { kind: 'Name', value: 'top' } },
512
+ { kind: 'Field', name: { kind: 'Name', value: 'left' } },
513
+ { kind: 'Field', name: { kind: 'Name', value: 'width' } },
514
+ { kind: 'Field', name: { kind: 'Name', value: 'height' } },
515
+ {
516
+ kind: 'Field',
517
+ name: { kind: 'Name', value: 'styles' },
518
+ selectionSet: {
519
+ kind: 'SelectionSet',
520
+ selections: [
521
+ { kind: 'Field', name: { kind: 'Name', value: 'paddingTop' } },
522
+ { kind: 'Field', name: { kind: 'Name', value: 'paddingRight' } },
523
+ { kind: 'Field', name: { kind: 'Name', value: 'paddingBottom' } },
524
+ { kind: 'Field', name: { kind: 'Name', value: 'paddingLeft' } }
525
+ ]
526
+ }
527
+ }
528
+ ]
529
+ }
530
+ },
531
+ {
532
+ kind: 'FragmentDefinition',
533
+ name: { kind: 'Name', value: 'StreamPageViewerPayloadFragment' },
534
+ typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'StreamPage' } },
535
+ selectionSet: {
536
+ kind: 'SelectionSet',
537
+ selections: [
538
+ { kind: 'Field', name: { kind: 'Name', value: 'id' } },
539
+ {
540
+ kind: 'Field',
541
+ name: { kind: 'Name', value: 'cover' },
542
+ selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'Field', name: { kind: 'Name', value: 'url' } }] }
543
+ },
544
+ { kind: 'Field', name: { kind: 'Name', value: 'name' } },
545
+ {
546
+ kind: 'Field',
547
+ name: { kind: 'Name', value: 'components' },
548
+ selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'StreamComponentPayloadFragment' } }] }
549
+ },
550
+ {
551
+ kind: 'Field',
552
+ name: { kind: 'Name', value: 'slots' },
553
+ selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'StreamComponentSlotFragment' } }] }
554
+ }
555
+ ]
556
+ }
557
+ }
558
+ ]
559
+ };
@@ -0,0 +1,32 @@
1
+ query GetStream($id: String!) {
2
+ stream(input: { id: $id }) {
3
+ ...StreamPlayerPayloadFragment
4
+ }
5
+ }
6
+
7
+ # noinspection GraphQLSchemaValidation
8
+ query GetStreamPages($input: StreamPagesInput!, $image_scale: ImageScale!) {
9
+ streamPages(input: $input) {
10
+ items {
11
+ ...StreamPageViewerPayloadFragment
12
+ }
13
+ continuationToken
14
+ }
15
+ }
16
+
17
+ fragment StreamPlayerPayloadFragment on Stream {
18
+ id
19
+ title
20
+ subTitle
21
+ createdAt
22
+ publishedAt
23
+ ownerProfile {
24
+ image
25
+ name
26
+ }
27
+ availableFrom {
28
+ image
29
+ name
30
+ }
31
+ pagesCount
32
+ }