@financial-times/cp-content-pipeline-schema 3.12.0 → 3.12.2
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 +14 -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 +4 -4
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const Annotation: z.ZodObject<
|
|
2
|
+
export declare const Annotation: z.ZodObject<{
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
apiUrl: z.ZodString;
|
|
5
5
|
directType: z.ZodString;
|
|
@@ -7,9 +7,9 @@ export declare const Annotation: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
7
7
|
type: z.ZodOptional<z.ZodString>;
|
|
8
8
|
types: z.ZodArray<z.ZodString, "many">;
|
|
9
9
|
headshot: z.ZodOptional<z.ZodString>;
|
|
10
|
-
}
|
|
10
|
+
} & {
|
|
11
11
|
predicate: z.ZodString;
|
|
12
|
-
}
|
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
13
|
id: string;
|
|
14
14
|
apiUrl: string;
|
|
15
15
|
directType: string;
|
|
@@ -74,9 +74,8 @@ export declare const Image: z.ZodUnion<[z.ZodObject<{
|
|
|
74
74
|
maxDisplayWidth?: string | undefined;
|
|
75
75
|
pixelWidth?: number | undefined;
|
|
76
76
|
pixelHeight?: number | undefined;
|
|
77
|
-
}>, z.ZodObject<
|
|
77
|
+
}>, z.ZodObject<{
|
|
78
78
|
id: z.ZodString;
|
|
79
|
-
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
80
79
|
format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
|
|
81
80
|
title: z.ZodOptional<z.ZodString>;
|
|
82
81
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -92,9 +91,9 @@ export declare const Image: z.ZodUnion<[z.ZodObject<{
|
|
|
92
91
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
93
92
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
94
93
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
95
|
-
}
|
|
94
|
+
} & {
|
|
96
95
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
97
|
-
}
|
|
96
|
+
}, "strip", z.ZodTypeAny, {
|
|
98
97
|
id: string;
|
|
99
98
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
100
99
|
binaryUrl: string;
|
|
@@ -173,9 +172,8 @@ export declare const ImageSet: z.ZodObject<{
|
|
|
173
172
|
maxDisplayWidth?: string | undefined;
|
|
174
173
|
pixelWidth?: number | undefined;
|
|
175
174
|
pixelHeight?: number | undefined;
|
|
176
|
-
}>, z.ZodObject<
|
|
175
|
+
}>, z.ZodObject<{
|
|
177
176
|
id: z.ZodString;
|
|
178
|
-
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
179
177
|
format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
|
|
180
178
|
title: z.ZodOptional<z.ZodString>;
|
|
181
179
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -191,9 +189,9 @@ export declare const ImageSet: z.ZodObject<{
|
|
|
191
189
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
192
190
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
193
191
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
194
|
-
}
|
|
192
|
+
} & {
|
|
195
193
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
196
|
-
}
|
|
194
|
+
}, "strip", z.ZodTypeAny, {
|
|
197
195
|
id: string;
|
|
198
196
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
199
197
|
binaryUrl: string;
|
|
@@ -339,9 +337,8 @@ export declare const MainImage: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
339
337
|
maxDisplayWidth?: string | undefined;
|
|
340
338
|
pixelWidth?: number | undefined;
|
|
341
339
|
pixelHeight?: number | undefined;
|
|
342
|
-
}>, z.ZodObject<
|
|
340
|
+
}>, z.ZodObject<{
|
|
343
341
|
id: z.ZodString;
|
|
344
|
-
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
345
342
|
format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
|
|
346
343
|
title: z.ZodOptional<z.ZodString>;
|
|
347
344
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -357,9 +354,9 @@ export declare const MainImage: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
357
354
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
358
355
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
359
356
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
360
|
-
}
|
|
357
|
+
} & {
|
|
361
358
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
362
|
-
}
|
|
359
|
+
}, "strip", z.ZodTypeAny, {
|
|
363
360
|
id: string;
|
|
364
361
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
365
362
|
binaryUrl: string;
|
|
@@ -500,9 +497,8 @@ export declare const MainImage: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
500
497
|
maxDisplayWidth?: string | undefined;
|
|
501
498
|
pixelWidth?: number | undefined;
|
|
502
499
|
pixelHeight?: number | undefined;
|
|
503
|
-
}>, z.ZodObject<
|
|
500
|
+
}>, z.ZodObject<{
|
|
504
501
|
id: z.ZodString;
|
|
505
|
-
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
506
502
|
format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
|
|
507
503
|
title: z.ZodOptional<z.ZodString>;
|
|
508
504
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -518,9 +514,9 @@ export declare const MainImage: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
518
514
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
519
515
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
520
516
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
521
|
-
}
|
|
517
|
+
} & {
|
|
522
518
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
523
|
-
}
|
|
519
|
+
}, "strip", z.ZodTypeAny, {
|
|
524
520
|
id: string;
|
|
525
521
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
526
522
|
binaryUrl: string;
|
|
@@ -598,9 +594,8 @@ export declare const LeadImage: z.ZodObject<{
|
|
|
598
594
|
maxDisplayWidth?: string | undefined;
|
|
599
595
|
pixelWidth?: number | undefined;
|
|
600
596
|
pixelHeight?: number | undefined;
|
|
601
|
-
}>, z.ZodObject<
|
|
597
|
+
}>, z.ZodObject<{
|
|
602
598
|
id: z.ZodString;
|
|
603
|
-
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
604
599
|
format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
|
|
605
600
|
title: z.ZodOptional<z.ZodString>;
|
|
606
601
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -616,9 +611,9 @@ export declare const LeadImage: z.ZodObject<{
|
|
|
616
611
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
617
612
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
618
613
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
619
|
-
}
|
|
614
|
+
} & {
|
|
620
615
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
621
|
-
}
|
|
616
|
+
}, "strip", z.ZodTypeAny, {
|
|
622
617
|
id: string;
|
|
623
618
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
624
619
|
binaryUrl: string;
|
|
@@ -791,9 +786,8 @@ export declare const Clip: z.ZodObject<{
|
|
|
791
786
|
maxDisplayWidth?: string | undefined;
|
|
792
787
|
pixelWidth?: number | undefined;
|
|
793
788
|
pixelHeight?: number | undefined;
|
|
794
|
-
}>, z.ZodObject<
|
|
789
|
+
}>, z.ZodObject<{
|
|
795
790
|
id: z.ZodString;
|
|
796
|
-
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
797
791
|
format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
|
|
798
792
|
title: z.ZodOptional<z.ZodString>;
|
|
799
793
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -809,9 +803,9 @@ export declare const Clip: z.ZodObject<{
|
|
|
809
803
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
810
804
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
811
805
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
812
|
-
}
|
|
806
|
+
} & {
|
|
813
807
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
814
|
-
}
|
|
808
|
+
}, "strip", z.ZodTypeAny, {
|
|
815
809
|
id: string;
|
|
816
810
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
817
811
|
binaryUrl: string;
|
|
@@ -1084,9 +1078,8 @@ export declare const ClipSet: z.ZodObject<{
|
|
|
1084
1078
|
maxDisplayWidth?: string | undefined;
|
|
1085
1079
|
pixelWidth?: number | undefined;
|
|
1086
1080
|
pixelHeight?: number | undefined;
|
|
1087
|
-
}>, z.ZodObject<
|
|
1081
|
+
}>, z.ZodObject<{
|
|
1088
1082
|
id: z.ZodString;
|
|
1089
|
-
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
1090
1083
|
format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
|
|
1091
1084
|
title: z.ZodOptional<z.ZodString>;
|
|
1092
1085
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1102,9 +1095,9 @@ export declare const ClipSet: z.ZodObject<{
|
|
|
1102
1095
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
1103
1096
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
1104
1097
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
1105
|
-
}
|
|
1098
|
+
} & {
|
|
1106
1099
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
1107
|
-
}
|
|
1100
|
+
}, "strip", z.ZodTypeAny, {
|
|
1108
1101
|
id: string;
|
|
1109
1102
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
1110
1103
|
binaryUrl: string;
|
|
@@ -1651,7 +1644,7 @@ export declare const CapiPerson: z.ZodObject<{
|
|
|
1651
1644
|
}>;
|
|
1652
1645
|
export declare const baseMetadataSchema: z.ZodObject<{
|
|
1653
1646
|
id: z.ZodString;
|
|
1654
|
-
annotations: z.ZodArray<z.ZodObject<
|
|
1647
|
+
annotations: z.ZodArray<z.ZodObject<{
|
|
1655
1648
|
id: z.ZodString;
|
|
1656
1649
|
apiUrl: z.ZodString;
|
|
1657
1650
|
directType: z.ZodString;
|
|
@@ -1659,9 +1652,9 @@ export declare const baseMetadataSchema: z.ZodObject<{
|
|
|
1659
1652
|
type: z.ZodOptional<z.ZodString>;
|
|
1660
1653
|
types: z.ZodArray<z.ZodString, "many">;
|
|
1661
1654
|
headshot: z.ZodOptional<z.ZodString>;
|
|
1662
|
-
}
|
|
1655
|
+
} & {
|
|
1663
1656
|
predicate: z.ZodString;
|
|
1664
|
-
}
|
|
1657
|
+
}, "strip", z.ZodTypeAny, {
|
|
1665
1658
|
id: string;
|
|
1666
1659
|
apiUrl: string;
|
|
1667
1660
|
directType: string;
|
|
@@ -1972,9 +1965,9 @@ export declare const baseContentSchema: z.ZodObject<{
|
|
|
1972
1965
|
promotionalStandfirst?: string | undefined;
|
|
1973
1966
|
} | undefined;
|
|
1974
1967
|
}>;
|
|
1975
|
-
export declare const CustomCodeComponentReference: z.ZodObject<
|
|
1968
|
+
export declare const CustomCodeComponentReference: z.ZodObject<Pick<{
|
|
1976
1969
|
id: z.ZodString;
|
|
1977
|
-
annotations: z.ZodArray<z.ZodObject<
|
|
1970
|
+
annotations: z.ZodArray<z.ZodObject<{
|
|
1978
1971
|
id: z.ZodString;
|
|
1979
1972
|
apiUrl: z.ZodString;
|
|
1980
1973
|
directType: z.ZodString;
|
|
@@ -1982,9 +1975,9 @@ export declare const CustomCodeComponentReference: z.ZodObject<z.objectUtil.exte
|
|
|
1982
1975
|
type: z.ZodOptional<z.ZodString>;
|
|
1983
1976
|
types: z.ZodArray<z.ZodString, "many">;
|
|
1984
1977
|
headshot: z.ZodOptional<z.ZodString>;
|
|
1985
|
-
}
|
|
1978
|
+
} & {
|
|
1986
1979
|
predicate: z.ZodString;
|
|
1987
|
-
}
|
|
1980
|
+
}, "strip", z.ZodTypeAny, {
|
|
1988
1981
|
id: string;
|
|
1989
1982
|
apiUrl: string;
|
|
1990
1983
|
directType: string;
|
|
@@ -2088,7 +2081,7 @@ export declare const CustomCodeComponentReference: z.ZodObject<z.objectUtil.exte
|
|
|
2088
2081
|
clientName: z.ZodOptional<z.ZodString>;
|
|
2089
2082
|
disclaimerType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"co-created-content">, z.ZodLiteral<"client-supplied-content">, z.ZodLiteral<"ft-studios-risky">, z.ZodLiteral<"auditor">]>>;
|
|
2090
2083
|
internalAnalyticsTags: z.ZodOptional<z.ZodString>;
|
|
2091
|
-
}, "id" | "publishedDate" | "canonicalWebUrl" | "firstPublishedDate" | "publishReference" | "canBeSyndicated" | "canBeDistributed"
|
|
2084
|
+
}, "id" | "publishedDate" | "canonicalWebUrl" | "firstPublishedDate" | "publishReference" | "canBeSyndicated" | "canBeDistributed"> & Pick<{
|
|
2092
2085
|
title: z.ZodString;
|
|
2093
2086
|
standfirst: z.ZodOptional<z.ZodString>;
|
|
2094
2087
|
byline: z.ZodOptional<z.ZodString>;
|
|
@@ -2133,13 +2126,13 @@ export declare const CustomCodeComponentReference: z.ZodObject<z.objectUtil.exte
|
|
|
2133
2126
|
theme: "special-report" | "extra" | "basic" | "extra-wide";
|
|
2134
2127
|
}>;
|
|
2135
2128
|
transcript: z.ZodOptional<z.ZodString>;
|
|
2136
|
-
}, "bodyXML"
|
|
2129
|
+
}, "bodyXML"> & {
|
|
2137
2130
|
apiUrl: z.ZodString;
|
|
2138
2131
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/CustomCodeComponent">;
|
|
2139
2132
|
path: z.ZodString;
|
|
2140
2133
|
versionRange: z.ZodString;
|
|
2141
2134
|
attributes: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean, z.ZodUndefined]>>;
|
|
2142
|
-
}
|
|
2135
|
+
}, "strip", z.ZodTypeAny, {
|
|
2143
2136
|
id: string;
|
|
2144
2137
|
apiUrl: string;
|
|
2145
2138
|
type: "http://www.ft.com/ontology/content/CustomCodeComponent";
|
|
@@ -2219,9 +2212,8 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2219
2212
|
maxDisplayWidth?: string | undefined;
|
|
2220
2213
|
pixelWidth?: number | undefined;
|
|
2221
2214
|
pixelHeight?: number | undefined;
|
|
2222
|
-
}>, z.ZodObject<
|
|
2215
|
+
}>, z.ZodObject<{
|
|
2223
2216
|
id: z.ZodString;
|
|
2224
|
-
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
2225
2217
|
format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
|
|
2226
2218
|
title: z.ZodOptional<z.ZodString>;
|
|
2227
2219
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2237,9 +2229,9 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2237
2229
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
2238
2230
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
2239
2231
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
2240
|
-
}
|
|
2232
|
+
} & {
|
|
2241
2233
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
2242
|
-
}
|
|
2234
|
+
}, "strip", z.ZodTypeAny, {
|
|
2243
2235
|
id: string;
|
|
2244
2236
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
2245
2237
|
binaryUrl: string;
|
|
@@ -2380,9 +2372,8 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2380
2372
|
maxDisplayWidth?: string | undefined;
|
|
2381
2373
|
pixelWidth?: number | undefined;
|
|
2382
2374
|
pixelHeight?: number | undefined;
|
|
2383
|
-
}>, z.ZodObject<
|
|
2375
|
+
}>, z.ZodObject<{
|
|
2384
2376
|
id: z.ZodString;
|
|
2385
|
-
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
2386
2377
|
format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
|
|
2387
2378
|
title: z.ZodOptional<z.ZodString>;
|
|
2388
2379
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2398,9 +2389,9 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2398
2389
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
2399
2390
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
2400
2391
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
2401
|
-
}
|
|
2392
|
+
} & {
|
|
2402
2393
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
2403
|
-
}
|
|
2394
|
+
}, "strip", z.ZodTypeAny, {
|
|
2404
2395
|
id: string;
|
|
2405
2396
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
2406
2397
|
binaryUrl: string;
|
|
@@ -2478,9 +2469,8 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2478
2469
|
maxDisplayWidth?: string | undefined;
|
|
2479
2470
|
pixelWidth?: number | undefined;
|
|
2480
2471
|
pixelHeight?: number | undefined;
|
|
2481
|
-
}>, z.ZodObject<
|
|
2472
|
+
}>, z.ZodObject<{
|
|
2482
2473
|
id: z.ZodString;
|
|
2483
|
-
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
2484
2474
|
format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
|
|
2485
2475
|
title: z.ZodOptional<z.ZodString>;
|
|
2486
2476
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2496,9 +2486,9 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2496
2486
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
2497
2487
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
2498
2488
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
2499
|
-
}
|
|
2489
|
+
} & {
|
|
2500
2490
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
2501
|
-
}
|
|
2491
|
+
}, "strip", z.ZodTypeAny, {
|
|
2502
2492
|
id: string;
|
|
2503
2493
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
2504
2494
|
binaryUrl: string;
|
|
@@ -2736,9 +2726,8 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2736
2726
|
maxDisplayWidth?: string | undefined;
|
|
2737
2727
|
pixelWidth?: number | undefined;
|
|
2738
2728
|
pixelHeight?: number | undefined;
|
|
2739
|
-
}>, z.ZodObject<
|
|
2729
|
+
}>, z.ZodObject<{
|
|
2740
2730
|
id: z.ZodString;
|
|
2741
|
-
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
2742
2731
|
format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
|
|
2743
2732
|
title: z.ZodOptional<z.ZodString>;
|
|
2744
2733
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2754,9 +2743,9 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2754
2743
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
2755
2744
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
2756
2745
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
2757
|
-
}
|
|
2746
|
+
} & {
|
|
2758
2747
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
2759
|
-
}
|
|
2748
|
+
}, "strip", z.ZodTypeAny, {
|
|
2760
2749
|
id: string;
|
|
2761
2750
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
2762
2751
|
binaryUrl: string;
|
|
@@ -2933,9 +2922,8 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2933
2922
|
maxDisplayWidth?: string | undefined;
|
|
2934
2923
|
pixelWidth?: number | undefined;
|
|
2935
2924
|
pixelHeight?: number | undefined;
|
|
2936
|
-
}>, z.ZodObject<
|
|
2925
|
+
}>, z.ZodObject<{
|
|
2937
2926
|
id: z.ZodString;
|
|
2938
|
-
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
2939
2927
|
format: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"standardInline">, z.ZodLiteral<"mobile">, z.ZodLiteral<"desktop">, z.ZodLiteral<"standard">, z.ZodLiteral<"square">, z.ZodLiteral<"ftEditSquare">, z.ZodLiteral<"wide">, z.ZodLiteral<"portrait">, z.ZodLiteral<"landscape">]>>;
|
|
2940
2928
|
title: z.ZodOptional<z.ZodString>;
|
|
2941
2929
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2951,9 +2939,9 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2951
2939
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
2952
2940
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
2953
2941
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
2954
|
-
}
|
|
2942
|
+
} & {
|
|
2955
2943
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
2956
|
-
}
|
|
2944
|
+
}, "strip", z.ZodTypeAny, {
|
|
2957
2945
|
id: string;
|
|
2958
2946
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
2959
2947
|
binaryUrl: string;
|
|
@@ -3315,9 +3303,9 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
3315
3303
|
}[] | undefined;
|
|
3316
3304
|
transcript?: string | undefined;
|
|
3317
3305
|
} | undefined;
|
|
3318
|
-
}>, z.ZodObject<
|
|
3306
|
+
}>, z.ZodObject<Pick<{
|
|
3319
3307
|
id: z.ZodString;
|
|
3320
|
-
annotations: z.ZodArray<z.ZodObject<
|
|
3308
|
+
annotations: z.ZodArray<z.ZodObject<{
|
|
3321
3309
|
id: z.ZodString;
|
|
3322
3310
|
apiUrl: z.ZodString;
|
|
3323
3311
|
directType: z.ZodString;
|
|
@@ -3325,9 +3313,9 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
3325
3313
|
type: z.ZodOptional<z.ZodString>;
|
|
3326
3314
|
types: z.ZodArray<z.ZodString, "many">;
|
|
3327
3315
|
headshot: z.ZodOptional<z.ZodString>;
|
|
3328
|
-
}
|
|
3316
|
+
} & {
|
|
3329
3317
|
predicate: z.ZodString;
|
|
3330
|
-
}
|
|
3318
|
+
}, "strip", z.ZodTypeAny, {
|
|
3331
3319
|
id: string;
|
|
3332
3320
|
apiUrl: string;
|
|
3333
3321
|
directType: string;
|
|
@@ -3431,7 +3419,7 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
3431
3419
|
clientName: z.ZodOptional<z.ZodString>;
|
|
3432
3420
|
disclaimerType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"co-created-content">, z.ZodLiteral<"client-supplied-content">, z.ZodLiteral<"ft-studios-risky">, z.ZodLiteral<"auditor">]>>;
|
|
3433
3421
|
internalAnalyticsTags: z.ZodOptional<z.ZodString>;
|
|
3434
|
-
}, "id" | "publishedDate" | "canonicalWebUrl" | "firstPublishedDate" | "publishReference" | "canBeSyndicated" | "canBeDistributed"
|
|
3422
|
+
}, "id" | "publishedDate" | "canonicalWebUrl" | "firstPublishedDate" | "publishReference" | "canBeSyndicated" | "canBeDistributed"> & Pick<{
|
|
3435
3423
|
title: z.ZodString;
|
|
3436
3424
|
standfirst: z.ZodOptional<z.ZodString>;
|
|
3437
3425
|
byline: z.ZodOptional<z.ZodString>;
|
|
@@ -3476,13 +3464,13 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
3476
3464
|
theme: "special-report" | "extra" | "basic" | "extra-wide";
|
|
3477
3465
|
}>;
|
|
3478
3466
|
transcript: z.ZodOptional<z.ZodString>;
|
|
3479
|
-
}, "bodyXML"
|
|
3467
|
+
}, "bodyXML"> & {
|
|
3480
3468
|
apiUrl: z.ZodString;
|
|
3481
3469
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/CustomCodeComponent">;
|
|
3482
3470
|
path: z.ZodString;
|
|
3483
3471
|
versionRange: z.ZodString;
|
|
3484
3472
|
attributes: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean, z.ZodUndefined]>>;
|
|
3485
|
-
}
|
|
3473
|
+
}, "strip", z.ZodTypeAny, {
|
|
3486
3474
|
id: string;
|
|
3487
3475
|
apiUrl: string;
|
|
3488
3476
|
type: "http://www.ft.com/ontology/content/CustomCodeComponent";
|