@financial-times/cp-content-pipeline-client 0.2.2 → 0.2.4
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 +26 -0
- package/lib/generated/index.d.ts +187 -141
- package/lib/generated/index.js +27 -22
- package/lib/generated/index.js.map +1 -1
- package/package.json +2 -2
- package/queries/article.graphql +22 -18
- package/src/generated/index.ts +77 -49
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,32 @@
|
|
|
6
6
|
* devDependencies
|
|
7
7
|
* @financial-times/cp-content-pipeline-schema bumped from ^0.2.0 to ^0.2.1
|
|
8
8
|
|
|
9
|
+
### Dependencies
|
|
10
|
+
|
|
11
|
+
* The following workspace dependencies were updated
|
|
12
|
+
* devDependencies
|
|
13
|
+
* @financial-times/cp-content-pipeline-schema bumped from ^0.3.0 to ^0.3.1
|
|
14
|
+
|
|
15
|
+
## [0.2.3](https://github.com/Financial-Times/cp-content-pipeline/compare/cp-content-pipeline-client-v0.2.2...cp-content-pipeline-client-v0.2.3) (2022-10-11)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Features
|
|
19
|
+
|
|
20
|
+
* add pull-quotes ([b4cd5d6](https://github.com/Financial-Times/cp-content-pipeline/commit/b4cd5d65b8ae50c64e774ae55049e1d43c7b1c7e))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Bug Fixes
|
|
24
|
+
|
|
25
|
+
* show brand tags on fancy toppers with brands ([b3d4748](https://github.com/Financial-Times/cp-content-pipeline/commit/b3d4748c518e96200369abf5a8e9068e68580fc0))
|
|
26
|
+
* support articles without bylines ([0996c75](https://github.com/Financial-Times/cp-content-pipeline/commit/0996c75f0452aa2fec8b4b1e5617f3246e16c915))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Dependencies
|
|
30
|
+
|
|
31
|
+
* The following workspace dependencies were updated
|
|
32
|
+
* devDependencies
|
|
33
|
+
* @financial-times/cp-content-pipeline-schema bumped from ^0.2.1 to ^0.3.0
|
|
34
|
+
|
|
9
35
|
## [0.2.2](https://github.com/Financial-Times/cp-content-pipeline/compare/cp-content-pipeline-client-v0.2.1...cp-content-pipeline-client-v0.2.2) (2022-09-28)
|
|
10
36
|
|
|
11
37
|
|
package/lib/generated/index.d.ts
CHANGED
|
@@ -43,7 +43,7 @@ export declare type BasicTopper = Topper & {
|
|
|
43
43
|
readonly headline: Scalars['String'];
|
|
44
44
|
readonly intro?: Maybe<RichText>;
|
|
45
45
|
};
|
|
46
|
-
export declare type BrandedTopper = Topper & TopperWithTheme & {
|
|
46
|
+
export declare type BrandedTopper = Topper & TopperWithBrand & TopperWithTheme & {
|
|
47
47
|
readonly __typename?: 'BrandedTopper';
|
|
48
48
|
readonly backgroundColour?: Maybe<TopperBackgroundColour>;
|
|
49
49
|
readonly brandConcept?: Maybe<Concept>;
|
|
@@ -74,17 +74,13 @@ export declare type Content = {
|
|
|
74
74
|
readonly altTitle?: Maybe<AltTitle>;
|
|
75
75
|
readonly body: RichText;
|
|
76
76
|
readonly bodyXML: Scalars['String'];
|
|
77
|
-
readonly byline
|
|
77
|
+
readonly byline?: Maybe<StructuredContent>;
|
|
78
78
|
readonly firstPublishedDate: Scalars['String'];
|
|
79
79
|
readonly id: Scalars['String'];
|
|
80
|
-
readonly indicators: Indicators;
|
|
81
80
|
readonly mainImage?: Maybe<Image>;
|
|
82
|
-
readonly metaAltLink?: Maybe<Concept>;
|
|
83
|
-
readonly metaLink?: Maybe<Concept>;
|
|
84
|
-
readonly metaPrefixText?: Maybe<Scalars['String']>;
|
|
85
|
-
readonly metaSuffixText?: Maybe<Scalars['String']>;
|
|
86
81
|
readonly publishedDate: Scalars['String'];
|
|
87
82
|
readonly standfirst?: Maybe<Scalars['String']>;
|
|
83
|
+
readonly teaser?: Maybe<Teaser>;
|
|
88
84
|
readonly title: Scalars['String'];
|
|
89
85
|
readonly topper?: Maybe<Topper>;
|
|
90
86
|
readonly type: Scalars['String'];
|
|
@@ -93,14 +89,10 @@ export declare type Content = {
|
|
|
93
89
|
export declare type ContentUrlArgs = {
|
|
94
90
|
relative?: InputMaybe<Scalars['Boolean']>;
|
|
95
91
|
};
|
|
96
|
-
export declare type
|
|
97
|
-
readonly __typename?: 'FTContent';
|
|
98
|
-
readonly type?: Maybe<Scalars['String']>;
|
|
99
|
-
readonly url?: Maybe<Scalars['String']>;
|
|
100
|
-
};
|
|
101
|
-
export declare type FullBleedTopper = Topper & TopperWithImages & TopperWithTheme & {
|
|
92
|
+
export declare type FullBleedTopper = Topper & TopperWithBrand & TopperWithImages & TopperWithTheme & {
|
|
102
93
|
readonly __typename?: 'FullBleedTopper';
|
|
103
94
|
readonly backgroundColour?: Maybe<TopperBackgroundColour>;
|
|
95
|
+
readonly brandConcept?: Maybe<Concept>;
|
|
104
96
|
readonly displayConcept?: Maybe<Concept>;
|
|
105
97
|
readonly headline: Scalars['String'];
|
|
106
98
|
readonly images?: Maybe<TopperImages>;
|
|
@@ -211,6 +203,11 @@ export declare type PictureStandard = Picture & {
|
|
|
211
203
|
readonly imageType: ImageType;
|
|
212
204
|
readonly images?: Maybe<PictureImages>;
|
|
213
205
|
};
|
|
206
|
+
export declare type PullQuote = {
|
|
207
|
+
readonly __typename?: 'PullQuote';
|
|
208
|
+
readonly source?: Maybe<Scalars['String']>;
|
|
209
|
+
readonly text?: Maybe<Scalars['String']>;
|
|
210
|
+
};
|
|
214
211
|
export declare type Query = {
|
|
215
212
|
readonly __typename?: 'Query';
|
|
216
213
|
readonly content: Content;
|
|
@@ -224,10 +221,10 @@ export declare type QueryContentFromJsonArgs = {
|
|
|
224
221
|
};
|
|
225
222
|
export declare type Recommended = {
|
|
226
223
|
readonly __typename?: 'Recommended';
|
|
227
|
-
readonly teaser:
|
|
224
|
+
readonly teaser: Teaser;
|
|
228
225
|
readonly title: Scalars['String'];
|
|
229
226
|
};
|
|
230
|
-
export declare type Reference =
|
|
227
|
+
export declare type Reference = ImageSet | LayoutImage | Link | PullQuote | Recommended;
|
|
231
228
|
export declare type RichText = {
|
|
232
229
|
readonly __typename?: 'RichText';
|
|
233
230
|
readonly raw: Scalars['String'];
|
|
@@ -238,9 +235,10 @@ export declare enum Source {
|
|
|
238
235
|
Standfirst = "standfirst",
|
|
239
236
|
Summary = "summary"
|
|
240
237
|
}
|
|
241
|
-
export declare type SplitTextTopper = Topper & TopperWithImages & TopperWithTheme & {
|
|
238
|
+
export declare type SplitTextTopper = Topper & TopperWithBrand & TopperWithImages & TopperWithTheme & {
|
|
242
239
|
readonly __typename?: 'SplitTextTopper';
|
|
243
240
|
readonly backgroundColour?: Maybe<TopperBackgroundColour>;
|
|
241
|
+
readonly brandConcept?: Maybe<Concept>;
|
|
244
242
|
readonly displayConcept?: Maybe<Concept>;
|
|
245
243
|
readonly headline: Scalars['String'];
|
|
246
244
|
readonly images?: Maybe<TopperImages>;
|
|
@@ -253,6 +251,24 @@ export declare type StructuredContent = {
|
|
|
253
251
|
readonly references: ReadonlyArray<Reference>;
|
|
254
252
|
readonly tree: Scalars['JSON'];
|
|
255
253
|
};
|
|
254
|
+
export declare type Teaser = {
|
|
255
|
+
readonly __typename?: 'Teaser';
|
|
256
|
+
readonly firstPublishedDate?: Maybe<Scalars['String']>;
|
|
257
|
+
readonly id?: Maybe<Scalars['String']>;
|
|
258
|
+
readonly image?: Maybe<Image>;
|
|
259
|
+
readonly indicators?: Maybe<Indicators>;
|
|
260
|
+
readonly metaAltLink?: Maybe<Concept>;
|
|
261
|
+
readonly metaLink?: Maybe<Concept>;
|
|
262
|
+
readonly metaPrefixText?: Maybe<Scalars['String']>;
|
|
263
|
+
readonly metaSuffixText?: Maybe<Scalars['String']>;
|
|
264
|
+
readonly publishedDate?: Maybe<Scalars['String']>;
|
|
265
|
+
readonly title?: Maybe<Scalars['String']>;
|
|
266
|
+
readonly type?: Maybe<Scalars['String']>;
|
|
267
|
+
readonly url: Scalars['String'];
|
|
268
|
+
};
|
|
269
|
+
export declare type TeaserUrlArgs = {
|
|
270
|
+
relative?: InputMaybe<Scalars['Boolean']>;
|
|
271
|
+
};
|
|
256
272
|
export declare type Topper = {
|
|
257
273
|
readonly backgroundColour?: Maybe<TopperBackgroundColour>;
|
|
258
274
|
readonly displayConcept?: Maybe<Concept>;
|
|
@@ -277,6 +293,9 @@ export declare type TopperImages = {
|
|
|
277
293
|
readonly standard?: Maybe<Image>;
|
|
278
294
|
readonly wide?: Maybe<Image>;
|
|
279
295
|
};
|
|
296
|
+
export declare type TopperWithBrand = {
|
|
297
|
+
readonly brandConcept?: Maybe<Concept>;
|
|
298
|
+
};
|
|
280
299
|
export declare type TopperWithHeadshot = {
|
|
281
300
|
readonly headshot?: Maybe<Scalars['String']>;
|
|
282
301
|
};
|
|
@@ -298,9 +317,21 @@ export declare type ConceptFragment = {
|
|
|
298
317
|
readonly url: string;
|
|
299
318
|
readonly relativeUrl: string;
|
|
300
319
|
};
|
|
301
|
-
export declare type
|
|
302
|
-
readonly __typename?: '
|
|
320
|
+
export declare type StructuredTreeFragment = {
|
|
321
|
+
readonly __typename?: 'StructuredContent';
|
|
322
|
+
readonly tree: any;
|
|
323
|
+
};
|
|
324
|
+
export declare type TeaserFragment = {
|
|
325
|
+
readonly __typename?: 'Teaser';
|
|
326
|
+
readonly title?: string;
|
|
327
|
+
readonly id?: string;
|
|
328
|
+
readonly url: string;
|
|
329
|
+
readonly type?: string;
|
|
330
|
+
readonly publishedDate?: string;
|
|
331
|
+
readonly firstPublishedDate?: string;
|
|
303
332
|
readonly metaPrefixText?: string;
|
|
333
|
+
readonly metaSuffixText?: string;
|
|
334
|
+
readonly relativeUrl: string;
|
|
304
335
|
readonly metaLink?: {
|
|
305
336
|
readonly __typename?: 'Concept';
|
|
306
337
|
readonly id: string;
|
|
@@ -315,28 +346,13 @@ export declare type DisplayConceptFragment = {
|
|
|
315
346
|
readonly url: string;
|
|
316
347
|
readonly relativeUrl: string;
|
|
317
348
|
};
|
|
318
|
-
};
|
|
319
|
-
export declare type StructuredTreeFragment = {
|
|
320
|
-
readonly __typename?: 'StructuredContent';
|
|
321
|
-
readonly tree: any;
|
|
322
|
-
};
|
|
323
|
-
export declare type TeaserFragment = {
|
|
324
|
-
readonly __typename?: 'Content';
|
|
325
|
-
readonly title: string;
|
|
326
|
-
readonly id: string;
|
|
327
|
-
readonly url: string;
|
|
328
|
-
readonly type: string;
|
|
329
|
-
readonly publishedDate: string;
|
|
330
|
-
readonly firstPublishedDate: string;
|
|
331
|
-
readonly metaPrefixText?: string;
|
|
332
|
-
readonly relativeUrl: string;
|
|
333
349
|
readonly image?: {
|
|
334
350
|
readonly __typename?: 'Image';
|
|
335
351
|
readonly url?: string;
|
|
336
352
|
readonly width?: number;
|
|
337
353
|
readonly height?: number;
|
|
338
354
|
};
|
|
339
|
-
readonly indicators
|
|
355
|
+
readonly indicators?: {
|
|
340
356
|
readonly __typename?: 'Indicators';
|
|
341
357
|
readonly accessLevel?: AccessLevel;
|
|
342
358
|
readonly isOpinion?: boolean;
|
|
@@ -346,20 +362,6 @@ export declare type TeaserFragment = {
|
|
|
346
362
|
readonly isExclusive?: boolean;
|
|
347
363
|
readonly isScoop?: boolean;
|
|
348
364
|
};
|
|
349
|
-
readonly metaLink?: {
|
|
350
|
-
readonly __typename?: 'Concept';
|
|
351
|
-
readonly id: string;
|
|
352
|
-
readonly prefLabel: string;
|
|
353
|
-
readonly url: string;
|
|
354
|
-
readonly relativeUrl: string;
|
|
355
|
-
};
|
|
356
|
-
readonly metaAltLink?: {
|
|
357
|
-
readonly __typename?: 'Concept';
|
|
358
|
-
readonly id: string;
|
|
359
|
-
readonly prefLabel: string;
|
|
360
|
-
readonly url: string;
|
|
361
|
-
readonly relativeUrl: string;
|
|
362
|
-
};
|
|
363
365
|
};
|
|
364
366
|
export declare type ImageSourceFragment = {
|
|
365
367
|
readonly __typename?: 'ImageSource';
|
|
@@ -481,6 +483,13 @@ declare type Topper_FullBleedTopper_Fragment = {
|
|
|
481
483
|
readonly layout?: string;
|
|
482
484
|
readonly headline: string;
|
|
483
485
|
readonly backgroundColour?: TopperBackgroundColour;
|
|
486
|
+
readonly brandConcept?: {
|
|
487
|
+
readonly __typename?: 'Concept';
|
|
488
|
+
readonly id: string;
|
|
489
|
+
readonly prefLabel: string;
|
|
490
|
+
readonly url: string;
|
|
491
|
+
readonly relativeUrl: string;
|
|
492
|
+
};
|
|
484
493
|
readonly images?: {
|
|
485
494
|
readonly __typename?: 'TopperImages';
|
|
486
495
|
readonly standard?: {
|
|
@@ -577,6 +586,13 @@ declare type Topper_SplitTextTopper_Fragment = {
|
|
|
577
586
|
readonly layout?: string;
|
|
578
587
|
readonly headline: string;
|
|
579
588
|
readonly backgroundColour?: TopperBackgroundColour;
|
|
589
|
+
readonly brandConcept?: {
|
|
590
|
+
readonly __typename?: 'Concept';
|
|
591
|
+
readonly id: string;
|
|
592
|
+
readonly prefLabel: string;
|
|
593
|
+
readonly url: string;
|
|
594
|
+
readonly relativeUrl: string;
|
|
595
|
+
};
|
|
580
596
|
readonly images?: {
|
|
581
597
|
readonly __typename?: 'TopperImages';
|
|
582
598
|
readonly standard?: {
|
|
@@ -978,22 +994,37 @@ export declare type RecommendedFragment = {
|
|
|
978
994
|
readonly __typename?: 'Recommended';
|
|
979
995
|
readonly title: string;
|
|
980
996
|
readonly teaser: {
|
|
981
|
-
readonly __typename?: '
|
|
982
|
-
readonly title
|
|
983
|
-
readonly id
|
|
997
|
+
readonly __typename?: 'Teaser';
|
|
998
|
+
readonly title?: string;
|
|
999
|
+
readonly id?: string;
|
|
984
1000
|
readonly url: string;
|
|
985
|
-
readonly type
|
|
986
|
-
readonly publishedDate
|
|
987
|
-
readonly firstPublishedDate
|
|
1001
|
+
readonly type?: string;
|
|
1002
|
+
readonly publishedDate?: string;
|
|
1003
|
+
readonly firstPublishedDate?: string;
|
|
988
1004
|
readonly metaPrefixText?: string;
|
|
1005
|
+
readonly metaSuffixText?: string;
|
|
989
1006
|
readonly relativeUrl: string;
|
|
1007
|
+
readonly metaLink?: {
|
|
1008
|
+
readonly __typename?: 'Concept';
|
|
1009
|
+
readonly id: string;
|
|
1010
|
+
readonly prefLabel: string;
|
|
1011
|
+
readonly url: string;
|
|
1012
|
+
readonly relativeUrl: string;
|
|
1013
|
+
};
|
|
1014
|
+
readonly metaAltLink?: {
|
|
1015
|
+
readonly __typename?: 'Concept';
|
|
1016
|
+
readonly id: string;
|
|
1017
|
+
readonly prefLabel: string;
|
|
1018
|
+
readonly url: string;
|
|
1019
|
+
readonly relativeUrl: string;
|
|
1020
|
+
};
|
|
990
1021
|
readonly image?: {
|
|
991
1022
|
readonly __typename?: 'Image';
|
|
992
1023
|
readonly url?: string;
|
|
993
1024
|
readonly width?: number;
|
|
994
1025
|
readonly height?: number;
|
|
995
1026
|
};
|
|
996
|
-
readonly indicators
|
|
1027
|
+
readonly indicators?: {
|
|
997
1028
|
readonly __typename?: 'Indicators';
|
|
998
1029
|
readonly accessLevel?: AccessLevel;
|
|
999
1030
|
readonly isOpinion?: boolean;
|
|
@@ -1003,24 +1034,12 @@ export declare type RecommendedFragment = {
|
|
|
1003
1034
|
readonly isExclusive?: boolean;
|
|
1004
1035
|
readonly isScoop?: boolean;
|
|
1005
1036
|
};
|
|
1006
|
-
readonly metaLink?: {
|
|
1007
|
-
readonly __typename?: 'Concept';
|
|
1008
|
-
readonly id: string;
|
|
1009
|
-
readonly prefLabel: string;
|
|
1010
|
-
readonly url: string;
|
|
1011
|
-
readonly relativeUrl: string;
|
|
1012
|
-
};
|
|
1013
|
-
readonly metaAltLink?: {
|
|
1014
|
-
readonly __typename?: 'Concept';
|
|
1015
|
-
readonly id: string;
|
|
1016
|
-
readonly prefLabel: string;
|
|
1017
|
-
readonly url: string;
|
|
1018
|
-
readonly relativeUrl: string;
|
|
1019
|
-
};
|
|
1020
1037
|
};
|
|
1021
1038
|
};
|
|
1022
|
-
declare type
|
|
1023
|
-
readonly __typename
|
|
1039
|
+
export declare type PullQuoteFragment = {
|
|
1040
|
+
readonly __typename?: 'PullQuote';
|
|
1041
|
+
readonly text?: string;
|
|
1042
|
+
readonly source?: string;
|
|
1024
1043
|
};
|
|
1025
1044
|
declare type ArticleReferences_ImageSet_Fragment = {
|
|
1026
1045
|
readonly __typename: 'ImageSet';
|
|
@@ -1247,26 +1266,46 @@ declare type ArticleReferences_LayoutImage_Fragment = {
|
|
|
1247
1266
|
declare type ArticleReferences_Link_Fragment = {
|
|
1248
1267
|
readonly __typename: 'Link';
|
|
1249
1268
|
};
|
|
1269
|
+
declare type ArticleReferences_PullQuote_Fragment = {
|
|
1270
|
+
readonly __typename: 'PullQuote';
|
|
1271
|
+
readonly text?: string;
|
|
1272
|
+
readonly source?: string;
|
|
1273
|
+
};
|
|
1250
1274
|
declare type ArticleReferences_Recommended_Fragment = {
|
|
1251
1275
|
readonly __typename: 'Recommended';
|
|
1252
1276
|
readonly title: string;
|
|
1253
1277
|
readonly teaser: {
|
|
1254
|
-
readonly __typename?: '
|
|
1255
|
-
readonly title
|
|
1256
|
-
readonly id
|
|
1278
|
+
readonly __typename?: 'Teaser';
|
|
1279
|
+
readonly title?: string;
|
|
1280
|
+
readonly id?: string;
|
|
1257
1281
|
readonly url: string;
|
|
1258
|
-
readonly type
|
|
1259
|
-
readonly publishedDate
|
|
1260
|
-
readonly firstPublishedDate
|
|
1282
|
+
readonly type?: string;
|
|
1283
|
+
readonly publishedDate?: string;
|
|
1284
|
+
readonly firstPublishedDate?: string;
|
|
1261
1285
|
readonly metaPrefixText?: string;
|
|
1286
|
+
readonly metaSuffixText?: string;
|
|
1262
1287
|
readonly relativeUrl: string;
|
|
1288
|
+
readonly metaLink?: {
|
|
1289
|
+
readonly __typename?: 'Concept';
|
|
1290
|
+
readonly id: string;
|
|
1291
|
+
readonly prefLabel: string;
|
|
1292
|
+
readonly url: string;
|
|
1293
|
+
readonly relativeUrl: string;
|
|
1294
|
+
};
|
|
1295
|
+
readonly metaAltLink?: {
|
|
1296
|
+
readonly __typename?: 'Concept';
|
|
1297
|
+
readonly id: string;
|
|
1298
|
+
readonly prefLabel: string;
|
|
1299
|
+
readonly url: string;
|
|
1300
|
+
readonly relativeUrl: string;
|
|
1301
|
+
};
|
|
1263
1302
|
readonly image?: {
|
|
1264
1303
|
readonly __typename?: 'Image';
|
|
1265
1304
|
readonly url?: string;
|
|
1266
1305
|
readonly width?: number;
|
|
1267
1306
|
readonly height?: number;
|
|
1268
1307
|
};
|
|
1269
|
-
readonly indicators
|
|
1308
|
+
readonly indicators?: {
|
|
1270
1309
|
readonly __typename?: 'Indicators';
|
|
1271
1310
|
readonly accessLevel?: AccessLevel;
|
|
1272
1311
|
readonly isOpinion?: boolean;
|
|
@@ -1276,29 +1315,13 @@ declare type ArticleReferences_Recommended_Fragment = {
|
|
|
1276
1315
|
readonly isExclusive?: boolean;
|
|
1277
1316
|
readonly isScoop?: boolean;
|
|
1278
1317
|
};
|
|
1279
|
-
readonly metaLink?: {
|
|
1280
|
-
readonly __typename?: 'Concept';
|
|
1281
|
-
readonly id: string;
|
|
1282
|
-
readonly prefLabel: string;
|
|
1283
|
-
readonly url: string;
|
|
1284
|
-
readonly relativeUrl: string;
|
|
1285
|
-
};
|
|
1286
|
-
readonly metaAltLink?: {
|
|
1287
|
-
readonly __typename?: 'Concept';
|
|
1288
|
-
readonly id: string;
|
|
1289
|
-
readonly prefLabel: string;
|
|
1290
|
-
readonly url: string;
|
|
1291
|
-
readonly relativeUrl: string;
|
|
1292
|
-
};
|
|
1293
1318
|
};
|
|
1294
1319
|
};
|
|
1295
|
-
export declare type ArticleReferencesFragment =
|
|
1320
|
+
export declare type ArticleReferencesFragment = ArticleReferences_ImageSet_Fragment | ArticleReferences_LayoutImage_Fragment | ArticleReferences_Link_Fragment | ArticleReferences_PullQuote_Fragment | ArticleReferences_Recommended_Fragment;
|
|
1296
1321
|
export declare type StructuredContentFragment = {
|
|
1297
1322
|
readonly __typename?: 'StructuredContent';
|
|
1298
1323
|
readonly tree: any;
|
|
1299
1324
|
readonly references: ReadonlyArray<{
|
|
1300
|
-
readonly __typename: 'FTContent';
|
|
1301
|
-
} | {
|
|
1302
1325
|
readonly __typename: 'ImageSet';
|
|
1303
1326
|
readonly picture: {
|
|
1304
1327
|
readonly __typename: 'PictureFullBleed';
|
|
@@ -1520,26 +1543,45 @@ export declare type StructuredContentFragment = {
|
|
|
1520
1543
|
};
|
|
1521
1544
|
} | {
|
|
1522
1545
|
readonly __typename: 'Link';
|
|
1546
|
+
} | {
|
|
1547
|
+
readonly __typename: 'PullQuote';
|
|
1548
|
+
readonly text?: string;
|
|
1549
|
+
readonly source?: string;
|
|
1523
1550
|
} | {
|
|
1524
1551
|
readonly __typename: 'Recommended';
|
|
1525
1552
|
readonly title: string;
|
|
1526
1553
|
readonly teaser: {
|
|
1527
|
-
readonly __typename?: '
|
|
1528
|
-
readonly title
|
|
1529
|
-
readonly id
|
|
1554
|
+
readonly __typename?: 'Teaser';
|
|
1555
|
+
readonly title?: string;
|
|
1556
|
+
readonly id?: string;
|
|
1530
1557
|
readonly url: string;
|
|
1531
|
-
readonly type
|
|
1532
|
-
readonly publishedDate
|
|
1533
|
-
readonly firstPublishedDate
|
|
1558
|
+
readonly type?: string;
|
|
1559
|
+
readonly publishedDate?: string;
|
|
1560
|
+
readonly firstPublishedDate?: string;
|
|
1534
1561
|
readonly metaPrefixText?: string;
|
|
1562
|
+
readonly metaSuffixText?: string;
|
|
1535
1563
|
readonly relativeUrl: string;
|
|
1564
|
+
readonly metaLink?: {
|
|
1565
|
+
readonly __typename?: 'Concept';
|
|
1566
|
+
readonly id: string;
|
|
1567
|
+
readonly prefLabel: string;
|
|
1568
|
+
readonly url: string;
|
|
1569
|
+
readonly relativeUrl: string;
|
|
1570
|
+
};
|
|
1571
|
+
readonly metaAltLink?: {
|
|
1572
|
+
readonly __typename?: 'Concept';
|
|
1573
|
+
readonly id: string;
|
|
1574
|
+
readonly prefLabel: string;
|
|
1575
|
+
readonly url: string;
|
|
1576
|
+
readonly relativeUrl: string;
|
|
1577
|
+
};
|
|
1536
1578
|
readonly image?: {
|
|
1537
1579
|
readonly __typename?: 'Image';
|
|
1538
1580
|
readonly url?: string;
|
|
1539
1581
|
readonly width?: number;
|
|
1540
1582
|
readonly height?: number;
|
|
1541
1583
|
};
|
|
1542
|
-
readonly indicators
|
|
1584
|
+
readonly indicators?: {
|
|
1543
1585
|
readonly __typename?: 'Indicators';
|
|
1544
1586
|
readonly accessLevel?: AccessLevel;
|
|
1545
1587
|
readonly isOpinion?: boolean;
|
|
@@ -1549,20 +1591,6 @@ export declare type StructuredContentFragment = {
|
|
|
1549
1591
|
readonly isExclusive?: boolean;
|
|
1550
1592
|
readonly isScoop?: boolean;
|
|
1551
1593
|
};
|
|
1552
|
-
readonly metaLink?: {
|
|
1553
|
-
readonly __typename?: 'Concept';
|
|
1554
|
-
readonly id: string;
|
|
1555
|
-
readonly prefLabel: string;
|
|
1556
|
-
readonly url: string;
|
|
1557
|
-
readonly relativeUrl: string;
|
|
1558
|
-
};
|
|
1559
|
-
readonly metaAltLink?: {
|
|
1560
|
-
readonly __typename?: 'Concept';
|
|
1561
|
-
readonly id: string;
|
|
1562
|
-
readonly prefLabel: string;
|
|
1563
|
-
readonly url: string;
|
|
1564
|
-
readonly relativeUrl: string;
|
|
1565
|
-
};
|
|
1566
1594
|
};
|
|
1567
1595
|
}>;
|
|
1568
1596
|
};
|
|
@@ -1575,7 +1603,8 @@ export declare type ArticleQuery = {
|
|
|
1575
1603
|
readonly content: {
|
|
1576
1604
|
readonly __typename?: 'Content';
|
|
1577
1605
|
readonly title: string;
|
|
1578
|
-
readonly
|
|
1606
|
+
readonly publishedDate: string;
|
|
1607
|
+
readonly byline?: {
|
|
1579
1608
|
readonly __typename?: 'StructuredContent';
|
|
1580
1609
|
readonly tree: any;
|
|
1581
1610
|
};
|
|
@@ -1632,6 +1661,13 @@ export declare type ArticleQuery = {
|
|
|
1632
1661
|
readonly layout?: string;
|
|
1633
1662
|
readonly headline: string;
|
|
1634
1663
|
readonly backgroundColour?: TopperBackgroundColour;
|
|
1664
|
+
readonly brandConcept?: {
|
|
1665
|
+
readonly __typename?: 'Concept';
|
|
1666
|
+
readonly id: string;
|
|
1667
|
+
readonly prefLabel: string;
|
|
1668
|
+
readonly url: string;
|
|
1669
|
+
readonly relativeUrl: string;
|
|
1670
|
+
};
|
|
1635
1671
|
readonly images?: {
|
|
1636
1672
|
readonly __typename?: 'TopperImages';
|
|
1637
1673
|
readonly standard?: {
|
|
@@ -1726,6 +1762,13 @@ export declare type ArticleQuery = {
|
|
|
1726
1762
|
readonly layout?: string;
|
|
1727
1763
|
readonly headline: string;
|
|
1728
1764
|
readonly backgroundColour?: TopperBackgroundColour;
|
|
1765
|
+
readonly brandConcept?: {
|
|
1766
|
+
readonly __typename?: 'Concept';
|
|
1767
|
+
readonly id: string;
|
|
1768
|
+
readonly prefLabel: string;
|
|
1769
|
+
readonly url: string;
|
|
1770
|
+
readonly relativeUrl: string;
|
|
1771
|
+
};
|
|
1729
1772
|
readonly images?: {
|
|
1730
1773
|
readonly __typename?: 'TopperImages';
|
|
1731
1774
|
readonly standard?: {
|
|
@@ -1781,8 +1824,6 @@ export declare type ArticleQuery = {
|
|
|
1781
1824
|
readonly __typename?: 'StructuredContent';
|
|
1782
1825
|
readonly tree: any;
|
|
1783
1826
|
readonly references: ReadonlyArray<{
|
|
1784
|
-
readonly __typename: 'FTContent';
|
|
1785
|
-
} | {
|
|
1786
1827
|
readonly __typename: 'ImageSet';
|
|
1787
1828
|
readonly picture: {
|
|
1788
1829
|
readonly __typename: 'PictureFullBleed';
|
|
@@ -2004,26 +2045,45 @@ export declare type ArticleQuery = {
|
|
|
2004
2045
|
};
|
|
2005
2046
|
} | {
|
|
2006
2047
|
readonly __typename: 'Link';
|
|
2048
|
+
} | {
|
|
2049
|
+
readonly __typename: 'PullQuote';
|
|
2050
|
+
readonly text?: string;
|
|
2051
|
+
readonly source?: string;
|
|
2007
2052
|
} | {
|
|
2008
2053
|
readonly __typename: 'Recommended';
|
|
2009
2054
|
readonly title: string;
|
|
2010
2055
|
readonly teaser: {
|
|
2011
|
-
readonly __typename?: '
|
|
2012
|
-
readonly title
|
|
2013
|
-
readonly id
|
|
2056
|
+
readonly __typename?: 'Teaser';
|
|
2057
|
+
readonly title?: string;
|
|
2058
|
+
readonly id?: string;
|
|
2014
2059
|
readonly url: string;
|
|
2015
|
-
readonly type
|
|
2016
|
-
readonly publishedDate
|
|
2017
|
-
readonly firstPublishedDate
|
|
2060
|
+
readonly type?: string;
|
|
2061
|
+
readonly publishedDate?: string;
|
|
2062
|
+
readonly firstPublishedDate?: string;
|
|
2018
2063
|
readonly metaPrefixText?: string;
|
|
2064
|
+
readonly metaSuffixText?: string;
|
|
2019
2065
|
readonly relativeUrl: string;
|
|
2066
|
+
readonly metaLink?: {
|
|
2067
|
+
readonly __typename?: 'Concept';
|
|
2068
|
+
readonly id: string;
|
|
2069
|
+
readonly prefLabel: string;
|
|
2070
|
+
readonly url: string;
|
|
2071
|
+
readonly relativeUrl: string;
|
|
2072
|
+
};
|
|
2073
|
+
readonly metaAltLink?: {
|
|
2074
|
+
readonly __typename?: 'Concept';
|
|
2075
|
+
readonly id: string;
|
|
2076
|
+
readonly prefLabel: string;
|
|
2077
|
+
readonly url: string;
|
|
2078
|
+
readonly relativeUrl: string;
|
|
2079
|
+
};
|
|
2020
2080
|
readonly image?: {
|
|
2021
2081
|
readonly __typename?: 'Image';
|
|
2022
2082
|
readonly url?: string;
|
|
2023
2083
|
readonly width?: number;
|
|
2024
2084
|
readonly height?: number;
|
|
2025
2085
|
};
|
|
2026
|
-
readonly indicators
|
|
2086
|
+
readonly indicators?: {
|
|
2027
2087
|
readonly __typename?: 'Indicators';
|
|
2028
2088
|
readonly accessLevel?: AccessLevel;
|
|
2029
2089
|
readonly isOpinion?: boolean;
|
|
@@ -2033,20 +2093,6 @@ export declare type ArticleQuery = {
|
|
|
2033
2093
|
readonly isExclusive?: boolean;
|
|
2034
2094
|
readonly isScoop?: boolean;
|
|
2035
2095
|
};
|
|
2036
|
-
readonly metaLink?: {
|
|
2037
|
-
readonly __typename?: 'Concept';
|
|
2038
|
-
readonly id: string;
|
|
2039
|
-
readonly prefLabel: string;
|
|
2040
|
-
readonly url: string;
|
|
2041
|
-
readonly relativeUrl: string;
|
|
2042
|
-
};
|
|
2043
|
-
readonly metaAltLink?: {
|
|
2044
|
-
readonly __typename?: 'Concept';
|
|
2045
|
-
readonly id: string;
|
|
2046
|
-
readonly prefLabel: string;
|
|
2047
|
-
readonly url: string;
|
|
2048
|
-
readonly relativeUrl: string;
|
|
2049
|
-
};
|
|
2050
2096
|
};
|
|
2051
2097
|
}>;
|
|
2052
2098
|
};
|
|
@@ -2059,12 +2105,12 @@ export declare const TopperImagesFragmentDoc: import("graphql/language/ast").Doc
|
|
|
2059
2105
|
export declare const StructuredTreeFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2060
2106
|
export declare const ConceptFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2061
2107
|
export declare const TopperFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2062
|
-
export declare const DisplayConceptFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2063
2108
|
export declare const TeaserFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2064
2109
|
export declare const RecommendedFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2065
2110
|
export declare const PictureFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2066
2111
|
export declare const ImageSetFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2067
2112
|
export declare const LayoutImageFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2113
|
+
export declare const PullQuoteFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2068
2114
|
export declare const ArticleReferencesFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2069
2115
|
export declare const StructuredContentFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2070
2116
|
export declare const ArticleDocument: import("graphql/language/ast").DocumentNode;
|