@financial-times/cp-content-pipeline-schema 3.12.0 → 3.12.1
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 +4 -4
- package/lib/model/schemas/capi/article.d.ts +29 -34
- package/lib/model/schemas/capi/audio.d.ts +29 -34
- package/lib/model/schemas/capi/base-schema.d.ts +56 -68
- package/lib/model/schemas/capi/content-package.d.ts +30 -52
- package/lib/model/schemas/capi/custom-code-component.d.ts +34 -39
- package/lib/model/schemas/capi/index.d.ts +180 -227
- package/lib/model/schemas/capi/live-blog-package.d.ts +29 -34
- package/lib/model/schemas/capi/placeholder.d.ts +29 -34
- package/lib/model/schemas/capi/video.d.ts +29 -34
- package/package.json +3 -3
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,15 +1,7 @@
|
|
|
1
|
-
export declare const contentPackageSchema: import("zod").ZodObject<
|
|
1
|
+
export declare const contentPackageSchema: import("zod").ZodObject<{
|
|
2
2
|
title: import("zod").ZodString;
|
|
3
|
-
standfirst: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4
3
|
byline: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5
4
|
bodyXML: import("zod").ZodString;
|
|
6
|
-
summary: import("zod").ZodObject<{
|
|
7
|
-
bodyXML: import("zod").ZodString;
|
|
8
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
9
|
-
bodyXML: string;
|
|
10
|
-
}, {
|
|
11
|
-
bodyXML: string;
|
|
12
|
-
}>;
|
|
13
5
|
alternativeTitles: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
14
6
|
promotionalTitle: import("zod").ZodString;
|
|
15
7
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -17,14 +9,6 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
|
|
|
17
9
|
}, {
|
|
18
10
|
promotionalTitle: string;
|
|
19
11
|
}>>;
|
|
20
|
-
alternativeStandfirsts: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
21
|
-
promotionalStandfirst: import("zod").ZodOptional<import("zod").ZodString>;
|
|
22
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
23
|
-
promotionalStandfirst?: string | undefined;
|
|
24
|
-
}, {
|
|
25
|
-
promotionalStandfirst?: string | undefined;
|
|
26
|
-
}>>;
|
|
27
|
-
pinnedPosts: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
28
12
|
contains: import("zod").ZodArray<import("zod").ZodObject<{
|
|
29
13
|
id: import("zod").ZodString;
|
|
30
14
|
apiUrl: import("zod").ZodString;
|
|
@@ -42,8 +26,7 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
|
|
|
42
26
|
}, {
|
|
43
27
|
theme: "special-report" | "extra" | "basic" | "extra-wide";
|
|
44
28
|
}>;
|
|
45
|
-
|
|
46
|
-
}, "title" | "byline" | "bodyXML" | "summary" | "alternativeTitles" | "contains" | "design">, {
|
|
29
|
+
} & {
|
|
47
30
|
summary: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
48
31
|
bodyXML: import("zod").ZodString;
|
|
49
32
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -51,9 +34,9 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
|
|
|
51
34
|
}, {
|
|
52
35
|
bodyXML: string;
|
|
53
36
|
}>>;
|
|
54
|
-
}
|
|
37
|
+
} & Pick<{
|
|
55
38
|
id: import("zod").ZodString;
|
|
56
|
-
annotations: import("zod").ZodArray<import("zod").ZodObject<
|
|
39
|
+
annotations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
57
40
|
id: import("zod").ZodString;
|
|
58
41
|
apiUrl: import("zod").ZodString;
|
|
59
42
|
directType: import("zod").ZodString;
|
|
@@ -61,9 +44,9 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
|
|
|
61
44
|
type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
62
45
|
types: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
63
46
|
headshot: import("zod").ZodOptional<import("zod").ZodString>;
|
|
64
|
-
}
|
|
47
|
+
} & {
|
|
65
48
|
predicate: import("zod").ZodString;
|
|
66
|
-
}
|
|
49
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
67
50
|
id: string;
|
|
68
51
|
apiUrl: string;
|
|
69
52
|
directType: string;
|
|
@@ -167,7 +150,7 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
|
|
|
167
150
|
clientName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
168
151
|
disclaimerType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"co-created-content">, import("zod").ZodLiteral<"client-supplied-content">, import("zod").ZodLiteral<"ft-studios-risky">, import("zod").ZodLiteral<"auditor">]>>;
|
|
169
152
|
internalAnalyticsTags: import("zod").ZodOptional<import("zod").ZodString>;
|
|
170
|
-
}, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "lastModified" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments" | "tableOfContents" | "internalAnalyticsTags"
|
|
153
|
+
}, "id" | "type" | "types" | "publishedDate" | "annotations" | "webUrl" | "canonicalWebUrl" | "standout" | "firstPublishedDate" | "publishReference" | "lastModified" | "editorialDesk" | "accessLevel" | "canBeSyndicated" | "canBeDistributed" | "topper" | "comments" | "tableOfContents" | "internalAnalyticsTags"> & Pick<{
|
|
171
154
|
mainImage: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
|
|
172
155
|
id: import("zod").ZodString;
|
|
173
156
|
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/ImageSet">;
|
|
@@ -218,9 +201,8 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
|
|
|
218
201
|
maxDisplayWidth?: string | undefined;
|
|
219
202
|
pixelWidth?: number | undefined;
|
|
220
203
|
pixelHeight?: number | undefined;
|
|
221
|
-
}>, import("zod").ZodObject<
|
|
204
|
+
}>, import("zod").ZodObject<{
|
|
222
205
|
id: import("zod").ZodString;
|
|
223
|
-
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
224
206
|
format: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"standardInline">, import("zod").ZodLiteral<"mobile">, import("zod").ZodLiteral<"desktop">, import("zod").ZodLiteral<"standard">, import("zod").ZodLiteral<"square">, import("zod").ZodLiteral<"ftEditSquare">, import("zod").ZodLiteral<"wide">, import("zod").ZodLiteral<"portrait">, import("zod").ZodLiteral<"landscape">]>>;
|
|
225
207
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
226
208
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -236,9 +218,9 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
|
|
|
236
218
|
maxDisplayWidth: import("zod").ZodOptional<import("zod").ZodString>;
|
|
237
219
|
pixelWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
238
220
|
pixelHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
239
|
-
}
|
|
221
|
+
} & {
|
|
240
222
|
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
241
|
-
}
|
|
223
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
242
224
|
id: string;
|
|
243
225
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
244
226
|
binaryUrl: string;
|
|
@@ -379,9 +361,8 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
|
|
|
379
361
|
maxDisplayWidth?: string | undefined;
|
|
380
362
|
pixelWidth?: number | undefined;
|
|
381
363
|
pixelHeight?: number | undefined;
|
|
382
|
-
}>, import("zod").ZodObject<
|
|
364
|
+
}>, import("zod").ZodObject<{
|
|
383
365
|
id: import("zod").ZodString;
|
|
384
|
-
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
385
366
|
format: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"standardInline">, import("zod").ZodLiteral<"mobile">, import("zod").ZodLiteral<"desktop">, import("zod").ZodLiteral<"standard">, import("zod").ZodLiteral<"square">, import("zod").ZodLiteral<"ftEditSquare">, import("zod").ZodLiteral<"wide">, import("zod").ZodLiteral<"portrait">, import("zod").ZodLiteral<"landscape">]>>;
|
|
386
367
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
387
368
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -397,9 +378,9 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
|
|
|
397
378
|
maxDisplayWidth: import("zod").ZodOptional<import("zod").ZodString>;
|
|
398
379
|
pixelWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
399
380
|
pixelHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
400
|
-
}
|
|
381
|
+
} & {
|
|
401
382
|
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
402
|
-
}
|
|
383
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
403
384
|
id: string;
|
|
404
385
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
405
386
|
binaryUrl: string;
|
|
@@ -477,9 +458,8 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
|
|
|
477
458
|
maxDisplayWidth?: string | undefined;
|
|
478
459
|
pixelWidth?: number | undefined;
|
|
479
460
|
pixelHeight?: number | undefined;
|
|
480
|
-
}>, import("zod").ZodObject<
|
|
461
|
+
}>, import("zod").ZodObject<{
|
|
481
462
|
id: import("zod").ZodString;
|
|
482
|
-
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
483
463
|
format: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"standardInline">, import("zod").ZodLiteral<"mobile">, import("zod").ZodLiteral<"desktop">, import("zod").ZodLiteral<"standard">, import("zod").ZodLiteral<"square">, import("zod").ZodLiteral<"ftEditSquare">, import("zod").ZodLiteral<"wide">, import("zod").ZodLiteral<"portrait">, import("zod").ZodLiteral<"landscape">]>>;
|
|
484
464
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
485
465
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -495,9 +475,9 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
|
|
|
495
475
|
maxDisplayWidth: import("zod").ZodOptional<import("zod").ZodString>;
|
|
496
476
|
pixelWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
497
477
|
pixelHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
498
|
-
}
|
|
478
|
+
} & {
|
|
499
479
|
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
500
|
-
}
|
|
480
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
501
481
|
id: string;
|
|
502
482
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
503
483
|
binaryUrl: string;
|
|
@@ -735,9 +715,8 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
|
|
|
735
715
|
maxDisplayWidth?: string | undefined;
|
|
736
716
|
pixelWidth?: number | undefined;
|
|
737
717
|
pixelHeight?: number | undefined;
|
|
738
|
-
}>, import("zod").ZodObject<
|
|
718
|
+
}>, import("zod").ZodObject<{
|
|
739
719
|
id: import("zod").ZodString;
|
|
740
|
-
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
741
720
|
format: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"standardInline">, import("zod").ZodLiteral<"mobile">, import("zod").ZodLiteral<"desktop">, import("zod").ZodLiteral<"standard">, import("zod").ZodLiteral<"square">, import("zod").ZodLiteral<"ftEditSquare">, import("zod").ZodLiteral<"wide">, import("zod").ZodLiteral<"portrait">, import("zod").ZodLiteral<"landscape">]>>;
|
|
742
721
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
743
722
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -753,9 +732,9 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
|
|
|
753
732
|
maxDisplayWidth: import("zod").ZodOptional<import("zod").ZodString>;
|
|
754
733
|
pixelWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
755
734
|
pixelHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
756
|
-
}
|
|
735
|
+
} & {
|
|
757
736
|
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
758
|
-
}
|
|
737
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
759
738
|
id: string;
|
|
760
739
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
761
740
|
binaryUrl: string;
|
|
@@ -932,9 +911,8 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
|
|
|
932
911
|
maxDisplayWidth?: string | undefined;
|
|
933
912
|
pixelWidth?: number | undefined;
|
|
934
913
|
pixelHeight?: number | undefined;
|
|
935
|
-
}>, import("zod").ZodObject<
|
|
914
|
+
}>, import("zod").ZodObject<{
|
|
936
915
|
id: import("zod").ZodString;
|
|
937
|
-
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
938
916
|
format: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"standardInline">, import("zod").ZodLiteral<"mobile">, import("zod").ZodLiteral<"desktop">, import("zod").ZodLiteral<"standard">, import("zod").ZodLiteral<"square">, import("zod").ZodLiteral<"ftEditSquare">, import("zod").ZodLiteral<"wide">, import("zod").ZodLiteral<"portrait">, import("zod").ZodLiteral<"landscape">]>>;
|
|
939
917
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
940
918
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -950,9 +928,9 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
|
|
|
950
928
|
maxDisplayWidth: import("zod").ZodOptional<import("zod").ZodString>;
|
|
951
929
|
pixelWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
952
930
|
pixelHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
953
|
-
}
|
|
931
|
+
} & {
|
|
954
932
|
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
955
|
-
}
|
|
933
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
956
934
|
id: string;
|
|
957
935
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
958
936
|
binaryUrl: string;
|
|
@@ -1314,9 +1292,9 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
|
|
|
1314
1292
|
}[] | undefined;
|
|
1315
1293
|
transcript?: string | undefined;
|
|
1316
1294
|
} | undefined;
|
|
1317
|
-
}>, import("zod").ZodObject<
|
|
1295
|
+
}>, import("zod").ZodObject<Pick<{
|
|
1318
1296
|
id: import("zod").ZodString;
|
|
1319
|
-
annotations: import("zod").ZodArray<import("zod").ZodObject<
|
|
1297
|
+
annotations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1320
1298
|
id: import("zod").ZodString;
|
|
1321
1299
|
apiUrl: import("zod").ZodString;
|
|
1322
1300
|
directType: import("zod").ZodString;
|
|
@@ -1324,9 +1302,9 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
|
|
|
1324
1302
|
type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1325
1303
|
types: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
1326
1304
|
headshot: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1327
|
-
}
|
|
1305
|
+
} & {
|
|
1328
1306
|
predicate: import("zod").ZodString;
|
|
1329
|
-
}
|
|
1307
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1330
1308
|
id: string;
|
|
1331
1309
|
apiUrl: string;
|
|
1332
1310
|
directType: string;
|
|
@@ -1430,7 +1408,7 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
|
|
|
1430
1408
|
clientName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1431
1409
|
disclaimerType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"co-created-content">, import("zod").ZodLiteral<"client-supplied-content">, import("zod").ZodLiteral<"ft-studios-risky">, import("zod").ZodLiteral<"auditor">]>>;
|
|
1432
1410
|
internalAnalyticsTags: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1433
|
-
}, "id" | "publishedDate" | "canonicalWebUrl" | "firstPublishedDate" | "publishReference" | "canBeSyndicated" | "canBeDistributed"
|
|
1411
|
+
}, "id" | "publishedDate" | "canonicalWebUrl" | "firstPublishedDate" | "publishReference" | "canBeSyndicated" | "canBeDistributed"> & Pick<{
|
|
1434
1412
|
title: import("zod").ZodString;
|
|
1435
1413
|
standfirst: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1436
1414
|
byline: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1475,13 +1453,13 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
|
|
|
1475
1453
|
theme: "special-report" | "extra" | "basic" | "extra-wide";
|
|
1476
1454
|
}>;
|
|
1477
1455
|
transcript: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1478
|
-
}, "bodyXML"
|
|
1456
|
+
}, "bodyXML"> & {
|
|
1479
1457
|
apiUrl: import("zod").ZodString;
|
|
1480
1458
|
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/CustomCodeComponent">;
|
|
1481
1459
|
path: import("zod").ZodString;
|
|
1482
1460
|
versionRange: import("zod").ZodString;
|
|
1483
1461
|
attributes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodUndefined]>>;
|
|
1484
|
-
}
|
|
1462
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1485
1463
|
id: string;
|
|
1486
1464
|
apiUrl: string;
|
|
1487
1465
|
type: "http://www.ft.com/ontology/content/CustomCodeComponent";
|
|
@@ -1526,7 +1504,7 @@ export declare const contentPackageSchema: import("zod").ZodObject<import("zod")
|
|
|
1526
1504
|
mediaType: string;
|
|
1527
1505
|
filesize?: number | undefined;
|
|
1528
1506
|
}>, "many">>;
|
|
1529
|
-
}, "mainImage" | "leadImages" | "leadFlourish"
|
|
1507
|
+
}, "mainImage" | "leadImages" | "leadFlourish">, "strip", import("zod").ZodTypeAny, {
|
|
1530
1508
|
id: string;
|
|
1531
1509
|
types: string[];
|
|
1532
1510
|
title: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const customCodeComponentSchema: import("zod").ZodObject<
|
|
1
|
+
export declare const customCodeComponentSchema: import("zod").ZodObject<Omit<Pick<{
|
|
2
2
|
id: import("zod").ZodString;
|
|
3
|
-
annotations: import("zod").ZodArray<import("zod").ZodObject<
|
|
3
|
+
annotations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
4
4
|
id: import("zod").ZodString;
|
|
5
5
|
apiUrl: import("zod").ZodString;
|
|
6
6
|
directType: import("zod").ZodString;
|
|
@@ -8,9 +8,9 @@ export declare const customCodeComponentSchema: import("zod").ZodObject<import("
|
|
|
8
8
|
type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
9
9
|
types: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
10
10
|
headshot: import("zod").ZodOptional<import("zod").ZodString>;
|
|
11
|
-
}
|
|
11
|
+
} & {
|
|
12
12
|
predicate: import("zod").ZodString;
|
|
13
|
-
}
|
|
13
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
14
14
|
id: string;
|
|
15
15
|
apiUrl: string;
|
|
16
16
|
directType: string;
|
|
@@ -114,7 +114,7 @@ export declare const customCodeComponentSchema: import("zod").ZodObject<import("
|
|
|
114
114
|
clientName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
115
115
|
disclaimerType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"co-created-content">, import("zod").ZodLiteral<"client-supplied-content">, import("zod").ZodLiteral<"ft-studios-risky">, import("zod").ZodLiteral<"auditor">]>>;
|
|
116
116
|
internalAnalyticsTags: import("zod").ZodOptional<import("zod").ZodString>;
|
|
117
|
-
}, "id" | "publishedDate" | "canonicalWebUrl" | "firstPublishedDate" | "publishReference" | "canBeSyndicated" | "canBeDistributed"
|
|
117
|
+
}, "id" | "publishedDate" | "canonicalWebUrl" | "firstPublishedDate" | "publishReference" | "canBeSyndicated" | "canBeDistributed"> & Pick<{
|
|
118
118
|
title: import("zod").ZodString;
|
|
119
119
|
standfirst: import("zod").ZodOptional<import("zod").ZodString>;
|
|
120
120
|
byline: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -159,15 +159,15 @@ export declare const customCodeComponentSchema: import("zod").ZodObject<import("
|
|
|
159
159
|
theme: "special-report" | "extra" | "basic" | "extra-wide";
|
|
160
160
|
}>;
|
|
161
161
|
transcript: import("zod").ZodOptional<import("zod").ZodString>;
|
|
162
|
-
}, "bodyXML"
|
|
162
|
+
}, "bodyXML"> & {
|
|
163
163
|
apiUrl: import("zod").ZodString;
|
|
164
164
|
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/CustomCodeComponent">;
|
|
165
165
|
path: import("zod").ZodString;
|
|
166
166
|
versionRange: import("zod").ZodString;
|
|
167
167
|
attributes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodUndefined]>>;
|
|
168
|
-
}
|
|
168
|
+
}, "type"> & Pick<{
|
|
169
169
|
id: import("zod").ZodString;
|
|
170
|
-
annotations: import("zod").ZodArray<import("zod").ZodObject<
|
|
170
|
+
annotations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
171
171
|
id: import("zod").ZodString;
|
|
172
172
|
apiUrl: import("zod").ZodString;
|
|
173
173
|
directType: import("zod").ZodString;
|
|
@@ -175,9 +175,9 @@ export declare const customCodeComponentSchema: import("zod").ZodObject<import("
|
|
|
175
175
|
type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
176
176
|
types: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
177
177
|
headshot: import("zod").ZodOptional<import("zod").ZodString>;
|
|
178
|
-
}
|
|
178
|
+
} & {
|
|
179
179
|
predicate: import("zod").ZodString;
|
|
180
|
-
}
|
|
180
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
181
181
|
id: string;
|
|
182
182
|
apiUrl: string;
|
|
183
183
|
directType: string;
|
|
@@ -281,7 +281,7 @@ export declare const customCodeComponentSchema: import("zod").ZodObject<import("
|
|
|
281
281
|
clientName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
282
282
|
disclaimerType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"co-created-content">, import("zod").ZodLiteral<"client-supplied-content">, import("zod").ZodLiteral<"ft-studios-risky">, import("zod").ZodLiteral<"auditor">]>>;
|
|
283
283
|
internalAnalyticsTags: import("zod").ZodOptional<import("zod").ZodString>;
|
|
284
|
-
}, "types" | "annotations"
|
|
284
|
+
}, "types" | "annotations"> & Pick<{
|
|
285
285
|
mainImage: import("zod").ZodOptional<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
|
|
286
286
|
id: import("zod").ZodString;
|
|
287
287
|
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/ImageSet">;
|
|
@@ -332,9 +332,8 @@ export declare const customCodeComponentSchema: import("zod").ZodObject<import("
|
|
|
332
332
|
maxDisplayWidth?: string | undefined;
|
|
333
333
|
pixelWidth?: number | undefined;
|
|
334
334
|
pixelHeight?: number | undefined;
|
|
335
|
-
}>, import("zod").ZodObject<
|
|
335
|
+
}>, import("zod").ZodObject<{
|
|
336
336
|
id: import("zod").ZodString;
|
|
337
|
-
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
338
337
|
format: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"standardInline">, import("zod").ZodLiteral<"mobile">, import("zod").ZodLiteral<"desktop">, import("zod").ZodLiteral<"standard">, import("zod").ZodLiteral<"square">, import("zod").ZodLiteral<"ftEditSquare">, import("zod").ZodLiteral<"wide">, import("zod").ZodLiteral<"portrait">, import("zod").ZodLiteral<"landscape">]>>;
|
|
339
338
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
340
339
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -350,9 +349,9 @@ export declare const customCodeComponentSchema: import("zod").ZodObject<import("
|
|
|
350
349
|
maxDisplayWidth: import("zod").ZodOptional<import("zod").ZodString>;
|
|
351
350
|
pixelWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
352
351
|
pixelHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
353
|
-
}
|
|
352
|
+
} & {
|
|
354
353
|
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
355
|
-
}
|
|
354
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
356
355
|
id: string;
|
|
357
356
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
358
357
|
binaryUrl: string;
|
|
@@ -493,9 +492,8 @@ export declare const customCodeComponentSchema: import("zod").ZodObject<import("
|
|
|
493
492
|
maxDisplayWidth?: string | undefined;
|
|
494
493
|
pixelWidth?: number | undefined;
|
|
495
494
|
pixelHeight?: number | undefined;
|
|
496
|
-
}>, import("zod").ZodObject<
|
|
495
|
+
}>, import("zod").ZodObject<{
|
|
497
496
|
id: import("zod").ZodString;
|
|
498
|
-
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
499
497
|
format: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"standardInline">, import("zod").ZodLiteral<"mobile">, import("zod").ZodLiteral<"desktop">, import("zod").ZodLiteral<"standard">, import("zod").ZodLiteral<"square">, import("zod").ZodLiteral<"ftEditSquare">, import("zod").ZodLiteral<"wide">, import("zod").ZodLiteral<"portrait">, import("zod").ZodLiteral<"landscape">]>>;
|
|
500
498
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
501
499
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -511,9 +509,9 @@ export declare const customCodeComponentSchema: import("zod").ZodObject<import("
|
|
|
511
509
|
maxDisplayWidth: import("zod").ZodOptional<import("zod").ZodString>;
|
|
512
510
|
pixelWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
513
511
|
pixelHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
514
|
-
}
|
|
512
|
+
} & {
|
|
515
513
|
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
516
|
-
}
|
|
514
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
517
515
|
id: string;
|
|
518
516
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
519
517
|
binaryUrl: string;
|
|
@@ -591,9 +589,8 @@ export declare const customCodeComponentSchema: import("zod").ZodObject<import("
|
|
|
591
589
|
maxDisplayWidth?: string | undefined;
|
|
592
590
|
pixelWidth?: number | undefined;
|
|
593
591
|
pixelHeight?: number | undefined;
|
|
594
|
-
}>, import("zod").ZodObject<
|
|
592
|
+
}>, import("zod").ZodObject<{
|
|
595
593
|
id: import("zod").ZodString;
|
|
596
|
-
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
597
594
|
format: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"standardInline">, import("zod").ZodLiteral<"mobile">, import("zod").ZodLiteral<"desktop">, import("zod").ZodLiteral<"standard">, import("zod").ZodLiteral<"square">, import("zod").ZodLiteral<"ftEditSquare">, import("zod").ZodLiteral<"wide">, import("zod").ZodLiteral<"portrait">, import("zod").ZodLiteral<"landscape">]>>;
|
|
598
595
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
599
596
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -609,9 +606,9 @@ export declare const customCodeComponentSchema: import("zod").ZodObject<import("
|
|
|
609
606
|
maxDisplayWidth: import("zod").ZodOptional<import("zod").ZodString>;
|
|
610
607
|
pixelWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
611
608
|
pixelHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
612
|
-
}
|
|
609
|
+
} & {
|
|
613
610
|
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
614
|
-
}
|
|
611
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
615
612
|
id: string;
|
|
616
613
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
617
614
|
binaryUrl: string;
|
|
@@ -849,9 +846,8 @@ export declare const customCodeComponentSchema: import("zod").ZodObject<import("
|
|
|
849
846
|
maxDisplayWidth?: string | undefined;
|
|
850
847
|
pixelWidth?: number | undefined;
|
|
851
848
|
pixelHeight?: number | undefined;
|
|
852
|
-
}>, import("zod").ZodObject<
|
|
849
|
+
}>, import("zod").ZodObject<{
|
|
853
850
|
id: import("zod").ZodString;
|
|
854
|
-
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
855
851
|
format: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"standardInline">, import("zod").ZodLiteral<"mobile">, import("zod").ZodLiteral<"desktop">, import("zod").ZodLiteral<"standard">, import("zod").ZodLiteral<"square">, import("zod").ZodLiteral<"ftEditSquare">, import("zod").ZodLiteral<"wide">, import("zod").ZodLiteral<"portrait">, import("zod").ZodLiteral<"landscape">]>>;
|
|
856
852
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
857
853
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -867,9 +863,9 @@ export declare const customCodeComponentSchema: import("zod").ZodObject<import("
|
|
|
867
863
|
maxDisplayWidth: import("zod").ZodOptional<import("zod").ZodString>;
|
|
868
864
|
pixelWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
869
865
|
pixelHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
870
|
-
}
|
|
866
|
+
} & {
|
|
871
867
|
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
872
|
-
}
|
|
868
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
873
869
|
id: string;
|
|
874
870
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
875
871
|
binaryUrl: string;
|
|
@@ -1046,9 +1042,8 @@ export declare const customCodeComponentSchema: import("zod").ZodObject<import("
|
|
|
1046
1042
|
maxDisplayWidth?: string | undefined;
|
|
1047
1043
|
pixelWidth?: number | undefined;
|
|
1048
1044
|
pixelHeight?: number | undefined;
|
|
1049
|
-
}>, import("zod").ZodObject<
|
|
1045
|
+
}>, import("zod").ZodObject<{
|
|
1050
1046
|
id: import("zod").ZodString;
|
|
1051
|
-
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
1052
1047
|
format: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"standardInline">, import("zod").ZodLiteral<"mobile">, import("zod").ZodLiteral<"desktop">, import("zod").ZodLiteral<"standard">, import("zod").ZodLiteral<"square">, import("zod").ZodLiteral<"ftEditSquare">, import("zod").ZodLiteral<"wide">, import("zod").ZodLiteral<"portrait">, import("zod").ZodLiteral<"landscape">]>>;
|
|
1053
1048
|
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1054
1049
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1064,9 +1059,9 @@ export declare const customCodeComponentSchema: import("zod").ZodObject<import("
|
|
|
1064
1059
|
maxDisplayWidth: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1065
1060
|
pixelWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1066
1061
|
pixelHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1067
|
-
}
|
|
1062
|
+
} & {
|
|
1068
1063
|
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
1069
|
-
}
|
|
1064
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1070
1065
|
id: string;
|
|
1071
1066
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
1072
1067
|
binaryUrl: string;
|
|
@@ -1428,9 +1423,9 @@ export declare const customCodeComponentSchema: import("zod").ZodObject<import("
|
|
|
1428
1423
|
}[] | undefined;
|
|
1429
1424
|
transcript?: string | undefined;
|
|
1430
1425
|
} | undefined;
|
|
1431
|
-
}>, import("zod").ZodObject<
|
|
1426
|
+
}>, import("zod").ZodObject<Pick<{
|
|
1432
1427
|
id: import("zod").ZodString;
|
|
1433
|
-
annotations: import("zod").ZodArray<import("zod").ZodObject<
|
|
1428
|
+
annotations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
1434
1429
|
id: import("zod").ZodString;
|
|
1435
1430
|
apiUrl: import("zod").ZodString;
|
|
1436
1431
|
directType: import("zod").ZodString;
|
|
@@ -1438,9 +1433,9 @@ export declare const customCodeComponentSchema: import("zod").ZodObject<import("
|
|
|
1438
1433
|
type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1439
1434
|
types: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
1440
1435
|
headshot: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1441
|
-
}
|
|
1436
|
+
} & {
|
|
1442
1437
|
predicate: import("zod").ZodString;
|
|
1443
|
-
}
|
|
1438
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1444
1439
|
id: string;
|
|
1445
1440
|
apiUrl: string;
|
|
1446
1441
|
directType: string;
|
|
@@ -1544,7 +1539,7 @@ export declare const customCodeComponentSchema: import("zod").ZodObject<import("
|
|
|
1544
1539
|
clientName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1545
1540
|
disclaimerType: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"co-created-content">, import("zod").ZodLiteral<"client-supplied-content">, import("zod").ZodLiteral<"ft-studios-risky">, import("zod").ZodLiteral<"auditor">]>>;
|
|
1546
1541
|
internalAnalyticsTags: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1547
|
-
}, "id" | "publishedDate" | "canonicalWebUrl" | "firstPublishedDate" | "publishReference" | "canBeSyndicated" | "canBeDistributed"
|
|
1542
|
+
}, "id" | "publishedDate" | "canonicalWebUrl" | "firstPublishedDate" | "publishReference" | "canBeSyndicated" | "canBeDistributed"> & Pick<{
|
|
1548
1543
|
title: import("zod").ZodString;
|
|
1549
1544
|
standfirst: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1550
1545
|
byline: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1589,13 +1584,13 @@ export declare const customCodeComponentSchema: import("zod").ZodObject<import("
|
|
|
1589
1584
|
theme: "special-report" | "extra" | "basic" | "extra-wide";
|
|
1590
1585
|
}>;
|
|
1591
1586
|
transcript: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1592
|
-
}, "bodyXML"
|
|
1587
|
+
}, "bodyXML"> & {
|
|
1593
1588
|
apiUrl: import("zod").ZodString;
|
|
1594
1589
|
type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/CustomCodeComponent">;
|
|
1595
1590
|
path: import("zod").ZodString;
|
|
1596
1591
|
versionRange: import("zod").ZodString;
|
|
1597
1592
|
attributes: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodUndefined]>>;
|
|
1598
|
-
}
|
|
1593
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1599
1594
|
id: string;
|
|
1600
1595
|
apiUrl: string;
|
|
1601
1596
|
type: "http://www.ft.com/ontology/content/CustomCodeComponent";
|
|
@@ -1640,7 +1635,7 @@ export declare const customCodeComponentSchema: import("zod").ZodObject<import("
|
|
|
1640
1635
|
mediaType: string;
|
|
1641
1636
|
filesize?: number | undefined;
|
|
1642
1637
|
}>, "many">>;
|
|
1643
|
-
}, "embeds"
|
|
1638
|
+
}, "embeds">, "strip", import("zod").ZodTypeAny, {
|
|
1644
1639
|
id: string;
|
|
1645
1640
|
apiUrl: string;
|
|
1646
1641
|
types: string[];
|