@streamscloud/embeddable 1.2.0 → 2.0.0

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 (247) hide show
  1. package/dist/core/enums.d.ts +33 -0
  2. package/dist/core/enums.js +39 -0
  3. package/dist/core/graphql.d.ts +1 -1
  4. package/dist/core/graphql.js +2 -2
  5. package/dist/core/media/images-size-detector.service.d.ts +1 -1
  6. package/dist/core/media/images-size-detector.service.js +1 -1
  7. package/dist/core/media/index.d.ts +1 -1
  8. package/dist/core/media/index.js +1 -1
  9. package/dist/core/media/media-item-url.service.js +2 -1
  10. package/dist/core/media/types.d.ts +1 -16
  11. package/dist/core/media/types.js +1 -19
  12. package/dist/index.d.ts +1 -3
  13. package/dist/index.js +1 -3
  14. package/dist/products/price-helper.d.ts +2 -2
  15. package/dist/products/price-helper.js +20 -9
  16. package/dist/short-videos/short-video-viewer/cmp.ad.svelte +74 -0
  17. package/dist/{advertising/ad-view/cmp.ad-view.svelte.d.ts → short-videos/short-video-viewer/cmp.ad.svelte.d.ts} +2 -3
  18. package/dist/short-videos/short-video-viewer/cmp.attachments-inline.svelte +70 -0
  19. package/dist/{streams/components/images/cmp.images-component.svelte.d.ts → short-videos/short-video-viewer/cmp.attachments-inline.svelte.d.ts} +2 -2
  20. package/dist/short-videos/short-video-viewer/cmp.attachments.svelte +45 -48
  21. package/dist/short-videos/short-video-viewer/cmp.attachments.svelte.d.ts +4 -2
  22. package/dist/{streams/components/product/cmp.product-component.svelte → short-videos/short-video-viewer/cmp.product.svelte} +34 -26
  23. package/dist/short-videos/short-video-viewer/cmp.product.svelte.d.ts +10 -0
  24. package/dist/short-videos/short-video-viewer/cmp.short-video-details.svelte +31 -52
  25. package/dist/short-videos/short-video-viewer/cmp.short-video-details.svelte.d.ts +1 -1
  26. package/dist/short-videos/short-video-viewer/cmp.short-video-viewer.svelte +6 -6
  27. package/dist/short-videos/short-video-viewer/index.d.ts +6 -3
  28. package/dist/short-videos/short-video-viewer/index.js +4 -2
  29. package/dist/short-videos/short-video-viewer/mapper.js +35 -7
  30. package/dist/short-videos/short-video-viewer/operations.generated.d.ts +1 -1
  31. package/dist/short-videos/short-video-viewer/operations.generated.js +67 -103
  32. package/dist/short-videos/short-video-viewer/operations.graphql +29 -2
  33. package/dist/short-videos/short-video-viewer/short-video-attachments-localization.svelte.d.ts +12 -0
  34. package/dist/short-videos/short-video-viewer/short-video-attachments-localization.svelte.js +10 -0
  35. package/dist/short-videos/short-video-viewer/short-video-details-localization.svelte.d.ts +3 -4
  36. package/dist/short-videos/short-video-viewer/short-video-details-localization.svelte.js +4 -15
  37. package/dist/short-videos/short-video-viewer/short-video-product-localization.svelte.d.ts +7 -0
  38. package/dist/{products/product-card/product-card-localization.svelte.js → short-videos/short-video-viewer/short-video-product-localization.svelte.js} +1 -1
  39. package/dist/short-videos/short-video-viewer/short-video-viewer-localization.svelte.d.ts +3 -0
  40. package/dist/short-videos/short-video-viewer/short-video-viewer-localization.svelte.js +4 -7
  41. package/dist/short-videos/short-video-viewer/types.d.ts +29 -6
  42. package/dist/short-videos/short-videos-player/cmp.short-videos-player.svelte +4 -4
  43. package/dist/short-videos/short-videos-player/cmp.short-videos-player.svelte.d.ts +2 -2
  44. package/dist/short-videos/short-videos-player/controls.svelte +42 -35
  45. package/dist/short-videos/short-videos-player/controls.svelte.d.ts +1 -1
  46. package/dist/short-videos/short-videos-player/index.d.ts +28 -2
  47. package/dist/short-videos/short-videos-player/index.js +40 -1
  48. package/dist/short-videos/short-videos-player/short-videos-player-localization.svelte.d.ts +3 -9
  49. package/dist/short-videos/short-videos-player/short-videos-player-localization.svelte.js +2 -17
  50. package/dist/streams/layout/cmp.layout.svelte +34 -0
  51. package/dist/streams/{slots/cmp.stream-component-slot.svelte.d.ts → layout/cmp.layout.svelte.d.ts} +2 -2
  52. package/dist/streams/layout/cmp.slot-content.svelte +32 -0
  53. package/dist/streams/layout/cmp.slot-content.svelte.d.ts +9 -0
  54. package/dist/streams/layout/cmp.slot.svelte +26 -0
  55. package/dist/streams/layout/cmp.slot.svelte.d.ts +9 -0
  56. package/dist/streams/layout/component.d.ts +6 -0
  57. package/dist/streams/layout/component.js +1 -0
  58. package/dist/streams/layout/css-values.d.ts +10 -0
  59. package/dist/streams/layout/css-values.js +1 -0
  60. package/dist/streams/layout/element-views/cmp.container-stream-element.svelte +16 -0
  61. package/dist/streams/layout/element-views/cmp.container-stream-element.svelte.d.ts +11 -0
  62. package/dist/streams/layout/element-views/cmp.image-ref-stream-element.svelte +38 -0
  63. package/dist/streams/layout/element-views/cmp.image-ref-stream-element.svelte.d.ts +9 -0
  64. package/dist/streams/layout/element-views/cmp.images-stream-element.svelte +30 -0
  65. package/dist/streams/layout/element-views/cmp.images-stream-element.svelte.d.ts +9 -0
  66. package/dist/streams/layout/element-views/cmp.price-stream-element.svelte +97 -0
  67. package/dist/streams/layout/element-views/cmp.price-stream-element.svelte.d.ts +11 -0
  68. package/dist/streams/layout/element-views/cmp.short-video-stream-element.svelte +6 -0
  69. package/dist/streams/{components/product/cmp.product-component.svelte.d.ts → layout/element-views/cmp.short-video-stream-element.svelte.d.ts} +2 -3
  70. package/dist/streams/layout/element-views/cmp.spacer-stream-element.svelte +45 -0
  71. package/dist/streams/layout/element-views/cmp.spacer-stream-element.svelte.d.ts +9 -0
  72. package/dist/streams/layout/element-views/cmp.stream-element.svelte +60 -0
  73. package/dist/streams/layout/element-views/cmp.stream-element.svelte.d.ts +13 -0
  74. package/dist/streams/layout/element-views/cmp.text-ref-stream-element.svelte +23 -0
  75. package/dist/streams/layout/element-views/cmp.text-ref-stream-element.svelte.d.ts +9 -0
  76. package/dist/streams/layout/element-views/cmp.text-stream-element.svelte +8 -0
  77. package/dist/{ui/shadow-dom/cmp.shadow-dom.svelte.d.ts → streams/layout/element-views/cmp.text-stream-element.svelte.d.ts} +2 -2
  78. package/dist/streams/layout/element-views/data-by-key-accessor.d.ts +3 -0
  79. package/dist/streams/layout/element-views/data-by-key-accessor.js +55 -0
  80. package/dist/streams/layout/element-views/index.d.ts +11 -0
  81. package/dist/streams/layout/element-views/index.js +9 -0
  82. package/dist/streams/layout/element-views/price-stream-element-localization.svelte.d.ts +9 -0
  83. package/dist/streams/layout/element-views/price-stream-element-localization.svelte.js +8 -0
  84. package/dist/streams/layout/element-views/stream-element-localization.svelte.d.ts +8 -0
  85. package/dist/streams/layout/element-views/stream-element-localization.svelte.js +6 -0
  86. package/dist/streams/layout/elements.d.ts +51 -0
  87. package/dist/streams/layout/elements.js +1 -0
  88. package/dist/streams/layout/enums.d.ts +45 -0
  89. package/dist/streams/layout/enums.js +54 -0
  90. package/dist/streams/layout/index.d.ts +19 -0
  91. package/dist/streams/layout/index.js +15 -0
  92. package/dist/streams/layout/layout.d.ts +13 -0
  93. package/dist/streams/layout/models/index.d.ts +6 -0
  94. package/dist/streams/layout/models/index.js +1 -0
  95. package/dist/streams/layout/models/mapper.d.ts +3 -0
  96. package/dist/streams/layout/models/mapper.js +62 -0
  97. package/dist/streams/layout/models/stream-layout-blob-model.d.ts +4 -0
  98. package/dist/streams/layout/models/stream-layout-media-item-model.d.ts +6 -0
  99. package/dist/streams/layout/models/stream-layout-media-item-model.js +1 -0
  100. package/dist/streams/layout/models/stream-layout-post-header-model.d.ts +11 -0
  101. package/dist/streams/layout/models/stream-layout-post-header-model.js +1 -0
  102. package/dist/streams/layout/models/stream-layout-product-model.d.ts +19 -0
  103. package/dist/streams/layout/models/stream-layout-product-model.js +1 -0
  104. package/dist/streams/layout/models/stream-layout-short-video-model.d.ts +31 -0
  105. package/dist/streams/layout/models/stream-layout-short-video-model.js +1 -0
  106. package/dist/streams/layout/serializer.d.ts +3 -0
  107. package/dist/streams/layout/serializer.js +6 -0
  108. package/dist/streams/layout/slot-data-input.d.ts +14 -0
  109. package/dist/streams/layout/slot-data-input.js +1 -0
  110. package/dist/streams/layout/slot-data.d.ts +18 -0
  111. package/dist/streams/layout/slot-data.js +1 -0
  112. package/dist/streams/layout/slot.d.ts +16 -0
  113. package/dist/streams/layout/slot.js +1 -0
  114. package/dist/streams/layout/styles-transformer.d.ts +13 -0
  115. package/dist/streams/layout/styles-transformer.js +140 -0
  116. package/dist/streams/layout/styles.d.ts +43 -0
  117. package/dist/streams/layout/styles.js +1 -0
  118. package/dist/streams/layout/type-guards.d.ts +8 -0
  119. package/dist/streams/layout/type-guards.js +21 -0
  120. package/dist/streams/stream-page-viewer/cmp.stream-page-viewer.svelte +8 -42
  121. package/dist/streams/stream-page-viewer/cmp.stream-page-viewer.svelte.d.ts +0 -2
  122. package/dist/streams/stream-page-viewer/mapper.d.ts +1 -1
  123. package/dist/streams/stream-page-viewer/mapper.js +7 -8
  124. package/dist/streams/stream-page-viewer/operations.generated.d.ts +1 -104
  125. package/dist/streams/stream-page-viewer/operations.generated.js +2 -375
  126. package/dist/streams/stream-page-viewer/operations.graphql +1 -6
  127. package/dist/streams/stream-page-viewer/stream-page-viewer-localization.svelte.d.ts +3 -0
  128. package/dist/streams/stream-page-viewer/stream-page-viewer-localization.svelte.js +4 -7
  129. package/dist/streams/stream-page-viewer/types.d.ts +5 -5
  130. package/dist/streams/stream-player/cmp.stream-player.svelte +7 -3
  131. package/dist/streams/stream-player/controls.svelte +43 -35
  132. package/dist/streams/stream-player/index.d.ts +29 -2
  133. package/dist/streams/stream-player/index.js +44 -1
  134. package/dist/streams/stream-player/operations.generated.d.ts +1 -103
  135. package/dist/streams/stream-player/operations.generated.js +2 -375
  136. package/dist/streams/stream-player/stream-overview.svelte +2 -2
  137. package/dist/streams/stream-player/stream-player-buffer.svelte.d.ts +1 -1
  138. package/dist/streams/stream-player/stream-player-buffer.svelte.js +1 -1
  139. package/dist/streams/stream-player/stream-player-localization.svelte.d.ts +3 -9
  140. package/dist/streams/stream-player/stream-player-localization.svelte.js +4 -23
  141. package/dist/ui/media-item-view/cmp.media-item-view.svelte +2 -1
  142. package/dist/ui/media-item-view/cmp.media-item-view.svelte.d.ts +2 -1
  143. package/dist/ui/media-items-gallery/cmp.media-items-gallery.svelte +2 -1
  144. package/dist/ui/media-items-gallery/cmp.media-items-gallery.svelte.d.ts +2 -1
  145. package/dist/ui/shadow-dom/_normalize.scss +350 -0
  146. package/dist/ui/shadow-dom/_reset.scss +189 -0
  147. package/dist/ui/shadow-dom/index.d.ts +1 -1
  148. package/dist/ui/shadow-dom/index.js +1 -1
  149. package/dist/ui/shadow-dom/shadow-host.svelte.d.ts +8 -0
  150. package/dist/ui/shadow-dom/shadow-host.svelte.js +39 -0
  151. package/dist/ui/video/cmp.video.svelte +1 -1
  152. package/package.json +68 -26
  153. package/dist/advertising/ad-view/cmp.ad-view.svelte +0 -82
  154. package/dist/advertising/ad-view/index.d.ts +0 -2
  155. package/dist/advertising/ad-view/index.js +0 -1
  156. package/dist/advertising/ad-view/mapper.d.ts +0 -3
  157. package/dist/advertising/ad-view/mapper.js +0 -16
  158. package/dist/advertising/ad-view/operations.generated.d.ts +0 -17
  159. package/dist/advertising/ad-view/operations.generated.js +0 -46
  160. package/dist/advertising/ad-view/operations.graphql +0 -14
  161. package/dist/advertising/ad-view/types.d.ts +0 -10
  162. package/dist/advertising/index.d.ts +0 -1
  163. package/dist/advertising/index.js +0 -1
  164. package/dist/advertising/types.d.ts +0 -5
  165. package/dist/advertising/types.js +0 -6
  166. package/dist/products/index.d.ts +0 -1
  167. package/dist/products/index.js +0 -1
  168. package/dist/products/product-card/cmp.product-card.svelte +0 -121
  169. package/dist/products/product-card/cmp.product-card.svelte.d.ts +0 -10
  170. package/dist/products/product-card/index.d.ts +0 -3
  171. package/dist/products/product-card/index.js +0 -3
  172. package/dist/products/product-card/mapper.d.ts +0 -3
  173. package/dist/products/product-card/mapper.js +0 -14
  174. package/dist/products/product-card/operations.generated.d.ts +0 -22
  175. package/dist/products/product-card/operations.generated.js +0 -65
  176. package/dist/products/product-card/operations.graphql +0 -19
  177. package/dist/products/product-card/product-card-localization.svelte.d.ts +0 -7
  178. package/dist/products/product-card/types.d.ts +0 -10
  179. package/dist/products/product-card/types.js +0 -1
  180. package/dist/products/types.d.ts +0 -5
  181. package/dist/products/types.js +0 -6
  182. package/dist/short-videos/short-videos-player-modal/cmp.short-videos-player-modal.svelte +0 -486
  183. package/dist/short-videos/short-videos-player-modal/cmp.short-videos-player-modal.svelte.d.ts +0 -3
  184. package/dist/short-videos/short-videos-player-modal/index.d.ts +0 -79
  185. package/dist/short-videos/short-videos-player-modal/index.js +0 -78
  186. package/dist/short-videos/short-videos-player-modal/short-videos-player-modal-state.svelte.d.ts +0 -16
  187. package/dist/short-videos/short-videos-player-modal/short-videos-player-modal-state.svelte.js +0 -13
  188. package/dist/streams/components/cmp.stream-page-component.svelte +0 -16
  189. package/dist/streams/components/cmp.stream-page-component.svelte.d.ts +0 -10
  190. package/dist/streams/components/components.factory.d.ts +0 -22
  191. package/dist/streams/components/components.factory.js +0 -34
  192. package/dist/streams/components/images/cmp.images-component.svelte +0 -7
  193. package/dist/streams/components/images/index.d.ts +0 -2
  194. package/dist/streams/components/images/index.js +0 -1
  195. package/dist/streams/components/images/types.d.ts +0 -8
  196. package/dist/streams/components/images/types.js +0 -5
  197. package/dist/streams/components/index.d.ts +0 -7
  198. package/dist/streams/components/index.js +0 -6
  199. package/dist/streams/components/mapper.d.ts +0 -3
  200. package/dist/streams/components/mapper.js +0 -43
  201. package/dist/streams/components/operations.generated.d.ts +0 -178
  202. package/dist/streams/components/operations.generated.js +0 -653
  203. package/dist/streams/components/operations.graphql +0 -35
  204. package/dist/streams/components/product/index.d.ts +0 -3
  205. package/dist/streams/components/product/index.js +0 -2
  206. package/dist/streams/components/product/mapper.d.ts +0 -3
  207. package/dist/streams/components/product/mapper.js +0 -14
  208. package/dist/streams/components/product/operations.generated.d.ts +0 -22
  209. package/dist/streams/components/product/operations.generated.js +0 -53
  210. package/dist/streams/components/product/operations.graphql +0 -19
  211. package/dist/streams/components/product/types.d.ts +0 -10
  212. package/dist/streams/components/product/types.js +0 -1
  213. package/dist/streams/components/short-video/cmp.short-video-component.svelte +0 -9
  214. package/dist/streams/components/short-video/cmp.short-video-component.svelte.d.ts +0 -10
  215. package/dist/streams/components/short-video/index.d.ts +0 -3
  216. package/dist/streams/components/short-video/index.js +0 -2
  217. package/dist/streams/components/short-video/mapper.d.ts +0 -3
  218. package/dist/streams/components/short-video/mapper.js +0 -4
  219. package/dist/streams/components/short-video/operations.generated.d.ts +0 -56
  220. package/dist/streams/components/short-video/operations.generated.js +0 -193
  221. package/dist/streams/components/short-video/operations.graphql +0 -3
  222. package/dist/streams/components/short-video/types.d.ts +0 -2
  223. package/dist/streams/components/stream-components-localization.svelte.d.ts +0 -10
  224. package/dist/streams/components/stream-components-localization.svelte.js +0 -13
  225. package/dist/streams/components/types.d.ts +0 -27
  226. package/dist/streams/components/types.js +0 -6
  227. package/dist/streams/slots/cmp.stream-component-slot.svelte +0 -35
  228. package/dist/streams/slots/index.d.ts +0 -3
  229. package/dist/streams/slots/index.js +0 -2
  230. package/dist/streams/slots/mapper.d.ts +0 -3
  231. package/dist/streams/slots/mapper.js +0 -18
  232. package/dist/streams/slots/operations.generated.d.ts +0 -17
  233. package/dist/streams/slots/operations.generated.js +0 -34
  234. package/dist/streams/slots/operations.graphql +0 -14
  235. package/dist/streams/slots/styles-transformer.d.ts +0 -6
  236. package/dist/streams/slots/styles-transformer.js +0 -12
  237. package/dist/streams/slots/types.d.ts +0 -16
  238. package/dist/streams/slots/types.js +0 -1
  239. package/dist/streams/stream-player-modal/cmp.stream-player-modal.svelte +0 -487
  240. package/dist/streams/stream-player-modal/cmp.stream-player-modal.svelte.d.ts +0 -3
  241. package/dist/streams/stream-player-modal/index.d.ts +0 -79
  242. package/dist/streams/stream-player-modal/index.js +0 -78
  243. package/dist/streams/stream-player-modal/stream-player-modal-state.svelte.d.ts +0 -17
  244. package/dist/streams/stream-player-modal/stream-player-modal-state.svelte.js +0 -14
  245. package/dist/ui/shadow-dom/cmp.shadow-dom.svelte +0 -26
  246. /package/dist/{advertising/ad-view/types.js → streams/layout/layout.js} +0 -0
  247. /package/dist/streams/{components/short-video/types.js → layout/models/stream-layout-blob-model.js} +0 -0
