@schibsted/pulse-sdk 8.0.0-alpha.8
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/CHANGELOG.md +1035 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +47 -0
- package/dist/index.js.map +1 -0
- package/node_modules/@schibsted/tpaas-schemas/dist/cjs/constants.js +340 -0
- package/node_modules/@schibsted/tpaas-schemas/dist/cjs/index.js +17 -0
- package/node_modules/@schibsted/tpaas-schemas/dist/ejs/constants.js +337 -0
- package/node_modules/@schibsted/tpaas-schemas/dist/ejs/index.js +1 -0
- package/node_modules/@schibsted/tpaas-schemas/dist/index.d.ts +4566 -0
- package/node_modules/@schibsted/tpaas-schemas/package.json +35 -0
- package/package.json +32 -0
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
export const EngagementAudioPlayer = {
|
|
2
|
+
object: {
|
|
3
|
+
type: 'AudioPlayer',
|
|
4
|
+
},
|
|
5
|
+
type: 'Engagement',
|
|
6
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/EngagementAudioPlayer.json',
|
|
7
|
+
};
|
|
8
|
+
export const EngagementForm = {
|
|
9
|
+
object: {
|
|
10
|
+
type: 'Form',
|
|
11
|
+
},
|
|
12
|
+
type: 'Engagement',
|
|
13
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/EngagementForm.json',
|
|
14
|
+
};
|
|
15
|
+
export const EngagementNotification = {
|
|
16
|
+
object: {
|
|
17
|
+
type: 'Notification',
|
|
18
|
+
},
|
|
19
|
+
type: 'Engagement',
|
|
20
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/EngagementNotification.json',
|
|
21
|
+
};
|
|
22
|
+
export const EngagementOffer = {
|
|
23
|
+
object: {
|
|
24
|
+
type: 'Offer',
|
|
25
|
+
},
|
|
26
|
+
type: 'Engagement',
|
|
27
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/EngagementOffer.json',
|
|
28
|
+
};
|
|
29
|
+
export const EngagementTeaser = {
|
|
30
|
+
object: {
|
|
31
|
+
type: 'Teaser',
|
|
32
|
+
},
|
|
33
|
+
type: 'Engagement',
|
|
34
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/EngagementTeaser.json',
|
|
35
|
+
};
|
|
36
|
+
export const EngagementUIElement = {
|
|
37
|
+
object: {
|
|
38
|
+
type: 'UIElement',
|
|
39
|
+
},
|
|
40
|
+
type: 'Engagement',
|
|
41
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/EngagementUIElement.json',
|
|
42
|
+
};
|
|
43
|
+
export const EngagementVideoPlayer = {
|
|
44
|
+
object: {
|
|
45
|
+
type: 'VideoPlayer',
|
|
46
|
+
},
|
|
47
|
+
type: 'Engagement',
|
|
48
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/EngagementVideoPlayer.json',
|
|
49
|
+
};
|
|
50
|
+
export const EngagementWidget = {
|
|
51
|
+
object: {
|
|
52
|
+
type: 'Widget',
|
|
53
|
+
},
|
|
54
|
+
type: 'Engagement',
|
|
55
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/EngagementWidget.json',
|
|
56
|
+
};
|
|
57
|
+
export const InternalProbe = {
|
|
58
|
+
object: {
|
|
59
|
+
type: 'Probe',
|
|
60
|
+
},
|
|
61
|
+
type: 'Internal',
|
|
62
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/InternalProbe.json',
|
|
63
|
+
};
|
|
64
|
+
export const LeaveArticle = {
|
|
65
|
+
object: {
|
|
66
|
+
type: 'Article',
|
|
67
|
+
},
|
|
68
|
+
type: 'Leave',
|
|
69
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/LeaveArticle.json',
|
|
70
|
+
};
|
|
71
|
+
export const LeaveAudio = {
|
|
72
|
+
object: {
|
|
73
|
+
type: 'Audio',
|
|
74
|
+
},
|
|
75
|
+
type: 'Leave',
|
|
76
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/LeaveAudio.json',
|
|
77
|
+
};
|
|
78
|
+
export const LeaveError = {
|
|
79
|
+
object: {
|
|
80
|
+
type: 'Error',
|
|
81
|
+
},
|
|
82
|
+
type: 'Leave',
|
|
83
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/LeaveError.json',
|
|
84
|
+
};
|
|
85
|
+
export const LeaveFrontpage = {
|
|
86
|
+
object: {
|
|
87
|
+
type: 'Frontpage',
|
|
88
|
+
},
|
|
89
|
+
type: 'Leave',
|
|
90
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/LeaveFrontpage.json',
|
|
91
|
+
};
|
|
92
|
+
export const LeaveLandingpage = {
|
|
93
|
+
object: {
|
|
94
|
+
type: 'Landingpage',
|
|
95
|
+
},
|
|
96
|
+
type: 'Leave',
|
|
97
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/LeaveLandingpage.json',
|
|
98
|
+
};
|
|
99
|
+
export const LeaveListing = {
|
|
100
|
+
object: {
|
|
101
|
+
type: 'Listing',
|
|
102
|
+
},
|
|
103
|
+
type: 'Leave',
|
|
104
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/LeaveListing.json',
|
|
105
|
+
};
|
|
106
|
+
export const LeaveLockedArticle = {
|
|
107
|
+
object: {
|
|
108
|
+
type: 'LockedArticle',
|
|
109
|
+
},
|
|
110
|
+
type: 'Leave',
|
|
111
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/LeaveLockedArticle.json',
|
|
112
|
+
};
|
|
113
|
+
export const LeaveLockedAudio = {
|
|
114
|
+
object: {
|
|
115
|
+
type: 'LockedAudio',
|
|
116
|
+
},
|
|
117
|
+
type: 'Leave',
|
|
118
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/LeaveLockedAudio.json',
|
|
119
|
+
};
|
|
120
|
+
export const LeaveLockedVideo = {
|
|
121
|
+
object: {
|
|
122
|
+
type: 'LockedVideo',
|
|
123
|
+
},
|
|
124
|
+
type: 'Leave',
|
|
125
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/LeaveLockedVideo.json',
|
|
126
|
+
};
|
|
127
|
+
export const LeavePage = {
|
|
128
|
+
object: {
|
|
129
|
+
type: 'Page',
|
|
130
|
+
},
|
|
131
|
+
type: 'Leave',
|
|
132
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/LeavePage.json',
|
|
133
|
+
};
|
|
134
|
+
export const LeaveTitle = {
|
|
135
|
+
object: {
|
|
136
|
+
type: 'Title',
|
|
137
|
+
},
|
|
138
|
+
type: 'Leave',
|
|
139
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/LeaveTitle.json',
|
|
140
|
+
};
|
|
141
|
+
export const LeaveVideo = {
|
|
142
|
+
object: {
|
|
143
|
+
type: 'Video',
|
|
144
|
+
},
|
|
145
|
+
type: 'Leave',
|
|
146
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/LeaveVideo.json',
|
|
147
|
+
};
|
|
148
|
+
export const LeaveWeather = {
|
|
149
|
+
object: {
|
|
150
|
+
type: 'Weather',
|
|
151
|
+
},
|
|
152
|
+
type: 'Leave',
|
|
153
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/LeaveWeather.json',
|
|
154
|
+
};
|
|
155
|
+
export const ViewAdSlot = {
|
|
156
|
+
object: {
|
|
157
|
+
type: 'AdSlot',
|
|
158
|
+
},
|
|
159
|
+
type: 'View',
|
|
160
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewAdSlot.json',
|
|
161
|
+
};
|
|
162
|
+
export const ViewArticle = {
|
|
163
|
+
object: {
|
|
164
|
+
type: 'Article',
|
|
165
|
+
},
|
|
166
|
+
type: 'View',
|
|
167
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewArticle.json',
|
|
168
|
+
};
|
|
169
|
+
export const ViewAudio = {
|
|
170
|
+
object: {
|
|
171
|
+
type: 'Audio',
|
|
172
|
+
},
|
|
173
|
+
type: 'View',
|
|
174
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewAudio.json',
|
|
175
|
+
};
|
|
176
|
+
export const ViewAudioPlayer = {
|
|
177
|
+
object: {
|
|
178
|
+
type: 'AudioPlayer',
|
|
179
|
+
},
|
|
180
|
+
type: 'View',
|
|
181
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewAudioPlayer.json',
|
|
182
|
+
};
|
|
183
|
+
export const ViewError = {
|
|
184
|
+
object: {
|
|
185
|
+
type: 'Error',
|
|
186
|
+
},
|
|
187
|
+
type: 'View',
|
|
188
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewError.json',
|
|
189
|
+
};
|
|
190
|
+
export const ViewForm = {
|
|
191
|
+
object: {
|
|
192
|
+
type: 'Form',
|
|
193
|
+
},
|
|
194
|
+
type: 'View',
|
|
195
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewForm.json',
|
|
196
|
+
};
|
|
197
|
+
export const ViewFrontpage = {
|
|
198
|
+
object: {
|
|
199
|
+
type: 'Frontpage',
|
|
200
|
+
},
|
|
201
|
+
type: 'View',
|
|
202
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewFrontpage.json',
|
|
203
|
+
};
|
|
204
|
+
export const ViewLandingpage = {
|
|
205
|
+
object: {
|
|
206
|
+
type: 'Landingpage',
|
|
207
|
+
},
|
|
208
|
+
type: 'View',
|
|
209
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewLandingpage.json',
|
|
210
|
+
};
|
|
211
|
+
export const ViewListing = {
|
|
212
|
+
object: {
|
|
213
|
+
type: 'Listing',
|
|
214
|
+
},
|
|
215
|
+
type: 'View',
|
|
216
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewListing.json',
|
|
217
|
+
};
|
|
218
|
+
export const ViewLockedArticle = {
|
|
219
|
+
object: {
|
|
220
|
+
type: 'LockedArticle',
|
|
221
|
+
},
|
|
222
|
+
type: 'View',
|
|
223
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewLockedArticle.json',
|
|
224
|
+
};
|
|
225
|
+
export const ViewLockedAudio = {
|
|
226
|
+
object: {
|
|
227
|
+
type: 'LockedAudio',
|
|
228
|
+
},
|
|
229
|
+
type: 'View',
|
|
230
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewLockedAudio.json',
|
|
231
|
+
};
|
|
232
|
+
export const ViewLockedVideo = {
|
|
233
|
+
object: {
|
|
234
|
+
type: 'LockedVideo',
|
|
235
|
+
},
|
|
236
|
+
type: 'View',
|
|
237
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewLockedVideo.json',
|
|
238
|
+
};
|
|
239
|
+
export const ViewNotification = {
|
|
240
|
+
object: {
|
|
241
|
+
name: 'PushNotification',
|
|
242
|
+
type: 'Notification',
|
|
243
|
+
},
|
|
244
|
+
type: 'View',
|
|
245
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewNotification.json',
|
|
246
|
+
};
|
|
247
|
+
export const ViewNotificationFlat = {
|
|
248
|
+
'object.name': 'PushNotification',
|
|
249
|
+
'object.type': 'Notification',
|
|
250
|
+
type: 'View',
|
|
251
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewNotification.json',
|
|
252
|
+
};
|
|
253
|
+
export const ViewOffer = {
|
|
254
|
+
object: {
|
|
255
|
+
type: 'Offer',
|
|
256
|
+
},
|
|
257
|
+
type: 'View',
|
|
258
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewOffer.json',
|
|
259
|
+
};
|
|
260
|
+
export const ViewPage = {
|
|
261
|
+
object: {
|
|
262
|
+
type: 'Page',
|
|
263
|
+
},
|
|
264
|
+
type: 'View',
|
|
265
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewPage.json',
|
|
266
|
+
};
|
|
267
|
+
export const ViewTeaser = {
|
|
268
|
+
object: {
|
|
269
|
+
type: 'Teaser',
|
|
270
|
+
},
|
|
271
|
+
type: 'View',
|
|
272
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewTeaser.json',
|
|
273
|
+
};
|
|
274
|
+
export const ViewTitle = {
|
|
275
|
+
object: {
|
|
276
|
+
type: 'Title',
|
|
277
|
+
},
|
|
278
|
+
type: 'View',
|
|
279
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewTitle.json',
|
|
280
|
+
};
|
|
281
|
+
export const ViewUIElement = {
|
|
282
|
+
object: {
|
|
283
|
+
type: 'UIElement',
|
|
284
|
+
},
|
|
285
|
+
type: 'View',
|
|
286
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewUIElement.json',
|
|
287
|
+
};
|
|
288
|
+
export const ViewVideo = {
|
|
289
|
+
object: {
|
|
290
|
+
type: 'Video',
|
|
291
|
+
},
|
|
292
|
+
type: 'View',
|
|
293
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewVideo.json',
|
|
294
|
+
};
|
|
295
|
+
export const ViewVideoAd = {
|
|
296
|
+
object: {
|
|
297
|
+
type: 'VideoAd',
|
|
298
|
+
},
|
|
299
|
+
type: 'View',
|
|
300
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewVideoAd.json',
|
|
301
|
+
};
|
|
302
|
+
export const ViewVideoPlayer = {
|
|
303
|
+
object: {
|
|
304
|
+
type: 'VideoPlayer',
|
|
305
|
+
},
|
|
306
|
+
type: 'View',
|
|
307
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewVideoPlayer.json',
|
|
308
|
+
};
|
|
309
|
+
export const ViewWeather = {
|
|
310
|
+
object: {
|
|
311
|
+
type: 'Weather',
|
|
312
|
+
},
|
|
313
|
+
type: 'View',
|
|
314
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewWeather.json',
|
|
315
|
+
};
|
|
316
|
+
export const ViewWidget = {
|
|
317
|
+
object: {
|
|
318
|
+
type: 'Widget',
|
|
319
|
+
},
|
|
320
|
+
type: 'View',
|
|
321
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/ViewWidget.json',
|
|
322
|
+
};
|
|
323
|
+
export const WatchAudioPlayer = {
|
|
324
|
+
object: {
|
|
325
|
+
type: 'AudioPlayer',
|
|
326
|
+
},
|
|
327
|
+
type: 'Watch',
|
|
328
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/WatchAudioPlayer.json',
|
|
329
|
+
};
|
|
330
|
+
export const WatchVideoPlayer = {
|
|
331
|
+
object: {
|
|
332
|
+
type: 'VideoPlayer',
|
|
333
|
+
},
|
|
334
|
+
type: 'Watch',
|
|
335
|
+
schema: 'https://tpaas-schemas.schibsted.media/catalogs/versions/1.0.11/schemas/WatchVideoPlayer.json',
|
|
336
|
+
};
|
|
337
|
+
export const CATALOG_VERSION = '1.0.11';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './constants';
|