@financial-times/cp-content-pipeline-client 0.2.1 → 0.2.3
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 +27 -0
- package/lib/generated/index.d.ts +188 -130
- package/lib/generated/index.js +27 -22
- package/lib/generated/index.js.map +1 -1
- package/package.json +4 -3
- package/queries/article.graphql +22 -18
- package/src/generated/index.ts +78 -42
- package/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,33 @@
|
|
|
6
6
|
* devDependencies
|
|
7
7
|
* @financial-times/cp-content-pipeline-schema bumped from ^0.2.0 to ^0.2.1
|
|
8
8
|
|
|
9
|
+
## [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)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* add pull-quotes ([b4cd5d6](https://github.com/Financial-Times/cp-content-pipeline/commit/b4cd5d65b8ae50c64e774ae55049e1d43c7b1c7e))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* show brand tags on fancy toppers with brands ([b3d4748](https://github.com/Financial-Times/cp-content-pipeline/commit/b3d4748c518e96200369abf5a8e9068e68580fc0))
|
|
20
|
+
* support articles without bylines ([0996c75](https://github.com/Financial-Times/cp-content-pipeline/commit/0996c75f0452aa2fec8b4b1e5617f3246e16c915))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Dependencies
|
|
24
|
+
|
|
25
|
+
* The following workspace dependencies were updated
|
|
26
|
+
* devDependencies
|
|
27
|
+
* @financial-times/cp-content-pipeline-schema bumped from ^0.2.1 to ^0.3.0
|
|
28
|
+
|
|
29
|
+
## [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)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* add graphql-tag as a dependency of client ([78fb885](https://github.com/Financial-Times/cp-content-pipeline/commit/78fb885a0b411c48d1cc9d42cde5cd74e5387ad0))
|
|
35
|
+
|
|
9
36
|
## [0.2.0](https://github.com/Financial-Times/cp-content-pipeline/compare/cp-content-pipeline-client-v0.1.0...cp-content-pipeline-client-v0.2.0) (2022-09-27)
|
|
10
37
|
|
|
11
38
|
|
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'];
|
|
@@ -98,9 +94,10 @@ export declare type FtContent = {
|
|
|
98
94
|
readonly type?: Maybe<Scalars['String']>;
|
|
99
95
|
readonly url?: Maybe<Scalars['String']>;
|
|
100
96
|
};
|
|
101
|
-
export declare type FullBleedTopper = Topper & TopperWithImages & TopperWithTheme & {
|
|
97
|
+
export declare type FullBleedTopper = Topper & TopperWithBrand & TopperWithImages & TopperWithTheme & {
|
|
102
98
|
readonly __typename?: 'FullBleedTopper';
|
|
103
99
|
readonly backgroundColour?: Maybe<TopperBackgroundColour>;
|
|
100
|
+
readonly brandConcept?: Maybe<Concept>;
|
|
104
101
|
readonly displayConcept?: Maybe<Concept>;
|
|
105
102
|
readonly headline: Scalars['String'];
|
|
106
103
|
readonly images?: Maybe<TopperImages>;
|
|
@@ -211,6 +208,11 @@ export declare type PictureStandard = Picture & {
|
|
|
211
208
|
readonly imageType: ImageType;
|
|
212
209
|
readonly images?: Maybe<PictureImages>;
|
|
213
210
|
};
|
|
211
|
+
export declare type PullQuote = {
|
|
212
|
+
readonly __typename?: 'PullQuote';
|
|
213
|
+
readonly source?: Maybe<Scalars['String']>;
|
|
214
|
+
readonly text?: Maybe<Scalars['String']>;
|
|
215
|
+
};
|
|
214
216
|
export declare type Query = {
|
|
215
217
|
readonly __typename?: 'Query';
|
|
216
218
|
readonly content: Content;
|
|
@@ -224,10 +226,10 @@ export declare type QueryContentFromJsonArgs = {
|
|
|
224
226
|
};
|
|
225
227
|
export declare type Recommended = {
|
|
226
228
|
readonly __typename?: 'Recommended';
|
|
227
|
-
readonly teaser:
|
|
229
|
+
readonly teaser: Teaser;
|
|
228
230
|
readonly title: Scalars['String'];
|
|
229
231
|
};
|
|
230
|
-
export declare type Reference = FtContent | ImageSet | LayoutImage | Link | Recommended;
|
|
232
|
+
export declare type Reference = FtContent | ImageSet | LayoutImage | Link | PullQuote | Recommended;
|
|
231
233
|
export declare type RichText = {
|
|
232
234
|
readonly __typename?: 'RichText';
|
|
233
235
|
readonly raw: Scalars['String'];
|
|
@@ -238,9 +240,10 @@ export declare enum Source {
|
|
|
238
240
|
Standfirst = "standfirst",
|
|
239
241
|
Summary = "summary"
|
|
240
242
|
}
|
|
241
|
-
export declare type SplitTextTopper = Topper & TopperWithImages & TopperWithTheme & {
|
|
243
|
+
export declare type SplitTextTopper = Topper & TopperWithBrand & TopperWithImages & TopperWithTheme & {
|
|
242
244
|
readonly __typename?: 'SplitTextTopper';
|
|
243
245
|
readonly backgroundColour?: Maybe<TopperBackgroundColour>;
|
|
246
|
+
readonly brandConcept?: Maybe<Concept>;
|
|
244
247
|
readonly displayConcept?: Maybe<Concept>;
|
|
245
248
|
readonly headline: Scalars['String'];
|
|
246
249
|
readonly images?: Maybe<TopperImages>;
|
|
@@ -253,6 +256,24 @@ export declare type StructuredContent = {
|
|
|
253
256
|
readonly references: ReadonlyArray<Reference>;
|
|
254
257
|
readonly tree: Scalars['JSON'];
|
|
255
258
|
};
|
|
259
|
+
export declare type Teaser = {
|
|
260
|
+
readonly __typename?: 'Teaser';
|
|
261
|
+
readonly firstPublishedDate?: Maybe<Scalars['String']>;
|
|
262
|
+
readonly id?: Maybe<Scalars['String']>;
|
|
263
|
+
readonly image?: Maybe<Image>;
|
|
264
|
+
readonly indicators?: Maybe<Indicators>;
|
|
265
|
+
readonly metaAltLink?: Maybe<Concept>;
|
|
266
|
+
readonly metaLink?: Maybe<Concept>;
|
|
267
|
+
readonly metaPrefixText?: Maybe<Scalars['String']>;
|
|
268
|
+
readonly metaSuffixText?: Maybe<Scalars['String']>;
|
|
269
|
+
readonly publishedDate?: Maybe<Scalars['String']>;
|
|
270
|
+
readonly title?: Maybe<Scalars['String']>;
|
|
271
|
+
readonly type?: Maybe<Scalars['String']>;
|
|
272
|
+
readonly url: Scalars['String'];
|
|
273
|
+
};
|
|
274
|
+
export declare type TeaserUrlArgs = {
|
|
275
|
+
relative?: InputMaybe<Scalars['Boolean']>;
|
|
276
|
+
};
|
|
256
277
|
export declare type Topper = {
|
|
257
278
|
readonly backgroundColour?: Maybe<TopperBackgroundColour>;
|
|
258
279
|
readonly displayConcept?: Maybe<Concept>;
|
|
@@ -277,6 +298,9 @@ export declare type TopperImages = {
|
|
|
277
298
|
readonly standard?: Maybe<Image>;
|
|
278
299
|
readonly wide?: Maybe<Image>;
|
|
279
300
|
};
|
|
301
|
+
export declare type TopperWithBrand = {
|
|
302
|
+
readonly brandConcept?: Maybe<Concept>;
|
|
303
|
+
};
|
|
280
304
|
export declare type TopperWithHeadshot = {
|
|
281
305
|
readonly headshot?: Maybe<Scalars['String']>;
|
|
282
306
|
};
|
|
@@ -298,9 +322,21 @@ export declare type ConceptFragment = {
|
|
|
298
322
|
readonly url: string;
|
|
299
323
|
readonly relativeUrl: string;
|
|
300
324
|
};
|
|
301
|
-
export declare type
|
|
302
|
-
readonly __typename?: '
|
|
325
|
+
export declare type StructuredTreeFragment = {
|
|
326
|
+
readonly __typename?: 'StructuredContent';
|
|
327
|
+
readonly tree: any;
|
|
328
|
+
};
|
|
329
|
+
export declare type TeaserFragment = {
|
|
330
|
+
readonly __typename?: 'Teaser';
|
|
331
|
+
readonly title?: string;
|
|
332
|
+
readonly id?: string;
|
|
333
|
+
readonly url: string;
|
|
334
|
+
readonly type?: string;
|
|
335
|
+
readonly publishedDate?: string;
|
|
336
|
+
readonly firstPublishedDate?: string;
|
|
303
337
|
readonly metaPrefixText?: string;
|
|
338
|
+
readonly metaSuffixText?: string;
|
|
339
|
+
readonly relativeUrl: string;
|
|
304
340
|
readonly metaLink?: {
|
|
305
341
|
readonly __typename?: 'Concept';
|
|
306
342
|
readonly id: string;
|
|
@@ -315,28 +351,13 @@ export declare type DisplayConceptFragment = {
|
|
|
315
351
|
readonly url: string;
|
|
316
352
|
readonly relativeUrl: string;
|
|
317
353
|
};
|
|
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
354
|
readonly image?: {
|
|
334
355
|
readonly __typename?: 'Image';
|
|
335
356
|
readonly url?: string;
|
|
336
357
|
readonly width?: number;
|
|
337
358
|
readonly height?: number;
|
|
338
359
|
};
|
|
339
|
-
readonly indicators
|
|
360
|
+
readonly indicators?: {
|
|
340
361
|
readonly __typename?: 'Indicators';
|
|
341
362
|
readonly accessLevel?: AccessLevel;
|
|
342
363
|
readonly isOpinion?: boolean;
|
|
@@ -346,20 +367,6 @@ export declare type TeaserFragment = {
|
|
|
346
367
|
readonly isExclusive?: boolean;
|
|
347
368
|
readonly isScoop?: boolean;
|
|
348
369
|
};
|
|
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
370
|
};
|
|
364
371
|
export declare type ImageSourceFragment = {
|
|
365
372
|
readonly __typename?: 'ImageSource';
|
|
@@ -481,6 +488,13 @@ declare type Topper_FullBleedTopper_Fragment = {
|
|
|
481
488
|
readonly layout?: string;
|
|
482
489
|
readonly headline: string;
|
|
483
490
|
readonly backgroundColour?: TopperBackgroundColour;
|
|
491
|
+
readonly brandConcept?: {
|
|
492
|
+
readonly __typename?: 'Concept';
|
|
493
|
+
readonly id: string;
|
|
494
|
+
readonly prefLabel: string;
|
|
495
|
+
readonly url: string;
|
|
496
|
+
readonly relativeUrl: string;
|
|
497
|
+
};
|
|
484
498
|
readonly images?: {
|
|
485
499
|
readonly __typename?: 'TopperImages';
|
|
486
500
|
readonly standard?: {
|
|
@@ -577,6 +591,13 @@ declare type Topper_SplitTextTopper_Fragment = {
|
|
|
577
591
|
readonly layout?: string;
|
|
578
592
|
readonly headline: string;
|
|
579
593
|
readonly backgroundColour?: TopperBackgroundColour;
|
|
594
|
+
readonly brandConcept?: {
|
|
595
|
+
readonly __typename?: 'Concept';
|
|
596
|
+
readonly id: string;
|
|
597
|
+
readonly prefLabel: string;
|
|
598
|
+
readonly url: string;
|
|
599
|
+
readonly relativeUrl: string;
|
|
600
|
+
};
|
|
580
601
|
readonly images?: {
|
|
581
602
|
readonly __typename?: 'TopperImages';
|
|
582
603
|
readonly standard?: {
|
|
@@ -978,22 +999,37 @@ export declare type RecommendedFragment = {
|
|
|
978
999
|
readonly __typename?: 'Recommended';
|
|
979
1000
|
readonly title: string;
|
|
980
1001
|
readonly teaser: {
|
|
981
|
-
readonly __typename?: '
|
|
982
|
-
readonly title
|
|
983
|
-
readonly id
|
|
1002
|
+
readonly __typename?: 'Teaser';
|
|
1003
|
+
readonly title?: string;
|
|
1004
|
+
readonly id?: string;
|
|
984
1005
|
readonly url: string;
|
|
985
|
-
readonly type
|
|
986
|
-
readonly publishedDate
|
|
987
|
-
readonly firstPublishedDate
|
|
1006
|
+
readonly type?: string;
|
|
1007
|
+
readonly publishedDate?: string;
|
|
1008
|
+
readonly firstPublishedDate?: string;
|
|
988
1009
|
readonly metaPrefixText?: string;
|
|
1010
|
+
readonly metaSuffixText?: string;
|
|
989
1011
|
readonly relativeUrl: string;
|
|
1012
|
+
readonly metaLink?: {
|
|
1013
|
+
readonly __typename?: 'Concept';
|
|
1014
|
+
readonly id: string;
|
|
1015
|
+
readonly prefLabel: string;
|
|
1016
|
+
readonly url: string;
|
|
1017
|
+
readonly relativeUrl: string;
|
|
1018
|
+
};
|
|
1019
|
+
readonly metaAltLink?: {
|
|
1020
|
+
readonly __typename?: 'Concept';
|
|
1021
|
+
readonly id: string;
|
|
1022
|
+
readonly prefLabel: string;
|
|
1023
|
+
readonly url: string;
|
|
1024
|
+
readonly relativeUrl: string;
|
|
1025
|
+
};
|
|
990
1026
|
readonly image?: {
|
|
991
1027
|
readonly __typename?: 'Image';
|
|
992
1028
|
readonly url?: string;
|
|
993
1029
|
readonly width?: number;
|
|
994
1030
|
readonly height?: number;
|
|
995
1031
|
};
|
|
996
|
-
readonly indicators
|
|
1032
|
+
readonly indicators?: {
|
|
997
1033
|
readonly __typename?: 'Indicators';
|
|
998
1034
|
readonly accessLevel?: AccessLevel;
|
|
999
1035
|
readonly isOpinion?: boolean;
|
|
@@ -1003,22 +1039,13 @@ export declare type RecommendedFragment = {
|
|
|
1003
1039
|
readonly isExclusive?: boolean;
|
|
1004
1040
|
readonly isScoop?: boolean;
|
|
1005
1041
|
};
|
|
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
1042
|
};
|
|
1021
1043
|
};
|
|
1044
|
+
export declare type PullQuoteFragment = {
|
|
1045
|
+
readonly __typename?: 'PullQuote';
|
|
1046
|
+
readonly text?: string;
|
|
1047
|
+
readonly source?: string;
|
|
1048
|
+
};
|
|
1022
1049
|
declare type ArticleReferences_FtContent_Fragment = {
|
|
1023
1050
|
readonly __typename: 'FTContent';
|
|
1024
1051
|
};
|
|
@@ -1247,26 +1274,46 @@ declare type ArticleReferences_LayoutImage_Fragment = {
|
|
|
1247
1274
|
declare type ArticleReferences_Link_Fragment = {
|
|
1248
1275
|
readonly __typename: 'Link';
|
|
1249
1276
|
};
|
|
1277
|
+
declare type ArticleReferences_PullQuote_Fragment = {
|
|
1278
|
+
readonly __typename: 'PullQuote';
|
|
1279
|
+
readonly text?: string;
|
|
1280
|
+
readonly source?: string;
|
|
1281
|
+
};
|
|
1250
1282
|
declare type ArticleReferences_Recommended_Fragment = {
|
|
1251
1283
|
readonly __typename: 'Recommended';
|
|
1252
1284
|
readonly title: string;
|
|
1253
1285
|
readonly teaser: {
|
|
1254
|
-
readonly __typename?: '
|
|
1255
|
-
readonly title
|
|
1256
|
-
readonly id
|
|
1286
|
+
readonly __typename?: 'Teaser';
|
|
1287
|
+
readonly title?: string;
|
|
1288
|
+
readonly id?: string;
|
|
1257
1289
|
readonly url: string;
|
|
1258
|
-
readonly type
|
|
1259
|
-
readonly publishedDate
|
|
1260
|
-
readonly firstPublishedDate
|
|
1290
|
+
readonly type?: string;
|
|
1291
|
+
readonly publishedDate?: string;
|
|
1292
|
+
readonly firstPublishedDate?: string;
|
|
1261
1293
|
readonly metaPrefixText?: string;
|
|
1294
|
+
readonly metaSuffixText?: string;
|
|
1262
1295
|
readonly relativeUrl: string;
|
|
1296
|
+
readonly metaLink?: {
|
|
1297
|
+
readonly __typename?: 'Concept';
|
|
1298
|
+
readonly id: string;
|
|
1299
|
+
readonly prefLabel: string;
|
|
1300
|
+
readonly url: string;
|
|
1301
|
+
readonly relativeUrl: string;
|
|
1302
|
+
};
|
|
1303
|
+
readonly metaAltLink?: {
|
|
1304
|
+
readonly __typename?: 'Concept';
|
|
1305
|
+
readonly id: string;
|
|
1306
|
+
readonly prefLabel: string;
|
|
1307
|
+
readonly url: string;
|
|
1308
|
+
readonly relativeUrl: string;
|
|
1309
|
+
};
|
|
1263
1310
|
readonly image?: {
|
|
1264
1311
|
readonly __typename?: 'Image';
|
|
1265
1312
|
readonly url?: string;
|
|
1266
1313
|
readonly width?: number;
|
|
1267
1314
|
readonly height?: number;
|
|
1268
1315
|
};
|
|
1269
|
-
readonly indicators
|
|
1316
|
+
readonly indicators?: {
|
|
1270
1317
|
readonly __typename?: 'Indicators';
|
|
1271
1318
|
readonly accessLevel?: AccessLevel;
|
|
1272
1319
|
readonly isOpinion?: boolean;
|
|
@@ -1276,23 +1323,9 @@ declare type ArticleReferences_Recommended_Fragment = {
|
|
|
1276
1323
|
readonly isExclusive?: boolean;
|
|
1277
1324
|
readonly isScoop?: boolean;
|
|
1278
1325
|
};
|
|
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
1326
|
};
|
|
1294
1327
|
};
|
|
1295
|
-
export declare type ArticleReferencesFragment = ArticleReferences_FtContent_Fragment | ArticleReferences_ImageSet_Fragment | ArticleReferences_LayoutImage_Fragment | ArticleReferences_Link_Fragment | ArticleReferences_Recommended_Fragment;
|
|
1328
|
+
export declare type ArticleReferencesFragment = ArticleReferences_FtContent_Fragment | ArticleReferences_ImageSet_Fragment | ArticleReferences_LayoutImage_Fragment | ArticleReferences_Link_Fragment | ArticleReferences_PullQuote_Fragment | ArticleReferences_Recommended_Fragment;
|
|
1296
1329
|
export declare type StructuredContentFragment = {
|
|
1297
1330
|
readonly __typename?: 'StructuredContent';
|
|
1298
1331
|
readonly tree: any;
|
|
@@ -1520,26 +1553,45 @@ export declare type StructuredContentFragment = {
|
|
|
1520
1553
|
};
|
|
1521
1554
|
} | {
|
|
1522
1555
|
readonly __typename: 'Link';
|
|
1556
|
+
} | {
|
|
1557
|
+
readonly __typename: 'PullQuote';
|
|
1558
|
+
readonly text?: string;
|
|
1559
|
+
readonly source?: string;
|
|
1523
1560
|
} | {
|
|
1524
1561
|
readonly __typename: 'Recommended';
|
|
1525
1562
|
readonly title: string;
|
|
1526
1563
|
readonly teaser: {
|
|
1527
|
-
readonly __typename?: '
|
|
1528
|
-
readonly title
|
|
1529
|
-
readonly id
|
|
1564
|
+
readonly __typename?: 'Teaser';
|
|
1565
|
+
readonly title?: string;
|
|
1566
|
+
readonly id?: string;
|
|
1530
1567
|
readonly url: string;
|
|
1531
|
-
readonly type
|
|
1532
|
-
readonly publishedDate
|
|
1533
|
-
readonly firstPublishedDate
|
|
1568
|
+
readonly type?: string;
|
|
1569
|
+
readonly publishedDate?: string;
|
|
1570
|
+
readonly firstPublishedDate?: string;
|
|
1534
1571
|
readonly metaPrefixText?: string;
|
|
1572
|
+
readonly metaSuffixText?: string;
|
|
1535
1573
|
readonly relativeUrl: string;
|
|
1574
|
+
readonly metaLink?: {
|
|
1575
|
+
readonly __typename?: 'Concept';
|
|
1576
|
+
readonly id: string;
|
|
1577
|
+
readonly prefLabel: string;
|
|
1578
|
+
readonly url: string;
|
|
1579
|
+
readonly relativeUrl: string;
|
|
1580
|
+
};
|
|
1581
|
+
readonly metaAltLink?: {
|
|
1582
|
+
readonly __typename?: 'Concept';
|
|
1583
|
+
readonly id: string;
|
|
1584
|
+
readonly prefLabel: string;
|
|
1585
|
+
readonly url: string;
|
|
1586
|
+
readonly relativeUrl: string;
|
|
1587
|
+
};
|
|
1536
1588
|
readonly image?: {
|
|
1537
1589
|
readonly __typename?: 'Image';
|
|
1538
1590
|
readonly url?: string;
|
|
1539
1591
|
readonly width?: number;
|
|
1540
1592
|
readonly height?: number;
|
|
1541
1593
|
};
|
|
1542
|
-
readonly indicators
|
|
1594
|
+
readonly indicators?: {
|
|
1543
1595
|
readonly __typename?: 'Indicators';
|
|
1544
1596
|
readonly accessLevel?: AccessLevel;
|
|
1545
1597
|
readonly isOpinion?: boolean;
|
|
@@ -1549,20 +1601,6 @@ export declare type StructuredContentFragment = {
|
|
|
1549
1601
|
readonly isExclusive?: boolean;
|
|
1550
1602
|
readonly isScoop?: boolean;
|
|
1551
1603
|
};
|
|
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
1604
|
};
|
|
1567
1605
|
}>;
|
|
1568
1606
|
};
|
|
@@ -1575,7 +1613,8 @@ export declare type ArticleQuery = {
|
|
|
1575
1613
|
readonly content: {
|
|
1576
1614
|
readonly __typename?: 'Content';
|
|
1577
1615
|
readonly title: string;
|
|
1578
|
-
readonly
|
|
1616
|
+
readonly publishedDate: string;
|
|
1617
|
+
readonly byline?: {
|
|
1579
1618
|
readonly __typename?: 'StructuredContent';
|
|
1580
1619
|
readonly tree: any;
|
|
1581
1620
|
};
|
|
@@ -1632,6 +1671,13 @@ export declare type ArticleQuery = {
|
|
|
1632
1671
|
readonly layout?: string;
|
|
1633
1672
|
readonly headline: string;
|
|
1634
1673
|
readonly backgroundColour?: TopperBackgroundColour;
|
|
1674
|
+
readonly brandConcept?: {
|
|
1675
|
+
readonly __typename?: 'Concept';
|
|
1676
|
+
readonly id: string;
|
|
1677
|
+
readonly prefLabel: string;
|
|
1678
|
+
readonly url: string;
|
|
1679
|
+
readonly relativeUrl: string;
|
|
1680
|
+
};
|
|
1635
1681
|
readonly images?: {
|
|
1636
1682
|
readonly __typename?: 'TopperImages';
|
|
1637
1683
|
readonly standard?: {
|
|
@@ -1726,6 +1772,13 @@ export declare type ArticleQuery = {
|
|
|
1726
1772
|
readonly layout?: string;
|
|
1727
1773
|
readonly headline: string;
|
|
1728
1774
|
readonly backgroundColour?: TopperBackgroundColour;
|
|
1775
|
+
readonly brandConcept?: {
|
|
1776
|
+
readonly __typename?: 'Concept';
|
|
1777
|
+
readonly id: string;
|
|
1778
|
+
readonly prefLabel: string;
|
|
1779
|
+
readonly url: string;
|
|
1780
|
+
readonly relativeUrl: string;
|
|
1781
|
+
};
|
|
1729
1782
|
readonly images?: {
|
|
1730
1783
|
readonly __typename?: 'TopperImages';
|
|
1731
1784
|
readonly standard?: {
|
|
@@ -2004,26 +2057,45 @@ export declare type ArticleQuery = {
|
|
|
2004
2057
|
};
|
|
2005
2058
|
} | {
|
|
2006
2059
|
readonly __typename: 'Link';
|
|
2060
|
+
} | {
|
|
2061
|
+
readonly __typename: 'PullQuote';
|
|
2062
|
+
readonly text?: string;
|
|
2063
|
+
readonly source?: string;
|
|
2007
2064
|
} | {
|
|
2008
2065
|
readonly __typename: 'Recommended';
|
|
2009
2066
|
readonly title: string;
|
|
2010
2067
|
readonly teaser: {
|
|
2011
|
-
readonly __typename?: '
|
|
2012
|
-
readonly title
|
|
2013
|
-
readonly id
|
|
2068
|
+
readonly __typename?: 'Teaser';
|
|
2069
|
+
readonly title?: string;
|
|
2070
|
+
readonly id?: string;
|
|
2014
2071
|
readonly url: string;
|
|
2015
|
-
readonly type
|
|
2016
|
-
readonly publishedDate
|
|
2017
|
-
readonly firstPublishedDate
|
|
2072
|
+
readonly type?: string;
|
|
2073
|
+
readonly publishedDate?: string;
|
|
2074
|
+
readonly firstPublishedDate?: string;
|
|
2018
2075
|
readonly metaPrefixText?: string;
|
|
2076
|
+
readonly metaSuffixText?: string;
|
|
2019
2077
|
readonly relativeUrl: string;
|
|
2078
|
+
readonly metaLink?: {
|
|
2079
|
+
readonly __typename?: 'Concept';
|
|
2080
|
+
readonly id: string;
|
|
2081
|
+
readonly prefLabel: string;
|
|
2082
|
+
readonly url: string;
|
|
2083
|
+
readonly relativeUrl: string;
|
|
2084
|
+
};
|
|
2085
|
+
readonly metaAltLink?: {
|
|
2086
|
+
readonly __typename?: 'Concept';
|
|
2087
|
+
readonly id: string;
|
|
2088
|
+
readonly prefLabel: string;
|
|
2089
|
+
readonly url: string;
|
|
2090
|
+
readonly relativeUrl: string;
|
|
2091
|
+
};
|
|
2020
2092
|
readonly image?: {
|
|
2021
2093
|
readonly __typename?: 'Image';
|
|
2022
2094
|
readonly url?: string;
|
|
2023
2095
|
readonly width?: number;
|
|
2024
2096
|
readonly height?: number;
|
|
2025
2097
|
};
|
|
2026
|
-
readonly indicators
|
|
2098
|
+
readonly indicators?: {
|
|
2027
2099
|
readonly __typename?: 'Indicators';
|
|
2028
2100
|
readonly accessLevel?: AccessLevel;
|
|
2029
2101
|
readonly isOpinion?: boolean;
|
|
@@ -2033,20 +2105,6 @@ export declare type ArticleQuery = {
|
|
|
2033
2105
|
readonly isExclusive?: boolean;
|
|
2034
2106
|
readonly isScoop?: boolean;
|
|
2035
2107
|
};
|
|
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
2108
|
};
|
|
2051
2109
|
}>;
|
|
2052
2110
|
};
|
|
@@ -2059,12 +2117,12 @@ export declare const TopperImagesFragmentDoc: import("graphql/language/ast").Doc
|
|
|
2059
2117
|
export declare const StructuredTreeFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2060
2118
|
export declare const ConceptFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2061
2119
|
export declare const TopperFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2062
|
-
export declare const DisplayConceptFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2063
2120
|
export declare const TeaserFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2064
2121
|
export declare const RecommendedFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2065
2122
|
export declare const PictureFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2066
2123
|
export declare const ImageSetFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2067
2124
|
export declare const LayoutImageFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2125
|
+
export declare const PullQuoteFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2068
2126
|
export declare const ArticleReferencesFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2069
2127
|
export declare const StructuredContentFragmentDoc: import("graphql/language/ast").DocumentNode;
|
|
2070
2128
|
export declare const ArticleDocument: import("graphql/language/ast").DocumentNode;
|