@financial-times/cp-content-pipeline-schema 1.4.3 → 1.5.0

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.
Files changed (87) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/lib/fixtures/capiObject.js +1 -1
  3. package/lib/fixtures/capiObject.js.map +1 -1
  4. package/lib/fixtures/clipSet.d.ts +2 -0
  5. package/lib/fixtures/clipSet.js +70 -0
  6. package/lib/fixtures/clipSet.js.map +1 -0
  7. package/lib/generated/index.d.ts +136 -3
  8. package/lib/model/CapiResponse.d.ts +3 -2
  9. package/lib/model/CapiResponse.js +10 -1
  10. package/lib/model/CapiResponse.js.map +1 -1
  11. package/lib/model/Clip.d.ts +28 -0
  12. package/lib/model/Clip.js +51 -0
  13. package/lib/model/Clip.js.map +1 -0
  14. package/lib/model/schemas/capi/article.d.ts +605 -9
  15. package/lib/model/schemas/capi/article.js +1 -0
  16. package/lib/model/schemas/capi/article.js.map +1 -1
  17. package/lib/model/schemas/capi/audio.d.ts +34 -31
  18. package/lib/model/schemas/capi/audio.js +1 -0
  19. package/lib/model/schemas/capi/audio.js.map +1 -1
  20. package/lib/model/schemas/capi/base-schema.d.ts +1358 -14
  21. package/lib/model/schemas/capi/base-schema.js +46 -2
  22. package/lib/model/schemas/capi/base-schema.js.map +1 -1
  23. package/lib/model/schemas/capi/content-package.d.ts +6 -3
  24. package/lib/model/schemas/capi/content-package.js +1 -0
  25. package/lib/model/schemas/capi/content-package.js.map +1 -1
  26. package/lib/model/schemas/capi/live-blog-package.d.ts +605 -9
  27. package/lib/model/schemas/capi/live-blog-package.js +1 -0
  28. package/lib/model/schemas/capi/live-blog-package.js.map +1 -1
  29. package/lib/model/schemas/capi/placeholder.d.ts +605 -9
  30. package/lib/model/schemas/capi/placeholder.js +1 -0
  31. package/lib/model/schemas/capi/placeholder.js.map +1 -1
  32. package/lib/resolvers/clip.d.ts +10 -0
  33. package/lib/resolvers/clip.js +13 -0
  34. package/lib/resolvers/clip.js.map +1 -0
  35. package/lib/resolvers/content-tree/Workarounds.d.ts +10 -2
  36. package/lib/resolvers/content-tree/nodePredicates.d.ts +3 -3
  37. package/lib/resolvers/content-tree/references/ClipSet.d.ts +27 -0
  38. package/lib/resolvers/content-tree/references/ClipSet.js +37 -0
  39. package/lib/resolvers/content-tree/references/ClipSet.js.map +1 -0
  40. package/lib/resolvers/content-tree/references/ImageSet.js +3 -2
  41. package/lib/resolvers/content-tree/references/ImageSet.js.map +1 -1
  42. package/lib/resolvers/content-tree/references/Reference.d.ts +1 -1
  43. package/lib/resolvers/content-tree/references/ScrollyImage.js +3 -2
  44. package/lib/resolvers/content-tree/references/ScrollyImage.js.map +1 -1
  45. package/lib/resolvers/content-tree/references/index.d.ts +4 -1
  46. package/lib/resolvers/content-tree/references/index.js +4 -0
  47. package/lib/resolvers/content-tree/references/index.js.map +1 -1
  48. package/lib/resolvers/content-tree/tagMappings.js +9 -0
  49. package/lib/resolvers/content-tree/tagMappings.js.map +1 -1
  50. package/lib/resolvers/content.d.ts +1 -0
  51. package/lib/resolvers/content.js +1 -0
  52. package/lib/resolvers/content.js.map +1 -1
  53. package/lib/resolvers/index.d.ts +10 -0
  54. package/lib/resolvers/index.js +2 -0
  55. package/lib/resolvers/index.js.map +1 -1
  56. package/lib/resolvers/scalars.d.ts +2 -0
  57. package/lib/resolvers/scalars.js +6 -1
  58. package/lib/resolvers/scalars.js.map +1 -1
  59. package/package.json +1 -1
  60. package/src/fixtures/capiObject.ts +1 -1
  61. package/src/fixtures/clipSet.ts +72 -0
  62. package/src/generated/index.ts +144 -3
  63. package/src/model/CapiResponse.ts +12 -2
  64. package/src/model/Clip.ts +75 -0
  65. package/src/model/__snapshots__/RichText.test.ts.snap +25 -0
  66. package/src/model/schemas/capi/article.ts +1 -0
  67. package/src/model/schemas/capi/audio.ts +1 -0
  68. package/src/model/schemas/capi/base-schema.ts +50 -1
  69. package/src/model/schemas/capi/content-package.ts +1 -0
  70. package/src/model/schemas/capi/live-blog-package.ts +1 -0
  71. package/src/model/schemas/capi/placeholder.ts +1 -0
  72. package/src/resolvers/clip.ts +13 -0
  73. package/src/resolvers/content-tree/Workarounds.ts +13 -2
  74. package/src/resolvers/content-tree/references/ClipSet.ts +49 -0
  75. package/src/resolvers/content-tree/references/ImageSet.ts +9 -5
  76. package/src/resolvers/content-tree/references/ScrollyImage.ts +9 -5
  77. package/src/resolvers/content-tree/references/index.ts +6 -0
  78. package/src/resolvers/content-tree/tagMappings.ts +10 -0
  79. package/src/resolvers/content.ts +1 -0
  80. package/src/resolvers/index.ts +2 -0
  81. package/src/resolvers/scalars.ts +8 -0
  82. package/src/types/internal-content.d.ts +4 -0
  83. package/tsconfig.tsbuildinfo +1 -1
  84. package/typedefs/clip.graphql +28 -0
  85. package/typedefs/content.graphql +8 -2
  86. package/typedefs/references/clipSet.graphql +19 -0
  87. package/typedefs/scalars.graphql +1 -0
