@financial-times/cp-content-pipeline-schema 2.9.2 → 2.10.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 +20 -0
- package/lib/datasources/capi.d.ts +1 -0
- package/lib/datasources/capi.js +10 -0
- package/lib/datasources/capi.js.map +1 -1
- package/lib/generated/index.d.ts +87 -2
- package/lib/model/CapiResponse.d.ts +6 -0
- package/lib/model/CapiResponse.js +5 -0
- package/lib/model/CapiResponse.js.map +1 -1
- package/lib/model/FlourishSource.d.ts +22 -0
- package/lib/model/FlourishSource.js +89 -0
- package/lib/model/FlourishSource.js.map +1 -0
- package/lib/model/FlourishSource.test.d.ts +1 -0
- package/lib/model/FlourishSource.test.js +67 -0
- package/lib/model/FlourishSource.test.js.map +1 -0
- package/lib/model/LeadFlourish.d.ts +13 -0
- package/lib/model/LeadFlourish.js +35 -0
- package/lib/model/LeadFlourish.js.map +1 -0
- package/lib/model/LeadFlourish.test.d.ts +1 -0
- package/lib/model/LeadFlourish.test.js +62 -0
- package/lib/model/LeadFlourish.test.js.map +1 -0
- package/lib/model/Topper.d.ts +4 -1
- package/lib/model/Topper.js +15 -0
- package/lib/model/Topper.js.map +1 -1
- package/lib/model/Topper.test.js +21 -0
- package/lib/model/Topper.test.js.map +1 -1
- package/lib/model/schemas/capi/article.d.ts +153 -60
- package/lib/model/schemas/capi/article.js +1 -0
- package/lib/model/schemas/capi/article.js.map +1 -1
- package/lib/model/schemas/capi/audio.d.ts +1111 -119
- package/lib/model/schemas/capi/base-schema.d.ts +166 -99
- package/lib/model/schemas/capi/base-schema.js +8 -1
- package/lib/model/schemas/capi/base-schema.js.map +1 -1
- package/lib/model/schemas/capi/content-package.d.ts +836 -46
- package/lib/model/schemas/capi/content-package.js +1 -1
- package/lib/model/schemas/capi/content-package.js.map +1 -1
- package/lib/model/schemas/capi/live-blog-package.d.ts +230 -65
- package/lib/model/schemas/capi/live-blog-package.js +0 -1
- package/lib/model/schemas/capi/live-blog-package.js.map +1 -1
- package/lib/model/schemas/capi/placeholder.d.ts +143 -60
- package/lib/resolvers/content-tree/references/Flourish.d.ts +8 -2
- package/lib/resolvers/content-tree/references/Flourish.js +15 -40
- package/lib/resolvers/content-tree/references/Flourish.js.map +1 -1
- package/lib/resolvers/content-tree/references/Flourish.test.js +0 -30
- package/lib/resolvers/content-tree/references/Flourish.test.js.map +1 -1
- package/lib/resolvers/index.d.ts +36 -9
- package/lib/resolvers/index.js +2 -0
- package/lib/resolvers/index.js.map +1 -1
- package/lib/resolvers/leadFlourish.d.ts +16 -0
- package/lib/resolvers/leadFlourish.js +28 -0
- package/lib/resolvers/leadFlourish.js.map +1 -0
- package/lib/resolvers/topper.d.ts +23 -9
- package/lib/resolvers/topper.js +6 -0
- package/lib/resolvers/topper.js.map +1 -1
- package/package.json +1 -1
- package/queries/article.graphql +26 -0
- package/src/datasources/capi.ts +14 -0
- package/src/generated/index.ts +93 -2
- package/src/model/CapiResponse.ts +6 -0
- package/src/model/FlourishSource.test.ts +93 -0
- package/src/model/FlourishSource.ts +103 -0
- package/src/model/LeadFlourish.test.ts +71 -0
- package/src/model/LeadFlourish.ts +30 -0
- package/src/model/Topper.test.ts +26 -0
- package/src/model/Topper.ts +18 -0
- package/src/model/schemas/capi/article.ts +1 -0
- package/src/model/schemas/capi/base-schema.ts +8 -0
- package/src/model/schemas/capi/content-package.ts +1 -1
- package/src/model/schemas/capi/live-blog-package.ts +0 -1
- package/src/resolvers/content-tree/references/Flourish.test.ts +2 -49
- package/src/resolvers/content-tree/references/Flourish.ts +15 -59
- package/src/resolvers/index.ts +2 -0
- package/src/resolvers/leadFlourish.ts +31 -0
- package/src/resolvers/topper.ts +10 -0
- package/src/types/internal-content.d.ts +2 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/typedefs/leadFlouish.graphql +29 -0
- package/typedefs/topper.graphql +35 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const Annotation: z.ZodObject<{
|
|
2
|
+
export declare const Annotation: z.ZodObject<z.objectUtil.extendShape<{
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
apiUrl: z.ZodString;
|
|
5
5
|
directType: z.ZodString;
|
|
@@ -7,8 +7,9 @@ export declare const Annotation: z.ZodObject<{
|
|
|
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
|
predicate: z.ZodString;
|
|
11
|
-
}
|
|
12
|
+
}>, "strip", z.ZodTypeAny, {
|
|
12
13
|
id: string;
|
|
13
14
|
apiUrl: string;
|
|
14
15
|
directType: string;
|
|
@@ -73,8 +74,9 @@ export declare const Image: z.ZodUnion<[z.ZodObject<{
|
|
|
73
74
|
maxDisplayWidth?: string | undefined;
|
|
74
75
|
pixelWidth?: number | undefined;
|
|
75
76
|
pixelHeight?: number | undefined;
|
|
76
|
-
}>, z.ZodObject<{
|
|
77
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
77
78
|
id: z.ZodString;
|
|
79
|
+
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
78
80
|
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">]>>;
|
|
79
81
|
title: z.ZodOptional<z.ZodString>;
|
|
80
82
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -90,8 +92,9 @@ export declare const Image: z.ZodUnion<[z.ZodObject<{
|
|
|
90
92
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
91
93
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
92
94
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
95
|
+
}, {
|
|
93
96
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
94
|
-
}
|
|
97
|
+
}>, "strip", z.ZodTypeAny, {
|
|
95
98
|
id: string;
|
|
96
99
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
97
100
|
binaryUrl: string;
|
|
@@ -170,8 +173,9 @@ export declare const ImageSet: z.ZodObject<{
|
|
|
170
173
|
maxDisplayWidth?: string | undefined;
|
|
171
174
|
pixelWidth?: number | undefined;
|
|
172
175
|
pixelHeight?: number | undefined;
|
|
173
|
-
}>, z.ZodObject<{
|
|
176
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
174
177
|
id: z.ZodString;
|
|
178
|
+
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
175
179
|
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">]>>;
|
|
176
180
|
title: z.ZodOptional<z.ZodString>;
|
|
177
181
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -187,8 +191,9 @@ export declare const ImageSet: z.ZodObject<{
|
|
|
187
191
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
188
192
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
189
193
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
194
|
+
}, {
|
|
190
195
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
191
|
-
}
|
|
196
|
+
}>, "strip", z.ZodTypeAny, {
|
|
192
197
|
id: string;
|
|
193
198
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
194
199
|
binaryUrl: string;
|
|
@@ -334,8 +339,9 @@ export declare const MainImage: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
334
339
|
maxDisplayWidth?: string | undefined;
|
|
335
340
|
pixelWidth?: number | undefined;
|
|
336
341
|
pixelHeight?: number | undefined;
|
|
337
|
-
}>, z.ZodObject<{
|
|
342
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
338
343
|
id: z.ZodString;
|
|
344
|
+
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
339
345
|
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">]>>;
|
|
340
346
|
title: z.ZodOptional<z.ZodString>;
|
|
341
347
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -351,8 +357,9 @@ export declare const MainImage: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
351
357
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
352
358
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
353
359
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
360
|
+
}, {
|
|
354
361
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
355
|
-
}
|
|
362
|
+
}>, "strip", z.ZodTypeAny, {
|
|
356
363
|
id: string;
|
|
357
364
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
358
365
|
binaryUrl: string;
|
|
@@ -493,8 +500,9 @@ export declare const MainImage: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
493
500
|
maxDisplayWidth?: string | undefined;
|
|
494
501
|
pixelWidth?: number | undefined;
|
|
495
502
|
pixelHeight?: number | undefined;
|
|
496
|
-
}>, z.ZodObject<{
|
|
503
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
497
504
|
id: z.ZodString;
|
|
505
|
+
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
498
506
|
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">]>>;
|
|
499
507
|
title: z.ZodOptional<z.ZodString>;
|
|
500
508
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -510,8 +518,9 @@ export declare const MainImage: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
510
518
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
511
519
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
512
520
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
521
|
+
}, {
|
|
513
522
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
514
|
-
}
|
|
523
|
+
}>, "strip", z.ZodTypeAny, {
|
|
515
524
|
id: string;
|
|
516
525
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
517
526
|
binaryUrl: string;
|
|
@@ -589,8 +598,9 @@ export declare const LeadImage: z.ZodObject<{
|
|
|
589
598
|
maxDisplayWidth?: string | undefined;
|
|
590
599
|
pixelWidth?: number | undefined;
|
|
591
600
|
pixelHeight?: number | undefined;
|
|
592
|
-
}>, z.ZodObject<{
|
|
601
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
593
602
|
id: z.ZodString;
|
|
603
|
+
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
594
604
|
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">]>>;
|
|
595
605
|
title: z.ZodOptional<z.ZodString>;
|
|
596
606
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -606,8 +616,9 @@ export declare const LeadImage: z.ZodObject<{
|
|
|
606
616
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
607
617
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
608
618
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
619
|
+
}, {
|
|
609
620
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
610
|
-
}
|
|
621
|
+
}>, "strip", z.ZodTypeAny, {
|
|
611
622
|
id: string;
|
|
612
623
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
613
624
|
binaryUrl: string;
|
|
@@ -701,6 +712,19 @@ export declare const LeadImage: z.ZodObject<{
|
|
|
701
712
|
pixelHeight?: number | undefined;
|
|
702
713
|
};
|
|
703
714
|
}>;
|
|
715
|
+
export declare const LeadFlourish: z.ZodObject<{
|
|
716
|
+
id: z.ZodString;
|
|
717
|
+
type: z.ZodString;
|
|
718
|
+
description: z.ZodString;
|
|
719
|
+
}, "strip", z.ZodTypeAny, {
|
|
720
|
+
id: string;
|
|
721
|
+
type: string;
|
|
722
|
+
description: string;
|
|
723
|
+
}, {
|
|
724
|
+
id: string;
|
|
725
|
+
type: string;
|
|
726
|
+
description: string;
|
|
727
|
+
}>;
|
|
704
728
|
export declare const Clip: z.ZodObject<{
|
|
705
729
|
id: z.ZodString;
|
|
706
730
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Clip">;
|
|
@@ -714,20 +738,20 @@ export declare const Clip: z.ZodObject<{
|
|
|
714
738
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
715
739
|
videoCodec: z.ZodOptional<z.ZodString>;
|
|
716
740
|
}, "strip", z.ZodTypeAny, {
|
|
717
|
-
audioCodec?: string | undefined;
|
|
718
741
|
binaryUrl?: string | undefined;
|
|
742
|
+
pixelWidth?: number | undefined;
|
|
743
|
+
pixelHeight?: number | undefined;
|
|
744
|
+
audioCodec?: string | undefined;
|
|
719
745
|
duration?: number | undefined;
|
|
720
746
|
mediaType?: string | undefined;
|
|
721
|
-
pixelHeight?: number | undefined;
|
|
722
|
-
pixelWidth?: number | undefined;
|
|
723
747
|
videoCodec?: string | undefined;
|
|
724
748
|
}, {
|
|
725
|
-
audioCodec?: string | undefined;
|
|
726
749
|
binaryUrl?: string | undefined;
|
|
750
|
+
pixelWidth?: number | undefined;
|
|
751
|
+
pixelHeight?: number | undefined;
|
|
752
|
+
audioCodec?: string | undefined;
|
|
727
753
|
duration?: number | undefined;
|
|
728
754
|
mediaType?: string | undefined;
|
|
729
|
-
pixelHeight?: number | undefined;
|
|
730
|
-
pixelWidth?: number | undefined;
|
|
731
755
|
videoCodec?: string | undefined;
|
|
732
756
|
}>, "many">;
|
|
733
757
|
poster: z.ZodOptional<z.ZodObject<{
|
|
@@ -780,8 +804,9 @@ export declare const Clip: z.ZodObject<{
|
|
|
780
804
|
maxDisplayWidth?: string | undefined;
|
|
781
805
|
pixelWidth?: number | undefined;
|
|
782
806
|
pixelHeight?: number | undefined;
|
|
783
|
-
}>, z.ZodObject<{
|
|
807
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
784
808
|
id: z.ZodString;
|
|
809
|
+
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
785
810
|
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">]>>;
|
|
786
811
|
title: z.ZodOptional<z.ZodString>;
|
|
787
812
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -797,8 +822,9 @@ export declare const Clip: z.ZodObject<{
|
|
|
797
822
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
798
823
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
799
824
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
825
|
+
}, {
|
|
800
826
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
801
|
-
}
|
|
827
|
+
}>, "strip", z.ZodTypeAny, {
|
|
802
828
|
id: string;
|
|
803
829
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
804
830
|
binaryUrl: string;
|
|
@@ -898,12 +924,12 @@ export declare const Clip: z.ZodObject<{
|
|
|
898
924
|
id: string;
|
|
899
925
|
type: "http://www.ft.com/ontology/content/Clip";
|
|
900
926
|
dataSource: {
|
|
901
|
-
audioCodec?: string | undefined;
|
|
902
927
|
binaryUrl?: string | undefined;
|
|
928
|
+
pixelWidth?: number | undefined;
|
|
929
|
+
pixelHeight?: number | undefined;
|
|
930
|
+
audioCodec?: string | undefined;
|
|
903
931
|
duration?: number | undefined;
|
|
904
932
|
mediaType?: string | undefined;
|
|
905
|
-
pixelHeight?: number | undefined;
|
|
906
|
-
pixelWidth?: number | undefined;
|
|
907
933
|
videoCodec?: string | undefined;
|
|
908
934
|
}[];
|
|
909
935
|
format?: "standardInline" | "mobile" | undefined;
|
|
@@ -945,12 +971,12 @@ export declare const Clip: z.ZodObject<{
|
|
|
945
971
|
id: string;
|
|
946
972
|
type: "http://www.ft.com/ontology/content/Clip";
|
|
947
973
|
dataSource: {
|
|
948
|
-
audioCodec?: string | undefined;
|
|
949
974
|
binaryUrl?: string | undefined;
|
|
975
|
+
pixelWidth?: number | undefined;
|
|
976
|
+
pixelHeight?: number | undefined;
|
|
977
|
+
audioCodec?: string | undefined;
|
|
950
978
|
duration?: number | undefined;
|
|
951
979
|
mediaType?: string | undefined;
|
|
952
|
-
pixelHeight?: number | undefined;
|
|
953
|
-
pixelWidth?: number | undefined;
|
|
954
980
|
videoCodec?: string | undefined;
|
|
955
981
|
}[];
|
|
956
982
|
format?: "standardInline" | "mobile" | undefined;
|
|
@@ -1005,20 +1031,20 @@ export declare const ClipSet: z.ZodObject<{
|
|
|
1005
1031
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
1006
1032
|
videoCodec: z.ZodOptional<z.ZodString>;
|
|
1007
1033
|
}, "strip", z.ZodTypeAny, {
|
|
1008
|
-
audioCodec?: string | undefined;
|
|
1009
1034
|
binaryUrl?: string | undefined;
|
|
1035
|
+
pixelWidth?: number | undefined;
|
|
1036
|
+
pixelHeight?: number | undefined;
|
|
1037
|
+
audioCodec?: string | undefined;
|
|
1010
1038
|
duration?: number | undefined;
|
|
1011
1039
|
mediaType?: string | undefined;
|
|
1012
|
-
pixelHeight?: number | undefined;
|
|
1013
|
-
pixelWidth?: number | undefined;
|
|
1014
1040
|
videoCodec?: string | undefined;
|
|
1015
1041
|
}, {
|
|
1016
|
-
audioCodec?: string | undefined;
|
|
1017
1042
|
binaryUrl?: string | undefined;
|
|
1043
|
+
pixelWidth?: number | undefined;
|
|
1044
|
+
pixelHeight?: number | undefined;
|
|
1045
|
+
audioCodec?: string | undefined;
|
|
1018
1046
|
duration?: number | undefined;
|
|
1019
1047
|
mediaType?: string | undefined;
|
|
1020
|
-
pixelHeight?: number | undefined;
|
|
1021
|
-
pixelWidth?: number | undefined;
|
|
1022
1048
|
videoCodec?: string | undefined;
|
|
1023
1049
|
}>, "many">;
|
|
1024
1050
|
poster: z.ZodOptional<z.ZodObject<{
|
|
@@ -1071,8 +1097,9 @@ export declare const ClipSet: z.ZodObject<{
|
|
|
1071
1097
|
maxDisplayWidth?: string | undefined;
|
|
1072
1098
|
pixelWidth?: number | undefined;
|
|
1073
1099
|
pixelHeight?: number | undefined;
|
|
1074
|
-
}>, z.ZodObject<{
|
|
1100
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1075
1101
|
id: z.ZodString;
|
|
1102
|
+
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
1076
1103
|
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">]>>;
|
|
1077
1104
|
title: z.ZodOptional<z.ZodString>;
|
|
1078
1105
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1088,8 +1115,9 @@ export declare const ClipSet: z.ZodObject<{
|
|
|
1088
1115
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
1089
1116
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
1090
1117
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
1118
|
+
}, {
|
|
1091
1119
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
1092
|
-
}
|
|
1120
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1093
1121
|
id: string;
|
|
1094
1122
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
1095
1123
|
binaryUrl: string;
|
|
@@ -1189,12 +1217,12 @@ export declare const ClipSet: z.ZodObject<{
|
|
|
1189
1217
|
id: string;
|
|
1190
1218
|
type: "http://www.ft.com/ontology/content/Clip";
|
|
1191
1219
|
dataSource: {
|
|
1192
|
-
audioCodec?: string | undefined;
|
|
1193
1220
|
binaryUrl?: string | undefined;
|
|
1221
|
+
pixelWidth?: number | undefined;
|
|
1222
|
+
pixelHeight?: number | undefined;
|
|
1223
|
+
audioCodec?: string | undefined;
|
|
1194
1224
|
duration?: number | undefined;
|
|
1195
1225
|
mediaType?: string | undefined;
|
|
1196
|
-
pixelHeight?: number | undefined;
|
|
1197
|
-
pixelWidth?: number | undefined;
|
|
1198
1226
|
videoCodec?: string | undefined;
|
|
1199
1227
|
}[];
|
|
1200
1228
|
format?: "standardInline" | "mobile" | undefined;
|
|
@@ -1236,12 +1264,12 @@ export declare const ClipSet: z.ZodObject<{
|
|
|
1236
1264
|
id: string;
|
|
1237
1265
|
type: "http://www.ft.com/ontology/content/Clip";
|
|
1238
1266
|
dataSource: {
|
|
1239
|
-
audioCodec?: string | undefined;
|
|
1240
1267
|
binaryUrl?: string | undefined;
|
|
1268
|
+
pixelWidth?: number | undefined;
|
|
1269
|
+
pixelHeight?: number | undefined;
|
|
1270
|
+
audioCodec?: string | undefined;
|
|
1241
1271
|
duration?: number | undefined;
|
|
1242
1272
|
mediaType?: string | undefined;
|
|
1243
|
-
pixelHeight?: number | undefined;
|
|
1244
|
-
pixelWidth?: number | undefined;
|
|
1245
1273
|
videoCodec?: string | undefined;
|
|
1246
1274
|
}[];
|
|
1247
1275
|
format?: "standardInline" | "mobile" | undefined;
|
|
@@ -1321,12 +1349,12 @@ export declare const ClipSet: z.ZodObject<{
|
|
|
1321
1349
|
id: string;
|
|
1322
1350
|
type: "http://www.ft.com/ontology/content/Clip";
|
|
1323
1351
|
dataSource: {
|
|
1324
|
-
audioCodec?: string | undefined;
|
|
1325
1352
|
binaryUrl?: string | undefined;
|
|
1353
|
+
pixelWidth?: number | undefined;
|
|
1354
|
+
pixelHeight?: number | undefined;
|
|
1355
|
+
audioCodec?: string | undefined;
|
|
1326
1356
|
duration?: number | undefined;
|
|
1327
1357
|
mediaType?: string | undefined;
|
|
1328
|
-
pixelHeight?: number | undefined;
|
|
1329
|
-
pixelWidth?: number | undefined;
|
|
1330
1358
|
videoCodec?: string | undefined;
|
|
1331
1359
|
}[];
|
|
1332
1360
|
format?: "standardInline" | "mobile" | undefined;
|
|
@@ -1365,9 +1393,9 @@ export declare const ClipSet: z.ZodObject<{
|
|
|
1365
1393
|
description?: string | undefined;
|
|
1366
1394
|
} | undefined;
|
|
1367
1395
|
}[];
|
|
1396
|
+
description?: string | undefined;
|
|
1368
1397
|
caption?: string | undefined;
|
|
1369
1398
|
dataCopyright?: string | undefined;
|
|
1370
|
-
description?: string | undefined;
|
|
1371
1399
|
displayTitle?: string | undefined;
|
|
1372
1400
|
contentWarning?: string[] | undefined;
|
|
1373
1401
|
noAudio?: boolean | undefined;
|
|
@@ -1388,12 +1416,12 @@ export declare const ClipSet: z.ZodObject<{
|
|
|
1388
1416
|
id: string;
|
|
1389
1417
|
type: "http://www.ft.com/ontology/content/Clip";
|
|
1390
1418
|
dataSource: {
|
|
1391
|
-
audioCodec?: string | undefined;
|
|
1392
1419
|
binaryUrl?: string | undefined;
|
|
1420
|
+
pixelWidth?: number | undefined;
|
|
1421
|
+
pixelHeight?: number | undefined;
|
|
1422
|
+
audioCodec?: string | undefined;
|
|
1393
1423
|
duration?: number | undefined;
|
|
1394
1424
|
mediaType?: string | undefined;
|
|
1395
|
-
pixelHeight?: number | undefined;
|
|
1396
|
-
pixelWidth?: number | undefined;
|
|
1397
1425
|
videoCodec?: string | undefined;
|
|
1398
1426
|
}[];
|
|
1399
1427
|
format?: "standardInline" | "mobile" | undefined;
|
|
@@ -1432,9 +1460,9 @@ export declare const ClipSet: z.ZodObject<{
|
|
|
1432
1460
|
description?: string | undefined;
|
|
1433
1461
|
} | undefined;
|
|
1434
1462
|
}[];
|
|
1463
|
+
description?: string | undefined;
|
|
1435
1464
|
caption?: string | undefined;
|
|
1436
1465
|
dataCopyright?: string | undefined;
|
|
1437
|
-
description?: string | undefined;
|
|
1438
1466
|
displayTitle?: string | undefined;
|
|
1439
1467
|
contentWarning?: string[] | undefined;
|
|
1440
1468
|
noAudio?: boolean | undefined;
|
|
@@ -1689,10 +1717,10 @@ export declare const CapiPerson: z.ZodObject<{
|
|
|
1689
1717
|
headshot?: string | undefined;
|
|
1690
1718
|
}[];
|
|
1691
1719
|
}[];
|
|
1720
|
+
headshot?: string | undefined;
|
|
1692
1721
|
emailAddress?: string | undefined;
|
|
1693
1722
|
twitterHandle?: string | undefined;
|
|
1694
1723
|
descriptionXML?: string | undefined;
|
|
1695
|
-
headshot?: string | undefined;
|
|
1696
1724
|
_imageUrl?: string | undefined;
|
|
1697
1725
|
}, {
|
|
1698
1726
|
id: string;
|
|
@@ -1724,15 +1752,15 @@ export declare const CapiPerson: z.ZodObject<{
|
|
|
1724
1752
|
headshot?: string | undefined;
|
|
1725
1753
|
}[];
|
|
1726
1754
|
}[];
|
|
1755
|
+
headshot?: string | undefined;
|
|
1727
1756
|
emailAddress?: string | undefined;
|
|
1728
1757
|
twitterHandle?: string | undefined;
|
|
1729
1758
|
descriptionXML?: string | undefined;
|
|
1730
|
-
headshot?: string | undefined;
|
|
1731
1759
|
_imageUrl?: string | undefined;
|
|
1732
1760
|
}>;
|
|
1733
1761
|
export declare const baseMetadataSchema: z.ZodObject<{
|
|
1734
1762
|
id: z.ZodString;
|
|
1735
|
-
annotations: z.ZodArray<z.ZodObject<{
|
|
1763
|
+
annotations: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
1736
1764
|
id: z.ZodString;
|
|
1737
1765
|
apiUrl: z.ZodString;
|
|
1738
1766
|
directType: z.ZodString;
|
|
@@ -1740,8 +1768,9 @@ export declare const baseMetadataSchema: z.ZodObject<{
|
|
|
1740
1768
|
type: z.ZodOptional<z.ZodString>;
|
|
1741
1769
|
types: z.ZodArray<z.ZodString, "many">;
|
|
1742
1770
|
headshot: z.ZodOptional<z.ZodString>;
|
|
1771
|
+
}, {
|
|
1743
1772
|
predicate: z.ZodString;
|
|
1744
|
-
}
|
|
1773
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1745
1774
|
id: string;
|
|
1746
1775
|
apiUrl: string;
|
|
1747
1776
|
directType: string;
|
|
@@ -1791,6 +1820,7 @@ export declare const baseMetadataSchema: z.ZodObject<{
|
|
|
1791
1820
|
backgroundBox: z.ZodOptional<z.ZodBoolean>;
|
|
1792
1821
|
textShadow: z.ZodOptional<z.ZodBoolean>;
|
|
1793
1822
|
layout: z.ZodString;
|
|
1823
|
+
layoutWidth: z.ZodOptional<z.ZodString>;
|
|
1794
1824
|
}, "strip", z.ZodTypeAny, {
|
|
1795
1825
|
backgroundColour: string;
|
|
1796
1826
|
layout: string;
|
|
@@ -1798,6 +1828,7 @@ export declare const baseMetadataSchema: z.ZodObject<{
|
|
|
1798
1828
|
standfirst?: string | undefined;
|
|
1799
1829
|
backgroundBox?: boolean | undefined;
|
|
1800
1830
|
textShadow?: boolean | undefined;
|
|
1831
|
+
layoutWidth?: string | undefined;
|
|
1801
1832
|
}, {
|
|
1802
1833
|
backgroundColour: string;
|
|
1803
1834
|
layout: string;
|
|
@@ -1805,6 +1836,7 @@ export declare const baseMetadataSchema: z.ZodObject<{
|
|
|
1805
1836
|
standfirst?: string | undefined;
|
|
1806
1837
|
backgroundBox?: boolean | undefined;
|
|
1807
1838
|
textShadow?: boolean | undefined;
|
|
1839
|
+
layoutWidth?: string | undefined;
|
|
1808
1840
|
}>>;
|
|
1809
1841
|
comments: z.ZodOptional<z.ZodObject<{
|
|
1810
1842
|
enabled: z.ZodBoolean;
|
|
@@ -1850,9 +1882,9 @@ export declare const baseMetadataSchema: z.ZodObject<{
|
|
|
1850
1882
|
firstPublishedDate: string;
|
|
1851
1883
|
realtime: boolean;
|
|
1852
1884
|
canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
|
|
1885
|
+
type?: string | undefined;
|
|
1853
1886
|
webUrl?: string | undefined;
|
|
1854
1887
|
canonicalWebUrl?: string | undefined;
|
|
1855
|
-
type?: string | undefined;
|
|
1856
1888
|
standout?: {
|
|
1857
1889
|
editorsChoice: boolean;
|
|
1858
1890
|
exclusive: boolean;
|
|
@@ -1868,6 +1900,7 @@ export declare const baseMetadataSchema: z.ZodObject<{
|
|
|
1868
1900
|
standfirst?: string | undefined;
|
|
1869
1901
|
backgroundBox?: boolean | undefined;
|
|
1870
1902
|
textShadow?: boolean | undefined;
|
|
1903
|
+
layoutWidth?: string | undefined;
|
|
1871
1904
|
} | undefined;
|
|
1872
1905
|
comments?: {
|
|
1873
1906
|
enabled: boolean;
|
|
@@ -1897,9 +1930,9 @@ export declare const baseMetadataSchema: z.ZodObject<{
|
|
|
1897
1930
|
firstPublishedDate: string;
|
|
1898
1931
|
realtime: boolean;
|
|
1899
1932
|
canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
|
|
1933
|
+
type?: string | undefined;
|
|
1900
1934
|
webUrl?: string | undefined;
|
|
1901
1935
|
canonicalWebUrl?: string | undefined;
|
|
1902
|
-
type?: string | undefined;
|
|
1903
1936
|
standout?: {
|
|
1904
1937
|
editorsChoice: boolean;
|
|
1905
1938
|
exclusive: boolean;
|
|
@@ -1915,6 +1948,7 @@ export declare const baseMetadataSchema: z.ZodObject<{
|
|
|
1915
1948
|
standfirst?: string | undefined;
|
|
1916
1949
|
backgroundBox?: boolean | undefined;
|
|
1917
1950
|
textShadow?: boolean | undefined;
|
|
1951
|
+
layoutWidth?: string | undefined;
|
|
1918
1952
|
} | undefined;
|
|
1919
1953
|
comments?: {
|
|
1920
1954
|
enabled: boolean;
|
|
@@ -2068,8 +2102,9 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2068
2102
|
maxDisplayWidth?: string | undefined;
|
|
2069
2103
|
pixelWidth?: number | undefined;
|
|
2070
2104
|
pixelHeight?: number | undefined;
|
|
2071
|
-
}>, z.ZodObject<{
|
|
2105
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2072
2106
|
id: z.ZodString;
|
|
2107
|
+
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
2073
2108
|
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">]>>;
|
|
2074
2109
|
title: z.ZodOptional<z.ZodString>;
|
|
2075
2110
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2085,8 +2120,9 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2085
2120
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
2086
2121
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
2087
2122
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
2123
|
+
}, {
|
|
2088
2124
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
2089
|
-
}
|
|
2125
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2090
2126
|
id: string;
|
|
2091
2127
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
2092
2128
|
binaryUrl: string;
|
|
@@ -2227,8 +2263,9 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2227
2263
|
maxDisplayWidth?: string | undefined;
|
|
2228
2264
|
pixelWidth?: number | undefined;
|
|
2229
2265
|
pixelHeight?: number | undefined;
|
|
2230
|
-
}>, z.ZodObject<{
|
|
2266
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2231
2267
|
id: z.ZodString;
|
|
2268
|
+
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
2232
2269
|
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">]>>;
|
|
2233
2270
|
title: z.ZodOptional<z.ZodString>;
|
|
2234
2271
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2244,8 +2281,9 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2244
2281
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
2245
2282
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
2246
2283
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
2284
|
+
}, {
|
|
2247
2285
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
2248
|
-
}
|
|
2286
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2249
2287
|
id: string;
|
|
2250
2288
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
2251
2289
|
binaryUrl: string;
|
|
@@ -2323,8 +2361,9 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2323
2361
|
maxDisplayWidth?: string | undefined;
|
|
2324
2362
|
pixelWidth?: number | undefined;
|
|
2325
2363
|
pixelHeight?: number | undefined;
|
|
2326
|
-
}>, z.ZodObject<{
|
|
2364
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2327
2365
|
id: z.ZodString;
|
|
2366
|
+
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
2328
2367
|
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">]>>;
|
|
2329
2368
|
title: z.ZodOptional<z.ZodString>;
|
|
2330
2369
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2340,8 +2379,9 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2340
2379
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
2341
2380
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
2342
2381
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
2382
|
+
}, {
|
|
2343
2383
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
2344
|
-
}
|
|
2384
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2345
2385
|
id: string;
|
|
2346
2386
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
2347
2387
|
binaryUrl: string;
|
|
@@ -2516,6 +2556,19 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2516
2556
|
pixelHeight?: number | undefined;
|
|
2517
2557
|
};
|
|
2518
2558
|
}>>;
|
|
2559
|
+
leadFlourish: z.ZodOptional<z.ZodObject<{
|
|
2560
|
+
id: z.ZodString;
|
|
2561
|
+
type: z.ZodString;
|
|
2562
|
+
description: z.ZodString;
|
|
2563
|
+
}, "strip", z.ZodTypeAny, {
|
|
2564
|
+
id: string;
|
|
2565
|
+
type: string;
|
|
2566
|
+
description: string;
|
|
2567
|
+
}, {
|
|
2568
|
+
id: string;
|
|
2569
|
+
type: string;
|
|
2570
|
+
description: string;
|
|
2571
|
+
}>>;
|
|
2519
2572
|
embeds: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
2520
2573
|
id: z.ZodString;
|
|
2521
2574
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/ImageSet">;
|
|
@@ -2566,8 +2619,9 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2566
2619
|
maxDisplayWidth?: string | undefined;
|
|
2567
2620
|
pixelWidth?: number | undefined;
|
|
2568
2621
|
pixelHeight?: number | undefined;
|
|
2569
|
-
}>, z.ZodObject<{
|
|
2622
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2570
2623
|
id: z.ZodString;
|
|
2624
|
+
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
2571
2625
|
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">]>>;
|
|
2572
2626
|
title: z.ZodOptional<z.ZodString>;
|
|
2573
2627
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2583,8 +2637,9 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2583
2637
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
2584
2638
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
2585
2639
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
2640
|
+
}, {
|
|
2586
2641
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
2587
|
-
}
|
|
2642
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2588
2643
|
id: string;
|
|
2589
2644
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
2590
2645
|
binaryUrl: string;
|
|
@@ -2695,20 +2750,20 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2695
2750
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
2696
2751
|
videoCodec: z.ZodOptional<z.ZodString>;
|
|
2697
2752
|
}, "strip", z.ZodTypeAny, {
|
|
2698
|
-
audioCodec?: string | undefined;
|
|
2699
2753
|
binaryUrl?: string | undefined;
|
|
2754
|
+
pixelWidth?: number | undefined;
|
|
2755
|
+
pixelHeight?: number | undefined;
|
|
2756
|
+
audioCodec?: string | undefined;
|
|
2700
2757
|
duration?: number | undefined;
|
|
2701
2758
|
mediaType?: string | undefined;
|
|
2702
|
-
pixelHeight?: number | undefined;
|
|
2703
|
-
pixelWidth?: number | undefined;
|
|
2704
2759
|
videoCodec?: string | undefined;
|
|
2705
2760
|
}, {
|
|
2706
|
-
audioCodec?: string | undefined;
|
|
2707
2761
|
binaryUrl?: string | undefined;
|
|
2762
|
+
pixelWidth?: number | undefined;
|
|
2763
|
+
pixelHeight?: number | undefined;
|
|
2764
|
+
audioCodec?: string | undefined;
|
|
2708
2765
|
duration?: number | undefined;
|
|
2709
2766
|
mediaType?: string | undefined;
|
|
2710
|
-
pixelHeight?: number | undefined;
|
|
2711
|
-
pixelWidth?: number | undefined;
|
|
2712
2767
|
videoCodec?: string | undefined;
|
|
2713
2768
|
}>, "many">;
|
|
2714
2769
|
poster: z.ZodOptional<z.ZodObject<{
|
|
@@ -2761,8 +2816,9 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2761
2816
|
maxDisplayWidth?: string | undefined;
|
|
2762
2817
|
pixelWidth?: number | undefined;
|
|
2763
2818
|
pixelHeight?: number | undefined;
|
|
2764
|
-
}>, z.ZodObject<{
|
|
2819
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
2765
2820
|
id: z.ZodString;
|
|
2821
|
+
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Image">;
|
|
2766
2822
|
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">]>>;
|
|
2767
2823
|
title: z.ZodOptional<z.ZodString>;
|
|
2768
2824
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2778,8 +2834,9 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2778
2834
|
maxDisplayWidth: z.ZodOptional<z.ZodString>;
|
|
2779
2835
|
pixelWidth: z.ZodOptional<z.ZodNumber>;
|
|
2780
2836
|
pixelHeight: z.ZodOptional<z.ZodNumber>;
|
|
2837
|
+
}, {
|
|
2781
2838
|
type: z.ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
|
|
2782
|
-
}
|
|
2839
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2783
2840
|
id: string;
|
|
2784
2841
|
type: "http://www.ft.com/ontology/content/Graphic";
|
|
2785
2842
|
binaryUrl: string;
|
|
@@ -2879,12 +2936,12 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2879
2936
|
id: string;
|
|
2880
2937
|
type: "http://www.ft.com/ontology/content/Clip";
|
|
2881
2938
|
dataSource: {
|
|
2882
|
-
audioCodec?: string | undefined;
|
|
2883
2939
|
binaryUrl?: string | undefined;
|
|
2940
|
+
pixelWidth?: number | undefined;
|
|
2941
|
+
pixelHeight?: number | undefined;
|
|
2942
|
+
audioCodec?: string | undefined;
|
|
2884
2943
|
duration?: number | undefined;
|
|
2885
2944
|
mediaType?: string | undefined;
|
|
2886
|
-
pixelHeight?: number | undefined;
|
|
2887
|
-
pixelWidth?: number | undefined;
|
|
2888
2945
|
videoCodec?: string | undefined;
|
|
2889
2946
|
}[];
|
|
2890
2947
|
format?: "standardInline" | "mobile" | undefined;
|
|
@@ -2926,12 +2983,12 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
2926
2983
|
id: string;
|
|
2927
2984
|
type: "http://www.ft.com/ontology/content/Clip";
|
|
2928
2985
|
dataSource: {
|
|
2929
|
-
audioCodec?: string | undefined;
|
|
2930
2986
|
binaryUrl?: string | undefined;
|
|
2987
|
+
pixelWidth?: number | undefined;
|
|
2988
|
+
pixelHeight?: number | undefined;
|
|
2989
|
+
audioCodec?: string | undefined;
|
|
2931
2990
|
duration?: number | undefined;
|
|
2932
2991
|
mediaType?: string | undefined;
|
|
2933
|
-
pixelHeight?: number | undefined;
|
|
2934
|
-
pixelWidth?: number | undefined;
|
|
2935
2992
|
videoCodec?: string | undefined;
|
|
2936
2993
|
}[];
|
|
2937
2994
|
format?: "standardInline" | "mobile" | undefined;
|
|
@@ -3011,12 +3068,12 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
3011
3068
|
id: string;
|
|
3012
3069
|
type: "http://www.ft.com/ontology/content/Clip";
|
|
3013
3070
|
dataSource: {
|
|
3014
|
-
audioCodec?: string | undefined;
|
|
3015
3071
|
binaryUrl?: string | undefined;
|
|
3072
|
+
pixelWidth?: number | undefined;
|
|
3073
|
+
pixelHeight?: number | undefined;
|
|
3074
|
+
audioCodec?: string | undefined;
|
|
3016
3075
|
duration?: number | undefined;
|
|
3017
3076
|
mediaType?: string | undefined;
|
|
3018
|
-
pixelHeight?: number | undefined;
|
|
3019
|
-
pixelWidth?: number | undefined;
|
|
3020
3077
|
videoCodec?: string | undefined;
|
|
3021
3078
|
}[];
|
|
3022
3079
|
format?: "standardInline" | "mobile" | undefined;
|
|
@@ -3055,9 +3112,9 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
3055
3112
|
description?: string | undefined;
|
|
3056
3113
|
} | undefined;
|
|
3057
3114
|
}[];
|
|
3115
|
+
description?: string | undefined;
|
|
3058
3116
|
caption?: string | undefined;
|
|
3059
3117
|
dataCopyright?: string | undefined;
|
|
3060
|
-
description?: string | undefined;
|
|
3061
3118
|
displayTitle?: string | undefined;
|
|
3062
3119
|
contentWarning?: string[] | undefined;
|
|
3063
3120
|
noAudio?: boolean | undefined;
|
|
@@ -3078,12 +3135,12 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
3078
3135
|
id: string;
|
|
3079
3136
|
type: "http://www.ft.com/ontology/content/Clip";
|
|
3080
3137
|
dataSource: {
|
|
3081
|
-
audioCodec?: string | undefined;
|
|
3082
3138
|
binaryUrl?: string | undefined;
|
|
3139
|
+
pixelWidth?: number | undefined;
|
|
3140
|
+
pixelHeight?: number | undefined;
|
|
3141
|
+
audioCodec?: string | undefined;
|
|
3083
3142
|
duration?: number | undefined;
|
|
3084
3143
|
mediaType?: string | undefined;
|
|
3085
|
-
pixelHeight?: number | undefined;
|
|
3086
|
-
pixelWidth?: number | undefined;
|
|
3087
3144
|
videoCodec?: string | undefined;
|
|
3088
3145
|
}[];
|
|
3089
3146
|
format?: "standardInline" | "mobile" | undefined;
|
|
@@ -3122,9 +3179,9 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
3122
3179
|
description?: string | undefined;
|
|
3123
3180
|
} | undefined;
|
|
3124
3181
|
}[];
|
|
3182
|
+
description?: string | undefined;
|
|
3125
3183
|
caption?: string | undefined;
|
|
3126
3184
|
dataCopyright?: string | undefined;
|
|
3127
|
-
description?: string | undefined;
|
|
3128
3185
|
displayTitle?: string | undefined;
|
|
3129
3186
|
contentWarning?: string[] | undefined;
|
|
3130
3187
|
noAudio?: boolean | undefined;
|
|
@@ -3156,6 +3213,12 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
3156
3213
|
filesize: number;
|
|
3157
3214
|
}>, "many">>;
|
|
3158
3215
|
}, "strip", z.ZodTypeAny, {
|
|
3216
|
+
dataSource?: {
|
|
3217
|
+
binaryUrl: string;
|
|
3218
|
+
duration: number;
|
|
3219
|
+
mediaType: string;
|
|
3220
|
+
filesize: number;
|
|
3221
|
+
}[] | undefined;
|
|
3159
3222
|
mainImage?: {
|
|
3160
3223
|
id: string;
|
|
3161
3224
|
type: "http://www.ft.com/ontology/content/Image";
|
|
@@ -3268,6 +3331,11 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
3268
3331
|
pixelHeight?: number | undefined;
|
|
3269
3332
|
};
|
|
3270
3333
|
} | undefined;
|
|
3334
|
+
leadFlourish?: {
|
|
3335
|
+
id: string;
|
|
3336
|
+
type: string;
|
|
3337
|
+
description: string;
|
|
3338
|
+
} | undefined;
|
|
3271
3339
|
embeds?: ({
|
|
3272
3340
|
id: string;
|
|
3273
3341
|
type: "http://www.ft.com/ontology/content/ImageSet";
|
|
@@ -3308,12 +3376,12 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
3308
3376
|
id: string;
|
|
3309
3377
|
type: "http://www.ft.com/ontology/content/Clip";
|
|
3310
3378
|
dataSource: {
|
|
3311
|
-
audioCodec?: string | undefined;
|
|
3312
3379
|
binaryUrl?: string | undefined;
|
|
3380
|
+
pixelWidth?: number | undefined;
|
|
3381
|
+
pixelHeight?: number | undefined;
|
|
3382
|
+
audioCodec?: string | undefined;
|
|
3313
3383
|
duration?: number | undefined;
|
|
3314
3384
|
mediaType?: string | undefined;
|
|
3315
|
-
pixelHeight?: number | undefined;
|
|
3316
|
-
pixelWidth?: number | undefined;
|
|
3317
3385
|
videoCodec?: string | undefined;
|
|
3318
3386
|
}[];
|
|
3319
3387
|
format?: "standardInline" | "mobile" | undefined;
|
|
@@ -3352,9 +3420,9 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
3352
3420
|
description?: string | undefined;
|
|
3353
3421
|
} | undefined;
|
|
3354
3422
|
}[];
|
|
3423
|
+
description?: string | undefined;
|
|
3355
3424
|
caption?: string | undefined;
|
|
3356
3425
|
dataCopyright?: string | undefined;
|
|
3357
|
-
description?: string | undefined;
|
|
3358
3426
|
displayTitle?: string | undefined;
|
|
3359
3427
|
contentWarning?: string[] | undefined;
|
|
3360
3428
|
noAudio?: boolean | undefined;
|
|
@@ -3369,13 +3437,13 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
3369
3437
|
transcript?: string | undefined;
|
|
3370
3438
|
} | undefined;
|
|
3371
3439
|
})[] | undefined;
|
|
3440
|
+
}, {
|
|
3372
3441
|
dataSource?: {
|
|
3373
3442
|
binaryUrl: string;
|
|
3374
3443
|
duration: number;
|
|
3375
3444
|
mediaType: string;
|
|
3376
3445
|
filesize: number;
|
|
3377
3446
|
}[] | undefined;
|
|
3378
|
-
}, {
|
|
3379
3447
|
mainImage?: {
|
|
3380
3448
|
id: string;
|
|
3381
3449
|
type: "http://www.ft.com/ontology/content/Image";
|
|
@@ -3488,6 +3556,11 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
3488
3556
|
pixelHeight?: number | undefined;
|
|
3489
3557
|
};
|
|
3490
3558
|
} | undefined;
|
|
3559
|
+
leadFlourish?: {
|
|
3560
|
+
id: string;
|
|
3561
|
+
type: string;
|
|
3562
|
+
description: string;
|
|
3563
|
+
} | undefined;
|
|
3491
3564
|
embeds?: ({
|
|
3492
3565
|
id: string;
|
|
3493
3566
|
type: "http://www.ft.com/ontology/content/ImageSet";
|
|
@@ -3528,12 +3601,12 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
3528
3601
|
id: string;
|
|
3529
3602
|
type: "http://www.ft.com/ontology/content/Clip";
|
|
3530
3603
|
dataSource: {
|
|
3531
|
-
audioCodec?: string | undefined;
|
|
3532
3604
|
binaryUrl?: string | undefined;
|
|
3605
|
+
pixelWidth?: number | undefined;
|
|
3606
|
+
pixelHeight?: number | undefined;
|
|
3607
|
+
audioCodec?: string | undefined;
|
|
3533
3608
|
duration?: number | undefined;
|
|
3534
3609
|
mediaType?: string | undefined;
|
|
3535
|
-
pixelHeight?: number | undefined;
|
|
3536
|
-
pixelWidth?: number | undefined;
|
|
3537
3610
|
videoCodec?: string | undefined;
|
|
3538
3611
|
}[];
|
|
3539
3612
|
format?: "standardInline" | "mobile" | undefined;
|
|
@@ -3572,9 +3645,9 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
3572
3645
|
description?: string | undefined;
|
|
3573
3646
|
} | undefined;
|
|
3574
3647
|
}[];
|
|
3648
|
+
description?: string | undefined;
|
|
3575
3649
|
caption?: string | undefined;
|
|
3576
3650
|
dataCopyright?: string | undefined;
|
|
3577
|
-
description?: string | undefined;
|
|
3578
3651
|
displayTitle?: string | undefined;
|
|
3579
3652
|
contentWarning?: string[] | undefined;
|
|
3580
3653
|
noAudio?: boolean | undefined;
|
|
@@ -3589,10 +3662,4 @@ export declare const baseMediaSchema: z.ZodObject<{
|
|
|
3589
3662
|
transcript?: string | undefined;
|
|
3590
3663
|
} | undefined;
|
|
3591
3664
|
})[] | undefined;
|
|
3592
|
-
dataSource?: {
|
|
3593
|
-
binaryUrl: string;
|
|
3594
|
-
duration: number;
|
|
3595
|
-
mediaType: string;
|
|
3596
|
-
filesize: number;
|
|
3597
|
-
}[] | undefined;
|
|
3598
3665
|
}>;
|