@financial-times/cp-content-pipeline-schema 2.5.3 → 2.5.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 +7 -0
- package/README.md +187 -41
- package/lib/datasources/base.d.ts +1 -0
- package/lib/datasources/capi.js +1 -0
- package/lib/datasources/capi.js.map +1 -1
- package/lib/datasources/instrumented.d.ts +1 -0
- package/lib/datasources/instrumented.js +1 -9
- package/lib/datasources/instrumented.js.map +1 -1
- package/lib/datasources/origami-image.js +1 -0
- package/lib/datasources/origami-image.js.map +1 -1
- package/lib/datasources/twitter.js +1 -0
- package/lib/datasources/twitter.js.map +1 -1
- package/lib/datasources/url-management.d.ts +1 -0
- package/lib/datasources/url-management.js +2 -0
- package/lib/datasources/url-management.js.map +1 -1
- package/lib/generated/index.d.ts +546 -2
- package/package.json +1 -1
- package/src/datasources/base.ts +1 -0
- package/src/datasources/capi.ts +1 -0
- package/src/datasources/instrumented.ts +1 -11
- package/src/datasources/origami-image.ts +3 -0
- package/src/datasources/twitter.ts +2 -0
- package/src/datasources/url-management.ts +2 -0
- package/src/generated/index.ts +546 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/typedefs/clip.graphql +28 -0
- package/typedefs/concept.graphql +21 -2
- package/typedefs/content.graphql +441 -36
- package/typedefs/core.graphql +6 -0
- package/typedefs/image.graphql +210 -15
- package/typedefs/picture.graphql +54 -1
- package/typedefs/references/clipSet.graphql +34 -1
- package/typedefs/references/flourish.graphql +8 -0
- package/typedefs/references/imageSet.graphql +6 -0
- package/typedefs/references/layoutImage.graphql +3 -0
- package/typedefs/references/rawImage.graphql +3 -0
- package/typedefs/references/recommended.graphql +3 -0
- package/typedefs/references/reference.graphql +1 -0
- package/typedefs/references/scrollyImage.graphql +3 -0
- package/typedefs/references/tweet.graphql +3 -0
- package/typedefs/references/video.graphql +5 -0
- package/typedefs/richText.graphql +7 -4
- package/typedefs/teaser.graphql +42 -1
- package/typedefs/topper.graphql +219 -7
package/lib/generated/index.d.ts
CHANGED
|
@@ -103,39 +103,67 @@ export type Scalars = {
|
|
|
103
103
|
};
|
|
104
104
|
};
|
|
105
105
|
export type Accessibility = {
|
|
106
|
+
/** An array of captions for the clip. */
|
|
106
107
|
readonly captions?: Maybe<ReadonlyArray<Maybe<Caption>>>;
|
|
108
|
+
/** An abstract syntax tree of the transcript for the clip. */
|
|
107
109
|
readonly transcript?: Maybe<RichText>;
|
|
108
110
|
};
|
|
109
111
|
export type AltStandfirst = {
|
|
112
|
+
/** An introductory paragraph of the article. */
|
|
110
113
|
readonly promotionalStandfirst?: Maybe<Scalars['String']['output']>;
|
|
111
114
|
};
|
|
112
115
|
export type AltTitle = {
|
|
116
|
+
/** A promotional title of the article. */
|
|
113
117
|
readonly promotionalTitle?: Maybe<Scalars['String']['output']>;
|
|
114
118
|
};
|
|
115
119
|
export type Article = Content & {
|
|
120
|
+
/** A scalar representing the access level of the article, eg. 'free'. */
|
|
116
121
|
readonly accessLevel?: Maybe<Scalars['AccessLevel']['output']>;
|
|
122
|
+
/** An alternative introductory paragraph of the article. */
|
|
117
123
|
readonly altStandfirst?: Maybe<AltStandfirst>;
|
|
124
|
+
/** An alternative title of the article. */
|
|
118
125
|
readonly altTitle?: Maybe<AltTitle>;
|
|
126
|
+
/** An array of concepts related to the article, eg. organisations or topics. */
|
|
119
127
|
readonly annotations?: Maybe<ReadonlyArray<Maybe<Concept>>>;
|
|
128
|
+
/** An abstract syntax tree of the article content. */
|
|
120
129
|
readonly body?: Maybe<RichText>;
|
|
130
|
+
/** The raw string of the XML as returned from ContentAPI. */
|
|
121
131
|
readonly bodyXML?: Maybe<Scalars['String']['output']>;
|
|
132
|
+
/** An abstract syntax tree of the authors of the article. */
|
|
122
133
|
readonly byline?: Maybe<StructuredContent>;
|
|
134
|
+
/** A scalar representing whether the article can be syndicated, ie. published by a third party site. */
|
|
123
135
|
readonly canBeSyndicated?: Maybe<Scalars['CanBeSyndicated']['output']>;
|
|
136
|
+
/** Whether comments are enabled on the article. */
|
|
124
137
|
readonly commentsEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
138
|
+
/** The parent article, indicating this article is a part of a series or package. */
|
|
125
139
|
readonly containedIn?: Maybe<Content>;
|
|
140
|
+
/** A design object containing the theme and layout of the article. */
|
|
126
141
|
readonly design?: Maybe<Design>;
|
|
142
|
+
/** The editorial division the article belongs to, eg. 'FT-SpecialReports'. */
|
|
127
143
|
readonly editorialDesk?: Maybe<Scalars['String']['output']>;
|
|
144
|
+
/** The first ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'. */
|
|
128
145
|
readonly firstPublishedDate: Scalars['String']['output'];
|
|
146
|
+
/** The unique identifier of the article - a uuid or a url. */
|
|
129
147
|
readonly id: Scalars['ID']['output'];
|
|
148
|
+
/** The concept to use for instant alert CTAs. */
|
|
130
149
|
readonly instantAlertConcept?: Maybe<Concept>;
|
|
150
|
+
/** An image object containing the url and the caption, to be displayed usually before the article content. */
|
|
131
151
|
readonly mainImage?: Maybe<Image>;
|
|
152
|
+
/** The party that originated the article, eg. 'FT'. */
|
|
132
153
|
readonly originatingParty?: Maybe<Scalars['String']['output']>;
|
|
154
|
+
/** The ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'. */
|
|
133
155
|
readonly publishedDate: Scalars['String']['output'];
|
|
156
|
+
/** An introductory paragraph of the article. */
|
|
134
157
|
readonly standfirst?: Maybe<Scalars['String']['output']>;
|
|
158
|
+
/** A promotional thumbnail / snapshot of the article. */
|
|
135
159
|
readonly teaser?: Maybe<Teaser>;
|
|
160
|
+
/** The title of the article. */
|
|
136
161
|
readonly title: Scalars['String']['output'];
|
|
162
|
+
/** A banner located usually at the top of articles containing the title, the standfirst and any images. */
|
|
137
163
|
readonly topper?: Maybe<Topper>;
|
|
164
|
+
/** The type of the article, eg. 'Article' or 'Video'. */
|
|
138
165
|
readonly type: Scalars['ContentType']['output'];
|
|
166
|
+
/** The url of the concept. Vanity urls replace long, randomly generated urls - they are more user friendly and concise. Relative urls are relative to the current domain. */
|
|
139
167
|
readonly url: Scalars['String']['output'];
|
|
140
168
|
};
|
|
141
169
|
export type ArticleBylineArgs = {
|
|
@@ -146,29 +174,53 @@ export type ArticleUrlArgs = {
|
|
|
146
174
|
vanity?: InputMaybe<Scalars['Boolean']['input']>;
|
|
147
175
|
};
|
|
148
176
|
export type Audio = Content & {
|
|
177
|
+
/** A scalar representing the access level of the article, eg. 'free'. */
|
|
149
178
|
readonly accessLevel?: Maybe<Scalars['AccessLevel']['output']>;
|
|
179
|
+
/** An alternative introductory paragraph of the article. */
|
|
150
180
|
readonly altStandfirst?: Maybe<AltStandfirst>;
|
|
181
|
+
/** An alternative title of the article. */
|
|
151
182
|
readonly altTitle?: Maybe<AltTitle>;
|
|
183
|
+
/** An array of concepts related to the article, eg. organisations or topics. */
|
|
152
184
|
readonly annotations?: Maybe<ReadonlyArray<Maybe<Concept>>>;
|
|
185
|
+
/** An abstract syntax tree of the article content. */
|
|
153
186
|
readonly body?: Maybe<RichText>;
|
|
187
|
+
/** The raw string of the XML as returned from ContentAPI. */
|
|
154
188
|
readonly bodyXML?: Maybe<Scalars['String']['output']>;
|
|
189
|
+
/** An abstract syntax tree of the authors of the article. */
|
|
155
190
|
readonly byline?: Maybe<StructuredContent>;
|
|
191
|
+
/** A scalar representing whether the article can be syndicated, ie. published by a third party site. */
|
|
156
192
|
readonly canBeSyndicated?: Maybe<Scalars['CanBeSyndicated']['output']>;
|
|
193
|
+
/** Whether comments are enabled on the article. */
|
|
157
194
|
readonly commentsEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
195
|
+
/** A design object containing the theme and layout of the article. */
|
|
158
196
|
readonly design?: Maybe<Design>;
|
|
197
|
+
/** The editorial division the article belongs to, eg. 'FT-SpecialReports'. */
|
|
159
198
|
readonly editorialDesk?: Maybe<Scalars['String']['output']>;
|
|
199
|
+
/** The first ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'. */
|
|
160
200
|
readonly firstPublishedDate: Scalars['String']['output'];
|
|
201
|
+
/** The unique identifier of the article - a uuid or a url. */
|
|
161
202
|
readonly id: Scalars['ID']['output'];
|
|
203
|
+
/** The concept to use for instant alert CTAs. */
|
|
162
204
|
readonly instantAlertConcept?: Maybe<Concept>;
|
|
205
|
+
/** An image object containing the url and the caption, to be displayed usually before the article content. */
|
|
163
206
|
readonly mainImage?: Maybe<Image>;
|
|
207
|
+
/** An array of media objects containing the url, the duration, the filesize and the media type. */
|
|
164
208
|
readonly media?: Maybe<ReadonlyArray<Maybe<Media>>>;
|
|
209
|
+
/** The party that originated the article, eg. 'FT'. */
|
|
165
210
|
readonly originatingParty?: Maybe<Scalars['String']['output']>;
|
|
211
|
+
/** The ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'. */
|
|
166
212
|
readonly publishedDate: Scalars['String']['output'];
|
|
213
|
+
/** An introductory paragraph of the article. */
|
|
167
214
|
readonly standfirst?: Maybe<Scalars['String']['output']>;
|
|
215
|
+
/** A promotional thumbnail / snapshot of the article. */
|
|
168
216
|
readonly teaser?: Maybe<Teaser>;
|
|
217
|
+
/** The title of the article. */
|
|
169
218
|
readonly title: Scalars['String']['output'];
|
|
219
|
+
/** A banner located usually at the top of articles containing the title, the standfirst and any images. */
|
|
170
220
|
readonly topper?: Maybe<Topper>;
|
|
221
|
+
/** The type of the article, eg. 'Article' or 'Video'. */
|
|
171
222
|
readonly type: Scalars['ContentType']['output'];
|
|
223
|
+
/** The url of the concept. Vanity urls replace long, randomly generated urls - they are more user friendly and concise. Relative urls are relative to the current domain. */
|
|
172
224
|
readonly url: Scalars['String']['output'];
|
|
173
225
|
};
|
|
174
226
|
export type AudioBylineArgs = {
|
|
@@ -179,105 +231,189 @@ export type AudioUrlArgs = {
|
|
|
179
231
|
vanity?: InputMaybe<Scalars['Boolean']['input']>;
|
|
180
232
|
};
|
|
181
233
|
export type BasicTopper = Topper & {
|
|
234
|
+
/** Whether the topper should have a background box. */
|
|
182
235
|
readonly backgroundBox?: Maybe<Scalars['Boolean']['output']>;
|
|
236
|
+
/** The background colour of the topper. */
|
|
183
237
|
readonly backgroundColour?: Maybe<Scalars['TopperBackgroundColour']['output']>;
|
|
238
|
+
/** The concept object to be displayed, eg. {'type': 'TOPIC', 'prefLabel': 'Non-dom tax status', ...}. */
|
|
184
239
|
readonly displayConcept?: Maybe<Concept>;
|
|
240
|
+
/** The variant of the follow button to be displayed on the topper. */
|
|
185
241
|
readonly followButtonVariant?: Maybe<Scalars['FollowButtonVariant']['output']>;
|
|
242
|
+
/** The concept object of the genre, eg. {'type': 'GENRE', 'prefLabel': 'Opinion', ...}. */
|
|
186
243
|
readonly genreConcept?: Maybe<Concept>;
|
|
244
|
+
/** The headline text of the topper. */
|
|
187
245
|
readonly headline: Scalars['String']['output'];
|
|
246
|
+
/** An abstract syntax tree of the introduction text. */
|
|
188
247
|
readonly intro?: Maybe<RichText>;
|
|
248
|
+
/** Whether the topper should have a text shadow. */
|
|
189
249
|
readonly textShadow?: Maybe<Scalars['Boolean']['output']>;
|
|
190
250
|
};
|
|
191
251
|
export type BrandedTopper = Topper & TopperWithBrand & TopperWithTheme & {
|
|
252
|
+
/** Whether the topper should have a background box. */
|
|
192
253
|
readonly backgroundBox?: Maybe<Scalars['Boolean']['output']>;
|
|
254
|
+
/** The background colour of the topper. */
|
|
193
255
|
readonly backgroundColour?: Maybe<Scalars['TopperBackgroundColour']['output']>;
|
|
256
|
+
/** The concept object of the brand, eg. {'type': 'BRAND', 'prefLabel': 'FT Magazine', ...}. */
|
|
194
257
|
readonly brandConcept?: Maybe<Concept>;
|
|
258
|
+
/** The concept object to be displayed, eg. {'type': 'TOPIC', 'prefLabel': 'Non-dom tax status', ...}. */
|
|
195
259
|
readonly displayConcept?: Maybe<Concept>;
|
|
260
|
+
/** The variant of the follow button to be displayed on the topper. */
|
|
196
261
|
readonly followButtonVariant?: Maybe<Scalars['FollowButtonVariant']['output']>;
|
|
262
|
+
/** The concept object of the genre, eg. {'type': 'GENRE', 'prefLabel': 'Opinion', ...}. */
|
|
197
263
|
readonly genreConcept?: Maybe<Concept>;
|
|
264
|
+
/** The headline text of the topper. */
|
|
198
265
|
readonly headline: Scalars['String']['output'];
|
|
266
|
+
/** An abstract syntax tree of the introduction text. */
|
|
199
267
|
readonly intro?: Maybe<RichText>;
|
|
268
|
+
/** Whether the headline should be large. */
|
|
200
269
|
readonly isLargeHeadline?: Maybe<Scalars['Boolean']['output']>;
|
|
270
|
+
/** The layout of the topper, eg. 'split-text-left'. */
|
|
201
271
|
readonly layout?: Maybe<Scalars['String']['output']>;
|
|
272
|
+
/** Whether the topper should have a text shadow. */
|
|
202
273
|
readonly textShadow?: Maybe<Scalars['Boolean']['output']>;
|
|
203
274
|
};
|
|
204
275
|
export type Caption = {
|
|
276
|
+
/** The media type of the caption eg. text/vtt. */
|
|
205
277
|
readonly mediaType?: Maybe<Scalars['String']['output']>;
|
|
278
|
+
/** The url of the caption, eg. 'https://next-media-api.ft.com/clips/captions/32065513'. */
|
|
206
279
|
readonly url?: Maybe<Scalars['String']['output']>;
|
|
207
280
|
};
|
|
208
281
|
export type Clip = {
|
|
282
|
+
/** An array of data sources - includes 'video/mp4' and 'audio/mp3' sources. */
|
|
209
283
|
readonly dataSource: ReadonlyArray<ClipSource>;
|
|
284
|
+
/** The format of the clip, eg. 'standard-inline' or 'mobile'. */
|
|
210
285
|
readonly format?: Maybe<Scalars['ClipFormat']['output']>;
|
|
286
|
+
/** The unique identifier of the clip - a uuid or a url. */
|
|
211
287
|
readonly id: Scalars['String']['output'];
|
|
288
|
+
/** The url of the image to be used as a poster for the clip, eg. 'https://www.ft.com/__origami/service/image...'. */
|
|
212
289
|
readonly poster?: Maybe<Scalars['String']['output']>;
|
|
290
|
+
/** The type of the clip, eg. 'http://www.ft.com/ontology/content/Clip'. */
|
|
213
291
|
readonly type?: Maybe<Scalars['String']['output']>;
|
|
214
292
|
};
|
|
215
293
|
export type ClipSet = Reference & {
|
|
294
|
+
/** An object containing the accessibility details of the clip. */
|
|
216
295
|
readonly accessibility?: Maybe<Accessibility>;
|
|
296
|
+
/** Whether the clip should play automatically when loaded. */
|
|
217
297
|
readonly autoplay?: Maybe<Scalars['Boolean']['output']>;
|
|
298
|
+
/** Text describing the content of the clip, to be shown next to the clip. */
|
|
218
299
|
readonly caption?: Maybe<Scalars['String']['output']>;
|
|
300
|
+
/** An array of clips in the clip set. */
|
|
219
301
|
readonly clips?: Maybe<ReadonlyArray<Maybe<Clip>>>;
|
|
302
|
+
/** An array of content warnings for the clip set. */
|
|
220
303
|
readonly contentWarning?: Maybe<ReadonlyArray<Maybe<Scalars['String']['output']>>>;
|
|
304
|
+
/** The credit text of the clip, eg. 'Getty Images'. */
|
|
221
305
|
readonly credits?: Maybe<Scalars['String']['output']>;
|
|
306
|
+
/** The layout of the clip set, eg. 'in-line'. */
|
|
222
307
|
readonly dataLayout?: Maybe<Scalars['String']['output']>;
|
|
308
|
+
/** The description of the clip. */
|
|
223
309
|
readonly description?: Maybe<Scalars['String']['output']>;
|
|
310
|
+
/** The title to be displayed for the clip set. */
|
|
224
311
|
readonly displayTitle?: Maybe<Scalars['String']['output']>;
|
|
312
|
+
/** The unique identifier of the clip set. */
|
|
225
313
|
readonly id: Scalars['String']['output'];
|
|
314
|
+
/** Whether the clip should loop. */
|
|
226
315
|
readonly loop?: Maybe<Scalars['Boolean']['output']>;
|
|
316
|
+
/** Whether the clip should be muted. */
|
|
227
317
|
readonly muted?: Maybe<Scalars['Boolean']['output']>;
|
|
318
|
+
/** Whether the clip set should **not** include audio. */
|
|
228
319
|
readonly noAudio?: Maybe<Scalars['Boolean']['output']>;
|
|
320
|
+
/** The date the clip set was published. */
|
|
229
321
|
readonly publishedDate?: Maybe<Scalars['String']['output']>;
|
|
322
|
+
/** The source of the clip set, eg. 'YouTube'. */
|
|
230
323
|
readonly source?: Maybe<Scalars['String']['output']>;
|
|
324
|
+
/** The subtitle of the clip set. */
|
|
231
325
|
readonly subtitle?: Maybe<Scalars['String']['output']>;
|
|
326
|
+
/** The type of the clip set, eg. 'video'. */
|
|
232
327
|
readonly type: Scalars['String']['output'];
|
|
233
328
|
};
|
|
234
329
|
export type ClipSource = {
|
|
330
|
+
/** The audio encoding format of the source, eg. mp3. */
|
|
235
331
|
readonly audioCodec?: Maybe<Scalars['String']['output']>;
|
|
332
|
+
/** The url of the clip source, eg. 'https://next-media-api.ft.com/renditions/16868569859480/0x0.mp3'. */
|
|
236
333
|
readonly binaryUrl: Scalars['String']['output'];
|
|
334
|
+
/** The duration of the clip in milliseconds. */
|
|
237
335
|
readonly duration?: Maybe<Scalars['Int']['output']>;
|
|
336
|
+
/** The media type eg. video/mp4. */
|
|
238
337
|
readonly mediaType: Scalars['String']['output'];
|
|
338
|
+
/** The height of the clip in pixels. */
|
|
239
339
|
readonly pixelHeight?: Maybe<Scalars['Int']['output']>;
|
|
340
|
+
/** The width of the clip in pixels. */
|
|
240
341
|
readonly pixelWidth?: Maybe<Scalars['Int']['output']>;
|
|
342
|
+
/** The video encoding format of the source, eg. h264. */
|
|
241
343
|
readonly videoCodec?: Maybe<Scalars['String']['output']>;
|
|
242
344
|
};
|
|
345
|
+
/** A concept is supplemtary information item, like a location, person, organisation or topic. It is used to provide context to an article. */
|
|
243
346
|
export type Concept = {
|
|
347
|
+
/** The api url of the concept, eg. 'http://api.ft.com/things/a579350c-61ce-4c00-97ca-ddaa2e0cacf6'. */
|
|
244
348
|
readonly apiUrl?: Maybe<Scalars['String']['output']>;
|
|
349
|
+
/** The type of the concept, eg. 'http://www.ft.com/ontology/Topic'. */
|
|
245
350
|
readonly directType?: Maybe<Scalars['String']['output']>;
|
|
351
|
+
/** The unique identifier of the concept - a uuid or a url. */
|
|
246
352
|
readonly id: Scalars['ID']['output'];
|
|
353
|
+
/** Whether the concept is part of a package brand eg. 'ftSeries' or 'ftGuides'. */
|
|
247
354
|
readonly isPackageBrand?: Maybe<Scalars['Boolean']['output']>;
|
|
355
|
+
/** The relationship between the concept and the article, eg. 'http://www.ft.com/ontology/hasAuthor'. */
|
|
248
356
|
readonly predicate?: Maybe<Scalars['String']['output']>;
|
|
357
|
+
/** The preferred label of the concept, eg. 'Work & Careers'. */
|
|
249
358
|
readonly prefLabel: Scalars['String']['output'];
|
|
359
|
+
/** The type of the concept, eg. 'TOPIC'. */
|
|
250
360
|
readonly type?: Maybe<Scalars['String']['output']>;
|
|
361
|
+
/** An array of types, eg. ['http://www.ft.com/ontology/core/Thing', 'http://www.ft.com/ontology/Topic']. */
|
|
251
362
|
readonly types?: Maybe<ReadonlyArray<Scalars['String']['output']>>;
|
|
363
|
+
/** The url of the media, eg. 'https://next-media-api.ft.com/renditions/16868569859480/0x0.mp3'. */
|
|
252
364
|
readonly url: Scalars['String']['output'];
|
|
253
365
|
};
|
|
366
|
+
/** A concept is supplemtary information item, like a location, person, organisation or topic. It is used to provide context to an article. */
|
|
254
367
|
export type ConceptUrlArgs = {
|
|
255
368
|
relative?: InputMaybe<Scalars['Boolean']['input']>;
|
|
256
369
|
vanity?: InputMaybe<Scalars['Boolean']['input']>;
|
|
257
370
|
};
|
|
258
371
|
export type Content = {
|
|
372
|
+
/** A scalar representing the access level of the article, eg. 'free'. */
|
|
259
373
|
readonly accessLevel?: Maybe<Scalars['AccessLevel']['output']>;
|
|
374
|
+
/** An alternative introductory paragraph of the article. */
|
|
260
375
|
readonly altStandfirst?: Maybe<AltStandfirst>;
|
|
376
|
+
/** An alternative title of the article. */
|
|
261
377
|
readonly altTitle?: Maybe<AltTitle>;
|
|
378
|
+
/** An array of concepts related to the article, eg. organisations or topics. */
|
|
262
379
|
readonly annotations?: Maybe<ReadonlyArray<Maybe<Concept>>>;
|
|
380
|
+
/** An abstract syntax tree of the article content. */
|
|
263
381
|
readonly body?: Maybe<RichText>;
|
|
382
|
+
/** The raw string of the XML as returned from ContentAPI. */
|
|
264
383
|
readonly bodyXML?: Maybe<Scalars['String']['output']>;
|
|
384
|
+
/** An abstract syntax tree of the authors of the article. */
|
|
265
385
|
readonly byline?: Maybe<StructuredContent>;
|
|
386
|
+
/** A scalar representing whether the article can be syndicated, ie. published by a third party site. */
|
|
266
387
|
readonly canBeSyndicated?: Maybe<Scalars['CanBeSyndicated']['output']>;
|
|
388
|
+
/** Whether comments are enabled on the article. */
|
|
267
389
|
readonly commentsEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
390
|
+
/** A design object containing the theme and layout of the article. */
|
|
268
391
|
readonly design?: Maybe<Design>;
|
|
392
|
+
/** The editorial division the article belongs to, eg. 'FT-SpecialReports'. */
|
|
269
393
|
readonly editorialDesk?: Maybe<Scalars['String']['output']>;
|
|
394
|
+
/** The first ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'. */
|
|
270
395
|
readonly firstPublishedDate: Scalars['String']['output'];
|
|
396
|
+
/** The unique identifier of the article - a uuid or a url. */
|
|
271
397
|
readonly id: Scalars['ID']['output'];
|
|
398
|
+
/** The concept to use for instant alert CTAs. */
|
|
272
399
|
readonly instantAlertConcept?: Maybe<Concept>;
|
|
400
|
+
/** An image object containing the url and the caption, to be displayed usually before the article content. */
|
|
273
401
|
readonly mainImage?: Maybe<Image>;
|
|
402
|
+
/** The party that originated the article, eg. 'FT'. */
|
|
274
403
|
readonly originatingParty?: Maybe<Scalars['String']['output']>;
|
|
404
|
+
/** The ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'. */
|
|
275
405
|
readonly publishedDate: Scalars['String']['output'];
|
|
406
|
+
/** An introductory paragraph of the article. */
|
|
276
407
|
readonly standfirst?: Maybe<Scalars['String']['output']>;
|
|
408
|
+
/** A promotional thumbnail / snapshot of the article. */
|
|
277
409
|
readonly teaser?: Maybe<Teaser>;
|
|
410
|
+
/** The title of the article. */
|
|
278
411
|
readonly title: Scalars['String']['output'];
|
|
412
|
+
/** A banner located usually at the top of articles containing the title, the standfirst and any images. */
|
|
279
413
|
readonly topper?: Maybe<Topper>;
|
|
414
|
+
/** The type of the article, eg. 'Article' or 'Video'. */
|
|
280
415
|
readonly type: Scalars['ContentType']['output'];
|
|
416
|
+
/** The url of the concept. Vanity urls replace long, randomly generated urls - they are more user friendly and concise. Relative urls are relative to the current domain. */
|
|
281
417
|
readonly url: Scalars['String']['output'];
|
|
282
418
|
};
|
|
283
419
|
export type ContentBylineArgs = {
|
|
@@ -288,31 +424,57 @@ export type ContentUrlArgs = {
|
|
|
288
424
|
vanity?: InputMaybe<Scalars['Boolean']['input']>;
|
|
289
425
|
};
|
|
290
426
|
export type ContentPackage = Content & {
|
|
427
|
+
/** A scalar representing the access level of the article, eg. 'free'. */
|
|
291
428
|
readonly accessLevel?: Maybe<Scalars['AccessLevel']['output']>;
|
|
429
|
+
/** An alternative introductory paragraph of the article. */
|
|
292
430
|
readonly altStandfirst?: Maybe<AltStandfirst>;
|
|
431
|
+
/** An alternative title of the article. */
|
|
293
432
|
readonly altTitle?: Maybe<AltTitle>;
|
|
433
|
+
/** An array of concepts related to the article, eg. organisations or topics. */
|
|
294
434
|
readonly annotations?: Maybe<ReadonlyArray<Maybe<Concept>>>;
|
|
435
|
+
/** An abstract syntax tree of the article content. */
|
|
295
436
|
readonly body?: Maybe<RichText>;
|
|
437
|
+
/** The raw string of the XML as returned from ContentAPI. */
|
|
296
438
|
readonly bodyXML?: Maybe<Scalars['String']['output']>;
|
|
439
|
+
/** An abstract syntax tree of the authors of the article. */
|
|
297
440
|
readonly byline?: Maybe<StructuredContent>;
|
|
441
|
+
/** A scalar representing whether the article can be syndicated, ie. published by a third party site. */
|
|
298
442
|
readonly canBeSyndicated?: Maybe<Scalars['CanBeSyndicated']['output']>;
|
|
443
|
+
/** Whether comments are enabled on the article. */
|
|
299
444
|
readonly commentsEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
445
|
+
/** The child articles of this content package. */
|
|
300
446
|
readonly contains?: Maybe<ReadonlyArray<Maybe<Teaser>>>;
|
|
447
|
+
/** The number of child articles in this content package. */
|
|
301
448
|
readonly containsLength?: Maybe<Scalars['Int']['output']>;
|
|
449
|
+
/** A design object containing the theme and layout of the article. */
|
|
302
450
|
readonly design?: Maybe<Design>;
|
|
451
|
+
/** The editorial division the article belongs to, eg. 'FT-SpecialReports'. */
|
|
303
452
|
readonly editorialDesk?: Maybe<Scalars['String']['output']>;
|
|
453
|
+
/** The first ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'. */
|
|
304
454
|
readonly firstPublishedDate: Scalars['String']['output'];
|
|
455
|
+
/** The unique identifier of the article - a uuid or a url. */
|
|
305
456
|
readonly id: Scalars['ID']['output'];
|
|
457
|
+
/** The concept to use for instant alert CTAs. */
|
|
306
458
|
readonly instantAlertConcept?: Maybe<Concept>;
|
|
459
|
+
/** An image object containing the url and the caption, to be displayed usually before the article content. */
|
|
307
460
|
readonly mainImage?: Maybe<Image>;
|
|
461
|
+
/** The party that originated the article, eg. 'FT'. */
|
|
308
462
|
readonly originatingParty?: Maybe<Scalars['String']['output']>;
|
|
463
|
+
/** The ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'. */
|
|
309
464
|
readonly publishedDate: Scalars['String']['output'];
|
|
465
|
+
/** An introductory paragraph of the article. */
|
|
310
466
|
readonly standfirst?: Maybe<Scalars['String']['output']>;
|
|
467
|
+
/** The optional table of contents for this content package. */
|
|
311
468
|
readonly tableOfContents?: Maybe<TableOfContents>;
|
|
469
|
+
/** A promotional thumbnail / snapshot of the article. */
|
|
312
470
|
readonly teaser?: Maybe<Teaser>;
|
|
471
|
+
/** The title of the article. */
|
|
313
472
|
readonly title: Scalars['String']['output'];
|
|
473
|
+
/** A banner located usually at the top of articles containing the title, the standfirst and any images. */
|
|
314
474
|
readonly topper?: Maybe<Topper>;
|
|
475
|
+
/** The type of the article, eg. 'Article' or 'Video'. */
|
|
315
476
|
readonly type: Scalars['ContentType']['output'];
|
|
477
|
+
/** The url of the concept. Vanity urls replace long, randomly generated urls - they are more user friendly and concise. Relative urls are relative to the current domain. */
|
|
316
478
|
readonly url: Scalars['String']['output'];
|
|
317
479
|
};
|
|
318
480
|
export type ContentPackageBylineArgs = {
|
|
@@ -327,73 +489,129 @@ export type ContentPackageUrlArgs = {
|
|
|
327
489
|
vanity?: InputMaybe<Scalars['Boolean']['input']>;
|
|
328
490
|
};
|
|
329
491
|
export type DeepLandscapeTopper = Topper & TopperWithBrand & TopperWithImages & TopperWithTheme & {
|
|
492
|
+
/** Whether the topper should have a background box. */
|
|
330
493
|
readonly backgroundBox?: Maybe<Scalars['Boolean']['output']>;
|
|
494
|
+
/** The background colour of the topper. */
|
|
331
495
|
readonly backgroundColour?: Maybe<Scalars['TopperBackgroundColour']['output']>;
|
|
496
|
+
/** The concept object of the brand, eg. {'type': 'BRAND', 'prefLabel': 'FT Magazine', ...}. */
|
|
332
497
|
readonly brandConcept?: Maybe<Concept>;
|
|
498
|
+
/** The concept object to be displayed, eg. {'type': 'TOPIC', 'prefLabel': 'Non-dom tax status', ...}. */
|
|
333
499
|
readonly displayConcept?: Maybe<Concept>;
|
|
500
|
+
/** A fallback image to be used if the 'images' are not availableimages: [Image!]!. */
|
|
334
501
|
readonly fallbackImage?: Maybe<Image>;
|
|
502
|
+
/** The variant of the follow button to be displayed on the topper. */
|
|
335
503
|
readonly followButtonVariant?: Maybe<Scalars['FollowButtonVariant']['output']>;
|
|
504
|
+
/** The concept object of the genre, eg. {'type': 'GENRE', 'prefLabel': 'Opinion', ...}. */
|
|
336
505
|
readonly genreConcept?: Maybe<Concept>;
|
|
506
|
+
/** The headline text of the topper. */
|
|
337
507
|
readonly headline: Scalars['String']['output'];
|
|
508
|
+
/** An array of images to be displayed on the topper. */
|
|
338
509
|
readonly images: ReadonlyArray<Image>;
|
|
510
|
+
/** An abstract syntax tree of the introduction text. */
|
|
339
511
|
readonly intro?: Maybe<RichText>;
|
|
512
|
+
/** Whether the headline should be large. */
|
|
340
513
|
readonly isLargeHeadline?: Maybe<Scalars['Boolean']['output']>;
|
|
514
|
+
/** The layout of the topper, eg. 'split-text-left'. */
|
|
341
515
|
readonly layout?: Maybe<Scalars['String']['output']>;
|
|
516
|
+
/** Whether the topper should have a text shadow. */
|
|
342
517
|
readonly textShadow?: Maybe<Scalars['Boolean']['output']>;
|
|
343
518
|
};
|
|
344
519
|
export type DeepPortraitTopper = Topper & TopperWithBrand & TopperWithImages & TopperWithTheme & {
|
|
520
|
+
/** Whether the topper should have a background box. */
|
|
345
521
|
readonly backgroundBox?: Maybe<Scalars['Boolean']['output']>;
|
|
522
|
+
/** The background colour of the topper. */
|
|
346
523
|
readonly backgroundColour?: Maybe<Scalars['TopperBackgroundColour']['output']>;
|
|
524
|
+
/** The concept object of the brand, eg. {'type': 'BRAND', 'prefLabel': 'FT Magazine', ...}. */
|
|
347
525
|
readonly brandConcept?: Maybe<Concept>;
|
|
526
|
+
/** The concept object to be displayed, eg. {'type': 'TOPIC', 'prefLabel': 'Non-dom tax status', ...}. */
|
|
348
527
|
readonly displayConcept?: Maybe<Concept>;
|
|
528
|
+
/** A fallback image to be used if the 'images' are not availableimages: [Image!]!. */
|
|
349
529
|
readonly fallbackImage?: Maybe<Image>;
|
|
530
|
+
/** The variant of the follow button to be displayed on the topper. */
|
|
350
531
|
readonly followButtonVariant?: Maybe<Scalars['FollowButtonVariant']['output']>;
|
|
532
|
+
/** The concept object of the genre, eg. {'type': 'GENRE', 'prefLabel': 'Opinion', ...}. */
|
|
351
533
|
readonly genreConcept?: Maybe<Concept>;
|
|
534
|
+
/** The headline text of the topper. */
|
|
352
535
|
readonly headline: Scalars['String']['output'];
|
|
536
|
+
/** An array of images to be displayed on the topper. */
|
|
353
537
|
readonly images: ReadonlyArray<Image>;
|
|
538
|
+
/** An abstract syntax tree of the introduction text. */
|
|
354
539
|
readonly intro?: Maybe<RichText>;
|
|
540
|
+
/** Whether the headline should be large. */
|
|
355
541
|
readonly isLargeHeadline?: Maybe<Scalars['Boolean']['output']>;
|
|
542
|
+
/** The layout of the topper, eg. 'split-text-left'. */
|
|
356
543
|
readonly layout?: Maybe<Scalars['String']['output']>;
|
|
544
|
+
/** Whether the topper should have a text shadow. */
|
|
357
545
|
readonly textShadow?: Maybe<Scalars['Boolean']['output']>;
|
|
358
546
|
};
|
|
359
547
|
export type Design = {
|
|
548
|
+
/** The layout, eg. 'default'. */
|
|
360
549
|
readonly layout?: Maybe<Scalars['String']['output']>;
|
|
550
|
+
/** A scalar representing the theme of the design, eg. 'extra-wide'. */
|
|
361
551
|
readonly theme?: Maybe<Scalars['PackageDesign']['output']>;
|
|
362
552
|
};
|
|
363
553
|
export type Flourish = Reference & {
|
|
554
|
+
/** The fallback image to be used if the flourish graphics cannot be loaded. */
|
|
364
555
|
readonly fallbackImage?: Maybe<FlourishFallback>;
|
|
556
|
+
/** The type of the reference, eg. 'flourish'. */
|
|
365
557
|
readonly type: Scalars['String']['output'];
|
|
366
558
|
};
|
|
367
559
|
export type FlourishFallback = {
|
|
560
|
+
/** The height in pixels of the fallback image. */
|
|
368
561
|
readonly height?: Maybe<Scalars['Int']['output']>;
|
|
562
|
+
/** The url of the fallback image. */
|
|
369
563
|
readonly url?: Maybe<Scalars['String']['output']>;
|
|
564
|
+
/** The width in pixels of the fallback image. */
|
|
370
565
|
readonly width?: Maybe<Scalars['Int']['output']>;
|
|
371
566
|
};
|
|
372
567
|
export type FullBleedTopper = Topper & TopperWithBrand & TopperWithImages & TopperWithTheme & {
|
|
568
|
+
/** Whether the topper should have a background box. */
|
|
373
569
|
readonly backgroundBox?: Maybe<Scalars['Boolean']['output']>;
|
|
570
|
+
/** The background colour of the topper. */
|
|
374
571
|
readonly backgroundColour?: Maybe<Scalars['TopperBackgroundColour']['output']>;
|
|
572
|
+
/** The concept object of the brand, eg. {'type': 'BRAND', 'prefLabel': 'FT Magazine', ...}. */
|
|
375
573
|
readonly brandConcept?: Maybe<Concept>;
|
|
574
|
+
/** The concept object to be displayed, eg. {'type': 'TOPIC', 'prefLabel': 'Non-dom tax status', ...}. */
|
|
376
575
|
readonly displayConcept?: Maybe<Concept>;
|
|
576
|
+
/** A fallback image to be used if the 'images' are not availableimages: [Image!]!. */
|
|
377
577
|
readonly fallbackImage?: Maybe<Image>;
|
|
578
|
+
/** The variant of the follow button to be displayed on the topper. */
|
|
378
579
|
readonly followButtonVariant?: Maybe<Scalars['FollowButtonVariant']['output']>;
|
|
580
|
+
/** The concept object of the genre, eg. {'type': 'GENRE', 'prefLabel': 'Opinion', ...}. */
|
|
379
581
|
readonly genreConcept?: Maybe<Concept>;
|
|
582
|
+
/** The headline text of the topper. */
|
|
380
583
|
readonly headline: Scalars['String']['output'];
|
|
584
|
+
/** An array of images to be displayed on the topper. */
|
|
381
585
|
readonly images: ReadonlyArray<Image>;
|
|
586
|
+
/** An abstract syntax tree of the introduction text. */
|
|
382
587
|
readonly intro?: Maybe<RichText>;
|
|
588
|
+
/** Whether the headline should be large. */
|
|
383
589
|
readonly isLargeHeadline?: Maybe<Scalars['Boolean']['output']>;
|
|
590
|
+
/** The layout of the topper, eg. 'split-text-left'. */
|
|
384
591
|
readonly layout?: Maybe<Scalars['String']['output']>;
|
|
592
|
+
/** Whether the topper should have a text shadow. */
|
|
385
593
|
readonly textShadow?: Maybe<Scalars['Boolean']['output']>;
|
|
386
594
|
};
|
|
387
595
|
export type Image = {
|
|
596
|
+
/** Text describing the content of the image, usually hidden from the user unless the image is not available. It is to be read by screen readers. */
|
|
388
597
|
readonly altText?: Maybe<Scalars['String']['output']>;
|
|
598
|
+
/** Text describing the content of the image, always shown next to the image. */
|
|
389
599
|
readonly caption?: Maybe<Scalars['String']['output']>;
|
|
600
|
+
/** The credit of the image, eg. 'Getty Images'. */
|
|
390
601
|
readonly credit?: Maybe<Scalars['String']['output']>;
|
|
602
|
+
/** The format of the image, eg. 'portrait'. */
|
|
391
603
|
readonly format: Scalars['ImageFormat']['output'];
|
|
604
|
+
/** The height of the image in pixels. */
|
|
392
605
|
readonly height?: Maybe<Scalars['Int']['output']>;
|
|
606
|
+
/** The unique identifier of the image - a uuid or a url. */
|
|
393
607
|
readonly id: Scalars['String']['output'];
|
|
608
|
+
/** An array of image sources, ie. different images to render based on input width resulting in responsive images. */
|
|
394
609
|
readonly sourceSet: ReadonlyArray<ImageSource>;
|
|
610
|
+
/** The type of the image, eg. 'graphic'. */
|
|
395
611
|
readonly type?: Maybe<Scalars['ImageType']['output']>;
|
|
612
|
+
/** The url of the image, eg. 'https://www.ft.com/__origami/service/image/v2/images/raw/ftcms%3Aimage%3A0e7e7b6e-4e7b-11e9-bde6-79e4b4311f90?source=next&fit=scale-down&width=700'. */
|
|
396
613
|
readonly url?: Maybe<Scalars['String']['output']>;
|
|
614
|
+
/** The width of the image in pixels. */
|
|
397
615
|
readonly width?: Maybe<Scalars['Int']['output']>;
|
|
398
616
|
};
|
|
399
617
|
export type ImageSourceSetArgs = {
|
|
@@ -401,15 +619,25 @@ export type ImageSourceSetArgs = {
|
|
|
401
619
|
width?: InputMaybe<Scalars['Int']['input']>;
|
|
402
620
|
};
|
|
403
621
|
export type ImageDesktop = Image & {
|
|
622
|
+
/** Text describing the content of the image, usually hidden from the user unless the image is not available. It is to be read by screen readers. */
|
|
404
623
|
readonly altText?: Maybe<Scalars['String']['output']>;
|
|
624
|
+
/** Text describing the content of the image, always shown next to the image. */
|
|
405
625
|
readonly caption?: Maybe<Scalars['String']['output']>;
|
|
626
|
+
/** The credit of the image, eg. 'Getty Images'. */
|
|
406
627
|
readonly credit?: Maybe<Scalars['String']['output']>;
|
|
628
|
+
/** The format of the image, eg. 'portrait'. */
|
|
407
629
|
readonly format: Scalars['ImageFormat']['output'];
|
|
630
|
+
/** The height of the image in pixels. */
|
|
408
631
|
readonly height?: Maybe<Scalars['Int']['output']>;
|
|
632
|
+
/** The unique identifier of the image - a uuid or a url. */
|
|
409
633
|
readonly id: Scalars['String']['output'];
|
|
634
|
+
/** An array of image sources, ie. different images to render based on input width resulting in responsive images. */
|
|
410
635
|
readonly sourceSet: ReadonlyArray<ImageSource>;
|
|
636
|
+
/** The type of the image, eg. 'graphic'. */
|
|
411
637
|
readonly type?: Maybe<Scalars['ImageType']['output']>;
|
|
638
|
+
/** The url of the image, eg. 'https://www.ft.com/__origami/service/image/v2/images/raw/ftcms%3Aimage%3A0e7e7b6e-4e7b-11e9-bde6-79e4b4311f90?source=next&fit=scale-down&width=700'. */
|
|
412
639
|
readonly url?: Maybe<Scalars['String']['output']>;
|
|
640
|
+
/** The width of the image in pixels. */
|
|
413
641
|
readonly width?: Maybe<Scalars['Int']['output']>;
|
|
414
642
|
};
|
|
415
643
|
export type ImageDesktopSourceSetArgs = {
|
|
@@ -417,15 +645,25 @@ export type ImageDesktopSourceSetArgs = {
|
|
|
417
645
|
width?: InputMaybe<Scalars['Int']['input']>;
|
|
418
646
|
};
|
|
419
647
|
export type ImageLandscape = Image & {
|
|
648
|
+
/** Text describing the content of the image, usually hidden from the user unless the image is not available. It is to be read by screen readers. */
|
|
420
649
|
readonly altText?: Maybe<Scalars['String']['output']>;
|
|
650
|
+
/** Text describing the content of the image, always shown next to the image. */
|
|
421
651
|
readonly caption?: Maybe<Scalars['String']['output']>;
|
|
652
|
+
/** The credit of the image, eg. 'Getty Images'. */
|
|
422
653
|
readonly credit?: Maybe<Scalars['String']['output']>;
|
|
654
|
+
/** The format of the image, eg. 'portrait'. */
|
|
423
655
|
readonly format: Scalars['ImageFormat']['output'];
|
|
656
|
+
/** The height of the image in pixels. */
|
|
424
657
|
readonly height?: Maybe<Scalars['Int']['output']>;
|
|
658
|
+
/** The unique identifier of the image - a uuid or a url. */
|
|
425
659
|
readonly id: Scalars['String']['output'];
|
|
660
|
+
/** An array of image sources, ie. different images to render based on input width resulting in responsive images. */
|
|
426
661
|
readonly sourceSet: ReadonlyArray<ImageSource>;
|
|
662
|
+
/** The type of the image, eg. 'graphic'. */
|
|
427
663
|
readonly type?: Maybe<Scalars['ImageType']['output']>;
|
|
664
|
+
/** The url of the image, eg. 'https://www.ft.com/__origami/service/image/v2/images/raw/ftcms%3Aimage%3A0e7e7b6e-4e7b-11e9-bde6-79e4b4311f90?source=next&fit=scale-down&width=700'. */
|
|
428
665
|
readonly url?: Maybe<Scalars['String']['output']>;
|
|
666
|
+
/** The width of the image in pixels. */
|
|
429
667
|
readonly width?: Maybe<Scalars['Int']['output']>;
|
|
430
668
|
};
|
|
431
669
|
export type ImageLandscapeSourceSetArgs = {
|
|
@@ -433,15 +671,25 @@ export type ImageLandscapeSourceSetArgs = {
|
|
|
433
671
|
width?: InputMaybe<Scalars['Int']['input']>;
|
|
434
672
|
};
|
|
435
673
|
export type ImageMobile = Image & {
|
|
674
|
+
/** Text describing the content of the image, usually hidden from the user unless the image is not available. It is to be read by screen readers. */
|
|
436
675
|
readonly altText?: Maybe<Scalars['String']['output']>;
|
|
676
|
+
/** Text describing the content of the image, always shown next to the image. */
|
|
437
677
|
readonly caption?: Maybe<Scalars['String']['output']>;
|
|
678
|
+
/** The credit of the image, eg. 'Getty Images'. */
|
|
438
679
|
readonly credit?: Maybe<Scalars['String']['output']>;
|
|
680
|
+
/** The format of the image, eg. 'portrait'. */
|
|
439
681
|
readonly format: Scalars['ImageFormat']['output'];
|
|
682
|
+
/** The height of the image in pixels. */
|
|
440
683
|
readonly height?: Maybe<Scalars['Int']['output']>;
|
|
684
|
+
/** The unique identifier of the image - a uuid or a url. */
|
|
441
685
|
readonly id: Scalars['String']['output'];
|
|
686
|
+
/** An array of image sources, ie. different images to render based on input width resulting in responsive images. */
|
|
442
687
|
readonly sourceSet: ReadonlyArray<ImageSource>;
|
|
688
|
+
/** The type of the image, eg. 'graphic'. */
|
|
443
689
|
readonly type?: Maybe<Scalars['ImageType']['output']>;
|
|
690
|
+
/** The url of the image, eg. 'https://www.ft.com/__origami/service/image/v2/images/raw/ftcms%3Aimage%3A0e7e7b6e-4e7b-11e9-bde6-79e4b4311f90?source=next&fit=scale-down&width=700'. */
|
|
444
691
|
readonly url?: Maybe<Scalars['String']['output']>;
|
|
692
|
+
/** The width of the image in pixels. */
|
|
445
693
|
readonly width?: Maybe<Scalars['Int']['output']>;
|
|
446
694
|
};
|
|
447
695
|
export type ImageMobileSourceSetArgs = {
|
|
@@ -449,15 +697,25 @@ export type ImageMobileSourceSetArgs = {
|
|
|
449
697
|
width?: InputMaybe<Scalars['Int']['input']>;
|
|
450
698
|
};
|
|
451
699
|
export type ImagePortrait = Image & {
|
|
700
|
+
/** Text describing the content of the image, usually hidden from the user unless the image is not available. It is to be read by screen readers. */
|
|
452
701
|
readonly altText?: Maybe<Scalars['String']['output']>;
|
|
702
|
+
/** Text describing the content of the image, always shown next to the image. */
|
|
453
703
|
readonly caption?: Maybe<Scalars['String']['output']>;
|
|
704
|
+
/** The credit of the image, eg. 'Getty Images'. */
|
|
454
705
|
readonly credit?: Maybe<Scalars['String']['output']>;
|
|
706
|
+
/** The format of the image, eg. 'portrait'. */
|
|
455
707
|
readonly format: Scalars['ImageFormat']['output'];
|
|
708
|
+
/** The height of the image in pixels. */
|
|
456
709
|
readonly height?: Maybe<Scalars['Int']['output']>;
|
|
710
|
+
/** The unique identifier of the image - a uuid or a url. */
|
|
457
711
|
readonly id: Scalars['String']['output'];
|
|
712
|
+
/** An array of image sources, ie. different images to render based on input width resulting in responsive images. */
|
|
458
713
|
readonly sourceSet: ReadonlyArray<ImageSource>;
|
|
714
|
+
/** The type of the image, eg. 'graphic'. */
|
|
459
715
|
readonly type?: Maybe<Scalars['ImageType']['output']>;
|
|
716
|
+
/** The url of the image, eg. 'https://www.ft.com/__origami/service/image/v2/images/raw/ftcms%3Aimage%3A0e7e7b6e-4e7b-11e9-bde6-79e4b4311f90?source=next&fit=scale-down&width=700'. */
|
|
460
717
|
readonly url?: Maybe<Scalars['String']['output']>;
|
|
718
|
+
/** The width of the image in pixels. */
|
|
461
719
|
readonly width?: Maybe<Scalars['Int']['output']>;
|
|
462
720
|
};
|
|
463
721
|
export type ImagePortraitSourceSetArgs = {
|
|
@@ -465,24 +723,39 @@ export type ImagePortraitSourceSetArgs = {
|
|
|
465
723
|
width?: InputMaybe<Scalars['Int']['input']>;
|
|
466
724
|
};
|
|
467
725
|
export type ImageSet = Reference & {
|
|
726
|
+
/** A set of images with different sizes and formats. */
|
|
468
727
|
readonly picture?: Maybe<Picture>;
|
|
728
|
+
/** The type of the reference, eg. 'image-set'. */
|
|
469
729
|
readonly type: Scalars['String']['output'];
|
|
470
730
|
};
|
|
471
731
|
export type ImageSource = {
|
|
732
|
+
/** The device pixel ratio. DPR is calculated as DPR = Physical Pixels (pixels seen on screen) / Logical Pixels (pixel that can fit in a given space). */
|
|
472
733
|
readonly dpr?: Maybe<Scalars['Int']['output']>;
|
|
734
|
+
/** The url of the image source, eg. 'https://www.ft.com/__origami/service/image/v2/images/raw/ftcms%3Aimage%3A0e7e7b6e-4e7b-11e9-bde6-79e4b4311f90?source=next&fit=scale-down&width=700'. */
|
|
473
735
|
readonly url: Scalars['String']['output'];
|
|
736
|
+
/** The width of the image source in pixels. */
|
|
474
737
|
readonly width?: Maybe<Scalars['Int']['output']>;
|
|
475
738
|
};
|
|
476
739
|
export type ImageSquare = Image & {
|
|
740
|
+
/** Text describing the content of the image, usually hidden from the user unless the image is not available. It is to be read by screen readers. */
|
|
477
741
|
readonly altText?: Maybe<Scalars['String']['output']>;
|
|
742
|
+
/** Text describing the content of the image, always shown next to the image. */
|
|
478
743
|
readonly caption?: Maybe<Scalars['String']['output']>;
|
|
744
|
+
/** The credit of the image, eg. 'Getty Images'. */
|
|
479
745
|
readonly credit?: Maybe<Scalars['String']['output']>;
|
|
746
|
+
/** The format of the image, eg. 'portrait'. */
|
|
480
747
|
readonly format: Scalars['ImageFormat']['output'];
|
|
748
|
+
/** The height of the image in pixels. */
|
|
481
749
|
readonly height?: Maybe<Scalars['Int']['output']>;
|
|
750
|
+
/** The unique identifier of the image - a uuid or a url. */
|
|
482
751
|
readonly id: Scalars['String']['output'];
|
|
752
|
+
/** An array of image sources, ie. different images to render based on input width resulting in responsive images. */
|
|
483
753
|
readonly sourceSet: ReadonlyArray<ImageSource>;
|
|
754
|
+
/** The type of the image, eg. 'graphic'. */
|
|
484
755
|
readonly type?: Maybe<Scalars['ImageType']['output']>;
|
|
756
|
+
/** The url of the image, eg. 'https://www.ft.com/__origami/service/image/v2/images/raw/ftcms%3Aimage%3A0e7e7b6e-4e7b-11e9-bde6-79e4b4311f90?source=next&fit=scale-down&width=700'. */
|
|
485
757
|
readonly url?: Maybe<Scalars['String']['output']>;
|
|
758
|
+
/** The width of the image in pixels. */
|
|
486
759
|
readonly width?: Maybe<Scalars['Int']['output']>;
|
|
487
760
|
};
|
|
488
761
|
export type ImageSquareSourceSetArgs = {
|
|
@@ -490,15 +763,25 @@ export type ImageSquareSourceSetArgs = {
|
|
|
490
763
|
width?: InputMaybe<Scalars['Int']['input']>;
|
|
491
764
|
};
|
|
492
765
|
export type ImageSquareFtEdit = Image & {
|
|
766
|
+
/** Text describing the content of the image, usually hidden from the user unless the image is not available. It is to be read by screen readers. */
|
|
493
767
|
readonly altText?: Maybe<Scalars['String']['output']>;
|
|
768
|
+
/** Text describing the content of the image, always shown next to the image. */
|
|
494
769
|
readonly caption?: Maybe<Scalars['String']['output']>;
|
|
770
|
+
/** The credit of the image, eg. 'Getty Images'. */
|
|
495
771
|
readonly credit?: Maybe<Scalars['String']['output']>;
|
|
772
|
+
/** The format of the image, eg. 'portrait'. */
|
|
496
773
|
readonly format: Scalars['ImageFormat']['output'];
|
|
774
|
+
/** The height of the image in pixels. */
|
|
497
775
|
readonly height?: Maybe<Scalars['Int']['output']>;
|
|
776
|
+
/** The unique identifier of the image - a uuid or a url. */
|
|
498
777
|
readonly id: Scalars['String']['output'];
|
|
778
|
+
/** An array of image sources, ie. different images to render based on input width resulting in responsive images. */
|
|
499
779
|
readonly sourceSet: ReadonlyArray<ImageSource>;
|
|
780
|
+
/** The type of the image, eg. 'graphic'. */
|
|
500
781
|
readonly type?: Maybe<Scalars['ImageType']['output']>;
|
|
782
|
+
/** The url of the image, eg. 'https://www.ft.com/__origami/service/image/v2/images/raw/ftcms%3Aimage%3A0e7e7b6e-4e7b-11e9-bde6-79e4b4311f90?source=next&fit=scale-down&width=700'. */
|
|
501
783
|
readonly url?: Maybe<Scalars['String']['output']>;
|
|
784
|
+
/** The width of the image in pixels. */
|
|
502
785
|
readonly width?: Maybe<Scalars['Int']['output']>;
|
|
503
786
|
};
|
|
504
787
|
export type ImageSquareFtEditSourceSetArgs = {
|
|
@@ -506,15 +789,25 @@ export type ImageSquareFtEditSourceSetArgs = {
|
|
|
506
789
|
width?: InputMaybe<Scalars['Int']['input']>;
|
|
507
790
|
};
|
|
508
791
|
export type ImageStandard = Image & {
|
|
792
|
+
/** Text describing the content of the image, usually hidden from the user unless the image is not available. It is to be read by screen readers. */
|
|
509
793
|
readonly altText?: Maybe<Scalars['String']['output']>;
|
|
794
|
+
/** Text describing the content of the image, always shown next to the image. */
|
|
510
795
|
readonly caption?: Maybe<Scalars['String']['output']>;
|
|
796
|
+
/** The credit of the image, eg. 'Getty Images'. */
|
|
511
797
|
readonly credit?: Maybe<Scalars['String']['output']>;
|
|
798
|
+
/** The format of the image, eg. 'portrait'. */
|
|
512
799
|
readonly format: Scalars['ImageFormat']['output'];
|
|
800
|
+
/** The height of the image in pixels. */
|
|
513
801
|
readonly height?: Maybe<Scalars['Int']['output']>;
|
|
802
|
+
/** The unique identifier of the image - a uuid or a url. */
|
|
514
803
|
readonly id: Scalars['String']['output'];
|
|
804
|
+
/** An array of image sources, ie. different images to render based on input width resulting in responsive images. */
|
|
515
805
|
readonly sourceSet: ReadonlyArray<ImageSource>;
|
|
806
|
+
/** The type of the image, eg. 'graphic'. */
|
|
516
807
|
readonly type?: Maybe<Scalars['ImageType']['output']>;
|
|
808
|
+
/** The url of the image, eg. 'https://www.ft.com/__origami/service/image/v2/images/raw/ftcms%3Aimage%3A0e7e7b6e-4e7b-11e9-bde6-79e4b4311f90?source=next&fit=scale-down&width=700'. */
|
|
517
809
|
readonly url?: Maybe<Scalars['String']['output']>;
|
|
810
|
+
/** The width of the image in pixels. */
|
|
518
811
|
readonly width?: Maybe<Scalars['Int']['output']>;
|
|
519
812
|
};
|
|
520
813
|
export type ImageStandardSourceSetArgs = {
|
|
@@ -522,15 +815,25 @@ export type ImageStandardSourceSetArgs = {
|
|
|
522
815
|
width?: InputMaybe<Scalars['Int']['input']>;
|
|
523
816
|
};
|
|
524
817
|
export type ImageStandardInline = Image & {
|
|
818
|
+
/** Text describing the content of the image, usually hidden from the user unless the image is not available. It is to be read by screen readers. */
|
|
525
819
|
readonly altText?: Maybe<Scalars['String']['output']>;
|
|
820
|
+
/** Text describing the content of the image, always shown next to the image. */
|
|
526
821
|
readonly caption?: Maybe<Scalars['String']['output']>;
|
|
822
|
+
/** The credit of the image, eg. 'Getty Images'. */
|
|
527
823
|
readonly credit?: Maybe<Scalars['String']['output']>;
|
|
824
|
+
/** The format of the image, eg. 'portrait'. */
|
|
528
825
|
readonly format: Scalars['ImageFormat']['output'];
|
|
826
|
+
/** The height of the image in pixels. */
|
|
529
827
|
readonly height?: Maybe<Scalars['Int']['output']>;
|
|
828
|
+
/** The unique identifier of the image - a uuid or a url. */
|
|
530
829
|
readonly id: Scalars['String']['output'];
|
|
830
|
+
/** An array of image sources, ie. different images to render based on input width resulting in responsive images. */
|
|
531
831
|
readonly sourceSet: ReadonlyArray<ImageSource>;
|
|
832
|
+
/** The type of the image, eg. 'graphic'. */
|
|
532
833
|
readonly type?: Maybe<Scalars['ImageType']['output']>;
|
|
834
|
+
/** The url of the image, eg. 'https://www.ft.com/__origami/service/image/v2/images/raw/ftcms%3Aimage%3A0e7e7b6e-4e7b-11e9-bde6-79e4b4311f90?source=next&fit=scale-down&width=700'. */
|
|
533
835
|
readonly url?: Maybe<Scalars['String']['output']>;
|
|
836
|
+
/** The width of the image in pixels. */
|
|
534
837
|
readonly width?: Maybe<Scalars['Int']['output']>;
|
|
535
838
|
};
|
|
536
839
|
export type ImageStandardInlineSourceSetArgs = {
|
|
@@ -538,60 +841,106 @@ export type ImageStandardInlineSourceSetArgs = {
|
|
|
538
841
|
width?: InputMaybe<Scalars['Int']['input']>;
|
|
539
842
|
};
|
|
540
843
|
export type ImageWide = Image & {
|
|
844
|
+
/** Text describing the content of the image, usually hidden from the user unless the image is not available. It is to be read by screen readers. */
|
|
541
845
|
readonly altText?: Maybe<Scalars['String']['output']>;
|
|
846
|
+
/** Text describing the content of the image, always shown next to the image. */
|
|
542
847
|
readonly caption?: Maybe<Scalars['String']['output']>;
|
|
848
|
+
/** The credit of the image, eg. 'Getty Images'. */
|
|
543
849
|
readonly credit?: Maybe<Scalars['String']['output']>;
|
|
850
|
+
/** The format of the image, eg. 'portrait'. */
|
|
544
851
|
readonly format: Scalars['ImageFormat']['output'];
|
|
852
|
+
/** The height of the image in pixels. */
|
|
545
853
|
readonly height?: Maybe<Scalars['Int']['output']>;
|
|
854
|
+
/** The unique identifier of the image - a uuid or a url. */
|
|
546
855
|
readonly id: Scalars['String']['output'];
|
|
856
|
+
/** An array of image sources, ie. different images to render based on input width resulting in responsive images. */
|
|
547
857
|
readonly sourceSet: ReadonlyArray<ImageSource>;
|
|
858
|
+
/** The type of the image, eg. 'graphic'. */
|
|
548
859
|
readonly type?: Maybe<Scalars['ImageType']['output']>;
|
|
860
|
+
/** The url of the image, eg. 'https://www.ft.com/__origami/service/image/v2/images/raw/ftcms%3Aimage%3A0e7e7b6e-4e7b-11e9-bde6-79e4b4311f90?source=next&fit=scale-down&width=700'. */
|
|
549
861
|
readonly url?: Maybe<Scalars['String']['output']>;
|
|
862
|
+
/** The width of the image in pixels. */
|
|
550
863
|
readonly width?: Maybe<Scalars['Int']['output']>;
|
|
551
864
|
};
|
|
552
865
|
export type ImageWideSourceSetArgs = {
|
|
553
866
|
maxDpr?: InputMaybe<Scalars['Int']['input']>;
|
|
554
867
|
width?: InputMaybe<Scalars['Int']['input']>;
|
|
555
868
|
};
|
|
869
|
+
/** Indicators are used to determine teaser styling. */
|
|
556
870
|
export type Indicators = {
|
|
871
|
+
/** The access level of the teaser, eg. 'free' or 'premium'. */
|
|
557
872
|
readonly accessLevel?: Maybe<Scalars['AccessLevel']['output']>;
|
|
873
|
+
/** Whether the teaser is a column, ie. has one author. */
|
|
558
874
|
readonly isColumn?: Maybe<Scalars['Boolean']['output']>;
|
|
875
|
+
/** Whether the teaser is an editor's choice. */
|
|
559
876
|
readonly isEditorsChoice?: Maybe<Scalars['Boolean']['output']>;
|
|
877
|
+
/** Whether the teaser is exclusive. */
|
|
560
878
|
readonly isExclusive?: Maybe<Scalars['Boolean']['output']>;
|
|
879
|
+
/** Whether the teaser is an opinion piece. */
|
|
561
880
|
readonly isOpinion?: Maybe<Scalars['Boolean']['output']>;
|
|
881
|
+
/** Whether the teaser is a podcast. */
|
|
562
882
|
readonly isPodcast?: Maybe<Scalars['Boolean']['output']>;
|
|
883
|
+
/** Whether the teaser is a scoop. */
|
|
563
884
|
readonly isScoop?: Maybe<Scalars['Boolean']['output']>;
|
|
564
885
|
};
|
|
565
886
|
export type LayoutImage = Reference & {
|
|
887
|
+
/** A set of images with different sizes and formats. */
|
|
566
888
|
readonly picture?: Maybe<Picture>;
|
|
889
|
+
/** The type of the reference, eg. 'layout-image'. */
|
|
567
890
|
readonly type: Scalars['String']['output'];
|
|
568
891
|
};
|
|
569
892
|
export type LiveBlogPackage = Content & {
|
|
893
|
+
/** A scalar representing the access level of the article, eg. 'free'. */
|
|
570
894
|
readonly accessLevel?: Maybe<Scalars['AccessLevel']['output']>;
|
|
895
|
+
/** An alternative introductory paragraph of the article. */
|
|
571
896
|
readonly altStandfirst?: Maybe<AltStandfirst>;
|
|
897
|
+
/** An alternative title of the article. */
|
|
572
898
|
readonly altTitle?: Maybe<AltTitle>;
|
|
899
|
+
/** An array of concepts related to the article, eg. organisations or topics. */
|
|
573
900
|
readonly annotations?: Maybe<ReadonlyArray<Maybe<Concept>>>;
|
|
901
|
+
/** An abstract syntax tree of the article content. */
|
|
574
902
|
readonly body?: Maybe<RichText>;
|
|
903
|
+
/** The raw string of the XML as returned from ContentAPI. */
|
|
575
904
|
readonly bodyXML?: Maybe<Scalars['String']['output']>;
|
|
905
|
+
/** An abstract syntax tree of the authors of the article. */
|
|
576
906
|
readonly byline?: Maybe<StructuredContent>;
|
|
907
|
+
/** A scalar representing whether the article can be syndicated, ie. published by a third party site. */
|
|
577
908
|
readonly canBeSyndicated?: Maybe<Scalars['CanBeSyndicated']['output']>;
|
|
909
|
+
/** Whether comments are enabled on the article. */
|
|
578
910
|
readonly commentsEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
911
|
+
/** A design object containing the theme and layout of the article. */
|
|
579
912
|
readonly design?: Maybe<Design>;
|
|
913
|
+
/** The editorial division the article belongs to, eg. 'FT-SpecialReports'. */
|
|
580
914
|
readonly editorialDesk?: Maybe<Scalars['String']['output']>;
|
|
915
|
+
/** The first ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'. */
|
|
581
916
|
readonly firstPublishedDate: Scalars['String']['output'];
|
|
917
|
+
/** The unique identifier of the article - a uuid or a url. */
|
|
582
918
|
readonly id: Scalars['ID']['output'];
|
|
919
|
+
/** The concept to use for instant alert CTAs. */
|
|
583
920
|
readonly instantAlertConcept?: Maybe<Concept>;
|
|
921
|
+
/** The child articles of this live blog package. */
|
|
584
922
|
readonly liveBlogPosts?: Maybe<ReadonlyArray<Maybe<Content>>>;
|
|
923
|
+
/** An image object containing the url and the caption, to be displayed usually before the article content. */
|
|
585
924
|
readonly mainImage?: Maybe<Image>;
|
|
925
|
+
/** The party that originated the article, eg. 'FT'. */
|
|
586
926
|
readonly originatingParty?: Maybe<Scalars['String']['output']>;
|
|
927
|
+
/** The pinned article of this live blog package. */
|
|
587
928
|
readonly pinnedPost?: Maybe<Content>;
|
|
929
|
+
/** The ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'. */
|
|
588
930
|
readonly publishedDate: Scalars['String']['output'];
|
|
931
|
+
/** Whether the live blog package should be updated in real time. */
|
|
589
932
|
readonly realtime?: Maybe<Scalars['Boolean']['output']>;
|
|
933
|
+
/** An introductory paragraph of the article. */
|
|
590
934
|
readonly standfirst?: Maybe<Scalars['String']['output']>;
|
|
935
|
+
/** A promotional thumbnail / snapshot of the article. */
|
|
591
936
|
readonly teaser?: Maybe<Teaser>;
|
|
937
|
+
/** The title of the article. */
|
|
592
938
|
readonly title: Scalars['String']['output'];
|
|
939
|
+
/** A banner located usually at the top of articles containing the title, the standfirst and any images. */
|
|
593
940
|
readonly topper?: Maybe<Topper>;
|
|
941
|
+
/** The type of the article, eg. 'Article' or 'Video'. */
|
|
594
942
|
readonly type: Scalars['ContentType']['output'];
|
|
943
|
+
/** The url of the concept. Vanity urls replace long, randomly generated urls - they are more user friendly and concise. Relative urls are relative to the current domain. */
|
|
595
944
|
readonly url: Scalars['String']['output'];
|
|
596
945
|
};
|
|
597
946
|
export type LiveBlogPackageBylineArgs = {
|
|
@@ -605,31 +954,57 @@ export type LiveBlogPackageUrlArgs = {
|
|
|
605
954
|
vanity?: InputMaybe<Scalars['Boolean']['input']>;
|
|
606
955
|
};
|
|
607
956
|
export type LiveBlogPost = Content & {
|
|
957
|
+
/** A scalar representing the access level of the article, eg. 'free'. */
|
|
608
958
|
readonly accessLevel?: Maybe<Scalars['AccessLevel']['output']>;
|
|
959
|
+
/** An alternative introductory paragraph of the article. */
|
|
609
960
|
readonly altStandfirst?: Maybe<AltStandfirst>;
|
|
961
|
+
/** An alternative title of the article. */
|
|
610
962
|
readonly altTitle?: Maybe<AltTitle>;
|
|
963
|
+
/** An array of concepts related to the article, eg. organisations or topics. */
|
|
611
964
|
readonly annotations?: Maybe<ReadonlyArray<Maybe<Concept>>>;
|
|
965
|
+
/** An abstract syntax tree of the article content. */
|
|
612
966
|
readonly body?: Maybe<RichText>;
|
|
967
|
+
/** The raw string of the XML as returned from ContentAPI. */
|
|
613
968
|
readonly bodyXML?: Maybe<Scalars['String']['output']>;
|
|
969
|
+
/** An abstract syntax tree of the authors of the article. */
|
|
614
970
|
readonly byline?: Maybe<StructuredContent>;
|
|
971
|
+
/** A scalar representing whether the article can be syndicated, ie. published by a third party site. */
|
|
615
972
|
readonly canBeSyndicated?: Maybe<Scalars['CanBeSyndicated']['output']>;
|
|
973
|
+
/** Whether comments are enabled on the article. */
|
|
616
974
|
readonly commentsEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
975
|
+
/** The parent article, indicating this article is a part of a series or package. */
|
|
617
976
|
readonly containedIn?: Maybe<Content>;
|
|
977
|
+
/** A design object containing the theme and layout of the article. */
|
|
618
978
|
readonly design?: Maybe<Design>;
|
|
979
|
+
/** The editorial division the article belongs to, eg. 'FT-SpecialReports'. */
|
|
619
980
|
readonly editorialDesk?: Maybe<Scalars['String']['output']>;
|
|
981
|
+
/** The first ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'. */
|
|
620
982
|
readonly firstPublishedDate: Scalars['String']['output'];
|
|
983
|
+
/** The unique identifier of the article - a uuid or a url. */
|
|
621
984
|
readonly id: Scalars['ID']['output'];
|
|
985
|
+
/** An object indicating whether the article is an opinion piece. */
|
|
622
986
|
readonly indicators?: Maybe<Indicators>;
|
|
987
|
+
/** The concept to use for instant alert CTAs. */
|
|
623
988
|
readonly instantAlertConcept?: Maybe<Concept>;
|
|
989
|
+
/** Whether the live-blog-post should be pinned. */
|
|
624
990
|
readonly isPinned?: Maybe<Scalars['Boolean']['output']>;
|
|
991
|
+
/** An image object containing the url and the caption, to be displayed usually before the article content. */
|
|
625
992
|
readonly mainImage?: Maybe<Image>;
|
|
993
|
+
/** The party that originated the article, eg. 'FT'. */
|
|
626
994
|
readonly originatingParty?: Maybe<Scalars['String']['output']>;
|
|
995
|
+
/** The ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'. */
|
|
627
996
|
readonly publishedDate: Scalars['String']['output'];
|
|
997
|
+
/** An introductory paragraph of the article. */
|
|
628
998
|
readonly standfirst?: Maybe<Scalars['String']['output']>;
|
|
999
|
+
/** A promotional thumbnail / snapshot of the article. */
|
|
629
1000
|
readonly teaser?: Maybe<Teaser>;
|
|
1001
|
+
/** The title of the article. */
|
|
630
1002
|
readonly title: Scalars['String']['output'];
|
|
1003
|
+
/** A banner located usually at the top of articles containing the title, the standfirst and any images. */
|
|
631
1004
|
readonly topper?: Maybe<Topper>;
|
|
1005
|
+
/** The type of the article, eg. 'Article' or 'Video'. */
|
|
632
1006
|
readonly type: Scalars['ContentType']['output'];
|
|
1007
|
+
/** The url of the concept. Vanity urls replace long, randomly generated urls - they are more user friendly and concise. Relative urls are relative to the current domain. */
|
|
633
1008
|
readonly url: Scalars['String']['output'];
|
|
634
1009
|
};
|
|
635
1010
|
export type LiveBlogPostBylineArgs = {
|
|
@@ -640,100 +1015,172 @@ export type LiveBlogPostUrlArgs = {
|
|
|
640
1015
|
vanity?: InputMaybe<Scalars['Boolean']['input']>;
|
|
641
1016
|
};
|
|
642
1017
|
export type MainImage = Reference & {
|
|
1018
|
+
/** A set of images with different sizes and formats. */
|
|
643
1019
|
readonly picture?: Maybe<Picture>;
|
|
1020
|
+
/** The type of the reference, eg. 'main-image'. */
|
|
644
1021
|
readonly type: Scalars['String']['output'];
|
|
645
1022
|
};
|
|
646
1023
|
export type Media = {
|
|
1024
|
+
/** The duration of the media in milliseconds. */
|
|
647
1025
|
readonly duration?: Maybe<Scalars['Int']['output']>;
|
|
1026
|
+
/** The filesize of the media in bytes. */
|
|
648
1027
|
readonly filesize?: Maybe<Scalars['Int']['output']>;
|
|
1028
|
+
/** The media type eg. video/mp4. */
|
|
649
1029
|
readonly mediaType?: Maybe<Scalars['String']['output']>;
|
|
1030
|
+
/** The url of the media, eg. 'https://next-media-api.ft.com/renditions/16868569859480/0x0.mp3'. */
|
|
650
1031
|
readonly url?: Maybe<Scalars['String']['output']>;
|
|
651
1032
|
};
|
|
652
1033
|
export type MetaLink = Concept | ContentPackage;
|
|
653
1034
|
export type Mutation = {
|
|
1035
|
+
/** A mutation to invalidate the redis cache for content-api responses for a given uuid. */
|
|
654
1036
|
readonly invalidateRedisCache?: Maybe<Scalars['String']['output']>;
|
|
655
1037
|
};
|
|
656
1038
|
export type MutationInvalidateRedisCacheArgs = {
|
|
657
1039
|
uuid: Scalars['String']['input'];
|
|
658
1040
|
};
|
|
659
1041
|
export type OpinionTopper = Topper & TopperWithHeadshot & TopperWithTheme & {
|
|
1042
|
+
/** Whether the topper should have a background box. */
|
|
660
1043
|
readonly backgroundBox?: Maybe<Scalars['Boolean']['output']>;
|
|
1044
|
+
/** The background colour of the topper. */
|
|
661
1045
|
readonly backgroundColour?: Maybe<Scalars['TopperBackgroundColour']['output']>;
|
|
1046
|
+
/** The concept object describing details of the column author. */
|
|
662
1047
|
readonly columnist?: Maybe<Concept>;
|
|
1048
|
+
/** The concept object to be displayed, eg. {'type': 'TOPIC', 'prefLabel': 'Non-dom tax status', ...}. */
|
|
663
1049
|
readonly displayConcept?: Maybe<Concept>;
|
|
1050
|
+
/** The variant of the follow button to be displayed on the topper. */
|
|
664
1051
|
readonly followButtonVariant?: Maybe<Scalars['FollowButtonVariant']['output']>;
|
|
1052
|
+
/** The concept object of the genre, eg. {'type': 'GENRE', 'prefLabel': 'Opinion', ...}. */
|
|
665
1053
|
readonly genreConcept?: Maybe<Concept>;
|
|
1054
|
+
/** The headline text of the topper. */
|
|
666
1055
|
readonly headline: Scalars['String']['output'];
|
|
1056
|
+
/** The url of the headshot image, eg. for columns with one key author. */
|
|
667
1057
|
readonly headshot?: Maybe<Scalars['String']['output']>;
|
|
1058
|
+
/** An abstract syntax tree of the introduction text. */
|
|
668
1059
|
readonly intro?: Maybe<RichText>;
|
|
1060
|
+
/** Whether the headline should be large. */
|
|
669
1061
|
readonly isLargeHeadline?: Maybe<Scalars['Boolean']['output']>;
|
|
1062
|
+
/** The layout of the topper, eg. 'split-text-left'. */
|
|
670
1063
|
readonly layout?: Maybe<Scalars['String']['output']>;
|
|
1064
|
+
/** Whether the topper should have a text shadow. */
|
|
671
1065
|
readonly textShadow?: Maybe<Scalars['Boolean']['output']>;
|
|
672
1066
|
};
|
|
673
1067
|
export type OpinionTopperHeadshotArgs = {
|
|
674
1068
|
dpr?: InputMaybe<Scalars['Int']['input']>;
|
|
675
1069
|
width?: InputMaybe<Scalars['Int']['input']>;
|
|
676
1070
|
};
|
|
1071
|
+
/** A wrapper for images. */
|
|
677
1072
|
export type Picture = {
|
|
1073
|
+
/** The alt text of the image to be used for accessibility. */
|
|
678
1074
|
readonly alt: Scalars['String']['output'];
|
|
1075
|
+
/** The caption of the image. */
|
|
679
1076
|
readonly caption?: Maybe<Scalars['String']['output']>;
|
|
1077
|
+
/** The credit of the image, eg. 'Getty Images'. */
|
|
680
1078
|
readonly credit?: Maybe<Scalars['String']['output']>;
|
|
1079
|
+
/** A fallback image to be used if the 'images' are not available. */
|
|
681
1080
|
readonly fallbackImage: Image;
|
|
1081
|
+
/** The type of the image, eg. 'image' or 'graphic'. */
|
|
682
1082
|
readonly imageType: Scalars['ImageType']['output'];
|
|
1083
|
+
/** A set of images with different sizes and formats. */
|
|
683
1084
|
readonly images: ReadonlyArray<Image>;
|
|
1085
|
+
/** The layout width of the image, eg, 'standard'. */
|
|
684
1086
|
readonly layoutWidth?: Maybe<Scalars['String']['output']>;
|
|
685
1087
|
};
|
|
686
1088
|
export type PictureFullBleed = Picture & {
|
|
1089
|
+
/** The alt text of the image to be used for accessibility. */
|
|
687
1090
|
readonly alt: Scalars['String']['output'];
|
|
1091
|
+
/** The caption of the image. */
|
|
688
1092
|
readonly caption?: Maybe<Scalars['String']['output']>;
|
|
1093
|
+
/** The credit of the image, eg. 'Getty Images'. */
|
|
689
1094
|
readonly credit?: Maybe<Scalars['String']['output']>;
|
|
1095
|
+
/** A fallback image to be used if the 'images' are not available. */
|
|
690
1096
|
readonly fallbackImage: Image;
|
|
1097
|
+
/** The type of the image, eg. 'image' or 'graphic'. */
|
|
691
1098
|
readonly imageType: Scalars['ImageType']['output'];
|
|
1099
|
+
/** A set of images with different sizes and formats. */
|
|
692
1100
|
readonly images: ReadonlyArray<Image>;
|
|
1101
|
+
/** The layout width of the image, eg, 'standard'. */
|
|
693
1102
|
readonly layoutWidth?: Maybe<Scalars['String']['output']>;
|
|
694
1103
|
};
|
|
695
1104
|
export type PictureInline = Picture & {
|
|
1105
|
+
/** The alt text of the image to be used for accessibility. */
|
|
696
1106
|
readonly alt: Scalars['String']['output'];
|
|
1107
|
+
/** The caption of the image. */
|
|
697
1108
|
readonly caption?: Maybe<Scalars['String']['output']>;
|
|
1109
|
+
/** The credit of the image, eg. 'Getty Images'. */
|
|
698
1110
|
readonly credit?: Maybe<Scalars['String']['output']>;
|
|
1111
|
+
/** A fallback image to be used if the 'images' are not available. */
|
|
699
1112
|
readonly fallbackImage: Image;
|
|
1113
|
+
/** The type of the image, eg. 'image' or 'graphic'. */
|
|
700
1114
|
readonly imageType: Scalars['ImageType']['output'];
|
|
1115
|
+
/** A set of images with different sizes and formats. */
|
|
701
1116
|
readonly images: ReadonlyArray<Image>;
|
|
1117
|
+
/** The layout width of the image, eg, 'standard'. */
|
|
702
1118
|
readonly layoutWidth?: Maybe<Scalars['String']['output']>;
|
|
703
1119
|
};
|
|
704
1120
|
export type PictureStandard = Picture & {
|
|
1121
|
+
/** The alt text of the image to be used for accessibility. */
|
|
705
1122
|
readonly alt: Scalars['String']['output'];
|
|
1123
|
+
/** The caption of the image. */
|
|
706
1124
|
readonly caption?: Maybe<Scalars['String']['output']>;
|
|
1125
|
+
/** The credit of the image, eg. 'Getty Images'. */
|
|
707
1126
|
readonly credit?: Maybe<Scalars['String']['output']>;
|
|
1127
|
+
/** A fallback image to be used if the 'images' are not available. */
|
|
708
1128
|
readonly fallbackImage: Image;
|
|
1129
|
+
/** The type of the image, eg. 'image' or 'graphic'. */
|
|
709
1130
|
readonly imageType: Scalars['ImageType']['output'];
|
|
1131
|
+
/** A set of images with different sizes and formats. */
|
|
710
1132
|
readonly images: ReadonlyArray<Image>;
|
|
1133
|
+
/** The layout width of the image, eg, 'standard'. */
|
|
711
1134
|
readonly layoutWidth?: Maybe<Scalars['String']['output']>;
|
|
712
1135
|
};
|
|
713
1136
|
export type Placeholder = Content & {
|
|
1137
|
+
/** A scalar representing the access level of the article, eg. 'free'. */
|
|
714
1138
|
readonly accessLevel?: Maybe<Scalars['AccessLevel']['output']>;
|
|
1139
|
+
/** An alternative introductory paragraph of the article. */
|
|
715
1140
|
readonly altStandfirst?: Maybe<AltStandfirst>;
|
|
1141
|
+
/** An alternative title of the article. */
|
|
716
1142
|
readonly altTitle?: Maybe<AltTitle>;
|
|
1143
|
+
/** An array of concepts related to the article, eg. organisations or topics. */
|
|
717
1144
|
readonly annotations?: Maybe<ReadonlyArray<Maybe<Concept>>>;
|
|
1145
|
+
/** An abstract syntax tree of the article content. */
|
|
718
1146
|
readonly body?: Maybe<RichText>;
|
|
1147
|
+
/** The raw string of the XML as returned from ContentAPI. */
|
|
719
1148
|
readonly bodyXML?: Maybe<Scalars['String']['output']>;
|
|
1149
|
+
/** An abstract syntax tree of the authors of the article. */
|
|
720
1150
|
readonly byline?: Maybe<StructuredContent>;
|
|
1151
|
+
/** A scalar representing whether the article can be syndicated, ie. published by a third party site. */
|
|
721
1152
|
readonly canBeSyndicated?: Maybe<Scalars['CanBeSyndicated']['output']>;
|
|
1153
|
+
/** Whether comments are enabled on the article. */
|
|
722
1154
|
readonly commentsEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
1155
|
+
/** The parent article, indicating this article is a part of a series or package. */
|
|
723
1156
|
readonly containedIn?: Maybe<Content>;
|
|
1157
|
+
/** A design object containing the theme and layout of the article. */
|
|
724
1158
|
readonly design?: Maybe<Design>;
|
|
1159
|
+
/** The editorial division the article belongs to, eg. 'FT-SpecialReports'. */
|
|
725
1160
|
readonly editorialDesk?: Maybe<Scalars['String']['output']>;
|
|
1161
|
+
/** The first ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'. */
|
|
726
1162
|
readonly firstPublishedDate: Scalars['String']['output'];
|
|
1163
|
+
/** The unique identifier of the article - a uuid or a url. */
|
|
727
1164
|
readonly id: Scalars['ID']['output'];
|
|
1165
|
+
/** The concept to use for instant alert CTAs. */
|
|
728
1166
|
readonly instantAlertConcept?: Maybe<Concept>;
|
|
1167
|
+
/** An image object containing the url and the caption, to be displayed usually before the article content. */
|
|
729
1168
|
readonly mainImage?: Maybe<Image>;
|
|
1169
|
+
/** The party that originated the article, eg. 'FT'. */
|
|
730
1170
|
readonly originatingParty?: Maybe<Scalars['String']['output']>;
|
|
1171
|
+
/** The ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'. */
|
|
731
1172
|
readonly publishedDate: Scalars['String']['output'];
|
|
1173
|
+
/** An introductory paragraph of the article. */
|
|
732
1174
|
readonly standfirst?: Maybe<Scalars['String']['output']>;
|
|
1175
|
+
/** A promotional thumbnail / snapshot of the article. */
|
|
733
1176
|
readonly teaser?: Maybe<Teaser>;
|
|
1177
|
+
/** The title of the article. */
|
|
734
1178
|
readonly title: Scalars['String']['output'];
|
|
1179
|
+
/** A banner located usually at the top of articles containing the title, the standfirst and any images. */
|
|
735
1180
|
readonly topper?: Maybe<Topper>;
|
|
1181
|
+
/** The type of the article, eg. 'Article' or 'Video'. */
|
|
736
1182
|
readonly type: Scalars['ContentType']['output'];
|
|
1183
|
+
/** The url of the concept. Vanity urls replace long, randomly generated urls - they are more user friendly and concise. Relative urls are relative to the current domain. */
|
|
737
1184
|
readonly url: Scalars['String']['output'];
|
|
738
1185
|
};
|
|
739
1186
|
export type PlaceholderBylineArgs = {
|
|
@@ -744,18 +1191,31 @@ export type PlaceholderUrlArgs = {
|
|
|
744
1191
|
vanity?: InputMaybe<Scalars['Boolean']['input']>;
|
|
745
1192
|
};
|
|
746
1193
|
export type PodcastTopper = Topper & TopperWithBrand & TopperWithHeadshot & TopperWithTheme & {
|
|
1194
|
+
/** Whether the topper should have a background box. */
|
|
747
1195
|
readonly backgroundBox?: Maybe<Scalars['Boolean']['output']>;
|
|
1196
|
+
/** The background colour of the topper. */
|
|
748
1197
|
readonly backgroundColour?: Maybe<Scalars['TopperBackgroundColour']['output']>;
|
|
1198
|
+
/** The concept object of the brand, eg. {'type': 'BRAND', 'prefLabel': 'FT Magazine', ...}. */
|
|
749
1199
|
readonly brandConcept?: Maybe<Concept>;
|
|
1200
|
+
/** The concept object describing details of the column author. */
|
|
750
1201
|
readonly columnist?: Maybe<Concept>;
|
|
1202
|
+
/** The concept object to be displayed, eg. {'type': 'TOPIC', 'prefLabel': 'Non-dom tax status', ...}. */
|
|
751
1203
|
readonly displayConcept?: Maybe<Concept>;
|
|
1204
|
+
/** The variant of the follow button to be displayed on the topper. */
|
|
752
1205
|
readonly followButtonVariant?: Maybe<Scalars['FollowButtonVariant']['output']>;
|
|
1206
|
+
/** The concept object of the genre, eg. {'type': 'GENRE', 'prefLabel': 'Opinion', ...}. */
|
|
753
1207
|
readonly genreConcept?: Maybe<Concept>;
|
|
1208
|
+
/** The headline text of the topper. */
|
|
754
1209
|
readonly headline: Scalars['String']['output'];
|
|
1210
|
+
/** The url of the headshot image, eg. for columns with one key author. */
|
|
755
1211
|
readonly headshot?: Maybe<Scalars['String']['output']>;
|
|
1212
|
+
/** An abstract syntax tree of the introduction text. */
|
|
756
1213
|
readonly intro?: Maybe<RichText>;
|
|
1214
|
+
/** Whether the headline should be large. */
|
|
757
1215
|
readonly isLargeHeadline?: Maybe<Scalars['Boolean']['output']>;
|
|
1216
|
+
/** The layout of the topper, eg. 'split-text-left'. */
|
|
758
1217
|
readonly layout?: Maybe<Scalars['String']['output']>;
|
|
1218
|
+
/** Whether the topper should have a text shadow. */
|
|
759
1219
|
readonly textShadow?: Maybe<Scalars['Boolean']['output']>;
|
|
760
1220
|
};
|
|
761
1221
|
export type PodcastTopperHeadshotArgs = {
|
|
@@ -763,8 +1223,11 @@ export type PodcastTopperHeadshotArgs = {
|
|
|
763
1223
|
width?: InputMaybe<Scalars['Int']['input']>;
|
|
764
1224
|
};
|
|
765
1225
|
export type Query = {
|
|
1226
|
+
/** The resolved article content for given uuid. */
|
|
766
1227
|
readonly content: Content;
|
|
1228
|
+
/** The article content as resolved from passed-in content-api json data. */
|
|
767
1229
|
readonly contentFromJSON: Content;
|
|
1230
|
+
/** The version of the schema, eg. 2.0.0. */
|
|
768
1231
|
readonly version: Scalars['String']['output'];
|
|
769
1232
|
};
|
|
770
1233
|
export type QueryContentArgs = {
|
|
@@ -774,18 +1237,23 @@ export type QueryContentFromJsonArgs = {
|
|
|
774
1237
|
content: Scalars['JSON']['input'];
|
|
775
1238
|
};
|
|
776
1239
|
export type RawImage = Reference & {
|
|
1240
|
+
/** The raw image object. */
|
|
777
1241
|
readonly image: Image;
|
|
1242
|
+
/** The type of the reference, eg. 'raw-image'. */
|
|
778
1243
|
readonly type: Scalars['String']['output'];
|
|
779
1244
|
};
|
|
780
1245
|
export type Recommended = Reference & {
|
|
1246
|
+
/** Recommended references contain teaser thumbnails of related articles. */
|
|
781
1247
|
readonly teaser?: Maybe<Teaser>;
|
|
1248
|
+
/** The type of the reference, eg. 'recommended'. */
|
|
782
1249
|
readonly type: Scalars['String']['output'];
|
|
783
1250
|
};
|
|
784
1251
|
export type Reference = {
|
|
1252
|
+
/** The type of the reference, eg. 'image-set'. References are additional data that cannot be loaded by content-tree. They will be appended to content-tree nodes during resolution. */
|
|
785
1253
|
readonly type: Scalars['String']['output'];
|
|
786
1254
|
};
|
|
787
1255
|
export type RichText = {
|
|
788
|
-
/** Raw string of the XML as returned from
|
|
1256
|
+
/** Raw string of the XML as returned from content-api. */
|
|
789
1257
|
readonly raw?: Maybe<Scalars['String']['output']>;
|
|
790
1258
|
/** The source format eg. bodyXML. */
|
|
791
1259
|
readonly source: Scalars['RichTextSource']['output'];
|
|
@@ -793,26 +1261,42 @@ export type RichText = {
|
|
|
793
1261
|
readonly structured: StructuredContent;
|
|
794
1262
|
};
|
|
795
1263
|
export type ScrollyImage = Reference & {
|
|
1264
|
+
/** A set of images with different sizes and formats. */
|
|
796
1265
|
readonly picture?: Maybe<Picture>;
|
|
1266
|
+
/** The type of the reference, eg. 'scrolly-image'. */
|
|
797
1267
|
readonly type: Scalars['String']['output'];
|
|
798
1268
|
};
|
|
799
1269
|
export type SplitTextTopper = Topper & TopperWithBrand & TopperWithImages & TopperWithPackage & TopperWithTheme & {
|
|
1270
|
+
/** Whether the topper should have a background box. */
|
|
800
1271
|
readonly backgroundBox?: Maybe<Scalars['Boolean']['output']>;
|
|
1272
|
+
/** The background colour of the topper. */
|
|
801
1273
|
readonly backgroundColour?: Maybe<Scalars['TopperBackgroundColour']['output']>;
|
|
1274
|
+
/** The concept object of the brand, eg. {'type': 'BRAND', 'prefLabel': 'FT Magazine', ...}. */
|
|
802
1275
|
readonly brandConcept?: Maybe<Concept>;
|
|
1276
|
+
/** The design of the topper, eg. 'standard'. */
|
|
803
1277
|
readonly design?: Maybe<Scalars['String']['output']>;
|
|
1278
|
+
/** The concept object to be displayed, eg. {'type': 'TOPIC', 'prefLabel': 'Non-dom tax status', ...}. */
|
|
804
1279
|
readonly displayConcept?: Maybe<Concept>;
|
|
1280
|
+
/** A fallback image to be used if the 'images' are not availableimages: [Image!]!. */
|
|
805
1281
|
readonly fallbackImage?: Maybe<Image>;
|
|
1282
|
+
/** The variant of the follow button to be displayed on the topper. */
|
|
806
1283
|
readonly followButtonVariant?: Maybe<Scalars['FollowButtonVariant']['output']>;
|
|
1284
|
+
/** The concept object of the genre, eg. {'type': 'GENRE', 'prefLabel': 'Opinion', ...}. */
|
|
807
1285
|
readonly genreConcept?: Maybe<Concept>;
|
|
1286
|
+
/** The headline text of the topper. */
|
|
808
1287
|
readonly headline: Scalars['String']['output'];
|
|
1288
|
+
/** An array of images to be displayed on the topper. */
|
|
809
1289
|
readonly images: ReadonlyArray<Image>;
|
|
1290
|
+
/** An abstract syntax tree of the introduction text. */
|
|
810
1291
|
readonly intro?: Maybe<RichText>;
|
|
1292
|
+
/** Whether the headline should be large. */
|
|
811
1293
|
readonly isLargeHeadline?: Maybe<Scalars['Boolean']['output']>;
|
|
1294
|
+
/** The layout of the topper, eg. 'split-text-left'. */
|
|
812
1295
|
readonly layout?: Maybe<Scalars['String']['output']>;
|
|
1296
|
+
/** Whether the topper should have a text shadow. */
|
|
813
1297
|
readonly textShadow?: Maybe<Scalars['Boolean']['output']>;
|
|
814
1298
|
};
|
|
815
|
-
/** Describes the structure of content as an abstract syntax tree */
|
|
1299
|
+
/** Describes the structure of content as an abstract syntax tree. */
|
|
816
1300
|
export type StructuredContent = {
|
|
817
1301
|
/** An array of objects containing extra information for nodes, which is fetched from external sources eg. Twitter API. */
|
|
818
1302
|
readonly references: ReadonlyArray<Reference>;
|
|
@@ -822,43 +1306,70 @@ export type StructuredContent = {
|
|
|
822
1306
|
readonly tree: Scalars['JSON']['output'];
|
|
823
1307
|
};
|
|
824
1308
|
export type TableOfContents = {
|
|
1309
|
+
/** The formatting of the label, eg. 'part-number'. */
|
|
825
1310
|
readonly labelType?: Maybe<Scalars['String']['output']>;
|
|
1311
|
+
/** The ordering, eg. 'exact-order'. */
|
|
826
1312
|
readonly sequence?: Maybe<Scalars['String']['output']>;
|
|
827
1313
|
};
|
|
828
1314
|
export type Teaser = {
|
|
1315
|
+
/** The date the content of the teaser was first published. */
|
|
829
1316
|
readonly firstPublishedDate?: Maybe<Scalars['String']['output']>;
|
|
1317
|
+
/** The unique identifier of the teaser, a uuid or a url. */
|
|
830
1318
|
readonly id?: Maybe<Scalars['String']['output']>;
|
|
1319
|
+
/** The image to be used as a thumbnail for the teaser. */
|
|
831
1320
|
readonly image?: Maybe<Image>;
|
|
1321
|
+
/** An object containing a map of indicator items to boolean values, eg. accessLevel, isOpinion. */
|
|
832
1322
|
readonly indicators?: Maybe<Indicators>;
|
|
1323
|
+
/** An object containing the metadata details of the teaser, eg. id, url, prefLabel. */
|
|
833
1324
|
readonly metaAltLink?: Maybe<MetaLink>;
|
|
1325
|
+
/** An object containing the metadata details of the teaser, eg. id, url, prefLabel. */
|
|
834
1326
|
readonly metaLink?: Maybe<MetaLink>;
|
|
1327
|
+
/** The text to be displayed before the metadata of the teaser. */
|
|
835
1328
|
readonly metaPrefixText?: Maybe<Scalars['String']['output']>;
|
|
1329
|
+
/** The text to be displayed after the metadata of the teaser. */
|
|
836
1330
|
readonly metaSuffixText?: Maybe<Scalars['String']['output']>;
|
|
1331
|
+
/** The date the content of the teaser was published. */
|
|
837
1332
|
readonly publishedDate?: Maybe<Scalars['String']['output']>;
|
|
1333
|
+
/** The introductory text of the teaser. */
|
|
838
1334
|
readonly standfirst?: Maybe<Scalars['String']['output']>;
|
|
1335
|
+
/** The theme to use for the teaser, eg. 'opinion' or 'news'. */
|
|
839
1336
|
readonly theme?: Maybe<Scalars['String']['output']>;
|
|
1337
|
+
/** The title of the teaser. */
|
|
840
1338
|
readonly title?: Maybe<Scalars['String']['output']>;
|
|
1339
|
+
/** The type of the teaser, eg. 'article' or 'video'. */
|
|
841
1340
|
readonly type?: Maybe<Scalars['String']['output']>;
|
|
1341
|
+
/** The url of the content that the teaser refers to. */
|
|
842
1342
|
readonly url: Scalars['String']['output'];
|
|
843
1343
|
};
|
|
844
1344
|
export type TeaserUrlArgs = {
|
|
845
1345
|
relative?: InputMaybe<Scalars['Boolean']['input']>;
|
|
846
1346
|
};
|
|
847
1347
|
export type Topper = {
|
|
1348
|
+
/** Whether the topper should have a background box. */
|
|
848
1349
|
readonly backgroundBox?: Maybe<Scalars['Boolean']['output']>;
|
|
1350
|
+
/** The background colour of the topper. */
|
|
849
1351
|
readonly backgroundColour?: Maybe<Scalars['TopperBackgroundColour']['output']>;
|
|
1352
|
+
/** The concept object to be displayed, eg. {'type': 'TOPIC', 'prefLabel': 'Non-dom tax status', ...}. */
|
|
850
1353
|
readonly displayConcept?: Maybe<Concept>;
|
|
1354
|
+
/** The variant of the follow button to be displayed on the topper. */
|
|
851
1355
|
readonly followButtonVariant?: Maybe<Scalars['FollowButtonVariant']['output']>;
|
|
1356
|
+
/** The concept object of the genre, eg. {'type': 'GENRE', 'prefLabel': 'Opinion', ...}. */
|
|
852
1357
|
readonly genreConcept?: Maybe<Concept>;
|
|
1358
|
+
/** The headline text of the topper. */
|
|
853
1359
|
readonly headline: Scalars['String']['output'];
|
|
1360
|
+
/** An abstract syntax tree of the introduction text. */
|
|
854
1361
|
readonly intro?: Maybe<RichText>;
|
|
1362
|
+
/** Whether the topper should have a text shadow. */
|
|
855
1363
|
readonly textShadow?: Maybe<Scalars['Boolean']['output']>;
|
|
856
1364
|
};
|
|
857
1365
|
export type TopperWithBrand = {
|
|
1366
|
+
/** The concept object of the brand, eg. {'type': 'BRAND', 'prefLabel': 'FT Magazine', ...}. */
|
|
858
1367
|
readonly brandConcept?: Maybe<Concept>;
|
|
1368
|
+
/** The concept object of the genre, eg. {'type': 'GENRE', 'prefLabel': 'Opinion', ...}. */
|
|
859
1369
|
readonly genreConcept?: Maybe<Concept>;
|
|
860
1370
|
};
|
|
861
1371
|
export type TopperWithHeadshot = {
|
|
1372
|
+
/** The url of the headshot image, eg. for columns with one key author. */
|
|
862
1373
|
readonly headshot?: Maybe<Scalars['String']['output']>;
|
|
863
1374
|
};
|
|
864
1375
|
export type TopperWithHeadshotHeadshotArgs = {
|
|
@@ -866,43 +1377,73 @@ export type TopperWithHeadshotHeadshotArgs = {
|
|
|
866
1377
|
width?: InputMaybe<Scalars['Int']['input']>;
|
|
867
1378
|
};
|
|
868
1379
|
export type TopperWithImages = {
|
|
1380
|
+
/** A fallback image to be used if the 'images' are not available. */
|
|
869
1381
|
readonly fallbackImage?: Maybe<Image>;
|
|
1382
|
+
/** An array of images to be displayed on the topper. */
|
|
870
1383
|
readonly images: ReadonlyArray<Image>;
|
|
871
1384
|
};
|
|
872
1385
|
export type TopperWithPackage = {
|
|
1386
|
+
/** The design of the topper, eg. 'standard'. */
|
|
873
1387
|
readonly design?: Maybe<Scalars['String']['output']>;
|
|
874
1388
|
};
|
|
875
1389
|
export type TopperWithTheme = {
|
|
1390
|
+
/** Whether the headline should be large. */
|
|
876
1391
|
readonly isLargeHeadline?: Maybe<Scalars['Boolean']['output']>;
|
|
1392
|
+
/** The layout of the topper, eg. 'split-text-left'. */
|
|
877
1393
|
readonly layout?: Maybe<Scalars['String']['output']>;
|
|
878
1394
|
};
|
|
879
1395
|
export type Tweet = Reference & {
|
|
1396
|
+
/** The raw HTML of the tweet. */
|
|
880
1397
|
readonly html?: Maybe<Scalars['String']['output']>;
|
|
1398
|
+
/** The type of the reference, eg. 'tweet'. */
|
|
881
1399
|
readonly type: Scalars['String']['output'];
|
|
882
1400
|
};
|
|
883
1401
|
export type Video = Content & {
|
|
1402
|
+
/** A scalar representing the access level of the article, eg. 'free'. */
|
|
884
1403
|
readonly accessLevel?: Maybe<Scalars['AccessLevel']['output']>;
|
|
1404
|
+
/** An alternative introductory paragraph of the article. */
|
|
885
1405
|
readonly altStandfirst?: Maybe<AltStandfirst>;
|
|
1406
|
+
/** An alternative title of the article. */
|
|
886
1407
|
readonly altTitle?: Maybe<AltTitle>;
|
|
1408
|
+
/** An array of concepts related to the article, eg. organisations or topics. */
|
|
887
1409
|
readonly annotations?: Maybe<ReadonlyArray<Maybe<Concept>>>;
|
|
1410
|
+
/** An abstract syntax tree of the article content. */
|
|
888
1411
|
readonly body?: Maybe<RichText>;
|
|
1412
|
+
/** The raw string of the XML as returned from ContentAPI. */
|
|
889
1413
|
readonly bodyXML?: Maybe<Scalars['String']['output']>;
|
|
1414
|
+
/** An abstract syntax tree of the authors of the article. */
|
|
890
1415
|
readonly byline?: Maybe<StructuredContent>;
|
|
1416
|
+
/** A scalar representing whether the article can be syndicated, ie. published by a third party site. */
|
|
891
1417
|
readonly canBeSyndicated?: Maybe<Scalars['CanBeSyndicated']['output']>;
|
|
1418
|
+
/** Whether comments are enabled on the article. */
|
|
892
1419
|
readonly commentsEnabled?: Maybe<Scalars['Boolean']['output']>;
|
|
1420
|
+
/** A design object containing the theme and layout of the article. */
|
|
893
1421
|
readonly design?: Maybe<Design>;
|
|
1422
|
+
/** The editorial division the article belongs to, eg. 'FT-SpecialReports'. */
|
|
894
1423
|
readonly editorialDesk?: Maybe<Scalars['String']['output']>;
|
|
1424
|
+
/** The first ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'. */
|
|
895
1425
|
readonly firstPublishedDate: Scalars['String']['output'];
|
|
1426
|
+
/** The unique identifier of the article - a uuid or a url. */
|
|
896
1427
|
readonly id: Scalars['ID']['output'];
|
|
1428
|
+
/** The concept to use for instant alert CTAs. */
|
|
897
1429
|
readonly instantAlertConcept?: Maybe<Concept>;
|
|
1430
|
+
/** An image object containing the url and the caption, to be displayed usually before the article content. */
|
|
898
1431
|
readonly mainImage?: Maybe<Image>;
|
|
1432
|
+
/** The party that originated the article, eg. 'FT'. */
|
|
899
1433
|
readonly originatingParty?: Maybe<Scalars['String']['output']>;
|
|
1434
|
+
/** The ISO string date the article was published, eg. '2024-04-03T10:35:52.443Z'. */
|
|
900
1435
|
readonly publishedDate: Scalars['String']['output'];
|
|
1436
|
+
/** An introductory paragraph of the article. */
|
|
901
1437
|
readonly standfirst?: Maybe<Scalars['String']['output']>;
|
|
1438
|
+
/** A promotional thumbnail / snapshot of the article. */
|
|
902
1439
|
readonly teaser?: Maybe<Teaser>;
|
|
1440
|
+
/** The title of the article. */
|
|
903
1441
|
readonly title: Scalars['String']['output'];
|
|
1442
|
+
/** A banner located usually at the top of articles containing the title, the standfirst and any images. */
|
|
904
1443
|
readonly topper?: Maybe<Topper>;
|
|
1444
|
+
/** The type of the article, eg. 'Article' or 'Video'. */
|
|
905
1445
|
readonly type: Scalars['ContentType']['output'];
|
|
1446
|
+
/** The url of the concept. Vanity urls replace long, randomly generated urls - they are more user friendly and concise. Relative urls are relative to the current domain. */
|
|
906
1447
|
readonly url: Scalars['String']['output'];
|
|
907
1448
|
};
|
|
908
1449
|
export type VideoBylineArgs = {
|
|
@@ -913,8 +1454,11 @@ export type VideoUrlArgs = {
|
|
|
913
1454
|
vanity?: InputMaybe<Scalars['Boolean']['input']>;
|
|
914
1455
|
};
|
|
915
1456
|
export type VideoReference = Reference & {
|
|
1457
|
+
/** The unique identifier of the video - a uuid or a url. */
|
|
916
1458
|
readonly id: Scalars['String']['output'];
|
|
1459
|
+
/** The title of the video. */
|
|
917
1460
|
readonly title: Scalars['String']['output'];
|
|
1461
|
+
/** The type of the reference, eg. 'video'. */
|
|
918
1462
|
readonly type: Scalars['String']['output'];
|
|
919
1463
|
};
|
|
920
1464
|
export type WithIndex<TObject> = TObject & Record<string, any>;
|