@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.
- package/dist/ads/ad-card/operations.generated.js +1 -48
- package/dist/articles/article-dialog/cmp.article-dialog.svelte +1 -1
- package/dist/core/theme/brand-colors.svelte.d.ts +1 -1
- package/dist/core/theme/brand-colors.svelte.js +10 -10
- package/dist/external-api/data-providers/article/operations.generated.js +1 -262
- package/dist/external-api/data-providers/internal-media-center-data-provider.svelte.js +10 -2
- package/dist/external-api/data-providers/mocks/operations.generated.js +2 -377
- package/dist/external-api/data-providers/operations.generated.d.ts +48 -13
- package/dist/external-api/data-providers/operations.generated.js +2 -139
- package/dist/external-api/data-providers/operations.graphql +30 -13
- package/dist/external-api/data-providers/post-data-loaders/operations.generated.js +2 -502
- package/dist/external-api/data-providers/stream-data-loaders/operations.generated.js +3 -177
- package/dist/media-center/config/types.d.ts +11 -3
- package/dist/media-center/media-center/discover/discover-view.svelte +1 -1
- package/dist/media-center/media-center/handlers/categories-handler.svelte.d.ts +10 -2
- package/dist/media-center/media-center/media-center-view.svelte +1 -1
- package/dist/media-center/media-center/menu/menu.svelte +11 -2
- package/dist/posts/post-viewer/media/post-media.svelte +1 -2
- package/dist/posts/post-viewer/operations.generated.js +1 -209
- package/dist/products/product-card/operations.generated.js +1 -59
- package/dist/streams/stream-page-viewer/operations.generated.js +1 -27
- package/dist/streams/streams-player/stream-overview.svelte +1 -1
- package/dist/ui/media-items/media-item-view/cmp.media-item-view.svelte +1 -1
- package/package.json +2 -2
|
@@ -1,139 +1,2 @@
|
|
|
1
|
-
export const
|
|
2
|
-
|
|
3
|
-
definitions: [
|
|
4
|
-
{
|
|
5
|
-
kind: 'OperationDefinition',
|
|
6
|
-
operation: 'query',
|
|
7
|
-
name: { kind: 'Name', value: 'GetMediaPageConfig' },
|
|
8
|
-
variableDefinitions: [
|
|
9
|
-
{
|
|
10
|
-
kind: 'VariableDefinition',
|
|
11
|
-
variable: { kind: 'Variable', name: { kind: 'Name', value: 'mediaPageId' } },
|
|
12
|
-
type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'String' } } }
|
|
13
|
-
}
|
|
14
|
-
],
|
|
15
|
-
selectionSet: {
|
|
16
|
-
kind: 'SelectionSet',
|
|
17
|
-
selections: [
|
|
18
|
-
{
|
|
19
|
-
kind: 'Field',
|
|
20
|
-
name: { kind: 'Name', value: 'embedMediaPage' },
|
|
21
|
-
arguments: [
|
|
22
|
-
{
|
|
23
|
-
kind: 'Argument',
|
|
24
|
-
name: { kind: 'Name', value: 'input' },
|
|
25
|
-
value: {
|
|
26
|
-
kind: 'ObjectValue',
|
|
27
|
-
fields: [
|
|
28
|
-
{ kind: 'ObjectField', name: { kind: 'Name', value: 'id' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'mediaPageId' } } }
|
|
29
|
-
]
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
selectionSet: {
|
|
34
|
-
kind: 'SelectionSet',
|
|
35
|
-
selections: [
|
|
36
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
37
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'handle' } },
|
|
38
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
39
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
|
|
40
|
-
{
|
|
41
|
-
kind: 'Field',
|
|
42
|
-
name: { kind: 'Name', value: 'image' },
|
|
43
|
-
selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'Field', name: { kind: 'Name', value: 'url' } }] }
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
kind: 'Field',
|
|
47
|
-
name: { kind: 'Name', value: 'logo' },
|
|
48
|
-
selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'Field', name: { kind: 'Name', value: 'url' } }] }
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
kind: 'Field',
|
|
52
|
-
name: { kind: 'Name', value: 'banner' },
|
|
53
|
-
selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'Field', name: { kind: 'Name', value: 'url' } }] }
|
|
54
|
-
},
|
|
55
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'enableCommunityFeatures' } },
|
|
56
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'membersCount' } },
|
|
57
|
-
{
|
|
58
|
-
kind: 'Field',
|
|
59
|
-
name: { kind: 'Name', value: 'menuSettings' },
|
|
60
|
-
selectionSet: {
|
|
61
|
-
kind: 'SelectionSet',
|
|
62
|
-
selections: [
|
|
63
|
-
{
|
|
64
|
-
kind: 'Field',
|
|
65
|
-
name: { kind: 'Name', value: 'contentCategories' },
|
|
66
|
-
selectionSet: {
|
|
67
|
-
kind: 'SelectionSet',
|
|
68
|
-
selections: [
|
|
69
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
70
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
71
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'image' } },
|
|
72
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'parentId' } }
|
|
73
|
-
]
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
kind: 'Field',
|
|
78
|
-
name: { kind: 'Name', value: 'contentCategoryMenuItems' },
|
|
79
|
-
selectionSet: {
|
|
80
|
-
kind: 'SelectionSet',
|
|
81
|
-
selections: [
|
|
82
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
83
|
-
{
|
|
84
|
-
kind: 'Field',
|
|
85
|
-
name: { kind: 'Name', value: 'tag' },
|
|
86
|
-
selectionSet: {
|
|
87
|
-
kind: 'SelectionSet',
|
|
88
|
-
selections: [
|
|
89
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'text' } },
|
|
90
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'backgroundColor' } },
|
|
91
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'fontColor' } }
|
|
92
|
-
]
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
]
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
]
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
kind: 'Field',
|
|
103
|
-
name: { kind: 'Name', value: 'playerColors' },
|
|
104
|
-
selectionSet: {
|
|
105
|
-
kind: 'SelectionSet',
|
|
106
|
-
selections: [
|
|
107
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'brand' } },
|
|
108
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'button' } },
|
|
109
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'buttonInactive' } },
|
|
110
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'cardButton' } },
|
|
111
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'cardBackground' } },
|
|
112
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'menuBackground' } },
|
|
113
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'playerBackground' } },
|
|
114
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'price' } },
|
|
115
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'salePrice' } },
|
|
116
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'sidebarBackground' } }
|
|
117
|
-
]
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
kind: 'Field',
|
|
122
|
-
name: { kind: 'Name', value: 'moments' },
|
|
123
|
-
selectionSet: {
|
|
124
|
-
kind: 'SelectionSet',
|
|
125
|
-
selections: [
|
|
126
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
127
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'cover' } },
|
|
128
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'isSeen' } }
|
|
129
|
-
]
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
]
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
]
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
]
|
|
139
|
-
};
|
|
1
|
+
export const MediaPageColorsFieldsFragmentDoc = { "kind": "Document", "definitions": [{ "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "MediaPageColorsFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "MediaPageColors" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "brand" } }, { "kind": "Field", "name": { "kind": "Name", "value": "button" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buttonInactive" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cardButton" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cardBackground" } }, { "kind": "Field", "name": { "kind": "Name", "value": "menuBackground" } }, { "kind": "Field", "name": { "kind": "Name", "value": "playerBackground" } }, { "kind": "Field", "name": { "kind": "Name", "value": "price" } }, { "kind": "Field", "name": { "kind": "Name", "value": "salePrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sidebarBackground" } }] } }] };
|
|
2
|
+
export const GetMediaPageConfigDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetMediaPageConfig" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "mediaPageId" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "String" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "embedMediaPage" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "input" }, "value": { "kind": "ObjectValue", "fields": [{ "kind": "ObjectField", "name": { "kind": "Name", "value": "id" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "mediaPageId" } } }] } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "handle" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "description" } }, { "kind": "Field", "name": { "kind": "Name", "value": "image" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "url" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "logo" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "url" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "banner" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "url" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "enableCommunityFeatures" } }, { "kind": "Field", "name": { "kind": "Name", "value": "membersCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "menuSettings" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "contentCategories" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "image" } }, { "kind": "Field", "name": { "kind": "Name", "value": "parentId" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "contentCategoryMenuItems" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "tag" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "text" } }, { "kind": "Field", "name": { "kind": "Name", "value": "colorScheme" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "light" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "backgroundColor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fontColor" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "dark" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "backgroundColor" } }, { "kind": "Field", "name": { "kind": "Name", "value": "fontColor" } }] } }] } }] } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "colorScheme" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "light" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "MediaPageColorsFields" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "dark" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "MediaPageColorsFields" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "moments" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cover" } }, { "kind": "Field", "name": { "kind": "Name", "value": "isSeen" } }] } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "MediaPageColorsFields" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "MediaPageColors" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "brand" } }, { "kind": "Field", "name": { "kind": "Name", "value": "button" } }, { "kind": "Field", "name": { "kind": "Name", "value": "buttonInactive" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cardButton" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cardBackground" } }, { "kind": "Field", "name": { "kind": "Name", "value": "menuBackground" } }, { "kind": "Field", "name": { "kind": "Name", "value": "playerBackground" } }, { "kind": "Field", "name": { "kind": "Name", "value": "price" } }, { "kind": "Field", "name": { "kind": "Name", "value": "salePrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "sidebarBackground" } }] } }] };
|
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
fragment MediaPageColorsFields on MediaPageColors {
|
|
2
|
+
brand
|
|
3
|
+
button
|
|
4
|
+
buttonInactive
|
|
5
|
+
cardButton
|
|
6
|
+
cardBackground
|
|
7
|
+
menuBackground
|
|
8
|
+
playerBackground
|
|
9
|
+
price
|
|
10
|
+
salePrice
|
|
11
|
+
sidebarBackground
|
|
12
|
+
}
|
|
13
|
+
|
|
1
14
|
query GetMediaPageConfig($mediaPageId: String!) {
|
|
2
15
|
embedMediaPage(input: { id: $mediaPageId }) {
|
|
3
16
|
id
|
|
@@ -26,22 +39,26 @@ query GetMediaPageConfig($mediaPageId: String!) {
|
|
|
26
39
|
id
|
|
27
40
|
tag {
|
|
28
41
|
text
|
|
29
|
-
|
|
30
|
-
|
|
42
|
+
colorScheme {
|
|
43
|
+
light {
|
|
44
|
+
backgroundColor
|
|
45
|
+
fontColor
|
|
46
|
+
}
|
|
47
|
+
dark {
|
|
48
|
+
backgroundColor
|
|
49
|
+
fontColor
|
|
50
|
+
}
|
|
51
|
+
}
|
|
31
52
|
}
|
|
32
53
|
}
|
|
33
54
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
playerBackground
|
|
42
|
-
price
|
|
43
|
-
salePrice
|
|
44
|
-
sidebarBackground
|
|
55
|
+
colorScheme {
|
|
56
|
+
light {
|
|
57
|
+
...MediaPageColorsFields
|
|
58
|
+
}
|
|
59
|
+
dark {
|
|
60
|
+
...MediaPageColorsFields
|
|
61
|
+
}
|
|
45
62
|
}
|
|
46
63
|
moments {
|
|
47
64
|
id
|