@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,177 +1,3 @@
|
|
|
1
|
-
export const StreamPlayerPayloadFragmentDoc = {
|
|
2
|
-
|
|
3
|
-
|
|
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: 'cover' },
|
|
19
|
-
selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'Field', name: { kind: 'Name', value: 'url' } }] }
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
kind: 'Field',
|
|
23
|
-
name: { kind: 'Name', value: 'ownerProfile' },
|
|
24
|
-
selectionSet: {
|
|
25
|
-
kind: 'SelectionSet',
|
|
26
|
-
selections: [
|
|
27
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
28
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'type' } }
|
|
29
|
-
]
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'pagesCount' } }
|
|
33
|
-
]
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
]
|
|
37
|
-
};
|
|
38
|
-
export const GetStreamsDocument = {
|
|
39
|
-
kind: 'Document',
|
|
40
|
-
definitions: [
|
|
41
|
-
{
|
|
42
|
-
kind: 'OperationDefinition',
|
|
43
|
-
operation: 'query',
|
|
44
|
-
name: { kind: 'Name', value: 'GetStreams' },
|
|
45
|
-
variableDefinitions: [
|
|
46
|
-
{
|
|
47
|
-
kind: 'VariableDefinition',
|
|
48
|
-
variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
|
|
49
|
-
type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'EmbedStreamsInput' } } }
|
|
50
|
-
}
|
|
51
|
-
],
|
|
52
|
-
selectionSet: {
|
|
53
|
-
kind: 'SelectionSet',
|
|
54
|
-
selections: [
|
|
55
|
-
{
|
|
56
|
-
kind: 'Field',
|
|
57
|
-
alias: { kind: 'Name', value: 'streams' },
|
|
58
|
-
name: { kind: 'Name', value: 'embedStreams' },
|
|
59
|
-
arguments: [{ kind: 'Argument', name: { kind: 'Name', value: 'input' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } } }],
|
|
60
|
-
selectionSet: {
|
|
61
|
-
kind: 'SelectionSet',
|
|
62
|
-
selections: [
|
|
63
|
-
{
|
|
64
|
-
kind: 'Field',
|
|
65
|
-
name: { kind: 'Name', value: 'items' },
|
|
66
|
-
selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'StreamPlayerPayloadFragment' } }] }
|
|
67
|
-
},
|
|
68
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'continuationToken' } }
|
|
69
|
-
]
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
]
|
|
73
|
-
}
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
kind: 'FragmentDefinition',
|
|
77
|
-
name: { kind: 'Name', value: 'StreamPlayerPayloadFragment' },
|
|
78
|
-
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Stream' } },
|
|
79
|
-
selectionSet: {
|
|
80
|
-
kind: 'SelectionSet',
|
|
81
|
-
selections: [
|
|
82
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
83
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'title' } },
|
|
84
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'subTitle' } },
|
|
85
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'createdAt' } },
|
|
86
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'publishedAt' } },
|
|
87
|
-
{
|
|
88
|
-
kind: 'Field',
|
|
89
|
-
name: { kind: 'Name', value: 'cover' },
|
|
90
|
-
selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'Field', name: { kind: 'Name', value: 'url' } }] }
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
kind: 'Field',
|
|
94
|
-
name: { kind: 'Name', value: 'ownerProfile' },
|
|
95
|
-
selectionSet: {
|
|
96
|
-
kind: 'SelectionSet',
|
|
97
|
-
selections: [
|
|
98
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
99
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'type' } }
|
|
100
|
-
]
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'pagesCount' } }
|
|
104
|
-
]
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
]
|
|
108
|
-
};
|
|
109
|
-
export const GetStreamPagesDocument = {
|
|
110
|
-
kind: 'Document',
|
|
111
|
-
definitions: [
|
|
112
|
-
{
|
|
113
|
-
kind: 'OperationDefinition',
|
|
114
|
-
operation: 'query',
|
|
115
|
-
name: { kind: 'Name', value: 'GetStreamPages' },
|
|
116
|
-
variableDefinitions: [
|
|
117
|
-
{
|
|
118
|
-
kind: 'VariableDefinition',
|
|
119
|
-
variable: { kind: 'Variable', name: { kind: 'Name', value: 'input' } },
|
|
120
|
-
type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'EmbedStreamPagesInput' } } }
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
kind: 'VariableDefinition',
|
|
124
|
-
variable: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } },
|
|
125
|
-
type: { kind: 'NonNullType', type: { kind: 'NamedType', name: { kind: 'Name', value: 'ImageScale' } } }
|
|
126
|
-
}
|
|
127
|
-
],
|
|
128
|
-
selectionSet: {
|
|
129
|
-
kind: 'SelectionSet',
|
|
130
|
-
selections: [
|
|
131
|
-
{
|
|
132
|
-
kind: 'Field',
|
|
133
|
-
alias: { kind: 'Name', value: 'streamPages' },
|
|
134
|
-
name: { kind: 'Name', value: 'embedStreamPages' },
|
|
135
|
-
arguments: [{ kind: 'Argument', name: { kind: 'Name', value: 'input' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'input' } } }],
|
|
136
|
-
selectionSet: {
|
|
137
|
-
kind: 'SelectionSet',
|
|
138
|
-
selections: [
|
|
139
|
-
{
|
|
140
|
-
kind: 'Field',
|
|
141
|
-
name: { kind: 'Name', value: 'items' },
|
|
142
|
-
selectionSet: {
|
|
143
|
-
kind: 'SelectionSet',
|
|
144
|
-
selections: [{ kind: 'FragmentSpread', name: { kind: 'Name', value: 'StreamPageViewerPayloadFragment' } }]
|
|
145
|
-
}
|
|
146
|
-
},
|
|
147
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'continuationToken' } }
|
|
148
|
-
]
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
]
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
kind: 'FragmentDefinition',
|
|
156
|
-
name: { kind: 'Name', value: 'StreamPageViewerPayloadFragment' },
|
|
157
|
-
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'StreamPage' } },
|
|
158
|
-
selectionSet: {
|
|
159
|
-
kind: 'SelectionSet',
|
|
160
|
-
selections: [
|
|
161
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
162
|
-
{
|
|
163
|
-
kind: 'Field',
|
|
164
|
-
name: { kind: 'Name', value: 'cover' },
|
|
165
|
-
selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'Field', name: { kind: 'Name', value: 'url' } }] }
|
|
166
|
-
},
|
|
167
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'name' } },
|
|
168
|
-
{
|
|
169
|
-
kind: 'Field',
|
|
170
|
-
name: { kind: 'Name', value: 'layout' },
|
|
171
|
-
arguments: [{ kind: 'Argument', name: { kind: 'Name', value: 'scale' }, value: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } } }]
|
|
172
|
-
}
|
|
173
|
-
]
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
]
|
|
177
|
-
};
|
|
1
|
+
export const StreamPlayerPayloadFragmentDoc = { "kind": "Document", "definitions": [{ "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "StreamPlayerPayloadFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Stream" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subTitle" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publishedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cover" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "url" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerProfile" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pagesCount" } }] } }] };
|
|
2
|
+
export const GetStreamsDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetStreams" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "EmbedStreamsInput" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "alias": { "kind": "Name", "value": "streams" }, "name": { "kind": "Name", "value": "embedStreams" }, "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": "items" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "StreamPlayerPayloadFragment" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "continuationToken" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "StreamPlayerPayloadFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Stream" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "subTitle" } }, { "kind": "Field", "name": { "kind": "Name", "value": "createdAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "publishedAt" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cover" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "url" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "ownerProfile" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "pagesCount" } }] } }] };
|
|
3
|
+
export const GetStreamPagesDocument = { "kind": "Document", "definitions": [{ "kind": "OperationDefinition", "operation": "query", "name": { "kind": "Name", "value": "GetStreamPages" }, "variableDefinitions": [{ "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "input" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "EmbedStreamPagesInput" } } } }, { "kind": "VariableDefinition", "variable": { "kind": "Variable", "name": { "kind": "Name", "value": "image_scale" } }, "type": { "kind": "NonNullType", "type": { "kind": "NamedType", "name": { "kind": "Name", "value": "ImageScale" } } } }], "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "alias": { "kind": "Name", "value": "streamPages" }, "name": { "kind": "Name", "value": "embedStreamPages" }, "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": "items" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "FragmentSpread", "name": { "kind": "Name", "value": "StreamPageViewerPayloadFragment" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "continuationToken" } }] } }] } }, { "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "StreamPageViewerPayloadFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "StreamPage" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "cover" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "url" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "name" } }, { "kind": "Field", "name": { "kind": "Name", "value": "layout" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "scale" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "image_scale" } } }] }] } }] };
|
|
@@ -85,14 +85,22 @@ export type MediaCenterModel = {
|
|
|
85
85
|
id: string;
|
|
86
86
|
tag: {
|
|
87
87
|
text: string;
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
colorScheme: {
|
|
89
|
+
light: {
|
|
90
|
+
fontColor: string;
|
|
91
|
+
backgroundColor: string;
|
|
92
|
+
} | null;
|
|
93
|
+
dark: {
|
|
94
|
+
fontColor: string;
|
|
95
|
+
backgroundColor: string;
|
|
96
|
+
} | null;
|
|
97
|
+
} | null;
|
|
90
98
|
} | null;
|
|
91
99
|
}[];
|
|
92
100
|
playerColors: {
|
|
93
101
|
light: MediaCenterBrandColors | null;
|
|
94
102
|
dark: MediaCenterBrandColors | null;
|
|
95
|
-
};
|
|
103
|
+
} | null;
|
|
96
104
|
};
|
|
97
105
|
export type MediaCenterBrandColors = {
|
|
98
106
|
brand: string | null;
|
|
@@ -122,7 +122,7 @@ const genereateStreamActions = (id) => {
|
|
|
122
122
|
--_cross-browser-scrollbar--track-color: transparent;
|
|
123
123
|
}
|
|
124
124
|
.media-center-discover:hover {
|
|
125
|
-
--_cross-browser-scrollbar--thumb-color: var(--scrollbar--thumb-color, light-dark(#
|
|
125
|
+
--_cross-browser-scrollbar--thumb-color: var(--scrollbar--thumb-color, light-dark(#d1d5db, #4b5563));
|
|
126
126
|
--_cross-browser-scrollbar--track-color: var(--scrollbar--track-color, transparent);
|
|
127
127
|
}
|
|
128
128
|
.media-center-discover::-webkit-scrollbar {
|
|
@@ -33,6 +33,14 @@ export type MediaCenterSubCategoryModel = {
|
|
|
33
33
|
};
|
|
34
34
|
export type MediaCenterCategoryTagModel = {
|
|
35
35
|
text: string;
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
colorScheme: {
|
|
37
|
+
light: {
|
|
38
|
+
fontColor: string;
|
|
39
|
+
backgroundColor: string;
|
|
40
|
+
} | null;
|
|
41
|
+
dark: {
|
|
42
|
+
fontColor: string;
|
|
43
|
+
backgroundColor: string;
|
|
44
|
+
} | null;
|
|
45
|
+
} | null;
|
|
38
46
|
};
|
|
@@ -242,7 +242,7 @@ const swipeToOpen = (node) => {
|
|
|
242
242
|
--_cross-browser-scrollbar--track-color: transparent;
|
|
243
243
|
}
|
|
244
244
|
.media-center-overlay:hover {
|
|
245
|
-
--_cross-browser-scrollbar--thumb-color: var(--scrollbar--thumb-color, light-dark(#
|
|
245
|
+
--_cross-browser-scrollbar--thumb-color: var(--scrollbar--thumb-color, light-dark(#d1d5db, #4b5563));
|
|
246
246
|
--_cross-browser-scrollbar--track-color: var(--scrollbar--track-color, transparent);
|
|
247
247
|
}
|
|
248
248
|
.media-center-overlay::-webkit-scrollbar {
|
|
@@ -86,7 +86,14 @@ const handleCategoryExpaned = (e, categoryId) => {
|
|
|
86
86
|
{category.value.name}
|
|
87
87
|
</div>
|
|
88
88
|
{#if category.value.tag}
|
|
89
|
-
|
|
89
|
+
{@const lightColors = category.value.tag.colorScheme?.light}
|
|
90
|
+
{@const darkColors = category.value.tag.colorScheme?.dark}
|
|
91
|
+
<div
|
|
92
|
+
class="menu-item__tag"
|
|
93
|
+
style:--_tag--light--bg={lightColors?.backgroundColor}
|
|
94
|
+
style:--_tag--light--color={lightColors?.fontColor}
|
|
95
|
+
style:--_tag--dark--bg={darkColors?.backgroundColor}
|
|
96
|
+
style:--_tag--dark--color={darkColors?.fontColor}>
|
|
90
97
|
<div class="menu-item__tag-text">
|
|
91
98
|
{category.value.tag.text}
|
|
92
99
|
</div>
|
|
@@ -166,7 +173,7 @@ const handleCategoryExpaned = (e, categoryId) => {
|
|
|
166
173
|
--_cross-browser-scrollbar--track-color: transparent;
|
|
167
174
|
}
|
|
168
175
|
.media-center-menu__content:hover {
|
|
169
|
-
--_cross-browser-scrollbar--thumb-color: var(--scrollbar--thumb-color, light-dark(#
|
|
176
|
+
--_cross-browser-scrollbar--thumb-color: var(--scrollbar--thumb-color, light-dark(#d1d5db, #4b5563));
|
|
170
177
|
--_cross-browser-scrollbar--track-color: var(--scrollbar--track-color, transparent);
|
|
171
178
|
}
|
|
172
179
|
.media-center-menu__content::-webkit-scrollbar {
|
|
@@ -278,6 +285,8 @@ const handleCategoryExpaned = (e, categoryId) => {
|
|
|
278
285
|
letter-spacing: -0.2px;
|
|
279
286
|
}
|
|
280
287
|
.menu-item__tag {
|
|
288
|
+
background-color: light-dark(var(--_tag--light--bg, transparent), var(--_tag--dark--bg, transparent));
|
|
289
|
+
color: light-dark(var(--_tag--light--color, inherit), var(--_tag--dark--color, inherit));
|
|
281
290
|
height: min-content;
|
|
282
291
|
border-radius: 0.25rem;
|
|
283
292
|
padding: 0.3125rem 0.375rem;
|
|
@@ -1,209 +1 @@
|
|
|
1
|
-
export const PostViewerPayloadFragmentDoc = {
|
|
2
|
-
kind: 'Document',
|
|
3
|
-
definitions: [
|
|
4
|
-
{
|
|
5
|
-
kind: 'FragmentDefinition',
|
|
6
|
-
name: { kind: 'Name', value: 'PostViewerPayloadFragment' },
|
|
7
|
-
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Post' } },
|
|
8
|
-
selectionSet: {
|
|
9
|
-
kind: 'SelectionSet',
|
|
10
|
-
selections: [
|
|
11
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
12
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'enableSocialInteractions' } },
|
|
13
|
-
{
|
|
14
|
-
kind: 'Field',
|
|
15
|
-
name: { kind: 'Name', value: 'allProducts' },
|
|
16
|
-
selectionSet: {
|
|
17
|
-
kind: 'SelectionSet',
|
|
18
|
-
selections: [
|
|
19
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
20
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'title' } },
|
|
21
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'shortDescription' } },
|
|
22
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'link' } },
|
|
23
|
-
{
|
|
24
|
-
kind: 'Field',
|
|
25
|
-
name: { kind: 'Name', value: 'media' },
|
|
26
|
-
selectionSet: {
|
|
27
|
-
kind: 'SelectionSet',
|
|
28
|
-
selections: [
|
|
29
|
-
{
|
|
30
|
-
kind: 'Field',
|
|
31
|
-
name: { kind: 'Name', value: 'url' },
|
|
32
|
-
arguments: [{ kind: 'Argument', name: { kind: 'Name', value: 'scale' }, value: { kind: 'EnumValue', value: 'SMALL' } }]
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
kind: 'Field',
|
|
36
|
-
name: { kind: 'Name', value: 'thumbnailUrl' },
|
|
37
|
-
arguments: [{ kind: 'Argument', name: { kind: 'Name', value: 'scale' }, value: { kind: 'EnumValue', value: 'SMALL' } }]
|
|
38
|
-
},
|
|
39
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'type' } }
|
|
40
|
-
]
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
kind: 'Field',
|
|
45
|
-
name: { kind: 'Name', value: 'brand' },
|
|
46
|
-
selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'Field', name: { kind: 'Name', value: 'name' } }] }
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
kind: 'Field',
|
|
50
|
-
name: { kind: 'Name', value: 'priceAndAvailability' },
|
|
51
|
-
selectionSet: {
|
|
52
|
-
kind: 'SelectionSet',
|
|
53
|
-
selections: [
|
|
54
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'currency' } },
|
|
55
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'price' } },
|
|
56
|
-
{
|
|
57
|
-
kind: 'Field',
|
|
58
|
-
name: { kind: 'Name', value: 'productSalePrices' },
|
|
59
|
-
selectionSet: {
|
|
60
|
-
kind: 'SelectionSet',
|
|
61
|
-
selections: [
|
|
62
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'salePrice' } },
|
|
63
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'salePriceEffectiveDateFrom' } },
|
|
64
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'salePriceEffectiveDateTo' } }
|
|
65
|
-
]
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
]
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
]
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
kind: 'Field',
|
|
76
|
-
name: { kind: 'Name', value: 'ad' },
|
|
77
|
-
selectionSet: {
|
|
78
|
-
kind: 'SelectionSet',
|
|
79
|
-
selections: [
|
|
80
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'id' } },
|
|
81
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'title' } },
|
|
82
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'description' } },
|
|
83
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'price' } },
|
|
84
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'priceInfo' } },
|
|
85
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'currency' } },
|
|
86
|
-
{
|
|
87
|
-
kind: 'Field',
|
|
88
|
-
name: { kind: 'Name', value: 'ctaButton' },
|
|
89
|
-
selectionSet: {
|
|
90
|
-
kind: 'SelectionSet',
|
|
91
|
-
selections: [
|
|
92
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'background' } },
|
|
93
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'textColor' } },
|
|
94
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'text' } },
|
|
95
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'url' } },
|
|
96
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'border' } }
|
|
97
|
-
]
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'type' } },
|
|
101
|
-
{
|
|
102
|
-
kind: 'Field',
|
|
103
|
-
name: { kind: 'Name', value: 'media' },
|
|
104
|
-
selectionSet: {
|
|
105
|
-
kind: 'SelectionSet',
|
|
106
|
-
selections: [
|
|
107
|
-
{
|
|
108
|
-
kind: 'Field',
|
|
109
|
-
name: { kind: 'Name', value: 'url' },
|
|
110
|
-
arguments: [{ kind: 'Argument', name: { kind: 'Name', value: 'scale' }, value: { kind: 'EnumValue', value: 'SMALL' } }]
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
kind: 'Field',
|
|
114
|
-
name: { kind: 'Name', value: 'thumbnailUrl' },
|
|
115
|
-
arguments: [{ kind: 'Argument', name: { kind: 'Name', value: 'scale' }, value: { kind: 'EnumValue', value: 'SMALL' } }]
|
|
116
|
-
},
|
|
117
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'type' } }
|
|
118
|
-
]
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
]
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
kind: 'Field',
|
|
126
|
-
name: { kind: 'Name', value: 'postData' },
|
|
127
|
-
selectionSet: {
|
|
128
|
-
kind: 'SelectionSet',
|
|
129
|
-
selections: [
|
|
130
|
-
{
|
|
131
|
-
kind: 'Field',
|
|
132
|
-
name: { kind: 'Name', value: 'media' },
|
|
133
|
-
selectionSet: {
|
|
134
|
-
kind: 'SelectionSet',
|
|
135
|
-
selections: [
|
|
136
|
-
{
|
|
137
|
-
kind: 'Field',
|
|
138
|
-
name: { kind: 'Name', value: 'url' },
|
|
139
|
-
arguments: [
|
|
140
|
-
{
|
|
141
|
-
kind: 'Argument',
|
|
142
|
-
name: { kind: 'Name', value: 'scale' },
|
|
143
|
-
value: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } }
|
|
144
|
-
}
|
|
145
|
-
]
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
kind: 'Field',
|
|
149
|
-
name: { kind: 'Name', value: 'thumbnailUrl' },
|
|
150
|
-
arguments: [
|
|
151
|
-
{
|
|
152
|
-
kind: 'Argument',
|
|
153
|
-
name: { kind: 'Name', value: 'scale' },
|
|
154
|
-
value: { kind: 'Variable', name: { kind: 'Name', value: 'image_scale' } }
|
|
155
|
-
}
|
|
156
|
-
]
|
|
157
|
-
},
|
|
158
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'type' } }
|
|
159
|
-
]
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
kind: 'Field',
|
|
164
|
-
name: { kind: 'Name', value: 'articleData' },
|
|
165
|
-
selectionSet: {
|
|
166
|
-
kind: 'SelectionSet',
|
|
167
|
-
selections: [
|
|
168
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'title' } },
|
|
169
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'kicker' } },
|
|
170
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'articleId' } }
|
|
171
|
-
]
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
kind: 'Field',
|
|
176
|
-
name: { kind: 'Name', value: 'mediaData' },
|
|
177
|
-
selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'Field', name: { kind: 'Name', value: 'text' } }] }
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
kind: 'Field',
|
|
181
|
-
name: { kind: 'Name', value: 'momentData' },
|
|
182
|
-
selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'Field', name: { kind: 'Name', value: 'text' } }] }
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
kind: 'Field',
|
|
186
|
-
name: { kind: 'Name', value: 'shortVideoData' },
|
|
187
|
-
selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'Field', name: { kind: 'Name', value: 'text' } }] }
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
kind: 'Field',
|
|
191
|
-
name: { kind: 'Name', value: 'videoData' },
|
|
192
|
-
selectionSet: {
|
|
193
|
-
kind: 'SelectionSet',
|
|
194
|
-
selections: [
|
|
195
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'title' } },
|
|
196
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'text' } }
|
|
197
|
-
]
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
]
|
|
201
|
-
}
|
|
202
|
-
},
|
|
203
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'viewsCount' } },
|
|
204
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'displayDate' } }
|
|
205
|
-
]
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
]
|
|
209
|
-
};
|
|
1
|
+
export const PostViewerPayloadFragmentDoc = { "kind": "Document", "definitions": [{ "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "PostViewerPayloadFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Post" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "enableSocialInteractions" } }, { "kind": "Field", "name": { "kind": "Name", "value": "allProducts" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "shortDescription" } }, { "kind": "Field", "name": { "kind": "Name", "value": "link" } }, { "kind": "Field", "name": { "kind": "Name", "value": "media" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "url" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "scale" }, "value": { "kind": "EnumValue", "value": "SMALL" } }] }, { "kind": "Field", "name": { "kind": "Name", "value": "thumbnailUrl" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "scale" }, "value": { "kind": "EnumValue", "value": "SMALL" } }] }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "brand" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "priceAndAvailability" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "currency" } }, { "kind": "Field", "name": { "kind": "Name", "value": "price" } }, { "kind": "Field", "name": { "kind": "Name", "value": "productSalePrices" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "salePrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "salePriceEffectiveDateFrom" } }, { "kind": "Field", "name": { "kind": "Name", "value": "salePriceEffectiveDateTo" } }] } }] } }] } }, { "kind": "Field", "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": "priceInfo" } }, { "kind": "Field", "name": { "kind": "Name", "value": "currency" } }, { "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" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "scale" }, "value": { "kind": "EnumValue", "value": "SMALL" } }] }, { "kind": "Field", "name": { "kind": "Name", "value": "thumbnailUrl" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "scale" }, "value": { "kind": "EnumValue", "value": "SMALL" } }] }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "postData" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "media" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "url" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "scale" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "image_scale" } } }] }, { "kind": "Field", "name": { "kind": "Name", "value": "thumbnailUrl" }, "arguments": [{ "kind": "Argument", "name": { "kind": "Name", "value": "scale" }, "value": { "kind": "Variable", "name": { "kind": "Name", "value": "image_scale" } } }] }, { "kind": "Field", "name": { "kind": "Name", "value": "type" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "articleData" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "kicker" } }, { "kind": "Field", "name": { "kind": "Name", "value": "articleId" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "mediaData" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "text" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "momentData" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "text" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "shortVideoData" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "text" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "videoData" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "text" } }] } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "viewsCount" } }, { "kind": "Field", "name": { "kind": "Name", "value": "displayDate" } }] } }] };
|
|
@@ -1,59 +1 @@
|
|
|
1
|
-
export const ProductCardPayloadFragmentDoc = {
|
|
2
|
-
kind: 'Document',
|
|
3
|
-
definitions: [
|
|
4
|
-
{
|
|
5
|
-
kind: 'FragmentDefinition',
|
|
6
|
-
name: { kind: 'Name', value: 'ProductCardPayloadFragment' },
|
|
7
|
-
typeCondition: { kind: 'NamedType', name: { kind: 'Name', value: 'Product' } },
|
|
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: 'shortDescription' } },
|
|
14
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'link' } },
|
|
15
|
-
{
|
|
16
|
-
kind: 'Field',
|
|
17
|
-
name: { kind: 'Name', value: 'media' },
|
|
18
|
-
selectionSet: {
|
|
19
|
-
kind: 'SelectionSet',
|
|
20
|
-
selections: [
|
|
21
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'url' } },
|
|
22
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'thumbnailUrl' } },
|
|
23
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'type' } }
|
|
24
|
-
]
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
kind: 'Field',
|
|
29
|
-
name: { kind: 'Name', value: 'brand' },
|
|
30
|
-
selectionSet: { kind: 'SelectionSet', selections: [{ kind: 'Field', name: { kind: 'Name', value: 'name' } }] }
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
kind: 'Field',
|
|
34
|
-
name: { kind: 'Name', value: 'priceAndAvailability' },
|
|
35
|
-
selectionSet: {
|
|
36
|
-
kind: 'SelectionSet',
|
|
37
|
-
selections: [
|
|
38
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'currency' } },
|
|
39
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'price' } },
|
|
40
|
-
{
|
|
41
|
-
kind: 'Field',
|
|
42
|
-
name: { kind: 'Name', value: 'productSalePrices' },
|
|
43
|
-
selectionSet: {
|
|
44
|
-
kind: 'SelectionSet',
|
|
45
|
-
selections: [
|
|
46
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'salePrice' } },
|
|
47
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'salePriceEffectiveDateFrom' } },
|
|
48
|
-
{ kind: 'Field', name: { kind: 'Name', value: 'salePriceEffectiveDateTo' } }
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
]
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
]
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
]
|
|
59
|
-
};
|
|
1
|
+
export const ProductCardPayloadFragmentDoc = { "kind": "Document", "definitions": [{ "kind": "FragmentDefinition", "name": { "kind": "Name", "value": "ProductCardPayloadFragment" }, "typeCondition": { "kind": "NamedType", "name": { "kind": "Name", "value": "Product" } }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "id" } }, { "kind": "Field", "name": { "kind": "Name", "value": "title" } }, { "kind": "Field", "name": { "kind": "Name", "value": "shortDescription" } }, { "kind": "Field", "name": { "kind": "Name", "value": "link" } }, { "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" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "brand" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "name" } }] } }, { "kind": "Field", "name": { "kind": "Name", "value": "priceAndAvailability" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "currency" } }, { "kind": "Field", "name": { "kind": "Name", "value": "price" } }, { "kind": "Field", "name": { "kind": "Name", "value": "productSalePrices" }, "selectionSet": { "kind": "SelectionSet", "selections": [{ "kind": "Field", "name": { "kind": "Name", "value": "salePrice" } }, { "kind": "Field", "name": { "kind": "Name", "value": "salePriceEffectiveDateFrom" } }, { "kind": "Field", "name": { "kind": "Name", "value": "salePriceEffectiveDateTo" } }] } }] } }] } }] };
|