src/app/pages/ArticlePage/PagePromoSections/TopStoriesSection/fixture/index.ts
import { TopStoryItem } from '../types';
export const topStoriesItem = {
headlines: {
headline: 'Covid antibodies in 1 in 10 people in December',
},
locators: {
assetUri: '/news/health-55718213',
cpsUrn: 'urn:bbc:content:assetUri:news/health-55718213',
curie: 'http://www.bbc.co.uk/asset/79594850-7b04-4cd8-9bd4-be7c7f777b63',
assetId: '55718213',
},
summary:
'Some 10% of the UK population is showing signs of recent infection, a doubling since October, says ONS.',
timestamp: 1611056806000,
language: 'en-gb',
byline: {
name: 'By Rachel Schraer',
title: 'Health reporter ',
persons: [
{
name: 'Rachel Schraer',
function: 'Health reporter',
twitterName: 'rachelschraer',
},
],
},
passport: {
category: {
categoryId: 'http://www.bbc.co.uk/ontologies/applicationlogic-news/News',
categoryName: 'News',
},
taggings: [],
},
cpsType: 'STY',
indexImage: {
id: '116575818',
subType: 'index',
href: 'http://c.files.bbci.co.uk/13FC1/production/_116575818_gettyimages-1219867193.jpg',
path: '/cpsprodpb/13FC1/production/_116575818_gettyimages-1219867193.jpg',
height: 549,
width: 976,
altText: 'test tubes',
copyrightHolder: 'Getty Images',
type: 'image',
},
options: {
isBreakingNews: false,
isFactCheck: false,
},
prominence: 'standard',
section: {
subType: 'IDX',
name: 'Health',
uri: '/news/health',
type: 'simple',
},
includeComments: true,
id: 'urn:bbc:ares::asset:news/health-55718213',
type: 'cps',
} as unknown as TopStoryItem;
export const topStoriesLiveLabelItem = {
headlines: {
headline: "Covid death toll in UK 'now close to 96,000'",
},
locators: {
assetUri: '/news/live/uk-55715793',
cpsUrn: 'urn:bbc:content:assetUri:news/live/uk-55715793',
curie: 'http://www.bbc.co.uk/asset/6d4ee56e-d768-4f58-8b7f-8f745e8be87b',
assetId: '55715793',
},
summary:
'A further 6,586 deaths involving Covid were registered in the UK in the week up to 8 January.',
timestamp: 1611040349000,
language: 'en-gb',
passport: {
category: {
categoryId: 'http://www.bbc.co.uk/ontologies/applicationlogic-news/News',
categoryName: 'News',
},
taggings: [],
},
cpsType: 'LIV',
indexImage: {
id: '116573961',
subType: 'index',
href: 'http://c.files.bbci.co.uk/4229/production/_116573961_hi061807229.jpg',
path: '/cpsprodpb/4229/production/_116573961_hi061807229.jpg',
height: 549,
width: 976,
altText:
'A paramedic holds a test tube containing a blood sample at a coronavirus antibody testing program at the Hollymore Ambulance Hub of the West Midlands Ambulance Service in Birmingham',
copyrightHolder: 'PA Media',
type: 'image',
},
commentary: {
order: 'ascending',
assetUUID: 'C805B13635D9453AB4827F52DDFE7E0F',
channels: {
enhancedmobile: 'bbc.cps.asset.55715794_EnhancedMobile',
desktop: 'bbc.cps.asset.55715794_HighWeb',
highweb: 'bbc.cps.asset.55715794_HighWeb',
mobile: 'bbc.cps.asset.55715794_EnhancedMobile',
},
},
isLive: true,
options: {
isBreakingNews: false,
isFactCheck: false,
},
prominence: 'standard',
section: {
subType: 'IDX',
name: 'UK',
uri: '/news/uk',
type: 'simple',
},
id: 'urn:bbc:ares::asset:news/live/uk-55715793',
type: 'cps',
} as unknown as TopStoryItem;
export const topStoriesMediaContentItem = {
headlines: {
headline: 'Audio map page test',
},
locators: {
assetUri: '/mundo/23245765',
cpsUrn: 'urn:bbc:content:assetUri:mundo/23245765',
assetId: '23245765',
},
summary: 'Audio map page test',
timestamp: 1564757533000,
language: 'es',
cpsType: 'MAP',
media: {
id: '63501300',
subType: 'index',
format: 'audio',
externalId: 'bbc_world_service_west_africa',
duration: 'PT0S',
caption: 'Tower',
image: {
id: '63501300',
subType: 'thumbnail',
href: 'http://b.files.bbci.co.uk/58B7/test/_63711722__108159722_gettyimages-1157643996.jpg',
path: '/cpsdevpb/58B7/test/_63711722__108159722_gettyimages-1157643996.jpg',
height: 360,
width: 640,
altText: 'tower',
copyrightHolder: '(C) British Broadcasting Corporation',
type: 'image',
},
embedding: false,
available: true,
live: true,
type: 'version',
},
options: {
isBreakingNews: false,
isFactCheck: false,
},
prominence: 'standard',
section: {
subType: 'IDX',
name: 'Noticias',
uri: '/mundo/front_page',
type: 'simple',
},
id: 'urn:bbc:ares::asset:mundo/23245765',
type: 'cps',
} as unknown as TopStoryItem;
export const topStoriesList = [
{
headlines: {
headline: 'Covid antibodies in 1 in 10 people in December',
},
locators: {
assetUri: '/news/health-55718213',
cpsUrn: 'urn:bbc:content:assetUri:news/health-55718213',
curie: 'http://www.bbc.co.uk/asset/79594850-7b04-4cd8-9bd4-be7c7f777b63',
assetId: '55718213',
},
summary:
'Some 10% of the UK population is showing signs of recent infection, a doubling since October, says ONS.',
timestamp: 1611056806000,
language: 'en-gb',
byline: {
name: 'By Rachel Schraer',
title: 'Health reporter ',
persons: [
{
name: 'Rachel Schraer',
function: 'Health reporter',
twitterName: 'rachelschraer',
},
],
},
passport: {
category: {
categoryId:
'http://www.bbc.co.uk/ontologies/applicationlogic-news/News',
categoryName: 'News',
},
taggings: [],
},
cpsType: 'STY',
indexImage: {
id: '116575818',
subType: 'index',
href: 'http://c.files.bbci.co.uk/13FC1/production/_116575818_gettyimages-1219867193.jpg',
path: '/cpsprodpb/13FC1/production/_116575818_gettyimages-1219867193.jpg',
height: 549,
width: 976,
altText: 'test tubes',
copyrightHolder: 'Getty Images',
type: 'image',
},
options: {
isBreakingNews: false,
isFactCheck: false,
},
prominence: 'standard',
section: {
subType: 'IDX',
name: 'Health',
uri: '/news/health',
type: 'simple',
},
includeComments: true,
id: 'urn:bbc:ares::asset:news/health-55718213',
type: 'cps',
},
{
headlines: {
headline: "Covid death toll in UK 'now close to 96,000'",
},
locators: {
assetUri: '/news/live/uk-55715793',
cpsUrn: 'urn:bbc:content:assetUri:news/live/uk-55715793',
curie: 'http://www.bbc.co.uk/asset/6d4ee56e-d768-4f58-8b7f-8f745e8be87b',
assetId: '55715793',
},
summary:
'A further 6,586 deaths involving Covid were registered in the UK in the week up to 8 January.',
timestamp: 1611040349000,
language: 'en-gb',
passport: {
category: {
categoryId:
'http://www.bbc.co.uk/ontologies/applicationlogic-news/News',
categoryName: 'News',
},
taggings: [],
},
cpsType: 'LIV',
indexImage: {
id: '116573961',
subType: 'index',
href: 'http://c.files.bbci.co.uk/4229/production/_116573961_hi061807229.jpg',
path: '/cpsprodpb/4229/production/_116573961_hi061807229.jpg',
height: 549,
width: 976,
altText:
'A paramedic holds a test tube containing a blood sample at a coronavirus antibody testing program at the Hollymore Ambulance Hub of the West Midlands Ambulance Service in Birmingham',
copyrightHolder: 'PA Media',
type: 'image',
},
commentary: {
order: 'ascending',
assetUUID: 'C805B13635D9453AB4827F52DDFE7E0F',
channels: {
enhancedmobile: 'bbc.cps.asset.55715794_EnhancedMobile',
desktop: 'bbc.cps.asset.55715794_HighWeb',
highweb: 'bbc.cps.asset.55715794_HighWeb',
mobile: 'bbc.cps.asset.55715794_EnhancedMobile',
},
},
isLive: true,
options: {
isBreakingNews: false,
isFactCheck: false,
},
prominence: 'standard',
section: {
subType: 'IDX',
name: 'UK',
uri: '/news/uk',
type: 'simple',
},
id: 'urn:bbc:ares::asset:news/live/uk-55715793',
type: 'cps',
},
{
headlines: {
headline: 'Audio map page test',
},
locators: {
assetUri: '/mundo/23245765',
cpsUrn: 'urn:bbc:content:assetUri:mundo/23245765',
assetId: '23245765',
},
summary: 'Audio map page test',
timestamp: 1564757533000,
language: 'es',
cpsType: 'MAP',
media: {
id: '63501300',
subType: 'index',
format: 'audio',
externalId: 'bbc_world_service_west_africa',
duration: 'PT0S',
caption: 'Tower',
image: {
id: '63501300',
subType: 'thumbnail',
href: 'http://b.files.bbci.co.uk/58B7/test/_63711722__108159722_gettyimages-1157643996.jpg',
path: '/cpsdevpb/58B7/test/_63711722__108159722_gettyimages-1157643996.jpg',
height: 360,
width: 640,
altText: 'tower',
copyrightHolder: '(C) British Broadcasting Corporation',
type: 'image',
},
embedding: false,
available: true,
live: true,
type: 'version',
},
options: {
isBreakingNews: false,
isFactCheck: false,
},
prominence: 'standard',
section: {
subType: 'IDX',
name: 'Noticias',
uri: '/mundo/front_page',
type: 'simple',
},
id: 'urn:bbc:ares::asset:mundo/23245765',
type: 'cps',
},
] as unknown as TopStoryItem[];
export const topStoriesSingleItem = [
{
headlines: {
headline: 'Covid antibodies in 1 in 10 people in December',
},
locators: {
assetUri: '/news/health-55718213',
cpsUrn: 'urn:bbc:content:assetUri:news/health-55718213',
curie: 'http://www.bbc.co.uk/asset/79594850-7b04-4cd8-9bd4-be7c7f777b63',
assetId: '55718213',
},
summary:
'Some 10% of the UK population is showing signs of recent infection, a doubling since October, says ONS.',
timestamp: 1611056806000,
language: 'en-gb',
byline: {
name: 'By Rachel Schraer',
title: 'Health reporter ',
persons: [
{
name: 'Rachel Schraer',
function: 'Health reporter',
twitterName: 'rachelschraer',
},
],
},
passport: {
category: {
categoryId:
'http://www.bbc.co.uk/ontologies/applicationlogic-news/News',
categoryName: 'News',
},
taggings: [],
},
cpsType: 'STY',
indexImage: {
id: '116575818',
subType: 'index',
href: 'http://c.files.bbci.co.uk/13FC1/production/_116575818_gettyimages-1219867193.jpg',
path: '/cpsprodpb/13FC1/production/_116575818_gettyimages-1219867193.jpg',
height: 549,
width: 976,
altText: 'test tubes',
copyrightHolder: 'Getty Images',
type: 'image',
},
options: {
isBreakingNews: false,
isFactCheck: false,
},
prominence: 'standard',
section: {
subType: 'IDX',
name: 'Health',
uri: '/news/health',
type: 'simple',
},
includeComments: true,
id: 'urn:bbc:ares::asset:news/health-55718213',
type: 'cps',
},
] as unknown as TopStoryItem[];
export const topStoriesListRtl = [
{
headlines: {
headline: 'ما خطورة المشاكل التي تواجهها السعودية؟',
},
locators: {
assetUri: '/arabic/middleeast-52649577',
cpsUrn: 'urn:bbc:content:assetUri:arabic/middleeast-52649577',
assetId: '52649577',
},
summary:
'السعودية، وهي الدولة التي كانت تشتهر بأنها لا تفرض أي ضرائب على مواطنيها، أعلنت مضاعفة الضريبة المضافة ثلاث مرات من 5 في المئة إلى 15 في المئة وإيقاف صرف بدل غلاء المعيشة اعتبارا من الشهر القادم.',
timestamp: 1589372656000,
language: 'ar',
byline: {
name: 'فرانك غاردنر',
title: 'محرر الشؤون الأمنية ',
persons: [
{
name: 'فرانك غاردنر',
function: 'محرر الشؤون الأمنية',
},
],
},
passport: {
category: {
categoryId:
'http://www.bbc.co.uk/ontologies/applicationlogic-news/News',
categoryName: 'News',
},
campaigns: [
{
campaignId: '5a988e3739461b000e9dabfa',
campaignName: 'WS - Give me perspective',
},
],
taggings: [],
},
cpsType: 'STY',
indexImage: {
id: '112240105',
subType: 'index',
href: 'http://c.files.bbci.co.uk/C3B8/production/_112240105_gettyimages-1129844897.jpg',
path: '/cpsprodpb/C3B8/production/_112240105_gettyimages-1129844897.jpg',
height: 549,
width: 976,
altText: 'إعلان يحمل صورة ولي العهد السعودي',
copyrightHolder: 'Getty Images',
type: 'image',
},
options: {
isBreakingNews: false,
isFactCheck: false,
},
prominence: 'slideshow',
id: 'urn:bbc:ares::asset:arabic/middleeast-52649577',
type: 'cps',
},
{
headlines: {
headline:
'البرازيل تسجل أكبر عدد وفيات بفيروس كورونا في البلاد في يوم واحد',
},
locators: {
assetUri: '/arabic/world-52649023',
cpsUrn: 'urn:bbc:content:assetUri:arabic/world-52649023',
assetId: '52649023',
},
summary:
'عدد الوفيات بفيروس كورونا في البرازيل يرتفع إلى أعلى مستوى يومي، مسجلا 881 حالة، منذ بدء انتشار الوباء، وذلك بعد أيام من ظهور تقارير ترجح وصول الفيروس إلى البلاد قبل نحو شهرين من التاريخ المعلن رسميا.',
timestamp: 1589377817000,
language: 'ar',
passport: {
category: {
categoryId:
'http://www.bbc.co.uk/ontologies/applicationlogic-news/News',
categoryName: 'News',
},
campaigns: [
{
campaignId: '5a988e4739461b000e9dabfc',
campaignName: 'WS - Update me',
},
],
taggings: [],
},
cpsType: 'STY',
indexImage: {
id: '112255011',
subType: 'index',
href: 'http://c.files.bbci.co.uk/2B2F/production/_112255011_20be937c-d343-4947-adfc-7a9816fedcf7.jpg',
path: '/cpsprodpb/2B2F/production/_112255011_20be937c-d343-4947-adfc-7a9816fedcf7.jpg',
height: 549,
width: 976,
altText: 'كشف درجة الحرارة',
caption:
'قالت مصادر أكاديمية في البرازيل إن اختبار الكشف عن فيروس كورونا لا يجرى إلا للحالات التي تتوجه إلى المستشفيات بسبب الأعراض',
copyrightHolder: 'Getty Images',
type: 'image',
},
options: {
isBreakingNews: false,
isFactCheck: false,
},
prominence: 'slideshow',
id: 'urn:bbc:ares::asset:arabic/world-52649023',
type: 'cps',
},
{
headlines: {
headline:
'الاقتصاد البريطاني ينكمش بأسرع وتيرة منذ الأزمة المالية العالمية',
},
locators: {
assetUri: '/arabic/business-52650157',
cpsUrn: 'urn:bbc:content:assetUri:arabic/business-52650157',
assetId: '52650157',
},
summary:
'اقتصاد المملكة المتحدة يشهد أسرع انكماش له منذ الأزمة المالية التي شهدها العالم عام 2008.',
timestamp: 1589377951000,
language: 'ar',
passport: {
category: {
categoryId:
'http://www.bbc.co.uk/ontologies/applicationlogic-news/News',
categoryName: 'News',
},
campaigns: [
{
campaignId: '5a988e4739461b000e9dabfc',
campaignName: 'WS - Update me',
},
],
taggings: [],
},
cpsType: 'STY',
indexImage: {
id: '112223629',
subType: 'index',
href: 'http://c.files.bbci.co.uk/169D8/production/_112223629_gettyimages-1211920916.jpg',
path: '/cpsprodpb/169D8/production/_112223629_gettyimages-1211920916.jpg',
height: 549,
width: 976,
altText: 'عامل بناء',
copyrightHolder: 'Getty Images',
type: 'image',
},
options: {
isBreakingNews: false,
isFactCheck: false,
},
prominence: 'slideshow',
id: 'urn:bbc:ares::asset:arabic/business-52650157',
type: 'cps',
},
] as unknown as TopStoryItem[];
export const topStoriesSingleItemRtl = [
{
headlines: {
headline:
'الاقتصاد البريطاني ينكمش بأسرع وتيرة منذ الأزمة المالية العالمية',
},
locators: {
assetUri: '/arabic/business-52650157',
cpsUrn: 'urn:bbc:content:assetUri:arabic/business-52650157',
assetId: '52650157',
},
summary:
'اقتصاد المملكة المتحدة يشهد أسرع انكماش له منذ الأزمة المالية التي شهدها العالم عام 2008.',
timestamp: 1589377951000,
language: 'ar',
passport: {
category: {
categoryId:
'http://www.bbc.co.uk/ontologies/applicationlogic-news/News',
categoryName: 'News',
},
campaigns: [
{
campaignId: '5a988e4739461b000e9dabfc',
campaignName: 'WS - Update me',
},
],
taggings: [],
},
cpsType: 'STY',
indexImage: {
id: '112223629',
subType: 'index',
href: 'http://c.files.bbci.co.uk/169D8/production/_112223629_gettyimages-1211920916.jpg',
path: '/cpsprodpb/169D8/production/_112223629_gettyimages-1211920916.jpg',
height: 549,
width: 976,
altText: 'عامل بناء',
copyrightHolder: 'Getty Images',
type: 'image',
},
options: {
isBreakingNews: false,
isFactCheck: false,
},
prominence: 'slideshow',
id: 'urn:bbc:ares::asset:arabic/business-52650157',
type: 'cps',
},
] as unknown as TopStoryItem[];
export const tipoFormattedTopStoriesItem = {
locators: {
optimoUrn: 'urn:bbc:optimo:asset:c6vdqkm8yyvo',
canonicalUrl: 'https://www.bbc.com/kyrgyz/articles/c6vdqkm8yyvo',
},
timestamp: 1666869583946,
suitableForSyndication: true,
language: 'ky',
headlines: {
seoHeadline: 'Индиянын Улуттук Конгресс партиясынын жаңы лидери шайланды ',
promoHeadline: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'Published at 12:19 - Индиянын Улуттук Конгресс партиясынын жаңы лидери шайланды ',
blocks: [
{
type: 'fragment',
model: {
text: 'Published at 12:19 - Индиянын Улуттук Конгресс партиясынын жаңы лидери шайланды ',
attributes: [],
},
},
],
},
},
],
},
},
],
},
},
images: {},
summary: {
blocks: [
{
type: 'text',
model: {
blocks: [
{
type: 'paragraph',
model: {
text: 'Индиянын Улуттук Конгресс партиясынын жаңы лидери шайланды ',
blocks: [
{
type: 'fragment',
model: {
text: 'Индиянын Улуттук Конгресс партиясынын жаңы лидери шайланды ',
attributes: [],
},
},
],
},
},
],
},
},
],
},
passport: {},
id: 'urn:bbc:ares::article:c6vdqkm8yyvo',
type: 'optimo',
} as unknown as TopStoryItem;
export const tipoLivePageTopStoriesItem = {
headline:
'ईवीएम के मॉक टेस्ट में बीजेपी को वोट जाने की रिपोर्ट पर ईसी ने सुप्रीम कोर्ट में दिया जवाब',
destinationUrl: '/hindi/live/c0dewwj3lk1t',
isLive: true,
summary:
'17 अप्रैल को ऑनमनोरमा ने एक रिपोर्ट की थी कि केरल में ईवीएम ने गलती से मॉक टेस्ट में बीजेपी के पक्ष में वोट रजिस्टर किये.',
image: {
id: '6763c8e4-5f99-4101-acde-d0b91ccf41b0',
subType: 'promo',
href: 'http://c.files.bbci.co.uk/ec16/live/5a7550d0-fd21-11ee-97f7-e98b193ef1b8.jpg',
path: '/cpsprodpb/ec16/live/5a7550d0-fd21-11ee-97f7-e98b193ef1b8.jpg',
height: 682,
width: 1024,
altText: 'बाढ़',
copyrightHolder: 'Getty Images',
originCode: 'cpsprodpb',
type: 'image',
},
serviceIdentifier: 'hindi',
id: 'urn:bbc:tipo:topic:c0dewwj3lk1t',
type: 'tipo-live',
} as unknown as TopStoryItem;