@streamscloud/embeddable 16.2.6 → 16.3.1-1775562057401

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 (24) hide show
  1. package/dist/ads/ad-card/operations.generated.js +1 -48
  2. package/dist/articles/article-dialog/cmp.article-dialog.svelte +1 -1
  3. package/dist/core/theme/brand-colors.svelte.d.ts +1 -1
  4. package/dist/core/theme/brand-colors.svelte.js +10 -10
  5. package/dist/external-api/data-providers/article/operations.generated.js +1 -262
  6. package/dist/external-api/data-providers/internal-media-center-data-provider.svelte.js +10 -2
  7. package/dist/external-api/data-providers/mocks/operations.generated.js +2 -377
  8. package/dist/external-api/data-providers/operations.generated.d.ts +48 -13
  9. package/dist/external-api/data-providers/operations.generated.js +2 -139
  10. package/dist/external-api/data-providers/operations.graphql +30 -13
  11. package/dist/external-api/data-providers/post-data-loaders/operations.generated.js +2 -502
  12. package/dist/external-api/data-providers/stream-data-loaders/operations.generated.js +3 -177
  13. package/dist/media-center/config/types.d.ts +11 -3
  14. package/dist/media-center/media-center/discover/discover-view.svelte +1 -1
  15. package/dist/media-center/media-center/handlers/categories-handler.svelte.d.ts +10 -2
  16. package/dist/media-center/media-center/media-center-view.svelte +1 -1
  17. package/dist/media-center/media-center/menu/menu.svelte +11 -2
  18. package/dist/posts/post-viewer/media/post-media.svelte +1 -2
  19. package/dist/posts/post-viewer/operations.generated.js +1 -209
  20. package/dist/products/product-card/operations.generated.js +1 -59
  21. package/dist/streams/stream-page-viewer/operations.generated.js +1 -27
  22. package/dist/streams/streams-player/stream-overview.svelte +1 -1
  23. package/dist/ui/media-items/media-item-view/cmp.media-item-view.svelte +1 -1
  24. package/package.json +2 -2
@@ -1,48 +1 @@
1
- export const AdCardPayloadFragmentDoc = {
2
- kind: 'Document',
3
- definitions: [
4
- {
5
- kind: 'FragmentDefinition',
6
- name: { kind: 'Name', value: 'AdCardPayloadFragment' },
7
- typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Ad' } },
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: 'description' } },
14
- { kind: 'Field', name: { kind: 'Name', value: 'price' } },
15
- { kind: 'Field', name: { kind: 'Name', value: 'currency' } },
16
- { kind: 'Field', name: { kind: 'Name', value: 'priceInfo' } },
17
- {
18
- kind: 'Field',
19
- name: { kind: 'Name', value: 'ctaButton' },
20
- selectionSet: {
21
- kind: 'SelectionSet',
22
- selections: [
23
- { kind: 'Field', name: { kind: 'Name', value: 'background' } },
24
- { kind: 'Field', name: { kind: 'Name', value: 'textColor' } },
25
- { kind: 'Field', name: { kind: 'Name', value: 'text' } },
26
- { kind: 'Field', name: { kind: 'Name', value: 'url' } },
27
- { kind: 'Field', name: { kind: 'Name', value: 'border' } }
28
- ]
29
- }
30
- },
31
- { kind: 'Field', name: { kind: 'Name', value: 'type' } },
32
- {
33
- kind: 'Field',
34
- name: { kind: 'Name', value: 'media' },
35
- selectionSet: {
36
- kind: 'SelectionSet',
37
- selections: [
38
- { kind: 'Field', name: { kind: 'Name', value: 'url' } },
39
- { kind: 'Field', name: { kind: 'Name', value: 'thumbnailUrl' } },
40
- { kind: 'Field', name: { kind: 'Name', value: 'type' } }
41
- ]
42
- }
43
- }
44
- ]
45
- }
46
- }
47
- ]
48
- };
1
+ export const AdCardPayloadFragmentDoc = { "kind": "Document", "definitions": [{ "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "AdCardPayloadFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Ad" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "price" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currency" } }, { "kind": "Field", "name": { "kind": "Name", "value": "priceInfo" } }, { "kind": "Field", "name": { "kind": "Name", "value": "ctaButton" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "background" } }, { "kind": "Field", "name": { "kind": "Name", "value": "textColor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "text" } }, { "kind": "Field", "name": { "kind": "Name", "value": "url" } }, { "kind": "Field", "name": { "kind": "Name", "value": "border" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "media" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "url" } }, { "kind": "Field", "name": { "kind": "Name", "value": "thumbnailUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }] } }] } }] };
@@ -69,7 +69,7 @@ void load();
69
69
  width: 100%;
