@financial-times/cp-content-pipeline-ui 9.4.2 → 9.5.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.
@@ -84,7 +84,7 @@ const structuredContent = {
84
84
  'Staff at the Waitrose on King William street in London, which is taking cash only payments, said that disruption caused by the IT outage was ‘everywhere’',
85
85
  credit: '© Ian Smith/FT',
86
86
  format: 'standard-inline',
87
- url: 'https://www.ft.com/__origami/service/image/v2/images/raw/https%3A%2F%2Fd1e00ek4ebabms.cloudfront.net%2Fproduction%2F5a89fdc8-323b-4cf2-a317-794074a1adae.png?source=next-article&fit=scale-down&quality=highest&width=700&dpr=1',
87
+ url: 'https://images.ft.com/v3/image/raw/https%3A%2F%2Fd1e00ek4ebabms.cloudfront.net%2Fproduction%2F5a89fdc8-323b-4cf2-a317-794074a1adae.png?source=cp-content-pipeline-api&fit=scale-down&quality=highest&width=700&dpr=1',
88
88
  id: '5a89fdc8-323b-4cf2-a317-794074a1adae',
89
89
  },
90
90
  images: [
@@ -96,18 +96,18 @@ const structuredContent = {
96
96
  'Staff at the Waitrose on King William street in London, which is taking cash only payments, said that disruption caused by the IT outage was ‘everywhere’',
97
97
  credit: '© Ian Smith/FT',
98
98
  format: 'standard-inline',
99
- url: 'https://www.ft.com/__origami/service/image/v2/images/raw/https%3A%2F%2Fd1e00ek4ebabms.cloudfront.net%2Fproduction%2F5a89fdc8-323b-4cf2-a317-794074a1adae.png?source=next-article&fit=scale-down&quality=highest&width=700&dpr=1',
99
+ url: 'https://images.ft.com/v3/image/raw/https%3A%2F%2Fd1e00ek4ebabms.cloudfront.net%2Fproduction%2F5a89fdc8-323b-4cf2-a317-794074a1adae.png?source=cp-content-pipeline-api&fit=scale-down&quality=highest&width=700&dpr=1',
100
100
  id: '5a89fdc8-323b-4cf2-a317-794074a1adae',
101
101
  sourceSet: [
102
102
  {
103
103
  dpr: 1,
104
104
  width: 700,
105
- url: 'https://www.ft.com/__origami/service/image/v2/images/raw/ftcms%3A5a89fdc8-323b-4cf2-a317-794074a1adae?source=next-article&fit=scale-down&quality=highest&width=700&dpr=1',
105
+ url: 'https://images.ft.com/v3/image/raw/ftcms%3A5a89fdc8-323b-4cf2-a317-794074a1adae?source=cp-content-pipeline-api&fit=scale-down&quality=highest&width=700&dpr=1',
106
106
  },
107
107
  {
108
108
  dpr: 2,
109
109
  width: 700,
110
- url: 'https://www.ft.com/__origami/service/image/v2/images/raw/ftcms%3A5a89fdc8-323b-4cf2-a317-794074a1adae?source=next-article&fit=scale-down&quality=highest&width=700&dpr=2',
110
+ url: 'https://images.ft.com/v3/image/raw/ftcms%3A5a89fdc8-323b-4cf2-a317-794074a1adae?source=cp-content-pipeline-api&fit=scale-down&quality=highest&width=700&dpr=2',
111
111
  },
112
112
  ],
113
113
  },
@@ -135,7 +135,7 @@ const structuredContent = {
135
135
  },
136
136
  metaAltLink: null,
137
137
  image: {
138
- url: 'https://www.ft.com/__origami/service/image/v2/images/raw/https%3A%2F%2Fd1e00ek4ebabms.cloudfront.net%2Fproduction%2F409586da-1e01-42d8-b4e6-cd99b82923b3.jpg?source=next-article&fit=scale-down&quality=highest&width=700&dpr=1',
138
+ url: 'https://images.ft.com/v3/image/raw/https%3A%2F%2Fd1e00ek4ebabms.cloudfront.net%2Fproduction%2F409586da-1e01-42d8-b4e6-cd99b82923b3.jpg?source=cp-content-pipeline-api&fit=scale-down&quality=highest&width=700&dpr=1',
139
139
  width: 2266,
140
140
  height: 1275,
141
141
  altText: 'Hargreaves Lansdown logo',
@@ -197,7 +197,7 @@ const structuredContentNoMoreElements = {
197
197
  'Staff at the Waitrose on King William street in London, which is taking cash only payments, said that disruption caused by the IT outage was ‘everywhere’',
198
198
  credit: '© Ian Smith/FT',
199
199
  format: 'standard-inline',
200
- url: 'https://www.ft.com/__origami/service/image/v2/images/raw/https%3A%2F%2Fd1e00ek4ebabms.cloudfront.net%2Fproduction%2F5a89fdc8-323b-4cf2-a317-794074a1adae.png?source=next-article&fit=scale-down&quality=highest&width=700&dpr=1',
200
+ url: 'https://images.ft.com/v3/image/raw/https%3A%2F%2Fd1e00ek4ebabms.cloudfront.net%2Fproduction%2F5a89fdc8-323b-4cf2-a317-794074a1adae.png?source=cp-content-pipeline-api&fit=scale-down&quality=highest&width=700&dpr=1',
201
201
  id: '5a89fdc8-323b-4cf2-a317-794074a1adae',
202
202
  },
203
203
  images: [
@@ -209,18 +209,18 @@ const structuredContentNoMoreElements = {
209
209
  'Staff at the Waitrose on King William street in London, which is taking cash only payments, said that disruption caused by the IT outage was ‘everywhere’',
210
210
  credit: '© Ian Smith/FT',
211
211
  format: 'standard-inline',
212
- url: 'https://www.ft.com/__origami/service/image/v2/images/raw/https%3A%2F%2Fd1e00ek4ebabms.cloudfront.net%2Fproduction%2F5a89fdc8-323b-4cf2-a317-794074a1adae.png?source=next-article&fit=scale-down&quality=highest&width=700&dpr=1',
212
+ url: 'https://images.ft.com/v3/image/raw/https%3A%2F%2Fd1e00ek4ebabms.cloudfront.net%2Fproduction%2F5a89fdc8-323b-4cf2-a317-794074a1adae.png?source=cp-content-pipeline-api&fit=scale-down&quality=highest&width=700&dpr=1',
213
213
  id: '5a89fdc8-323b-4cf2-a317-794074a1adae',
214
214
  sourceSet: [
215
215
  {
216
216
  dpr: 1,
217
217
  width: 700,
218
- url: 'https://www.ft.com/__origami/service/image/v2/images/raw/ftcms%3A5a89fdc8-323b-4cf2-a317-794074a1adae?source=next-article&fit=scale-down&quality=highest&width=700&dpr=1',
218
+ url: 'https://images.ft.com/v3/image/raw/ftcms%3A5a89fdc8-323b-4cf2-a317-794074a1adae?source=cp-content-pipeline-api&fit=scale-down&quality=highest&width=700&dpr=1',
219
219
  },
220
220
  {
221
221
  dpr: 2,
222
222
  width: 700,
223
- url: 'https://www.ft.com/__origami/service/image/v2/images/raw/ftcms%3A5a89fdc8-323b-4cf2-a317-794074a1adae?source=next-article&fit=scale-down&quality=highest&width=700&dpr=2',
223
+ url: 'https://images.ft.com/v3/image/raw/ftcms%3A5a89fdc8-323b-4cf2-a317-794074a1adae?source=cp-content-pipeline-api&fit=scale-down&quality=highest&width=700&dpr=2',
224
224
  },
225
225
  ],
226
226
  },
@@ -1,78 +1,81 @@
1
1
  export const content = {
2
- __typename: 'LiveBlogPackage',
3
- id: 'f9d0da8a-ac43-4f0d-8af5-d597d1f13bb8',
4
- title: 'News updates from February 2: US adds 353,000 jobs in January, US hits Iraq and Syria after drone deaths',
5
- publishedDate: '2024-02-05T12:00:44.399Z',
6
- firstPublishedDate: '2024-02-05T12:00:44.399Z',
7
- standfirst: null,
8
- topper: {
9
- __typename: 'TopperWithFlourish',
10
- layout: 'flourish',
11
- layoutWidth: 'full-width',
12
- headline: 'News updates from February 2: US adds 353,000 jobs in January, US hits Iraq and Syria after drone deaths',
13
- backgroundColour: 'paper',
14
- backgroundBox: null,
15
- textShadow: null,
16
- followButtonVariant: 'standard',
17
- intro: {
18
- source: 'standfirst',
19
- structured: {
20
- tree: {
21
- type: 'body',
22
- version: 1,
23
- children: [
24
- {
25
- type: 'text',
26
- value: 'Media sector scrambles to deal with fallout from phase out of cross-website trackers '
27
- }
28
- ]
29
- }
30
- }
2
+ __typename: 'LiveBlogPackage',
3
+ id: 'f9d0da8a-ac43-4f0d-8af5-d597d1f13bb8',
4
+ title:
5
+ 'News updates from February 2: US adds 353,000 jobs in January, US hits Iraq and Syria after drone deaths',
6
+ publishedDate: '2024-02-05T12:00:44.399Z',
7
+ firstPublishedDate: '2024-02-05T12:00:44.399Z',
8
+ standfirst: null,
9
+ topper: {
10
+ __typename: 'TopperWithFlourish',
11
+ layout: 'flourish',
12
+ layoutWidth: 'full-width',
13
+ headline:
14
+ 'News updates from February 2: US adds 353,000 jobs in January, US hits Iraq and Syria after drone deaths',
15
+ backgroundColour: 'paper',
16
+ backgroundBox: null,
17
+ textShadow: null,
18
+ followButtonVariant: 'standard',
19
+ intro: {
20
+ source: 'standfirst',
21
+ structured: {
22
+ tree: {
23
+ type: 'body',
24
+ version: 1,
25
+ children: [
26
+ {
27
+ type: 'text',
28
+ value:
29
+ 'Media sector scrambles to deal with fallout from phase out of cross-website trackers ',
30
+ },
31
+ ],
31
32
  },
32
- displayConcept: {
33
- id: '84cf4073-a674-4a93-aef9-dcc1832a65cb',
34
- prefLabel: 'Amazon.com',
35
- types: [
36
- 'http://www.ft.com/ontology/core/Thing',
37
- 'http://www.ft.com/ontology/concept/Concept',
38
- 'http://www.ft.com/ontology/organisation/Organisation',
39
- 'http://www.ft.com/ontology/company/Company',
40
- 'http://www.ft.com/ontology/company/PublicCompany'
41
- ],
42
- type: 'ORGANISATION',
43
- directType: 'http://www.ft.com/ontology/company/PublicCompany',
44
- isPackageBrand: false,
45
- predicate: 'http://www.ft.com/ontology/hasDisplayTag',
46
- url: 'https://www.ft.com/stream/84cf4073-a674-4a93-aef9-dcc1832a65cb',
47
- relativeUrl: '/stream/84cf4073-a674-4a93-aef9-dcc1832a65cb'
48
- },
49
- genreConcept: {
50
- id: 'a579350c-61ce-4c00-97ca-ddaa2e0cacf6',
51
- prefLabel: 'News',
52
- types: [
53
- 'http://www.ft.com/ontology/core/Thing',
54
- 'http://www.ft.com/ontology/concept/Concept',
55
- 'http://www.ft.com/ontology/classification/Classification',
56
- 'http://www.ft.com/ontology/Genre'
57
- ],
58
- type: 'GENRE',
59
- directType: 'http://www.ft.com/ontology/Genre',
60
- isPackageBrand: false,
61
- predicate: 'http://www.ft.com/ontology/classification/isClassifiedBy',
62
- url: 'https://www.ft.com/stream/a579350c-61ce-4c00-97ca-ddaa2e0cacf6',
63
- relativeUrl: '/stream/a579350c-61ce-4c00-97ca-ddaa2e0cacf6'
64
- },
65
- leadFlourish: {
66
- type: 'visualisation',
67
- id: '15700475',
68
- description: 'EU Airlines',
69
- fallbackImage: {
70
- url: 'https://www.ft.com/__origami/service/image/v2/images/raw/https%3A%2F%2Fpublic.flourish.studio%2Fvisualisation%2F15700475%2Fthumbnail?source=cp-content-pipeline&fit=scale-down&quality=highest&width=1020&dpr=1',
71
- type: 'visualisation',
72
- format: 'standard',
73
- width: 1020,
74
- height: 892
75
- }
76
- }
33
+ },
34
+ },
35
+ displayConcept: {
36
+ id: '84cf4073-a674-4a93-aef9-dcc1832a65cb',
37
+ prefLabel: 'Amazon.com',
38
+ types: [
39
+ 'http://www.ft.com/ontology/core/Thing',
40
+ 'http://www.ft.com/ontology/concept/Concept',
41
+ 'http://www.ft.com/ontology/organisation/Organisation',
42
+ 'http://www.ft.com/ontology/company/Company',
43
+ 'http://www.ft.com/ontology/company/PublicCompany',
44
+ ],
45
+ type: 'ORGANISATION',
46
+ directType: 'http://www.ft.com/ontology/company/PublicCompany',
47
+ isPackageBrand: false,
48
+ predicate: 'http://www.ft.com/ontology/hasDisplayTag',
49
+ url: 'https://www.ft.com/stream/84cf4073-a674-4a93-aef9-dcc1832a65cb',
50
+ relativeUrl: '/stream/84cf4073-a674-4a93-aef9-dcc1832a65cb',
51
+ },
52
+ genreConcept: {
53
+ id: 'a579350c-61ce-4c00-97ca-ddaa2e0cacf6',
54
+ prefLabel: 'News',
55
+ types: [
56
+ 'http://www.ft.com/ontology/core/Thing',
57
+ 'http://www.ft.com/ontology/concept/Concept',
58
+ 'http://www.ft.com/ontology/classification/Classification',
59
+ 'http://www.ft.com/ontology/Genre',
60
+ ],
61
+ type: 'GENRE',
62
+ directType: 'http://www.ft.com/ontology/Genre',
63
+ isPackageBrand: false,
64
+ predicate: 'http://www.ft.com/ontology/classification/isClassifiedBy',
65
+ url: 'https://www.ft.com/stream/a579350c-61ce-4c00-97ca-ddaa2e0cacf6',
66
+ relativeUrl: '/stream/a579350c-61ce-4c00-97ca-ddaa2e0cacf6',
67
+ },
68
+ leadFlourish: {
69
+ type: 'visualisation',
70
+ id: '15700475',
71
+ description: 'EU Airlines',
72
+ fallbackImage: {
73
+ url: 'https://images.ft.com/v3/image/raw/https%3A%2F%2Fpublic.flourish.studio%2Fvisualisation%2F15700475%2Fthumbnail?source=cp-content-pipeline-api&fit=scale-down&quality=highest&width=1020&dpr=1',
74
+ type: 'visualisation',
75
+ format: 'standard',
76
+ width: 1020,
77
+ height: 892,
78
+ },
77
79
  },
80
+ },
78
81
  }