@newskit-render/mock 0.35.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.
@@ -0,0 +1,679 @@
1
+ const { crop, video } = require("./media");
2
+ const articles = [
3
+ {
4
+ id: "17856463",
5
+ url: "https://www.thesun.co.uk/sport/football/17856463/west-ham-amadou-onana-transfer-lille/",
6
+ label: null,
7
+ slug: "west-ham-amadou-onana-transfer-lille",
8
+ categories: null,
9
+ publisher: "SUN_UK",
10
+ headline: "West Ham lining up £20m transfer swoop for Lille midfield wonderkid Amadou Onana",
11
+ kicker: "LILLE MIX",
12
+ flags: [
13
+ "Exclusive"
14
+ ],
15
+ topics: [],
16
+ template: "theme-football",
17
+ bylines: [
18
+ {
19
+ value: "Alan Nixon",
20
+ type: "inline"
21
+ }
22
+ ],
23
+ publishedDateTime: "2022-03-05T20:30:00.000Z",
24
+ updatedDateTime: "2022-03-05T20:30:00.000Z",
25
+ summary: {
26
+ children: [
27
+ {
28
+ text: "HAMMERS boss David Moyes was left impressed after watching Belgian ace in Champions League clash against Chelsea. Moyes has cash to spend this summer and Lille are hoping to pocket at least £20million."
29
+ }
30
+ ]
31
+ },
32
+ media: {
33
+ crops: [
34
+ {
35
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/SPORT-PREVIEW-Amadou-Onana-to-WHU.jpg?strip=all&w=620&h=413&crop=1",
36
+ alt: null,
37
+ aspectRatio: "landscape"
38
+ },
39
+ {
40
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/SPORT-PREVIEW-Amadou-Onana-to-WHU.jpg?strip=all&w=300&h=450&crop=1",
41
+ alt: null,
42
+ aspectRatio: "portrait"
43
+ },
44
+ {
45
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/SPORT-PREVIEW-Amadou-Onana-to-WHU.jpg?strip=all&w=620&h=413&crop=1",
46
+ alt: null,
47
+ aspectRatio: "mobile"
48
+ }
49
+ ]
50
+ }
51
+ },
52
+ {
53
+ id: "17851099",
54
+ url: "https://www.thesun.co.uk/money/17851099/take-our-money-mot/",
55
+ label: null,
56
+ slug: "take-our-money-mot",
57
+ categories: null,
58
+ publisher: "SUN_UK",
59
+ headline: "Take our money MOT to save money on bills and get extra cash",
60
+ kicker: "TESTING TIMES",
61
+ flags: [
62
+ ""
63
+ ],
64
+ topics: [],
65
+ template: "theme-money",
66
+ bylines: [
67
+ {
68
+ value: "Tara Evans",
69
+ type: "inline"
70
+ }
71
+ ],
72
+ publishedDateTime: "2022-03-05T21:15:00.000Z",
73
+ updatedDateTime: "2022-03-05T21:15:00.000Z",
74
+ summary: {
75
+ children: [
76
+ {
77
+ text: "FIND out where you can save and take our money MOT. This includes tips including switching banks, ditching subscriptions, and getting a better deal on your mortgage."
78
+ }
79
+ ]
80
+ },
81
+ media: {
82
+ crops: [
83
+ {
84
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/TOB-MOT-COMP-v2.jpg?strip=all&w=620&h=413&crop=1",
85
+ alt: null,
86
+ aspectRatio: "landscape"
87
+ },
88
+ {
89
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/TOB-MOT-COMP-v2.jpg?strip=all&w=300&h=450&crop=1",
90
+ alt: null,
91
+ aspectRatio: "portrait"
92
+ },
93
+ {
94
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/TOB-MOT-COMP-v2.jpg?strip=all&w=620&h=413&crop=1",
95
+ alt: null,
96
+ aspectRatio: "mobile"
97
+ }
98
+ ]
99
+ }
100
+ },
101
+ {
102
+ id: "17842387",
103
+ url: "https://www.thesun.co.uk/money/17842387/londons-cheapest-flat-lease-extend/",
104
+ label: null,
105
+ slug: "londons-cheapest-flat-lease-extend",
106
+ categories: null,
107
+ publisher: "SUN_UK",
108
+ headline: "London's 'cheapest' flat goes under the hammer - but there's a huge catch",
109
+ kicker: "WRONG MOVE",
110
+ flags: [
111
+ ""
112
+ ],
113
+ topics: [],
114
+ template: "theme-money",
115
+ bylines: [
116
+ {
117
+ value: "Alex Winter",
118
+ type: "inline"
119
+ }
120
+ ],
121
+ publishedDateTime: "2022-03-06T14:21:34.000Z",
122
+ updatedDateTime: "2022-03-06T14:21:39.000Z",
123
+ summary: {
124
+ children: [
125
+ {
126
+ text: "A LONDON apartment will be sold at an amazingly low price next week - but all is not quite as it seems."
127
+ }
128
+ ]
129
+ },
130
+ media: {
131
+ crops: [
132
+ {
133
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/NINTCHDBPICT000716338185.jpg?strip=all&w=620&h=413&crop=1",
134
+ alt: null,
135
+ aspectRatio: "landscape"
136
+ },
137
+ {
138
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/NINTCHDBPICT000716338185.jpg?strip=all&w=300&h=450&crop=1",
139
+ alt: null,
140
+ aspectRatio: "portrait"
141
+ },
142
+ {
143
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/NINTCHDBPICT000716338185.jpg?strip=all&w=620&h=413&crop=1",
144
+ alt: null,
145
+ aspectRatio: "mobile"
146
+ }
147
+ ]
148
+ }
149
+ },
150
+ {
151
+ id: "17862461",
152
+ url: "https://www.thesun.co.uk/money/17862461/new-uk-laws-april-car-tax-hmrc-payments/",
153
+ label: null,
154
+ slug: "new-uk-laws-april-car-tax-hmrc-payments",
155
+ categories: null,
156
+ publisher: "SUN_UK",
157
+ headline: "New laws to come in April including changes to car tax & HMRC payments",
158
+ kicker: "TIME TO RULE",
159
+ flags: [
160
+ ""
161
+ ],
162
+ topics: [],
163
+ template: "theme-money",
164
+ bylines: [
165
+ {
166
+ value: "Fiona Connor",
167
+ type: "inline"
168
+ }
169
+ ],
170
+ publishedDateTime: "2022-03-06T18:53:09.000Z",
171
+ updatedDateTime: "2022-03-07T11:20:01.000Z",
172
+ summary: {
173
+ children: [
174
+ {
175
+ text: "THE changes will effect Brits in a number of areas including receiving government payments and divorce proceedings. "
176
+ }
177
+ ]
178
+ },
179
+ media: {
180
+ crops: [
181
+ {
182
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/NINTCHDBPICT000713866983.jpg?strip=all&w=620&h=413&crop=1",
183
+ alt: null,
184
+ aspectRatio: "landscape"
185
+ },
186
+ {
187
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/NINTCHDBPICT000713866983.jpg?strip=all&w=300&h=450&crop=1",
188
+ alt: null,
189
+ aspectRatio: "portrait"
190
+ },
191
+ {
192
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/NINTCHDBPICT000713866983.jpg?strip=all&w=620&h=413&crop=1",
193
+ alt: null,
194
+ aspectRatio: "mobile"
195
+ }
196
+ ]
197
+ }
198
+ },
199
+ {
200
+ id: "17397556",
201
+ url: "https://www.thesun.co.uk/sun-selects/17397556/best-anti-ageing-serums/",
202
+ label: null,
203
+ slug: "best-anti-ageing-serums",
204
+ categories: null,
205
+ publisher: "SUN_UK",
206
+ headline: "The best anti-ageing serums for 2022, tried and tested",
207
+ kicker: "SKIN DEEP",
208
+ flags: [
209
+ "Tested"
210
+ ],
211
+ topics: [],
212
+ template: "theme-sun-selects",
213
+ bylines: [
214
+ {
215
+ value: "Suzanne Baum",
216
+ type: "inline"
217
+ }
218
+ ],
219
+ publishedDateTime: "2022-01-25T11:56:20.000Z",
220
+ updatedDateTime: "2022-02-15T13:12:41.000Z",
221
+ summary: null,
222
+ media: {
223
+ crops: [
224
+ {
225
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/01/GettyImages-1306210519.jpg?strip=all&w=620&h=413&crop=1",
226
+ alt: null,
227
+ aspectRatio: "landscape"
228
+ },
229
+ {
230
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/01/GettyImages-1306210519.jpg?strip=all&w=300&h=450&crop=1",
231
+ alt: null,
232
+ aspectRatio: "portrait"
233
+ },
234
+ {
235
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/01/GettyImages-1306210519.jpg?strip=all&w=620&h=413&crop=1",
236
+ alt: null,
237
+ aspectRatio: "mobile"
238
+ }
239
+ ]
240
+ }
241
+ },
242
+ {
243
+ id: "17842504",
244
+ url: "https://www.thesun.co.uk/tech/17842504/dry-iphone-rice-myth-wet-waterproof-how/",
245
+ label: null,
246
+ slug: "dry-iphone-rice-myth-wet-waterproof-how",
247
+ categories: null,
248
+ publisher: "SUN_UK",
249
+ headline: "Drying your wet iPhone in rice 'is a MYTH' – how to save a soaked mobile",
250
+ kicker: "WAT-ER PUZZLE!",
251
+ flags: [
252
+ ""
253
+ ],
254
+ topics: [],
255
+ template: "theme-tech",
256
+ bylines: [
257
+ {
258
+ value: "Sean Keach",
259
+ type: "inline"
260
+ }
261
+ ],
262
+ publishedDateTime: "2022-03-04T11:35:13.000Z",
263
+ updatedDateTime: "2022-03-04T11:35:18.000Z",
264
+ summary: {
265
+ children: [
266
+ {
267
+ text: "There are more effective ways to dry out your iPhone – and using rice could even cause damage to your handset."
268
+ }
269
+ ]
270
+ },
271
+ media: {
272
+ crops: [
273
+ {
274
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/iphone-in-rice.jpg?strip=all&w=620&h=413&crop=1",
275
+ alt: null,
276
+ aspectRatio: "landscape"
277
+ },
278
+ {
279
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/iphone-in-rice.jpg?strip=all&w=300&h=450&crop=1",
280
+ alt: null,
281
+ aspectRatio: "portrait"
282
+ },
283
+ {
284
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/iphone-in-rice.jpg?strip=all&w=620&h=413&crop=1",
285
+ alt: null,
286
+ aspectRatio: "mobile"
287
+ }
288
+ ]
289
+ }
290
+ },
291
+ {
292
+ id: "17861129",
293
+ url: "https://www.thesun.co.uk/tech/17861129/roblox-game-create-step-by-step/",
294
+ label: null,
295
+ slug: "roblox-game-create-step-by-step",
296
+ categories: null,
297
+ publisher: "SUN_UK",
298
+ headline: "Build your own Roblox Game",
299
+ kicker: "LEARN THE BUILDING BLOCKS",
300
+ flags: [
301
+ ""
302
+ ],
303
+ topics: [],
304
+ template: "theme-tech",
305
+ bylines: [
306
+ {
307
+ value: "Catherine Micallef",
308
+ type: "inline"
309
+ }
310
+ ],
311
+ publishedDateTime: "2022-03-06T16:53:28.000Z",
312
+ updatedDateTime: "2022-03-06T16:53:28.000Z",
313
+ summary: null,
314
+ media: {
315
+ crops: [
316
+ {
317
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/Roblox_Bannerjpg-JS382145251.jpg?strip=all&w=620&h=413&crop=1",
318
+ alt: null,
319
+ aspectRatio: "landscape"
320
+ },
321
+ {
322
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/Roblox_Bannerjpg-JS382145251.jpg?strip=all&w=300&h=450&crop=1",
323
+ alt: null,
324
+ aspectRatio: "portrait"
325
+ },
326
+ {
327
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/Roblox_Bannerjpg-JS382145251.jpg?strip=all&w=620&h=413&crop=1",
328
+ alt: null,
329
+ aspectRatio: "mobile"
330
+ }
331
+ ]
332
+ }
333
+ },
334
+ {
335
+ id: "17814872",
336
+ url: "https://www.thesun.co.uk/travel/17814872/city-break-uk-london-leeds/",
337
+ label: null,
338
+ slug: "city-break-uk-london-leeds",
339
+ categories: null,
340
+ publisher: "SUN_UK",
341
+ headline: "Overload on culture with a vibrant city break in the UK",
342
+ kicker: "CHASING PAVEMENTS",
343
+ flags: [
344
+ ""
345
+ ],
346
+ topics: [],
347
+ template: "theme-travel",
348
+ bylines: [
349
+ {
350
+ value: "Ruth Greatrex",
351
+ type: "inline"
352
+ }
353
+ ],
354
+ publishedDateTime: "2022-03-06T00:01:00.000Z",
355
+ updatedDateTime: "2022-03-06T00:33:56.000Z",
356
+ summary: {
357
+ children: [
358
+ {
359
+ text: "CONTRIBUTING Picture Editor Ruth Greatrex lived it up in this northern powerhouse. Leeds landmark since 1937 – has been brought bang up to date"
360
+ }
361
+ ]
362
+ },
363
+ media: {
364
+ crops: [
365
+ {
366
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/TM-comp-FabMag-1.jpg?strip=all&w=620&h=413&crop=1",
367
+ alt: null,
368
+ aspectRatio: "landscape"
369
+ },
370
+ {
371
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/TM-comp-FabMag-1.jpg?strip=all&w=300&h=450&crop=1",
372
+ alt: null,
373
+ aspectRatio: "portrait"
374
+ },
375
+ {
376
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/TM-comp-FabMag-1.jpg?strip=all&w=620&h=413&crop=1",
377
+ alt: null,
378
+ aspectRatio: "mobile"
379
+ }
380
+ ]
381
+ }
382
+ },
383
+ {
384
+ id: "17867694",
385
+ url: "https://www.thesun.co.uk/motors/17867694/scam-warning-oap-conned-fine/",
386
+ label: null,
387
+ slug: "scam-warning-oap-conned-fine",
388
+ categories: null,
389
+ publisher: "SUN_UK",
390
+ headline: "Scam warning as thieves con OAP out of £800 by making him pay FAKE parking fine",
391
+ kicker: "NOT FINE",
392
+ flags: [
393
+ ""
394
+ ],
395
+ topics: [],
396
+ template: "theme-motors",
397
+ bylines: [
398
+ {
399
+ value: "Ed Southgate",
400
+ type: "inline"
401
+ }
402
+ ],
403
+ publishedDateTime: "2022-03-07T10:47:08.000Z",
404
+ updatedDateTime: "2022-03-07T10:47:13.000Z",
405
+ summary: {
406
+ children: [
407
+ {
408
+ text: "THE two men told the pensioner, in his 80s, that he was parked illegally when he was sat in his car and demanded he pay a fine."
409
+ }
410
+ ]
411
+ },
412
+ media: {
413
+ crops: [
414
+ {
415
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/NINTCHDBPICT000705784011.jpg?strip=all&w=620&h=413&crop=1",
416
+ alt: null,
417
+ aspectRatio: "landscape"
418
+ },
419
+ {
420
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/NINTCHDBPICT000705784011.jpg?strip=all&w=300&h=450&crop=1",
421
+ alt: null,
422
+ aspectRatio: "portrait"
423
+ },
424
+ {
425
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/NINTCHDBPICT000705784011.jpg?strip=all&w=620&h=413&crop=1",
426
+ alt: null,
427
+ aspectRatio: "mobile"
428
+ }
429
+ ]
430
+ }
431
+ },
432
+ {
433
+ id: "17863493",
434
+ url: "https://www.thesun.co.uk/fabulous/17863493/sweets-victoria-beckhams-most-iconic-outfits/",
435
+ label: null,
436
+ slug: "sweets-victoria-beckhams-most-iconic-outfits",
437
+ categories: null,
438
+ publisher: "SUN_UK",
439
+ headline: "How Victoria Beckham's colourful looks all have one surprising thing in common",
440
+ kicker: "SWEET GIRL",
441
+ flags: [
442
+ ""
443
+ ],
444
+ topics: [],
445
+ template: "theme-fabulous",
446
+ bylines: [
447
+ {
448
+ value: "Thea Jacobs",
449
+ type: "inline"
450
+ }
451
+ ],
452
+ publishedDateTime: "2022-03-06T20:43:00.000Z",
453
+ updatedDateTime: "2022-03-07T09:18:52.000Z",
454
+ summary: {
455
+ children: [
456
+ {
457
+ text: "VICTORIA BECKHAM is more sugar than Spice Girl when it comes to fashion. While stick (of rock) thin Vic, 47, has a strict chicken and veg diet, she’s got a sweet-tooth over her outfits."
458
+ }
459
+ ]
460
+ },
461
+ media: {
462
+ crops: [
463
+ {
464
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/TM-comp-pg24-Becks.jpg?strip=all&w=620&h=413&crop=1",
465
+ alt: null,
466
+ aspectRatio: "landscape"
467
+ },
468
+ {
469
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/TM-comp-pg24-Becks.jpg?strip=all&w=300&h=450&crop=1",
470
+ alt: null,
471
+ aspectRatio: "portrait"
472
+ },
473
+ {
474
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/TM-hero-pg24-Becks.jpg?strip=all&w=1360&h=579&crop=1",
475
+ alt: null,
476
+ aspectRatio: "hero"
477
+ },
478
+ {
479
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/TM-comp-pg24-Becks.jpg?strip=all&w=620&h=413&crop=1",
480
+ alt: null,
481
+ aspectRatio: "mobile"
482
+ }
483
+ ]
484
+ }
485
+ },
486
+ {
487
+ id: "18032190",
488
+ url: "https://www.thesun.co.uk/money/18032190/inflation-energy-fuel-food-price-rises/",
489
+ label: null,
490
+ slug: "inflation-energy-fuel-food-price-rises",
491
+ publisher: "SUN_UK",
492
+ headline: "Inflation hits 6.2% as energy, fuel and food price rises squeeze family budgets",
493
+ kicker: "GOING UP ",
494
+ flags: [
495
+ ""
496
+ ],
497
+ topics: [],
498
+ template: "theme-money",
499
+ bylines: [
500
+ {
501
+ value: "Lucy Alderson",
502
+ type: "inline"
503
+ }
504
+ ],
505
+ publishedDateTime: "2022-03-23T07:04:35.000Z",
506
+ updatedDateTime: "2022-03-23T08:08:26.000Z",
507
+ summary: {
508
+ children: [
509
+ {
510
+ text: "IT means inflation is now at its highest level since March 1992, when it soared to 7.1%."
511
+ }
512
+ ]
513
+ },
514
+ media: {
515
+ crops: [
516
+ {
517
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/DD-COMP-INFLATION-CHANGE-MARCH23.jpg?strip=all&w=620&h=413&crop=1",
518
+ alt: null,
519
+ aspectRatio: "landscape"
520
+ }
521
+ ]
522
+ }
523
+ },
524
+ {
525
+ id: "18028215",
526
+ url: "https://www.thesun.co.uk/money/18028215/businesses-opening-times-change-queens-jubilee-bank-holiday/",
527
+ label: null,
528
+ slug: "businesses-opening-times-change-queens-jubilee-bank-holiday",
529
+ publisher: "SUN_UK",
530
+ headline: "The businesses changing opening times for Queen’s Jubilee bank holiday",
531
+ kicker: "GREAT TIMING",
532
+ flags: [
533
+ ""
534
+ ],
535
+ topics: [],
536
+ template: "theme-money",
537
+ bylines: [
538
+ {
539
+ value: "Katie White",
540
+ type: "inline"
541
+ }
542
+ ],
543
+ publishedDateTime: "2022-03-22T17:03:27.000Z",
544
+ updatedDateTime: "2022-03-22T17:03:33.000Z",
545
+ summary: {
546
+ children: [
547
+ {
548
+ text: "SHOPS often change opening times on bank holidays - and you don't want to be caught short if you've ran out of milk - so we reveal a full list of the businesses changing their opening times"
549
+ }
550
+ ]
551
+ },
552
+ media: {
553
+ crops: [
554
+ {
555
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/COMPS-DD-STORES.jpg?strip=all&w=620&h=413&crop=1",
556
+ alt: null,
557
+ aspectRatio: "landscape"
558
+ }
559
+ ]
560
+ }
561
+ },
562
+ {
563
+ id: "17892378",
564
+ url: "https://www.thesun.co.uk/travel/17892378/tripadvisor-holiday-destinations-uk-abroad/",
565
+ label: null,
566
+ slug: "tripadvisor-holiday-destinations-uk-abroad",
567
+ publisher: "SUN_UK",
568
+ headline: "The top new holiday destinations in the UK and abroad according to TripAdvisor",
569
+ kicker: "NEW HOTSPOTS",
570
+ flags: [
571
+ ""
572
+ ],
573
+ topics: [],
574
+ template: "theme-travel",
575
+ bylines: [
576
+ {
577
+ value: "Josie Klein",
578
+ type: "inline"
579
+ }
580
+ ],
581
+ publishedDateTime: "2022-03-09T15:40:25.000Z",
582
+ updatedDateTime: "2022-03-14T15:26:59.000Z",
583
+ summary: {
584
+ children: [
585
+ {
586
+ text: "IF you're looking for some travel inspiration then look no further, as the top new holiday destinations in the UK and abroad have been named."
587
+ }
588
+ ]
589
+ },
590
+ media: {
591
+ crops: [
592
+ {
593
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/comp-ap-6469-tripadvisor.jpg?strip=all&w=620&h=413&crop=1",
594
+ alt: null,
595
+ aspectRatio: "landscape"
596
+ }
597
+ ]
598
+ }
599
+ },
600
+ {
601
+ id: "18017648",
602
+ url: "https://www.thesun.co.uk/travel/18017648/all-inclusive-family-resorts-summer-turkey/",
603
+ label: null,
604
+ slug: "all-inclusive-family-resorts-summer-turkey",
605
+ publisher: "SUN_UK",
606
+ headline: "Best all-inclusive family hotels in Turkey during the school summer holidays",
607
+ kicker: "KIDDING AROUND",
608
+ flags: [
609
+ ""
610
+ ],
611
+ topics: [],
612
+ template: "theme-travel",
613
+ bylines: [
614
+ {
615
+ value: "Giuli Graziano",
616
+ type: "inline"
617
+ }
618
+ ],
619
+ publishedDateTime: "2022-03-22T14:56:48.000Z",
620
+ updatedDateTime: "2022-03-22T14:56:54.000Z",
621
+ summary: {
622
+ children: [
623
+ {
624
+ text: "THESE resorts in Turkey have family friendly facilities such as pools for children only, water parks, kids' clubs and daily entertainment for a fun-filled vacation."
625
+ }
626
+ ]
627
+ },
628
+ media: {
629
+ crops: [
630
+ {
631
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/MT-TRAVEL-COMP.jpg?strip=all&w=620&h=413&crop=1",
632
+ alt: null,
633
+ aspectRatio: "landscape"
634
+ }
635
+ ]
636
+ }
637
+ },
638
+ {
639
+ id: "18026705",
640
+ url: "https://www.thesun.co.uk/tech/18026705/ukraine-war-donation-scams-warning-red-cross/",
641
+ label: null,
642
+ slug: "ukraine-war-donation-scams-warning-red-cross",
643
+ publisher: "SUN_UK",
644
+ headline: "Experts warn of 'new wave' of Ukraine scams tricking kind donors out of money",
645
+ kicker: "SHAME ON THEM",
646
+ flags: [
647
+ "Revealed"
648
+ ],
649
+ topics: [],
650
+ template: "theme-tech",
651
+ bylines: [
652
+ {
653
+ value: "Jamie Harris",
654
+ type: "inline"
655
+ }
656
+ ],
657
+ publishedDateTime: "2022-03-22T12:08:46.000Z",
658
+ updatedDateTime: "2022-03-22T14:22:54.000Z",
659
+ summary: {
660
+ children: [
661
+ {
662
+ text: "MERCILESS fraudsters are exploiting the dire situation for their own greedy needs."
663
+ }
664
+ ]
665
+ },
666
+ media: {
667
+ crops: [
668
+ {
669
+ url: "https://www.thesun.co.uk/wp-content/uploads/2022/03/NINTCHDBPICT000651228808.jpg?strip=all&w=620&h=413&crop=1",
670
+ alt: null,
671
+ aspectRatio: "landscape"
672
+ }
673
+ ]
674
+ }
675
+ }
676
+ ]
677
+
678
+
679
+ module.exports = articles;
@@ -0,0 +1,19 @@
1
+ const crop = {
2
+ crops: [{
3
+ url:
4
+ "https://plchldr.co/i/500x300?bg=E0E7FF&fc=111111&text=IMG&crop=3166%2C3957%2C1385%2C0",
5
+ aspectRatio: "1:1",
6
+ }],
7
+ publisher: "MOCK_SITE",
8
+ };
9
+
10
+ const video = {
11
+ videoId: "111111",
12
+ accountId: "222222",
13
+ posterImage: crop,
14
+ };
15
+
16
+ module.exports = {
17
+ crop,
18
+ video,
19
+ };
package/src/index.js ADDED
@@ -0,0 +1,4 @@
1
+ const articles = require("./articles");
2
+ const pages = require("./pages");
3
+
4
+ module.exports = () => ({ articles, page: pages });