@@ -3,6 +3,7 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<{
3
3
  type: import("zod").ZodOptional<import("zod").ZodString>;
4
4
  types: import("zod").ZodArray<import("zod").ZodString, "many">;
5
5
  title: import("zod").ZodString;
6
+ publishedDate: import("zod").ZodString;
6
7
  annotations: import("zod").ZodArray<import("zod").ZodObject<{
7
8
  id: import("zod").ZodString;
8
9
  apiUrl: import("zod").ZodString;
@@ -46,10 +47,10 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<{
46
47
  exclusive: boolean;
47
48
  scoop: boolean;
48
49
  }>>;
49
- publishedDate: import("zod").ZodString;
50
50
  firstPublishedDate: import("zod").ZodString;
51
51
  accessLevel: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"premium">, import("zod").ZodLiteral<"subscribed">, import("zod").ZodLiteral<"registered">, import("zod").ZodLiteral<"free">]>>;
52
52
  canBeSyndicated: import("zod").ZodUnion<[import("zod").ZodLiteral<"yes">, import("zod").ZodLiteral<"no">, import("zod").ZodLiteral<"verify">, import("zod").ZodLiteral<"withContributorPayment">, import("zod").ZodLiteral<"unknown">]>;
53
+ canBeDistributed: import("zod").ZodUnion<[import("zod").ZodLiteral<"yes">, import("zod").ZodLiteral<"no">, import("zod").ZodLiteral<"verify">]>;
53
54
  topper: import("zod").ZodOptional<import("zod").ZodObject<{
54
55
  headline: import("zod").ZodOptional<import("zod").ZodString>;
55
56
  standfirst: import("zod").ZodOptional<import("zod").ZodString>;
@@ -522,7 +523,7 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<{
522
523
  pixelHeight?: number | undefined;
523
524
  };
524
525
  }>, "many">>;
525
- embeds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
526
+ embeds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodObject<{
526
527
  id: import("zod").ZodString;
527
528
  type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/ImageSet">;
528
529
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -685,11 +686,471 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<{
685
686
  pixelHeight?: number | undefined;
686
687
  })[];
687
688
  description?: string | undefined;
688
- }>, "many">>;
689
+ }>, import("zod").ZodObject<{
690
+ id: import("zod").ZodString;
691
+ type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/ClipSet">;
692
+ members: import("zod").ZodArray<import("zod").ZodObject<{
693
+ id: import("zod").ZodString;
694
+ type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Clip">;
695
+ format: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"standardInline">, import("zod").ZodLiteral<"mobile">]>>;
696
+ dataSource: import("zod").ZodArray<import("zod").ZodObject<{
697
+ audioCodec: import("zod").ZodOptional<import("zod").ZodString>;
698
+ binaryUrl: import("zod").ZodOptional<import("zod").ZodString>;
699
+ duration: import("zod").ZodOptional<import("zod").ZodNumber>;
700
+ mediaType: import("zod").ZodOptional<import("zod").ZodString>;
701
+ pixelHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
702
+ pixelWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
703
+ videoCodec: import("zod").ZodOptional<import("zod").ZodString>;
704
+ }, "strip", import("zod").ZodTypeAny, {
705
+ audioCodec?: string | undefined;
706
+ binaryUrl?: string | undefined;
707
+ duration?: number | undefined;
708
+ mediaType?: string | undefined;
709
+ pixelHeight?: number | undefined;
710
+ pixelWidth?: number | undefined;
711
+ videoCodec?: string | undefined;
712
+ }, {
713
+ audioCodec?: string | undefined;
714
+ binaryUrl?: string | undefined;
715
+ duration?: number | undefined;
716
+ mediaType?: string | undefined;
717
+ pixelHeight?: number | undefined;
718
+ pixelWidth?: number | undefined;
719
+ videoCodec?: string | undefined;
720
+ }>, "many">;
721
+ poster: import("zod").ZodOptional<import("zod").ZodObject<{
722
+ id: import("zod").ZodString;
723
+ type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/ImageSet">;
724
+ description: import("zod").ZodOptional<import("zod").ZodString>;
725
+ members: import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodObject<{
726
+ id: import("zod").ZodString;
727
+ type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Image">;
728
+ 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">]>>;
729
+ title: import("zod").ZodOptional<import("zod").ZodString>;
730
+ description: import("zod").ZodOptional<import("zod").ZodString>;
731
+ binaryUrl: import("zod").ZodString;
732
+ copyright: import("zod").ZodOptional<import("zod").ZodObject<{
733
+ notice: import("zod").ZodString;
734
+ }, "strip", import("zod").ZodTypeAny, {
735
+ notice: string;
736
+ }, {
737
+ notice: string;
738
+ }>>;
739
+ minDisplayWidth: import("zod").ZodOptional<import("zod").ZodString>;
740
+ maxDisplayWidth: import("zod").ZodOptional<import("zod").ZodString>;
741
+ pixelWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
742
+ pixelHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
743
+ }, "strip", import("zod").ZodTypeAny, {
744
+ id: string;
745
+ type: "http://www.ft.com/ontology/content/Image";
746
+ binaryUrl: string;
747
+ format?: "standardInline" | "mobile" | "desktop" | "standard" | "square" | "ftEditSquare" | "wide" | "portrait" | "landscape" | undefined;
748
+ title?: string | undefined;
749
+ description?: string | undefined;
750
+ copyright?: {
751
+ notice: string;
752
+ } | undefined;
753
+ minDisplayWidth?: string | undefined;
754
+ maxDisplayWidth?: string | undefined;
755
+ pixelWidth?: number | undefined;
756
+ pixelHeight?: number | undefined;
757
+ }, {
758
+ id: string;
759
+ type: "http://www.ft.com/ontology/content/Image";
760
+ binaryUrl: string;
761
+ format?: "standardInline" | "mobile" | "desktop" | "standard" | "square" | "ftEditSquare" | "wide" | "portrait" | "landscape" | undefined;
762
+ title?: string | undefined;
763
+ description?: string | undefined;
764
+ copyright?: {
765
+ notice: string;
766
+ } | undefined;
767
+ minDisplayWidth?: string | undefined;
768
+ maxDisplayWidth?: string | undefined;
769
+ pixelWidth?: number | undefined;
770
+ pixelHeight?: number | undefined;
771
+ }>, import("zod").ZodObject<{
772
+ id: import("zod").ZodString;
773
+ 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">]>>;
774
+ title: import("zod").ZodOptional<import("zod").ZodString>;
775
+ description: import("zod").ZodOptional<import("zod").ZodString>;
776
+ binaryUrl: import("zod").ZodString;
777
+ copyright: import("zod").ZodOptional<import("zod").ZodObject<{
778
+ notice: import("zod").ZodString;
779
+ }, "strip", import("zod").ZodTypeAny, {
780
+ notice: string;
781
+ }, {
782
+ notice: string;
783
+ }>>;
784
+ minDisplayWidth: import("zod").ZodOptional<import("zod").ZodString>;
785
+ maxDisplayWidth: import("zod").ZodOptional<import("zod").ZodString>;
786
+ pixelWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
787
+ pixelHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
788
+ type: import("zod").ZodLiteral<"http://www.ft.com/ontology/content/Graphic">;
789
+ }, "strip", import("zod").ZodTypeAny, {
790
+ id: string;
791
+ type: "http://www.ft.com/ontology/content/Graphic";
792
+ binaryUrl: string;
793
+ format?: "standardInline" | "mobile" | "desktop" | "standard" | "square" | "ftEditSquare" | "wide" | "portrait" | "landscape" | undefined;
794
+ title?: string | undefined;
795
+ description?: string | undefined;
796
+ copyright?: {
797
+ notice: string;
798
+ } | undefined;
799
+ minDisplayWidth?: string | undefined;
800
+ maxDisplayWidth?: string | undefined;
801
+ pixelWidth?: number | undefined;
802
+ pixelHeight?: number | undefined;
803
+ }, {
804
+ id: string;
805
+ type: "http://www.ft.com/ontology/content/Graphic";
806
+ binaryUrl: string;
807
+ format?: "standardInline" | "mobile" | "desktop" | "standard" | "square" | "ftEditSquare" | "wide" | "portrait" | "landscape" | undefined;
808
+ title?: string | undefined;
809
+ description?: string | undefined;
810
+ copyright?: {
811
+ notice: string;
812
+ } | undefined;
813
+ minDisplayWidth?: string | undefined;
814
+ maxDisplayWidth?: string | undefined;
815
+ pixelWidth?: number | undefined;
816
+ pixelHeight?: number | undefined;
817
+ }>]>, "many">;
818
+ }, "strip", import("zod").ZodTypeAny, {
819
+ id: string;
820
+ type: "http://www.ft.com/ontology/content/ImageSet";
821
+ members: ({
822
+ id: string;
823
+ type: "http://www.ft.com/ontology/content/Image";
824
+ binaryUrl: string;
825
+ format?: "standardInline" | "mobile" | "desktop" | "standard" | "square" | "ftEditSquare" | "wide" | "portrait" | "landscape" | undefined;
826
+ title?: string | undefined;
827
+ description?: string | undefined;
828
+ copyright?: {
829
+ notice: string;
830
+ } | undefined;
831
+ minDisplayWidth?: string | undefined;
832
+ maxDisplayWidth?: string | undefined;
833
+ pixelWidth?: number | undefined;
834
+ pixelHeight?: number | undefined;
835
+ } | {
836
+ id: string;
837
+ type: "http://www.ft.com/ontology/content/Graphic";
838
+ binaryUrl: string;
839
+ format?: "standardInline" | "mobile" | "desktop" | "standard" | "square" | "ftEditSquare" | "wide" | "portrait" | "landscape" | undefined;
840
+ title?: string | undefined;
841
+ description?: string | undefined;
842
+ copyright?: {
843
+ notice: string;
844
+ } | undefined;
845
+ minDisplayWidth?: string | undefined;
846
+ maxDisplayWidth?: string | undefined;
847
+ pixelWidth?: number | undefined;
848
+ pixelHeight?: number | undefined;
849
+ })[];
850
+ description?: string | undefined;
851
+ }, {
852
+ id: string;
853
+ type: "http://www.ft.com/ontology/content/ImageSet";
854
+ members: ({
855
+ id: string;
856
+ type: "http://www.ft.com/ontology/content/Image";
857
+ binaryUrl: string;
858
+ format?: "standardInline" | "mobile" | "desktop" | "standard" | "square" | "ftEditSquare" | "wide" | "portrait" | "landscape" | undefined;
859
+ title?: string | undefined;
860
+ description?: string | undefined;
861
+ copyright?: {
862
+ notice: string;
863
+ } | undefined;
864
+ minDisplayWidth?: string | undefined;
865
+ maxDisplayWidth?: string | undefined;
866
+ pixelWidth?: number | undefined;
867
+ pixelHeight?: number | undefined;
868
+ } | {
869
+ id: string;
870
+ type: "http://www.ft.com/ontology/content/Graphic";
871
+ binaryUrl: string;
872
+ format?: "standardInline" | "mobile" | "desktop" | "standard" | "square" | "ftEditSquare" | "wide" | "portrait" | "landscape" | undefined;
873
+ title?: string | undefined;
874
+ description?: string | undefined;
875
+ copyright?: {
876
+ notice: string;
877
+ } | undefined;
878
+ minDisplayWidth?: string | undefined;
879
+ maxDisplayWidth?: string | undefined;
880
+ pixelWidth?: number | undefined;
881
+ pixelHeight?: number | undefined;
882
+ })[];
883
+ description?: string | undefined;
884
+ }>>;
885
+ }, "strip", import("zod").ZodTypeAny, {
886
+ id: string;
887
+ type: "http://www.ft.com/ontology/content/Clip";
888
+ dataSource: {
889
+ audioCodec?: string | undefined;
890
+ binaryUrl?: string | undefined;
891
+ duration?: number | undefined;
892
+ mediaType?: string | undefined;
893
+ pixelHeight?: number | undefined;
894
+ pixelWidth?: number | undefined;
895
+ videoCodec?: string | undefined;
896
+ }[];
897
+ format?: "standardInline" | "mobile" | undefined;
898
+ poster?: {
899
+ id: string;
900
+ type: "http://www.ft.com/ontology/content/ImageSet";
901
+ members: ({
902
+ id: string;
903
+ type: "http://www.ft.com/ontology/content/Image";
904
+ binaryUrl: string;
905
+ format?: "standardInline" | "mobile" | "desktop" | "standard" | "square" | "ftEditSquare" | "wide" | "portrait" | "landscape" | undefined;
906
+ title?: string | undefined;
907
+ description?: string | undefined;
908
+ copyright?: {
909
+ notice: string;
910
+ } | undefined;
911
+ minDisplayWidth?: string | undefined;
912
+ maxDisplayWidth?: string | undefined;
913
+ pixelWidth?: number | undefined;
914
+ pixelHeight?: number | undefined;
915
+ } | {
916
+ id: string;
917
+ type: "http://www.ft.com/ontology/content/Graphic";
918
+ binaryUrl: string;
919
+ format?: "standardInline" | "mobile" | "desktop" | "standard" | "square" | "ftEditSquare" | "wide" | "portrait" | "landscape" | undefined;
920
+ title?: string | undefined;
921
+ description?: string | undefined;
922
+ copyright?: {
923
+ notice: string;
924
+ } | undefined;
925
+ minDisplayWidth?: string | undefined;
926
+ maxDisplayWidth?: string | undefined;
927
+ pixelWidth?: number | undefined;
928
+ pixelHeight?: number | undefined;
929
+ })[];
930
+ description?: string | undefined;
931
+ } | undefined;
932
+ }, {
933
+ id: string;
934
+ type: "http://www.ft.com/ontology/content/Clip";
935
+ dataSource: {
936
+ audioCodec?: string | undefined;
937
+ binaryUrl?: string | undefined;
938
+ duration?: number | undefined;
939
+ mediaType?: string | undefined;
940
+ pixelHeight?: number | undefined;
941
+ pixelWidth?: number | undefined;
942
+ videoCodec?: string | undefined;
943
+ }[];
944
+ format?: "standardInline" | "mobile" | undefined;
945
+ poster?: {
946
+ id: string;
947
+ type: "http://www.ft.com/ontology/content/ImageSet";
948
+ members: ({
949
+ id: string;
950
+ type: "http://www.ft.com/ontology/content/Image";
951
+ binaryUrl: string;
952
+ format?: "standardInline" | "mobile" | "desktop" | "standard" | "square" | "ftEditSquare" | "wide" | "portrait" | "landscape" | undefined;
953
+ title?: string | undefined;
954
+ description?: string | undefined;
955
+ copyright?: {
956
+ notice: string;
957
+ } | undefined;
958
+ minDisplayWidth?: string | undefined;
959
+ maxDisplayWidth?: string | undefined;
960
+ pixelWidth?: number | undefined;
961
+ pixelHeight?: number | undefined;
962
+ } | {
963
+ id: string;
964
+ type: "http://www.ft.com/ontology/content/Graphic";
965
+ binaryUrl: string;
966
+ format?: "standardInline" | "mobile" | "desktop" | "standard" | "square" | "ftEditSquare" | "wide" | "portrait" | "landscape" | undefined;
967
+ title?: string | undefined;
968
+ description?: string | undefined;
969
+ copyright?: {
970
+ notice: string;
971
+ } | undefined;
972
+ minDisplayWidth?: string | undefined;
973
+ maxDisplayWidth?: string | undefined;
974
+ pixelWidth?: number | undefined;
975
+ pixelHeight?: number | undefined;
976
+ })[];
977
+ description?: string | undefined;
978
+ } | undefined;
979
+ }>, "many">;
980
+ caption: import("zod").ZodOptional<import("zod").ZodString>;
981
+ dataCopyright: import("zod").ZodOptional<import("zod").ZodString>;
982
+ description: import("zod").ZodOptional<import("zod").ZodString>;
983
+ displayTitle: import("zod").ZodOptional<import("zod").ZodString>;
984
+ contentWarning: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
985
+ noAudio: import("zod").ZodOptional<import("zod").ZodBoolean>;
986
+ source: import("zod").ZodOptional<import("zod").ZodString>;
987
+ subtitle: import("zod").ZodOptional<import("zod").ZodString>;
988
+ publishedDate: import("zod").ZodOptional<import("zod").ZodString>;
989
+ accessibility: import("zod").ZodObject<{
990
+ captions: import("zod").ZodArray<import("zod").ZodObject<{
991
+ mediaType: import("zod").ZodString;
992
+ url: import("zod").ZodString;
993
+ }, "strip", import("zod").ZodTypeAny, {
994
+ mediaType: string;
995
+ url: string;
996
+ }, {
997
+ mediaType: string;
998
+ url: string;
999
+ }>, "many">;
1000
+ transcript: import("zod").ZodOptional<import("zod").ZodString>;
1001
+ }, "strip", import("zod").ZodTypeAny, {
1002
+ captions: {
1003
+ mediaType: string;
1004
+ url: string;
1005
+ }[];
1006
+ transcript?: string | undefined;
1007
+ }, {
1008
+ captions: {
1009
+ mediaType: string;
1010
+ url: string;
1011
+ }[];
1012
+ transcript?: string | undefined;
1013
+ }>;
1014
+ }, "strip", import("zod").ZodTypeAny, {
1015
+ id: string;
1016
+ type: "http://www.ft.com/ontology/content/ClipSet";
1017
+ members: {
1018
+ id: string;
1019
+ type: "http://www.ft.com/ontology/content/Clip";
1020
+ dataSource: {
1021
+ audioCodec?: string | undefined;
1022
+ binaryUrl?: string | undefined;
1023
+ duration?: number | undefined;
1024
+ mediaType?: string | undefined;
1025
+ pixelHeight?: number | undefined;
1026
+ pixelWidth?: number | undefined;
1027
+ videoCodec?: string | undefined;
1028
+ }[];
1029
+ format?: "standardInline" | "mobile" | undefined;
1030
+ poster?: {
1031
+ id: string;
1032
+ type: "http://www.ft.com/ontology/content/ImageSet";
1033
+ members: ({
1034
+ id: string;
1035
+ type: "http://www.ft.com/ontology/content/Image";
1036
+ binaryUrl: string;
1037
+ format?: "standardInline" | "mobile" | "desktop" | "standard" | "square" | "ftEditSquare" | "wide" | "portrait" | "landscape" | undefined;
1038
+ title?: string | undefined;
1039
+ description?: string | undefined;
1040
+ copyright?: {
1041
+ notice: string;
1042
+ } | undefined;
1043
+ minDisplayWidth?: string | undefined;
1044
+ maxDisplayWidth?: string | undefined;
1045
+ pixelWidth?: number | undefined;
1046
+ pixelHeight?: number | undefined;
1047
+ } | {
1048
+ id: string;
1049
+ type: "http://www.ft.com/ontology/content/Graphic";
1050
+ binaryUrl: string;
1051
+ format?: "standardInline" | "mobile" | "desktop" | "standard" | "square" | "ftEditSquare" | "wide" | "portrait" | "landscape" | undefined;
1052
+ title?: string | undefined;
1053
+ description?: string | undefined;
1054
+ copyright?: {
1055
+ notice: string;
1056
+ } | undefined;
1057
+ minDisplayWidth?: string | undefined;
1058
+ maxDisplayWidth?: string | undefined;
1059
+ pixelWidth?: number | undefined;
1060
+ pixelHeight?: number | undefined;
1061
+ })[];
1062
+ description?: string | undefined;
1063
+ } | undefined;
1064
+ }[];
1065
+ accessibility: {
1066
+ captions: {
1067
+ mediaType: string;
1068
+ url: string;
1069
+ }[];
1070
+ transcript?: string | undefined;
1071
+ };
1072
+ caption?: string | undefined;
1073
+ dataCopyright?: string | undefined;
1074
+ description?: string | undefined;
1075
+ displayTitle?: string | undefined;
1076
+ contentWarning?: string[] | undefined;
1077
+ noAudio?: boolean | undefined;
1078
+ source?: string | undefined;
1079
+ subtitle?: string | undefined;
1080
+ publishedDate?: string | undefined;
1081
+ }, {
1082
+ id: string;
1083
+ type: "http://www.ft.com/ontology/content/ClipSet";
1084
+ members: {
1085
+ id: string;
1086
+ type: "http://www.ft.com/ontology/content/Clip";
1087
+ dataSource: {
1088
+ audioCodec?: string | undefined;
1089
+ binaryUrl?: string | undefined;
1090
+ duration?: number | undefined;
1091
+ mediaType?: string | undefined;
1092
+ pixelHeight?: number | undefined;
1093
+ pixelWidth?: number | undefined;
1094
+ videoCodec?: string | undefined;
1095
+ }[];
1096
+ format?: "standardInline" | "mobile" | undefined;
1097
+ poster?: {
1098
+ id: string;
1099
+ type: "http://www.ft.com/ontology/content/ImageSet";
1100
+ members: ({
1101
+ id: string;
1102
+ type: "http://www.ft.com/ontology/content/Image";
1103
+ binaryUrl: string;
1104
+ format?: "standardInline" | "mobile" | "desktop" | "standard" | "square" | "ftEditSquare" | "wide" | "portrait" | "landscape" | undefined;
1105
+ title?: string | undefined;
1106
+ description?: string | undefined;
1107
+ copyright?: {
1108
+ notice: string;
1109
+ } | undefined;
1110
+ minDisplayWidth?: string | undefined;
1111
+ maxDisplayWidth?: string | undefined;
1112
+ pixelWidth?: number | undefined;
1113
+ pixelHeight?: number | undefined;
1114
+ } | {
1115
+ id: string;
1116
+ type: "http://www.ft.com/ontology/content/Graphic";
1117
+ binaryUrl: string;
1118
+ format?: "standardInline" | "mobile" | "desktop" | "standard" | "square" | "ftEditSquare" | "wide" | "portrait" | "landscape" | undefined;
1119
+ title?: string | undefined;
1120
+ description?: string | undefined;
1121
+ copyright?: {
1122
+ notice: string;
1123
+ } | undefined;
1124
+ minDisplayWidth?: string | undefined;
1125
+ maxDisplayWidth?: string | undefined;
1126
+ pixelWidth?: number | undefined;
1127
+ pixelHeight?: number | undefined;
1128
+ })[];
1129
+ description?: string | undefined;
1130
+ } | undefined;
1131
+ }[];
1132
+ accessibility: {
1133
+ captions: {
1134
+ mediaType: string;
1135
+ url: string;
1136
+ }[];
1137
+ transcript?: string | undefined;
1138
+ };
1139
+ caption?: string | undefined;
1140
+ dataCopyright?: string | undefined;
1141
+ description?: string | undefined;
1142
+ displayTitle?: string | undefined;
1143
+ contentWarning?: string[] | undefined;
1144
+ noAudio?: boolean | undefined;
1145
+ source?: string | undefined;
1146
+ subtitle?: string | undefined;
1147
+ publishedDate?: string | undefined;
1148
+ }>]>, "many">>;
689
1149
  }, "strip", import("zod").ZodTypeAny, {
690
1150
  id: string;
691
1151
  types: string[];
692
1152
  title: string;
1153
+ publishedDate: string;
693
1154
  annotations: {
694
1155
  id: string;
695
1156
  apiUrl: string;
@@ -700,9 +1161,9 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<{
700
1161
  type?: string | undefined;
701
1162
  headshot?: string | undefined;
702
1163
  }[];
703
- publishedDate: string;
704
1164
  firstPublishedDate: string;
705
1165
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
1166
+ canBeDistributed: "yes" | "no" | "verify";
706
1167
  summary: {
707
1168
  bodyXML: string;
708
1169
  };
@@ -830,7 +1291,7 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<{
830
1291
  pixelHeight?: number | undefined;
831
1292
  };
832
1293
  }[] | undefined;
833
- embeds?: {
1294
+ embeds?: ({
834
1295
  id: string;
835
1296
  type: "http://www.ft.com/ontology/content/ImageSet";
836
1297
  members: ({
@@ -863,11 +1324,79 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<{
863
1324
  pixelHeight?: number | undefined;
864
1325
  })[];
865
1326
  description?: string | undefined;
866
- }[] | undefined;
1327
+ } | {
1328
+ id: string;
1329
+ type: "http://www.ft.com/ontology/content/ClipSet";
1330
+ members: {
1331
+ id: string;
1332
+ type: "http://www.ft.com/ontology/content/Clip";
1333
+ dataSource: {
1334
+ audioCodec?: string | undefined;
1335
+ binaryUrl?: string | undefined;
1336
+ duration?: number | undefined;
1337
+ mediaType?: string | undefined;
1338
+ pixelHeight?: number | undefined;
1339
+ pixelWidth?: number | undefined;
1340
+ videoCodec?: string | undefined;
1341
+ }[];
1342
+ format?: "standardInline" | "mobile" | undefined;
1343
+ poster?: {
1344
+ id: string;
1345
+ type: "http://www.ft.com/ontology/content/ImageSet";
1346
+ members: ({
1347
+ id: string;
1348
+ type: "http://www.ft.com/ontology/content/Image";
1349
+ binaryUrl: string;
1350
+ format?: "standardInline" | "mobile" | "desktop" | "standard" | "square" | "ftEditSquare" | "wide" | "portrait" | "landscape" | undefined;
1351
+ title?: string | undefined;
1352
+ description?: string | undefined;
1353
+ copyright?: {
1354
+ notice: string;
1355
+ } | undefined;
1356
+ minDisplayWidth?: string | undefined;
1357
+ maxDisplayWidth?: string | undefined;
1358
+ pixelWidth?: number | undefined;
1359
+ pixelHeight?: number | undefined;
1360
+ } | {
1361
+ id: string;
1362
+ type: "http://www.ft.com/ontology/content/Graphic";
1363
+ binaryUrl: string;
1364
+ format?: "standardInline" | "mobile" | "desktop" | "standard" | "square" | "ftEditSquare" | "wide" | "portrait" | "landscape" | undefined;
1365
+ title?: string | undefined;
1366
+ description?: string | undefined;
1367
+ copyright?: {
1368
+ notice: string;
1369
+ } | undefined;
1370
+ minDisplayWidth?: string | undefined;
1371
+ maxDisplayWidth?: string | undefined;
1372
+ pixelWidth?: number | undefined;
1373
+ pixelHeight?: number | undefined;
1374
+ })[];
1375
+ description?: string | undefined;
1376
+ } | undefined;
1377
+ }[];
1378
+ accessibility: {
1379
+ captions: {
1380
+ mediaType: string;
1381
+ url: string;
1382
+ }[];
1383
+ transcript?: string | undefined;
1384
+ };
1385
+ caption?: string | undefined;
1386
+ dataCopyright?: string | undefined;
1387
+ description?: string | undefined;
1388
+ displayTitle?: string | undefined;
1389
+ contentWarning?: string[] | undefined;
1390
+ noAudio?: boolean | undefined;
1391
+ source?: string | undefined;
1392
+ subtitle?: string | undefined;
1393
+ publishedDate?: string | undefined;
1394
+ })[] | undefined;
867
1395
  }, {
868
1396
  id: string;
869
1397
  types: string[];
870
1398
  title: string;
1399
+ publishedDate: string;
871
1400
  annotations: {
872
1401
  id: string;
873
1402
  apiUrl: string;
@@ -878,9 +1407,9 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<{
878
1407
  type?: string | undefined;
879
1408
  headshot?: string | undefined;
880
1409
  }[];
881
- publishedDate: string;
882
1410
  firstPublishedDate: string;
883
1411
  canBeSyndicated: "unknown" | "yes" | "no" | "verify" | "withContributorPayment";
1412
+ canBeDistributed: "yes" | "no" | "verify";
884
1413
  summary: {
885
1414
  bodyXML: string;
886
1415
  };
@@ -1008,7 +1537,7 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<{
1008
1537
  pixelHeight?: number | undefined;
1009
1538
  };
1010
1539
  }[] | undefined;
1011
- embeds?: {
1540
+ embeds?: ({
1012
1541
  id: string;
1013
1542
  type: "http://www.ft.com/ontology/content/ImageSet";
1014
1543
  members: ({
@@ -1041,5 +1570,72 @@ export declare const liveBlogPackageSchema: import("zod").ZodObject<{
1041
1570
  pixelHeight?: number | undefined;
1042
1571
  })[];
1043
1572
  description?: string | undefined;
1044
- }[] | undefined;
1573
+ } | {
1574
+ id: string;
1575
+ type: "http://www.ft.com/ontology/content/ClipSet";
1576
+ members: {
1577
+ id: string;
1578
+ type: "http://www.ft.com/ontology/content/Clip";
1579
+ dataSource: {
1580
+ audioCodec?: string | undefined;
1581
+ binaryUrl?: string | undefined;
1582
+ duration?: number | undefined;
1583
+ mediaType?: string | undefined;
1584
+ pixelHeight?: number | undefined;
1585
+ pixelWidth?: number | undefined;
1586
+ videoCodec?: string | undefined;
1587
+ }[];
1588
+ format?: "standardInline" | "mobile" | undefined;
1589
+ poster?: {
1590
+ id: string;
1591
+ type: "http://www.ft.com/ontology/content/ImageSet";
1592
+ members: ({
1593
+ id: string;
1594
+ type: "http://www.ft.com/ontology/content/Image";
1595
+ binaryUrl: string;
1596
+ format?: "standardInline" | "mobile" | "desktop" | "standard" | "square" | "ftEditSquare" | "wide" | "portrait" | "landscape" | undefined;
1597
+ title?: string | undefined;
1598
+ description?: string | undefined;
1599
+ copyright?: {
1600
+ notice: string;
1601
+ } | undefined;
1602
+ minDisplayWidth?: string | undefined;
1603
+ maxDisplayWidth?: string | undefined;
1604
+ pixelWidth?: number | undefined;
1605
+ pixelHeight?: number | undefined;
1606
+ } | {
1607
+ id: string;
1608
+ type: "http://www.ft.com/ontology/content/Graphic";
1609
+ binaryUrl: string;
1610
+ format?: "standardInline" | "mobile" | "desktop" | "standard" | "square" | "ftEditSquare" | "wide" | "portrait" | "landscape" | undefined;
1611
+ title?: string | undefined;
1612
+ description?: string | undefined;
1613
+ copyright?: {
1614
+ notice: string;
1615
+ } | undefined;
1616
+ minDisplayWidth?: string | undefined;
1617
+ maxDisplayWidth?: string | undefined;
1618
+ pixelWidth?: number | undefined;
1619
+ pixelHeight?: number | undefined;
1620
+ })[];
1621
+ description?: string | undefined;
1622
+ } | undefined;
1623
+ }[];
1624
+ accessibility: {
1625
+ captions: {
1626
+ mediaType: string;
1627
+ url: string;
1628
+ }[];
1629
+ transcript?: string | undefined;
1630
+ };
1631
+ caption?: string | undefined;
1632
+ dataCopyright?: string | undefined;
1633
+ description?: string | undefined;
1634
+ displayTitle?: string | undefined;
1635
+ contentWarning?: string[] | undefined;
1636
+ noAudio?: boolean | undefined;
1637
+ source?: string | undefined;
1638
+ subtitle?: string | undefined;
1639
+ publishedDate?: string | undefined;
1640
+ })[] | undefined;
1045
1641
  }>;