70
70
  height: 100%;
71
71
  overflow-y: auto;
72
- --_cross-browser-scrollbar--thumb-color: var(--scrollbar--thumb-color, light-dark(#999999, #333333));
72
+ --_cross-browser-scrollbar--thumb-color: var(--scrollbar--thumb-color, light-dark(#d1d5db, #4b5563));
73
73
  --_cross-browser-scrollbar--track-color: var(--scrollbar--track-color, transparent);
74
74
  }
75
75
  .article-dialog__content::-webkit-scrollbar {
@@ -28,6 +28,6 @@ export declare class BrandColors {
28
28
  set: (init: {
29
29
  light: IBrandColorsInit | null;
30
30
  dark: IBrandColorsInit | null;
31
- }) => void;
31
+ } | null) => void;
32
32
  }
33
33
  export declare const brandColors: BrandColors;
@@ -11,16 +11,16 @@ export class BrandColors {
11
11
  salePrice = $state.raw(EMPTY_PAIR);
12
12
  sidebarBackground = $state.raw(EMPTY_PAIR);
13
13
  set = (init) => {
14
- this.brand = { light: init.light?.brand ?? null, dark: init.dark?.brand ?? null };
15
- this.button = { light: init.light?.button ?? null, dark: init.dark?.button ?? null };
16
- this.buttonInactive = { light: init.light?.buttonInactive ?? null, dark: init.dark?.buttonInactive ?? null };
17
- this.cardBackground = { light: init.light?.cardBackground ?? null, dark: init.dark?.cardBackground ?? null };
18
- this.cardButton = { light: init.light?.cardButton ?? null, dark: init.dark?.cardButton ?? null };
19
- this.menuBackground = { light: init.light?.menuBackground ?? null, dark: init.dark?.menuBackground ?? null };
20
- this.playerBackground = { light: init.light?.playerBackground ?? null, dark: init.dark?.playerBackground ?? null };
21
- this.price = { light: init.light?.price ?? null, dark: init.dark?.price ?? null };
22
- this.salePrice = { light: init.light?.salePrice ?? null, dark: init.dark?.salePrice ?? null };
23
- this.sidebarBackground = { light: init.light?.sidebarBackground ?? null, dark: init.dark?.sidebarBackground ?? null };
14
+ this.brand = { light: init?.light?.brand ?? null, dark: init?.dark?.brand ?? null };
15
+ this.button = { light: init?.light?.button ?? null, dark: init?.dark?.button ?? null };
16
+ this.buttonInactive = { light: init?.light?.buttonInactive ?? null, dark: init?.dark?.buttonInactive ?? null };
17
+ this.cardBackground = { light: init?.light?.cardBackground ?? null, dark: init?.dark?.cardBackground ?? null };
18
+ this.cardButton = { light: init?.light?.cardButton ?? null, dark: init?.dark?.cardButton ?? null };
19
+ this.menuBackground = { light: init?.light?.menuBackground ?? null, dark: init?.dark?.menuBackground ?? null };
20
+ this.playerBackground = { light: init?.light?.playerBackground ?? null, dark: init?.dark?.playerBackground ?? null };
21
+ this.price = { light: init?.light?.price ?? null, dark: init?.dark?.price ?? null };
22
+ this.salePrice = { light: init?.light?.salePrice ?? null, dark: init?.dark?.salePrice ?? null };
23
+ this.sidebarBackground = { light: init?.light?.sidebarBackground ?? null, dark: init?.dark?.sidebarBackground ?? null };
24
24
  };
25
25
  }
26
26
  export const brandColors = new BrandColors();
@@ -1,262 +1 @@
1
- export const GetEmbedArticleDocument = {
2
- kind: 'Document',
3
- definitions: [
4
- {
5
- kind: 'OperationDefinition',
6
- operation: 'query',
7
- name: { kind: 'Name', value: 'GetEmbedArticle' },
8
- variableDefinitions: [
9
- {
10
- kind: 'VariableDefinition',
11
- variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
12
- type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'EmbedArticleInput' } } }
13
- }
14
- ],
15
- selectionSet: {
16
- kind: 'SelectionSet',
17
- selections: [
18
- {
19
- kind: 'Field',
20
- alias: { kind: 'Name', value: 'article' },
21
- name: { kind: 'Name', value: 'embedArticle' },
22
- arguments: [{ kind: 'Argument', name: { kind: 'Name', value: 'input' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } } }],
23
- selectionSet: {
24
- kind: 'SelectionSet',
25
- selections: [
26
- { kind: 'Field', name: { kind: 'Name', value: 'id' } },
27
- { kind: 'Field', name: { kind: 'Name', value: 'publishedAt' } },
28
- {
29
- kind: 'Field',
30
- name: { kind: 'Name', value: 'seo' },
31
- selectionSet: {
32
- kind: 'SelectionSet',
33
- selections: [
34
- { kind: 'Field', name: { kind: 'Name', value: 'title' } },
35
- { kind: 'Field', name: { kind: 'Name', value: 'description' } },
36
- { kind: 'Field', name: { kind: 'Name', value: 'keywords' } }
37
- ]
38
- }
39
- },
40
- {
41
- kind: 'Field',
42
- name: { kind: 'Name', value: 'sections' },
43
- selectionSet: {
44
- kind: 'SelectionSet',
45
- selections: [
46
- { kind: 'Field', name: { kind: 'Name', value: 'id' } },
47
- { kind: 'Field', name: { kind: 'Name', value: 'facts' } },
48
- {
49
- kind: 'Field',
50
- name: { kind: 'Name', value: 'styles' },
51
- selectionSet: {
52
- kind: 'SelectionSet',
53
- selections: [
54
- { kind: 'Field', name: { kind: 'Name', value: 'paddingTop' } },
55
- { kind: 'Field', name: { kind: 'Name', value: 'paddingBottom' } },
56
- { kind: 'Field', name: { kind: 'Name', value: 'paddingLeft' } },
57
- { kind: 'Field', name: { kind: 'Name', value: 'paddingRight' } }
58
- ]
59
- }
60
- },
61
- {
62
- kind: 'Field',
63
- name: { kind: 'Name', value: 'layouts' },
64
- selectionSet: {
65
- kind: 'SelectionSet',
66
- selections: [
67
- { kind: 'Field', name: { kind: 'Name', value: 'id' } },
68
- {
69
- kind: 'Field',
70
- name: { kind: 'Name', value: 'styles' },
71
- selectionSet: {
72
- kind: 'SelectionSet',
73
- selections: [
74
- { kind: 'Field', name: { kind: 'Name', value: 'paddingTop' } },
75
- { kind: 'Field', name: { kind: 'Name', value: 'paddingBottom' } },
76
- { kind: 'Field', name: { kind: 'Name', value: 'paddingLeft' } },
77
- { kind: 'Field', name: { kind: 'Name', value: 'paddingRight' } }
78
- ]
79
- }
80
- },
81
- {
82
- kind: 'Field',
83
- name: { kind: 'Name', value: 'fields' },
84
- selectionSet: {
85
- kind: 'SelectionSet',
86
- selections: [
87
- { kind: 'Field', name: { kind: 'Name', value: 'id' } },
88
- { kind: 'Field', name: { kind: 'Name', value: 'name' } },
89
- { kind: 'Field', name: { kind: 'Name', value: 'description' } },
90
- {
91
- kind: 'Field',
92
- name: { kind: 'Name', value: 'styles' },
93
- selectionSet: {
94
- kind: 'SelectionSet',
95
- selections: [
96
- { kind: 'Field', name: { kind: 'Name', value: 'marginTop' } },
97
- { kind: 'Field', name: { kind: 'Name', value: 'marginBottom' } },
98
- { kind: 'Field', name: { kind: 'Name', value: 'marginLeft' } },
99
- { kind: 'Field', name: { kind: 'Name', value: 'marginRight' } }
100
- ]
101
- }
102
- },
103
- {
104
- kind: 'Field',
105
- name: { kind: 'Name', value: 'fieldData' },
106
- selectionSet: {
107
- kind: 'SelectionSet',
108
- selections: [
109
- { kind: 'Field', name: { kind: 'Name', value: 'type' } },
110
- {
111
- kind: 'Field',
112
- name: { kind: 'Name', value: 'bylineData' },
113
- selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'Field', name: { kind: 'Name', value: 'authorName' } }] }
114
- },
115
- {
116
- kind: 'Field',
117
- name: { kind: 'Name', value: 'imageData' },
118
- selectionSet: {
119
- kind: 'SelectionSet',
120
- selections: [
121
- {
122
- kind: 'Field',
123
- name: { kind: 'Name', value: 'image' },
124
- selectionSet: {
125
- kind: 'SelectionSet',
126
- selections: [
127
- { kind: 'Field', name: { kind: 'Name', value: 'type' } },
128
- { kind: 'Field', name: { kind: 'Name', value: 'url' } },
129
- { kind: 'Field', name: { kind: 'Name', value: 'thumbnailUrl' } }
130
- ]
131
- }
132
- },
133
- { kind: 'Field', name: { kind: 'Name', value: 'preferredMediaFormat' } },
134
- { kind: 'Field', name: { kind: 'Name', value: 'altText' } }
135
- ]
136
- }
137
- },
138
- {
139
- kind: 'Field',
140
- name: { kind: 'Name', value: 'mediaData' },
141
- selectionSet: {
142
- kind: 'SelectionSet',
143
- selections: [
144
- {
145
- kind: 'Field',
146
- name: { kind: 'Name', value: 'media' },
147
- selectionSet: {
148
- kind: 'SelectionSet',
149
- selections: [
150
- { kind: 'Field', name: { kind: 'Name', value: 'type' } },
151
- { kind: 'Field', name: { kind: 'Name', value: 'url' } },
152
- { kind: 'Field', name: { kind: 'Name', value: 'thumbnailUrl' } }
153
- ]
154
- }
155
- },
156
- { kind: 'Field', name: { kind: 'Name', value: 'preferredMediaFormat' } },
157
- { kind: 'Field', name: { kind: 'Name', value: 'altText' } }
158
- ]
159
- }
160
- },
161
- {
162
- kind: 'Field',
163
- name: { kind: 'Name', value: 'mediaGalleryData' },
164
- selectionSet: {
165
- kind: 'SelectionSet',
166
- selections: [
167
- {
168
- kind: 'Field',
169
- name: { kind: 'Name', value: 'media' },
170
- selectionSet: {
171
- kind: 'SelectionSet',
172
- selections: [
173
- { kind: 'Field', name: { kind: 'Name', value: 'type' } },
174
- { kind: 'Field', name: { kind: 'Name', value: 'url' } },
175
- { kind: 'Field', name: { kind: 'Name', value: 'thumbnailUrl' } },
176
- {
177
- kind: 'Field',
178
- name: { kind: 'Name', value: 'metadata' },
179
- selectionSet: {
180
- kind: 'SelectionSet',
181
- selections: [
182
- { kind: 'Field', name: { kind: 'Name', value: 'width' } },
183
- { kind: 'Field', name: { kind: 'Name', value: 'height' } }
184
- ]
185
- }
186
- }
187
- ]
188
- }
189
- },
190
- { kind: 'Field', name: { kind: 'Name', value: 'galleryMode' } },
191
- { kind: 'Field', name: { kind: 'Name', value: 'preferredMediaFormat' } },
192
- { kind: 'Field', name: { kind: 'Name', value: 'altText' } }
193
- ]
194
- }
195
- },
196
- {
197
- kind: 'Field',
198
- name: { kind: 'Name', value: 'richTextData' },
199
- selectionSet: {
200
- kind: 'SelectionSet',
201
- selections: [
202
- { kind: 'Field', name: { kind: 'Name', value: 'text' } },
203
- { kind: 'Field', name: { kind: 'Name', value: 'textSize' } }
204
- ]
205
- }
206
- },
207
- {
208
- kind: 'Field',
209
- name: { kind: 'Name', value: 'textData' },
210
- selectionSet: {
211
- kind: 'SelectionSet',
212
- selections: [
213
- { kind: 'Field', name: { kind: 'Name', value: 'text' } },
214
- { kind: 'Field', name: { kind: 'Name', value: 'textMode' } },
215
- { kind: 'Field', name: { kind: 'Name', value: 'textSize' } },
216
- { kind: 'Field', name: { kind: 'Name', value: 'textWeight' } }
217
- ]
218
- }
219
- },
220
- {
221
- kind: 'Field',
222
- name: { kind: 'Name', value: 'videoData' },
223
- selectionSet: {
224
- kind: 'SelectionSet',
225
- selections: [
226
- {
227
- kind: 'Field',
228
- name: { kind: 'Name', value: 'video' },
229
- selectionSet: {
230
- kind: 'SelectionSet',
231
- selections: [
232
- { kind: 'Field', name: { kind: 'Name', value: 'type' } },
233
- { kind: 'Field', name: { kind: 'Name', value: 'url' } },
234
- { kind: 'Field', name: { kind: 'Name', value: 'thumbnailUrl' } }
235
- ]
236
- }
237
- },
238
- { kind: 'Field', name: { kind: 'Name', value: 'preferredMediaFormat' } },
239
- { kind: 'Field', name: { kind: 'Name', value: 'altText' } }
240
- ]
241
- }
242
- }
243
- ]
244
- }
245
- }
246
- ]
247
- }
248
- }
249
- ]
250
- }
251
- }
252
- ]
253
- }
254
- }
255
- ]
256
- }
257
- }
258
- ]
259
- }
260
- }
261
- ]
262
- };
1
+ export const GetEmbedArticleDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetEmbedArticle" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "EmbedArticleInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "alias": { "kind": "Name", "value": "article" }, "name": { "kind": "Name", "value": "embedArticle" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publishedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "seo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "keywords" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "sections" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "facts" } }, { "kind": "Field", "name": { "kind": "Name", "value": "styles" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "paddingTop" } }, { "kind": "Field", "name": { "kind": "Name", "value": "paddingBottom" } }, { "kind": "Field", "name": { "kind": "Name", "value": "paddingLeft" } }, { "kind": "Field", "name": { "kind": "Name", "value": "paddingRight" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "layouts" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "styles" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "paddingTop" } }, { "kind": "Field", "name": { "kind": "Name", "value": "paddingBottom" } }, { "kind": "Field", "name": { "kind": "Name", "value": "paddingLeft" } }, { "kind": "Field", "name": { "kind": "Name", "value": "paddingRight" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "fields" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "styles" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "marginTop" } }, { "kind": "Field", "name": { "kind": "Name", "value": "marginBottom" } }, { "kind": "Field", "name": { "kind": "Name", "value": "marginLeft" } }, { "kind": "Field", "name": { "kind": "Name", "value": "marginRight" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "fieldData" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "bylineData" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "authorName" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "imageData" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "image" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "url" } }, { "kind": "Field", "name": { "kind": "Name", "value": "thumbnailUrl" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "preferredMediaFormat" } }, { "kind": "Field", "name": { "kind": "Name", "value": "altText" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "mediaData" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "media" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "url" } }, { "kind": "Field", "name": { "kind": "Name", "value": "thumbnailUrl" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "preferredMediaFormat" } }, { "kind": "Field", "name": { "kind": "Name", "value": "altText" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "mediaGalleryData" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "media" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "url" } }, { "kind": "Field", "name": { "kind": "Name", "value": "thumbnailUrl" } }, { "kind": "Field", "name": { "kind": "Name", "value": "metadata" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "width" } }, { "kind": "Field", "name": { "kind": "Name", "value": "height" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "galleryMode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "preferredMediaFormat" } }, { "kind": "Field", "name": { "kind": "Name", "value": "altText" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "richTextData" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "text" } }, { "kind": "Field", "name": { "kind": "Name", "value": "textSize" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "textData" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "text" } }, { "kind": "Field", "name": { "kind": "Name", "value": "textMode" } }, { "kind": "Field", "name": { "kind": "Name", "value": "textSize" } }, { "kind": "Field", "name": { "kind": "Name", "value": "textWeight" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "videoData" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "video" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "type" } }, { "kind": "Field", "name": { "kind": "Name", "value": "url" } }, { "kind": "Field", "name": { "kind": "Name", "value": "thumbnailUrl" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "preferredMediaFormat" } }, { "kind": "Field", "name": { "kind": "Name", "value": "altText" } }] } }] } }] } }] } }] } }] } }] } }] };
@@ -36,8 +36,16 @@ export class InternalMediaCenterDataProvider {
36
36
  }
37
37
  : null,
38
38
  contentCategories: config.menuSettings?.contentCategories || [],
39
- categoryTagAssociations: config.menuSettings?.contentCategoryMenuItems || [],
40
- playerColors: { light: null, dark: config.playerColors },
39
+ categoryTagAssociations: (config.menuSettings?.contentCategoryMenuItems || []).map((item) => ({
40
+ id: item.id,
41
+ tag: item.tag
42
+ ? {
43
+ text: item.tag.text,
44
+ colorScheme: item.tag.colorScheme
45
+ }
46
+ : null
47
+ })),
48
+ playerColors: config.colorScheme,
41
49
  moments: config.moments
42
50
  };
43
51
  }