@@ -1,653 +0,0 @@
1
- export const ShortVideoStreamComponentParamsFragmentDoc = {
2
- kind: 'Document',
3
- definitions: [
4
- {
5
- kind: 'FragmentDefinition',
6
- name: { kind: 'Name', value: 'ShortVideoStreamComponentParamsFragment' },
7
- typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ShortVideoStreamComponentParams' } },
8
- selectionSet: {
9
- kind: 'SelectionSet',
10
- selections: [
11
- {
12
- kind: 'Field',
13
- name: { kind: 'Name', value: 'data' },
14
- selectionSet: {
15
- kind: 'SelectionSet',
16
- selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShortVideoStreamComponentDataFragment' } }]
17
- }
18
- }
19
- ]
20
- }
21
- },
22
- {
23
- kind: 'FragmentDefinition',
24
- name: { kind: 'Name', value: 'ProductCardPayloadFragment' },
25
- typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } },
26
- selectionSet: {
27
- kind: 'SelectionSet',
28
- selections: [
29
- {
30
- kind: 'Field',
31
- name: { kind: 'Name', value: 'media' },
32
- selectionSet: {
33
- kind: 'SelectionSet',
34
- selections: [
35
- {
36
- kind: 'Field',
37
- name: { kind: 'Name', value: 'url' },
38
- arguments: [
39
- { kind: 'Argument', name: { kind: 'Name', value: 'scale' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } } }
40
- ]
41
- },
42
- {
43
- kind: 'Field',
44
- name: { kind: 'Name', value: 'thumbnailUrl' },
45
- arguments: [
46
- { kind: 'Argument', name: { kind: 'Name', value: 'scale' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } } }
47
- ]
48
- },
49
- { kind: 'Field', name: { kind: 'Name', value: 'type' } }
50
- ]
51
- }
52
- },
53
- { kind: 'Field', name: { kind: 'Name', value: 'title' } },
54
- { kind: 'Field', name: { kind: 'Name', value: 'id' } },
55
- { kind: 'Field', name: { kind: 'Name', value: 'link' } },
56
- {
57
- kind: 'Field',
58
- name: { kind: 'Name', value: 'priceAndAvailability' },
59
- selectionSet: {
60
- kind: 'SelectionSet',
61
- selections: [
62
- { kind: 'Field', name: { kind: 'Name', value: 'currency' } },
63
- { kind: 'Field', name: { kind: 'Name', value: 'price' } },
64
- {
65
- kind: 'Field',
66
- name: { kind: 'Name', value: 'productSalePrices' },
67
- selectionSet: {
68
- kind: 'SelectionSet',
69
- selections: [
70
- { kind: 'Field', name: { kind: 'Name', value: 'salePrice' } },
71
- { kind: 'Field', name: { kind: 'Name', value: 'salePriceEffectiveDateFrom' } },
72
- { kind: 'Field', name: { kind: 'Name', value: 'salePriceEffectiveDateTo' } }
73
- ]
74
- }
75
- }
76
- ]
77
- }
78
- }
79
- ]
80
- }
81
- },
82
- {
83
- kind: 'FragmentDefinition',
84
- name: { kind: 'Name', value: 'AdViewPayloadFragment' },
85
- typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Ad' } },
86
- selectionSet: {
87
- kind: 'SelectionSet',
88
- selections: [
89
- { kind: 'Field', name: { kind: 'Name', value: 'id' } },
90
- { kind: 'Field', name: { kind: 'Name', value: 'title' } },
91
- { kind: 'Field', name: { kind: 'Name', value: 'description' } },
92
- { kind: 'Field', name: { kind: 'Name', value: 'buttonText' } },
93
- { kind: 'Field', name: { kind: 'Name', value: 'buttonUrl' } },
94
- { kind: 'Field', name: { kind: 'Name', value: 'openLinkInNewWindow' } },
95
- { kind: 'Field', name: { kind: 'Name', value: 'type' } },
96
- {
97
- kind: 'Field',
98
- name: { kind: 'Name', value: 'media' },
99
- selectionSet: {
100
- kind: 'SelectionSet',
101
- selections: [
102
- { kind: 'Field', name: { kind: 'Name', value: 'type' } },
103
- {
104
- kind: 'Field',
105
- name: { kind: 'Name', value: 'url' },
106
- arguments: [
107
- { kind: 'Argument', name: { kind: 'Name', value: 'scale' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } } }
108
- ]
109
- },
110
- {
111
- kind: 'Field',
112
- name: { kind: 'Name', value: 'thumbnailUrl' },
113
- arguments: [
114
- { kind: 'Argument', name: { kind: 'Name', value: 'scale' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } } }
115
- ]
116
- }
117
- ]
118
- }
119
- }
120
- ]
121
- }
122
- },
123
- {
124
- kind: 'FragmentDefinition',
125
- name: { kind: 'Name', value: 'ShortVideoViewerPayloadFragment' },
126
- typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Post' } },
127
- selectionSet: {
128
- kind: 'SelectionSet',
129
- selections: [
130
- { kind: 'Field', name: { kind: 'Name', value: 'id' } },
131
- { kind: 'Field', name: { kind: 'Name', value: 'enableSocialInteractions' } },
132
- {
133
- kind: 'Field',
134
- name: { kind: 'Name', value: 'postHeading' },
135
- selectionSet: {
136
- kind: 'SelectionSet',
137
- selections: [
138
- { kind: 'Field', name: { kind: 'Name', value: 'sourceImage' } },
139
- { kind: 'Field', name: { kind: 'Name', value: 'sourceName' } },
140
- { kind: 'Field', name: { kind: 'Name', value: 'postDisplayDate' } },
141
- { kind: 'Field', name: { kind: 'Name', value: 'postViewsCount' } }
142
- ]
143
- }
144
- },
145
- {
146
- kind: 'Field',
147
- name: { kind: 'Name', value: 'allProducts' },
148
- selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductCardPayloadFragment' } }] }
149
- },
150
- {
151
- kind: 'Field',
152
- name: { kind: 'Name', value: 'ad' },
153
- selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'AdViewPayloadFragment' } }] }
154
- },
155
- {
156
- kind: 'Field',
157
- name: { kind: 'Name', value: 'postData' },
158
- selectionSet: {
159
- kind: 'SelectionSet',
160
- selections: [
161
- {
162
- kind: 'Field',
163
- name: { kind: 'Name', value: 'media' },
164
- selectionSet: {
165
- kind: 'SelectionSet',
166
- selections: [
167
- {
168
- kind: 'Field',
169
- name: { kind: 'Name', value: 'url' },
170
- arguments: [
171
- {
172
- kind: 'Argument',
173
- name: { kind: 'Name', value: 'scale' },
174
- value: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } }
175
- }
176
- ]
177
- },
178
- {
179
- kind: 'Field',
180
- name: { kind: 'Name', value: 'thumbnailUrl' },
181
- arguments: [
182
- {
183
- kind: 'Argument',
184
- name: { kind: 'Name', value: 'scale' },
185
- value: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } }
186
- }
187
- ]
188
- },
189
- { kind: 'Field', name: { kind: 'Name', value: 'type' } }
190
- ]
191
- }
192
- },
193
- {
194
- kind: 'Field',
195
- name: { kind: 'Name', value: 'shortVideoData' },
196
- selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'Field', name: { kind: 'Name', value: 'text' } }] }
197
- }
198
- ]
199
- }
200
- }
201
- ]
202
- }
203
- },
204
- {
205
- kind: 'FragmentDefinition',
206
- name: { kind: 'Name', value: 'ShortVideoStreamComponentDataFragment' },
207
- typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Post' } },
208
- selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShortVideoViewerPayloadFragment' } }] }
209
- }
210
- ]
211
- };
212
- export const ImagesStreamComponentParamsFragmentDoc = {
213
- kind: 'Document',
214
- definitions: [
215
- {
216
- kind: 'FragmentDefinition',
217
- name: { kind: 'Name', value: 'ImagesStreamComponentParamsFragment' },
218
- typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ImagesStreamComponentParams' } },
219
- selectionSet: {
220
- kind: 'SelectionSet',
221
- selections: [
222
- {
223
- kind: 'Field',
224
- name: { kind: 'Name', value: 'images' },
225
- selectionSet: {
226
- kind: 'SelectionSet',
227
- selections: [
228
- { kind: 'Field', name: { kind: 'Name', value: 'id' } },
229
- { kind: 'Field', name: { kind: 'Name', value: 'url' } }
230
- ]
231
- }
232
- },
233
- { kind: 'Field', name: { kind: 'Name', value: 'mode' } }
234
- ]
235
- }
236
- }
237
- ]
238
- };
239
- export const ProductStreamComponentParamsFragmentDoc = {
240
- kind: 'Document',
241
- definitions: [
242
- {
243
- kind: 'FragmentDefinition',
244
- name: { kind: 'Name', value: 'ProductStreamComponentParamsFragment' },
245
- typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductStreamComponentParams' } },
246
- selectionSet: {
247
- kind: 'SelectionSet',
248
- selections: [
249
- {
250
- kind: 'Field',
251
- name: { kind: 'Name', value: 'data' },
252
- selectionSet: {
253
- kind: 'SelectionSet',
254
- selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductStreamComponentDataFragment' } }]
255
- }
256
- }
257
- ]
258
- }
259
- },
260
- {
261
- kind: 'FragmentDefinition',
262
- name: { kind: 'Name', value: 'ProductStreamComponentDataFragment' },
263
- typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } },
264
- selectionSet: {
265
- kind: 'SelectionSet',
266
- selections: [
267
- {
268
- kind: 'Field',
269
- name: { kind: 'Name', value: 'media' },
270
- selectionSet: {
271
- kind: 'SelectionSet',
272
- selections: [
273
- { kind: 'Field', name: { kind: 'Name', value: 'url' } },
274
- { kind: 'Field', name: { kind: 'Name', value: 'thumbnailUrl' } },
275
- { kind: 'Field', name: { kind: 'Name', value: 'type' } }
276
- ]
277
- }
278
- },
279
- { kind: 'Field', name: { kind: 'Name', value: 'title' } },
280
- { kind: 'Field', name: { kind: 'Name', value: 'id' } },
281
- { kind: 'Field', name: { kind: 'Name', value: 'link' } },
282
- {
283
- kind: 'Field',
284
- name: { kind: 'Name', value: 'priceAndAvailability' },
285
- selectionSet: {
286
- kind: 'SelectionSet',
287
- selections: [
288
- { kind: 'Field', name: { kind: 'Name', value: 'currency' } },
289
- { kind: 'Field', name: { kind: 'Name', value: 'price' } },
290
- {
291
- kind: 'Field',
292
- name: { kind: 'Name', value: 'productSalePrices' },
293
- selectionSet: {
294
- kind: 'SelectionSet',
295
- selections: [
296
- { kind: 'Field', name: { kind: 'Name', value: 'salePrice' } },
297
- { kind: 'Field', name: { kind: 'Name', value: 'salePriceEffectiveDateFrom' } },
298
- { kind: 'Field', name: { kind: 'Name', value: 'salePriceEffectiveDateTo' } }
299
- ]
300
- }
301
- }
302
- ]
303
- }
304
- }
305
- ]
306
- }
307
- }
308
- ]
309
- };
310
- export const StreamComponentPayloadFragmentDoc = {
311
- kind: 'Document',
312
- definitions: [
313
- {
314
- kind: 'FragmentDefinition',
315
- name: { kind: 'Name', value: 'StreamComponentPayloadFragment' },
316
- typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'StreamComponent' } },
317
- selectionSet: {
318
- kind: 'SelectionSet',
319
- selections: [
320
- { kind: 'Field', name: { kind: 'Name', value: 'slotId' } },
321
- { kind: 'Field', name: { kind: 'Name', value: 'type' } },
322
- {
323
- kind: 'Field',
324
- name: { kind: 'Name', value: 'params' },
325
- selectionSet: {
326
- kind: 'SelectionSet',
327
- selections: [
328
- {
329
- kind: 'Field',
330
- name: { kind: 'Name', value: 'shortVideo' },
331
- selectionSet: {
332
- kind: 'SelectionSet',
333
- selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShortVideoStreamComponentParamsFragment' } }]
334
- }
335
- },
336
- {
337
- kind: 'Field',
338
- name: { kind: 'Name', value: 'images' },
339
- selectionSet: {
340
- kind: 'SelectionSet',
341
- selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ImagesStreamComponentParamsFragment' } }]
342
- }
343
- },
344
- {
345
- kind: 'Field',
346
- name: { kind: 'Name', value: 'product' },
347
- selectionSet: {
348
- kind: 'SelectionSet',
349
- selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductStreamComponentParamsFragment' } }]
350
- }
351
- }
352
- ]
353
- }
354
- }
355
- ]
356
- }
357
- },
358
- {
359
- kind: 'FragmentDefinition',
360
- name: { kind: 'Name', value: 'ProductCardPayloadFragment' },
361
- typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } },
362
- selectionSet: {
363
- kind: 'SelectionSet',
364
- selections: [
365
- {
366
- kind: 'Field',
367
- name: { kind: 'Name', value: 'media' },
368
- selectionSet: {
369
- kind: 'SelectionSet',
370
- selections: [
371
- {
372
- kind: 'Field',
373
- name: { kind: 'Name', value: 'url' },
374
- arguments: [
375
- { kind: 'Argument', name: { kind: 'Name', value: 'scale' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } } }
376
- ]
377
- },
378
- {
379
- kind: 'Field',
380
- name: { kind: 'Name', value: 'thumbnailUrl' },
381
- arguments: [
382
- { kind: 'Argument', name: { kind: 'Name', value: 'scale' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } } }
383
- ]
384
- },
385
- { kind: 'Field', name: { kind: 'Name', value: 'type' } }
386
- ]
387
- }
388
- },
389
- { kind: 'Field', name: { kind: 'Name', value: 'title' } },
390
- { kind: 'Field', name: { kind: 'Name', value: 'id' } },
391
- { kind: 'Field', name: { kind: 'Name', value: 'link' } },
392
- {
393
- kind: 'Field',
394
- name: { kind: 'Name', value: 'priceAndAvailability' },
395
- selectionSet: {
396
- kind: 'SelectionSet',
397
- selections: [
398
- { kind: 'Field', name: { kind: 'Name', value: 'currency' } },
399
- { kind: 'Field', name: { kind: 'Name', value: 'price' } },
400
- {
401
- kind: 'Field',
402
- name: { kind: 'Name', value: 'productSalePrices' },
403
- selectionSet: {
404
- kind: 'SelectionSet',
405
- selections: [
406
- { kind: 'Field', name: { kind: 'Name', value: 'salePrice' } },
407
- { kind: 'Field', name: { kind: 'Name', value: 'salePriceEffectiveDateFrom' } },
408
- { kind: 'Field', name: { kind: 'Name', value: 'salePriceEffectiveDateTo' } }
409
- ]
410
- }
411
- }
412
- ]
413
- }
414
- }
415
- ]
416
- }
417
- },
418
- {
419
- kind: 'FragmentDefinition',
420
- name: { kind: 'Name', value: 'AdViewPayloadFragment' },
421
- typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Ad' } },
422
- selectionSet: {
423
- kind: 'SelectionSet',
424
- selections: [
425
- { kind: 'Field', name: { kind: 'Name', value: 'id' } },
426
- { kind: 'Field', name: { kind: 'Name', value: 'title' } },
427
- { kind: 'Field', name: { kind: 'Name', value: 'description' } },
428
- { kind: 'Field', name: { kind: 'Name', value: 'buttonText' } },
429
- { kind: 'Field', name: { kind: 'Name', value: 'buttonUrl' } },
430
- { kind: 'Field', name: { kind: 'Name', value: 'openLinkInNewWindow' } },
431
- { kind: 'Field', name: { kind: 'Name', value: 'type' } },
432
- {
433
- kind: 'Field',
434
- name: { kind: 'Name', value: 'media' },
435
- selectionSet: {
436
- kind: 'SelectionSet',
437
- selections: [
438
- { kind: 'Field', name: { kind: 'Name', value: 'type' } },
439
- {
440
- kind: 'Field',
441
- name: { kind: 'Name', value: 'url' },
442
- arguments: [
443
- { kind: 'Argument', name: { kind: 'Name', value: 'scale' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } } }
444
- ]
445
- },
446
- {
447
- kind: 'Field',
448
- name: { kind: 'Name', value: 'thumbnailUrl' },
449
- arguments: [
450
- { kind: 'Argument', name: { kind: 'Name', value: 'scale' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } } }
451
- ]
452
- }
453
- ]
454
- }
455
- }
456
- ]
457
- }
458
- },
459
- {
460
- kind: 'FragmentDefinition',
461
- name: { kind: 'Name', value: 'ShortVideoViewerPayloadFragment' },
462
- typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Post' } },
463
- selectionSet: {
464
- kind: 'SelectionSet',
465
- selections: [
466
- { kind: 'Field', name: { kind: 'Name', value: 'id' } },
467
- { kind: 'Field', name: { kind: 'Name', value: 'enableSocialInteractions' } },
468
- {
469
- kind: 'Field',
470
- name: { kind: 'Name', value: 'postHeading' },
471
- selectionSet: {
472
- kind: 'SelectionSet',
473
- selections: [
474
- { kind: 'Field', name: { kind: 'Name', value: 'sourceImage' } },
475
- { kind: 'Field', name: { kind: 'Name', value: 'sourceName' } },
476
- { kind: 'Field', name: { kind: 'Name', value: 'postDisplayDate' } },
477
- { kind: 'Field', name: { kind: 'Name', value: 'postViewsCount' } }
478
- ]
479
- }
480
- },
481
- {
482
- kind: 'Field',
483
- name: { kind: 'Name', value: 'allProducts' },
484
- selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductCardPayloadFragment' } }] }
485
- },
486
- {
487
- kind: 'Field',
488
- name: { kind: 'Name', value: 'ad' },
489
- selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'AdViewPayloadFragment' } }] }
490
- },
491
- {
492
- kind: 'Field',
493
- name: { kind: 'Name', value: 'postData' },
494
- selectionSet: {
495
- kind: 'SelectionSet',
496
- selections: [
497
- {
498
- kind: 'Field',
499
- name: { kind: 'Name', value: 'media' },
500
- selectionSet: {
501
- kind: 'SelectionSet',
502
- selections: [
503
- {
504
- kind: 'Field',
505
- name: { kind: 'Name', value: 'url' },
506
- arguments: [
507
- {
508
- kind: 'Argument',
509
- name: { kind: 'Name', value: 'scale' },
510
- value: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } }
511
- }
512
- ]
513
- },
514
- {
515
- kind: 'Field',
516
- name: { kind: 'Name', value: 'thumbnailUrl' },
517
- arguments: [
518
- {
519
- kind: 'Argument',
520
- name: { kind: 'Name', value: 'scale' },
521
- value: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } }
522
- }
523
- ]
524
- },
525
- { kind: 'Field', name: { kind: 'Name', value: 'type' } }
526
- ]
527
- }
528
- },
529
- {
530
- kind: 'Field',
531
- name: { kind: 'Name', value: 'shortVideoData' },
532
- selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'Field', name: { kind: 'Name', value: 'text' } }] }
533
- }
534
- ]
535
- }
536
- }
537
- ]
538
- }
539
- },
540
- {
541
- kind: 'FragmentDefinition',
542
- name: { kind: 'Name', value: 'ShortVideoStreamComponentDataFragment' },
543
- typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Post' } },
544
- selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShortVideoViewerPayloadFragment' } }] }
545
- },
546
- {
547
- kind: 'FragmentDefinition',
548
- name: { kind: 'Name', value: 'ProductStreamComponentDataFragment' },
549
- typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } },
550
- selectionSet: {
551
- kind: 'SelectionSet',
552
- selections: [
553
- {
554
- kind: 'Field',
555
- name: { kind: 'Name', value: 'media' },
556
- selectionSet: {
557
- kind: 'SelectionSet',
558
- selections: [
559
- { kind: 'Field', name: { kind: 'Name', value: 'url' } },
560
- { kind: 'Field', name: { kind: 'Name', value: 'thumbnailUrl' } },
561
- { kind: 'Field', name: { kind: 'Name', value: 'type' } }
562
- ]
563
- }
564
- },
565
- { kind: 'Field', name: { kind: 'Name', value: 'title' } },
566
- { kind: 'Field', name: { kind: 'Name', value: 'id' } },
567
- { kind: 'Field', name: { kind: 'Name', value: 'link' } },
568
- {
569
- kind: 'Field',
570
- name: { kind: 'Name', value: 'priceAndAvailability' },
571
- selectionSet: {
572
- kind: 'SelectionSet',
573
- selections: [
574
- { kind: 'Field', name: { kind: 'Name', value: 'currency' } },
575
- { kind: 'Field', name: { kind: 'Name', value: 'price' } },
576
- {
577
- kind: 'Field',
578
- name: { kind: 'Name', value: 'productSalePrices' },
579
- selectionSet: {
580
- kind: 'SelectionSet',
581
- selections: [
582
- { kind: 'Field', name: { kind: 'Name', value: 'salePrice' } },
583
- { kind: 'Field', name: { kind: 'Name', value: 'salePriceEffectiveDateFrom' } },
584
- { kind: 'Field', name: { kind: 'Name', value: 'salePriceEffectiveDateTo' } }
585
- ]
586
- }
587
- }
588
- ]
589
- }
590
- }
591
- ]
592
- }
593
- },
594
- {
595
- kind: 'FragmentDefinition',
596
- name: { kind: 'Name', value: 'ShortVideoStreamComponentParamsFragment' },
597
- typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ShortVideoStreamComponentParams' } },
598
- selectionSet: {
599
- kind: 'SelectionSet',
600
- selections: [
601
- {
602
- kind: 'Field',
603
- name: { kind: 'Name', value: 'data' },
604
- selectionSet: {
605
- kind: 'SelectionSet',
606
- selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ShortVideoStreamComponentDataFragment' } }]
607
- }
608
- }
609
- ]
610
- }
611
- },
612
- {
613
- kind: 'FragmentDefinition',
614
- name: { kind: 'Name', value: 'ImagesStreamComponentParamsFragment' },
615
- typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ImagesStreamComponentParams' } },
616
- selectionSet: {
617
- kind: 'SelectionSet',
618
- selections: [
619
- {
620
- kind: 'Field',
621
- name: { kind: 'Name', value: 'images' },
622
- selectionSet: {
623
- kind: 'SelectionSet',
624
- selections: [
625
- { kind: 'Field', name: { kind: 'Name', value: 'id' } },
626
- { kind: 'Field', name: { kind: 'Name', value: 'url' } }
627
- ]
628
- }
629
- },
630
- { kind: 'Field', name: { kind: 'Name', value: 'mode' } }
631
- ]
632
- }
633
- },
634
- {
635
- kind: 'FragmentDefinition',
636
- name: { kind: 'Name', value: 'ProductStreamComponentParamsFragment' },
637
- typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'ProductStreamComponentParams' } },
638
- selectionSet: {
639
- kind: 'SelectionSet',
640
- selections: [
641
- {
642
- kind: 'Field',
643
- name: { kind: 'Name', value: 'data' },
644
- selectionSet: {
645
- kind: 'SelectionSet',
646
- selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'ProductStreamComponentDataFragment' } }]
647
- }
648
- }
649
- ]
650
- }
651
- }
652
- ]
653
- };