@financial-times/content-curation-client 0.5.0 → 2.0.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.
- package/dist/_tsup-dts-rollup.d.cts +721 -96
- package/dist/_tsup-dts-rollup.d.ts +721 -96
- package/dist/financial-times-content-curation-client-2.0.0.tgz +0 -0
- package/dist/index.cjs +21 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +21 -9
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/financial-times-content-curation-client-0.5.0.tgz +0 -0
|
@@ -660,6 +660,131 @@ declare type FlourishGraphicSliceType = z.infer<typeof FlourishGraphicSlice.Outp
|
|
|
660
660
|
export { FlourishGraphicSliceType }
|
|
661
661
|
export { FlourishGraphicSliceType as FlourishGraphicSliceType_alias_1 }
|
|
662
662
|
|
|
663
|
+
declare const HeroSlice: {
|
|
664
|
+
InputSchema: z.ZodObject<{
|
|
665
|
+
type: z.ZodLiteral<"Hero">;
|
|
666
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
667
|
+
properties: z.ZodObject<{
|
|
668
|
+
heading: z.ZodOptional<z.ZodObject<{
|
|
669
|
+
text: z.ZodString;
|
|
670
|
+
href: z.ZodOptional<z.ZodString>;
|
|
671
|
+
}, "strip", z.ZodTypeAny, {
|
|
672
|
+
text: string;
|
|
673
|
+
href?: string | undefined;
|
|
674
|
+
}, {
|
|
675
|
+
text: string;
|
|
676
|
+
href?: string | undefined;
|
|
677
|
+
}>>;
|
|
678
|
+
} & {
|
|
679
|
+
listId: z.ZodString;
|
|
680
|
+
maxStories: z.ZodNumber;
|
|
681
|
+
}, "strip", z.ZodTypeAny, {
|
|
682
|
+
listId: string;
|
|
683
|
+
maxStories: number;
|
|
684
|
+
heading?: {
|
|
685
|
+
text: string;
|
|
686
|
+
href?: string | undefined;
|
|
687
|
+
} | undefined;
|
|
688
|
+
}, {
|
|
689
|
+
listId: string;
|
|
690
|
+
maxStories: number;
|
|
691
|
+
heading?: {
|
|
692
|
+
text: string;
|
|
693
|
+
href?: string | undefined;
|
|
694
|
+
} | undefined;
|
|
695
|
+
}>;
|
|
696
|
+
} & {
|
|
697
|
+
sliceId: z.ZodOptional<z.ZodString>;
|
|
698
|
+
}, "strip", z.ZodTypeAny, {
|
|
699
|
+
type: "Hero";
|
|
700
|
+
properties: {
|
|
701
|
+
listId: string;
|
|
702
|
+
maxStories: number;
|
|
703
|
+
heading?: {
|
|
704
|
+
text: string;
|
|
705
|
+
href?: string | undefined;
|
|
706
|
+
} | undefined;
|
|
707
|
+
};
|
|
708
|
+
hidden?: boolean | undefined;
|
|
709
|
+
sliceId?: string | undefined;
|
|
710
|
+
}, {
|
|
711
|
+
type: "Hero";
|
|
712
|
+
properties: {
|
|
713
|
+
listId: string;
|
|
714
|
+
maxStories: number;
|
|
715
|
+
heading?: {
|
|
716
|
+
text: string;
|
|
717
|
+
href?: string | undefined;
|
|
718
|
+
} | undefined;
|
|
719
|
+
};
|
|
720
|
+
hidden?: boolean | undefined;
|
|
721
|
+
sliceId?: string | undefined;
|
|
722
|
+
}>;
|
|
723
|
+
OutputSchema: z.ZodObject<{
|
|
724
|
+
type: z.ZodLiteral<"Hero">;
|
|
725
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
726
|
+
properties: z.ZodObject<{
|
|
727
|
+
heading: z.ZodOptional<z.ZodObject<{
|
|
728
|
+
text: z.ZodString;
|
|
729
|
+
href: z.ZodOptional<z.ZodString>;
|
|
730
|
+
}, "strip", z.ZodTypeAny, {
|
|
731
|
+
text: string;
|
|
732
|
+
href?: string | undefined;
|
|
733
|
+
}, {
|
|
734
|
+
text: string;
|
|
735
|
+
href?: string | undefined;
|
|
736
|
+
}>>;
|
|
737
|
+
} & {
|
|
738
|
+
listId: z.ZodString;
|
|
739
|
+
maxStories: z.ZodNumber;
|
|
740
|
+
}, "strip", z.ZodTypeAny, {
|
|
741
|
+
listId: string;
|
|
742
|
+
maxStories: number;
|
|
743
|
+
heading?: {
|
|
744
|
+
text: string;
|
|
745
|
+
href?: string | undefined;
|
|
746
|
+
} | undefined;
|
|
747
|
+
}, {
|
|
748
|
+
listId: string;
|
|
749
|
+
maxStories: number;
|
|
750
|
+
heading?: {
|
|
751
|
+
text: string;
|
|
752
|
+
href?: string | undefined;
|
|
753
|
+
} | undefined;
|
|
754
|
+
}>;
|
|
755
|
+
} & {
|
|
756
|
+
sliceId: z.ZodString;
|
|
757
|
+
}, "strip", z.ZodTypeAny, {
|
|
758
|
+
type: "Hero";
|
|
759
|
+
properties: {
|
|
760
|
+
listId: string;
|
|
761
|
+
maxStories: number;
|
|
762
|
+
heading?: {
|
|
763
|
+
text: string;
|
|
764
|
+
href?: string | undefined;
|
|
765
|
+
} | undefined;
|
|
766
|
+
};
|
|
767
|
+
sliceId: string;
|
|
768
|
+
hidden?: boolean | undefined;
|
|
769
|
+
}, {
|
|
770
|
+
type: "Hero";
|
|
771
|
+
properties: {
|
|
772
|
+
listId: string;
|
|
773
|
+
maxStories: number;
|
|
774
|
+
heading?: {
|
|
775
|
+
text: string;
|
|
776
|
+
href?: string | undefined;
|
|
777
|
+
} | undefined;
|
|
778
|
+
};
|
|
779
|
+
sliceId: string;
|
|
780
|
+
hidden?: boolean | undefined;
|
|
781
|
+
}>;
|
|
782
|
+
};
|
|
783
|
+
|
|
784
|
+
declare type HeroSliceType = z.infer<typeof HeroSlice.OutputSchema>;
|
|
785
|
+
export { HeroSliceType }
|
|
786
|
+
export { HeroSliceType as HeroSliceType_alias_1 }
|
|
787
|
+
|
|
663
788
|
/**
|
|
664
789
|
* Client for Homepage structure endpoints
|
|
665
790
|
*/
|
|
@@ -1020,10 +1145,9 @@ declare const HomepageStructureInputSchema: z.ZodObject<{
|
|
|
1020
1145
|
hidden?: boolean | undefined;
|
|
1021
1146
|
sliceId?: string | undefined;
|
|
1022
1147
|
}>, z.ZodObject<{
|
|
1023
|
-
type: z.ZodLiteral<"
|
|
1148
|
+
type: z.ZodLiteral<"Strip">;
|
|
1024
1149
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1025
|
-
properties: z.ZodObject<{
|
|
1026
|
-
listId: z.ZodString;
|
|
1150
|
+
properties: z.ZodObject<{
|
|
1027
1151
|
heading: z.ZodOptional<z.ZodObject<{
|
|
1028
1152
|
text: z.ZodString;
|
|
1029
1153
|
href: z.ZodOptional<z.ZodString>;
|
|
@@ -1034,14 +1158,19 @@ declare const HomepageStructureInputSchema: z.ZodObject<{
|
|
|
1034
1158
|
text: string;
|
|
1035
1159
|
href?: string | undefined;
|
|
1036
1160
|
}>>;
|
|
1161
|
+
} & {
|
|
1162
|
+
listId: z.ZodString;
|
|
1163
|
+
maxStories: z.ZodNumber;
|
|
1037
1164
|
}, "strip", z.ZodTypeAny, {
|
|
1038
1165
|
listId: string;
|
|
1166
|
+
maxStories: number;
|
|
1039
1167
|
heading?: {
|
|
1040
1168
|
text: string;
|
|
1041
1169
|
href?: string | undefined;
|
|
1042
1170
|
} | undefined;
|
|
1043
1171
|
}, {
|
|
1044
1172
|
listId: string;
|
|
1173
|
+
maxStories: number;
|
|
1045
1174
|
heading?: {
|
|
1046
1175
|
text: string;
|
|
1047
1176
|
href?: string | undefined;
|
|
@@ -1050,9 +1179,10 @@ declare const HomepageStructureInputSchema: z.ZodObject<{
|
|
|
1050
1179
|
} & {
|
|
1051
1180
|
sliceId: z.ZodOptional<z.ZodString>;
|
|
1052
1181
|
}, "strip", z.ZodTypeAny, {
|
|
1053
|
-
type: "
|
|
1182
|
+
type: "Strip";
|
|
1054
1183
|
properties: {
|
|
1055
1184
|
listId: string;
|
|
1185
|
+
maxStories: number;
|
|
1056
1186
|
heading?: {
|
|
1057
1187
|
text: string;
|
|
1058
1188
|
href?: string | undefined;
|
|
@@ -1061,9 +1191,10 @@ declare const HomepageStructureInputSchema: z.ZodObject<{
|
|
|
1061
1191
|
hidden?: boolean | undefined;
|
|
1062
1192
|
sliceId?: string | undefined;
|
|
1063
1193
|
}, {
|
|
1064
|
-
type: "
|
|
1194
|
+
type: "Strip";
|
|
1065
1195
|
properties: {
|
|
1066
1196
|
listId: string;
|
|
1197
|
+
maxStories: number;
|
|
1067
1198
|
heading?: {
|
|
1068
1199
|
text: string;
|
|
1069
1200
|
href?: string | undefined;
|
|
@@ -1577,6 +1708,64 @@ declare const HomepageStructureInputSchema: z.ZodObject<{
|
|
|
1577
1708
|
};
|
|
1578
1709
|
hidden?: boolean | undefined;
|
|
1579
1710
|
sliceId?: string | undefined;
|
|
1711
|
+
}>, z.ZodObject<{
|
|
1712
|
+
type: z.ZodLiteral<"Hero">;
|
|
1713
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1714
|
+
properties: z.ZodObject<{
|
|
1715
|
+
heading: z.ZodOptional<z.ZodObject<{
|
|
1716
|
+
text: z.ZodString;
|
|
1717
|
+
href: z.ZodOptional<z.ZodString>;
|
|
1718
|
+
}, "strip", z.ZodTypeAny, {
|
|
1719
|
+
text: string;
|
|
1720
|
+
href?: string | undefined;
|
|
1721
|
+
}, {
|
|
1722
|
+
text: string;
|
|
1723
|
+
href?: string | undefined;
|
|
1724
|
+
}>>;
|
|
1725
|
+
} & {
|
|
1726
|
+
listId: z.ZodString;
|
|
1727
|
+
maxStories: z.ZodNumber;
|
|
1728
|
+
}, "strip", z.ZodTypeAny, {
|
|
1729
|
+
listId: string;
|
|
1730
|
+
maxStories: number;
|
|
1731
|
+
heading?: {
|
|
1732
|
+
text: string;
|
|
1733
|
+
href?: string | undefined;
|
|
1734
|
+
} | undefined;
|
|
1735
|
+
}, {
|
|
1736
|
+
listId: string;
|
|
1737
|
+
maxStories: number;
|
|
1738
|
+
heading?: {
|
|
1739
|
+
text: string;
|
|
1740
|
+
href?: string | undefined;
|
|
1741
|
+
} | undefined;
|
|
1742
|
+
}>;
|
|
1743
|
+
} & {
|
|
1744
|
+
sliceId: z.ZodOptional<z.ZodString>;
|
|
1745
|
+
}, "strip", z.ZodTypeAny, {
|
|
1746
|
+
type: "Hero";
|
|
1747
|
+
properties: {
|
|
1748
|
+
listId: string;
|
|
1749
|
+
maxStories: number;
|
|
1750
|
+
heading?: {
|
|
1751
|
+
text: string;
|
|
1752
|
+
href?: string | undefined;
|
|
1753
|
+
} | undefined;
|
|
1754
|
+
};
|
|
1755
|
+
hidden?: boolean | undefined;
|
|
1756
|
+
sliceId?: string | undefined;
|
|
1757
|
+
}, {
|
|
1758
|
+
type: "Hero";
|
|
1759
|
+
properties: {
|
|
1760
|
+
listId: string;
|
|
1761
|
+
maxStories: number;
|
|
1762
|
+
heading?: {
|
|
1763
|
+
text: string;
|
|
1764
|
+
href?: string | undefined;
|
|
1765
|
+
} | undefined;
|
|
1766
|
+
};
|
|
1767
|
+
hidden?: boolean | undefined;
|
|
1768
|
+
sliceId?: string | undefined;
|
|
1580
1769
|
}>]>, "many">;
|
|
1581
1770
|
} & {
|
|
1582
1771
|
properties: z.ZodObject<{
|
|
@@ -1648,9 +1837,10 @@ declare const HomepageStructureInputSchema: z.ZodObject<{
|
|
|
1648
1837
|
hidden?: boolean | undefined;
|
|
1649
1838
|
sliceId?: string | undefined;
|
|
1650
1839
|
} | {
|
|
1651
|
-
type: "
|
|
1840
|
+
type: "Strip";
|
|
1652
1841
|
properties: {
|
|
1653
1842
|
listId: string;
|
|
1843
|
+
maxStories: number;
|
|
1654
1844
|
heading?: {
|
|
1655
1845
|
text: string;
|
|
1656
1846
|
href?: string | undefined;
|
|
@@ -1710,6 +1900,18 @@ declare const HomepageStructureInputSchema: z.ZodObject<{
|
|
|
1710
1900
|
};
|
|
1711
1901
|
hidden?: boolean | undefined;
|
|
1712
1902
|
sliceId?: string | undefined;
|
|
1903
|
+
} | {
|
|
1904
|
+
type: "Hero";
|
|
1905
|
+
properties: {
|
|
1906
|
+
listId: string;
|
|
1907
|
+
maxStories: number;
|
|
1908
|
+
heading?: {
|
|
1909
|
+
text: string;
|
|
1910
|
+
href?: string | undefined;
|
|
1911
|
+
} | undefined;
|
|
1912
|
+
};
|
|
1913
|
+
hidden?: boolean | undefined;
|
|
1914
|
+
sliceId?: string | undefined;
|
|
1713
1915
|
})[];
|
|
1714
1916
|
}, {
|
|
1715
1917
|
properties: {
|
|
@@ -1766,9 +1968,10 @@ declare const HomepageStructureInputSchema: z.ZodObject<{
|
|
|
1766
1968
|
hidden?: boolean | undefined;
|
|
1767
1969
|
sliceId?: string | undefined;
|
|
1768
1970
|
} | {
|
|
1769
|
-
type: "
|
|
1971
|
+
type: "Strip";
|
|
1770
1972
|
properties: {
|
|
1771
1973
|
listId: string;
|
|
1974
|
+
maxStories: number;
|
|
1772
1975
|
heading?: {
|
|
1773
1976
|
text: string;
|
|
1774
1977
|
href?: string | undefined;
|
|
@@ -1828,6 +2031,18 @@ declare const HomepageStructureInputSchema: z.ZodObject<{
|
|
|
1828
2031
|
};
|
|
1829
2032
|
hidden?: boolean | undefined;
|
|
1830
2033
|
sliceId?: string | undefined;
|
|
2034
|
+
} | {
|
|
2035
|
+
type: "Hero";
|
|
2036
|
+
properties: {
|
|
2037
|
+
listId: string;
|
|
2038
|
+
maxStories: number;
|
|
2039
|
+
heading?: {
|
|
2040
|
+
text: string;
|
|
2041
|
+
href?: string | undefined;
|
|
2042
|
+
} | undefined;
|
|
2043
|
+
};
|
|
2044
|
+
hidden?: boolean | undefined;
|
|
2045
|
+
sliceId?: string | undefined;
|
|
1831
2046
|
})[];
|
|
1832
2047
|
}>;
|
|
1833
2048
|
export { HomepageStructureInputSchema }
|
|
@@ -2074,10 +2289,9 @@ declare const HomepageStructureOutputSchema: z.ZodObject<{
|
|
|
2074
2289
|
sliceId: string;
|
|
2075
2290
|
hidden?: boolean | undefined;
|
|
2076
2291
|
}>, z.ZodObject<{
|
|
2077
|
-
type: z.ZodLiteral<"
|
|
2292
|
+
type: z.ZodLiteral<"Strip">;
|
|
2078
2293
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2079
|
-
properties: z.ZodObject<{
|
|
2080
|
-
listId: z.ZodString;
|
|
2294
|
+
properties: z.ZodObject<{
|
|
2081
2295
|
heading: z.ZodOptional<z.ZodObject<{
|
|
2082
2296
|
text: z.ZodString;
|
|
2083
2297
|
href: z.ZodOptional<z.ZodString>;
|
|
@@ -2088,14 +2302,19 @@ declare const HomepageStructureOutputSchema: z.ZodObject<{
|
|
|
2088
2302
|
text: string;
|
|
2089
2303
|
href?: string | undefined;
|
|
2090
2304
|
}>>;
|
|
2305
|
+
} & {
|
|
2306
|
+
listId: z.ZodString;
|
|
2307
|
+
maxStories: z.ZodNumber;
|
|
2091
2308
|
}, "strip", z.ZodTypeAny, {
|
|
2092
2309
|
listId: string;
|
|
2310
|
+
maxStories: number;
|
|
2093
2311
|
heading?: {
|
|
2094
2312
|
text: string;
|
|
2095
2313
|
href?: string | undefined;
|
|
2096
2314
|
} | undefined;
|
|
2097
2315
|
}, {
|
|
2098
2316
|
listId: string;
|
|
2317
|
+
maxStories: number;
|
|
2099
2318
|
heading?: {
|
|
2100
2319
|
text: string;
|
|
2101
2320
|
href?: string | undefined;
|
|
@@ -2104,9 +2323,10 @@ declare const HomepageStructureOutputSchema: z.ZodObject<{
|
|
|
2104
2323
|
} & {
|
|
2105
2324
|
sliceId: z.ZodString;
|
|
2106
2325
|
}, "strip", z.ZodTypeAny, {
|
|
2107
|
-
type: "
|
|
2326
|
+
type: "Strip";
|
|
2108
2327
|
properties: {
|
|
2109
2328
|
listId: string;
|
|
2329
|
+
maxStories: number;
|
|
2110
2330
|
heading?: {
|
|
2111
2331
|
text: string;
|
|
2112
2332
|
href?: string | undefined;
|
|
@@ -2115,9 +2335,10 @@ declare const HomepageStructureOutputSchema: z.ZodObject<{
|
|
|
2115
2335
|
sliceId: string;
|
|
2116
2336
|
hidden?: boolean | undefined;
|
|
2117
2337
|
}, {
|
|
2118
|
-
type: "
|
|
2338
|
+
type: "Strip";
|
|
2119
2339
|
properties: {
|
|
2120
2340
|
listId: string;
|
|
2341
|
+
maxStories: number;
|
|
2121
2342
|
heading?: {
|
|
2122
2343
|
text: string;
|
|
2123
2344
|
href?: string | undefined;
|
|
@@ -2631,6 +2852,64 @@ declare const HomepageStructureOutputSchema: z.ZodObject<{
|
|
|
2631
2852
|
};
|
|
2632
2853
|
sliceId: string;
|
|
2633
2854
|
hidden?: boolean | undefined;
|
|
2855
|
+
}>, z.ZodObject<{
|
|
2856
|
+
type: z.ZodLiteral<"Hero">;
|
|
2857
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2858
|
+
properties: z.ZodObject<{
|
|
2859
|
+
heading: z.ZodOptional<z.ZodObject<{
|
|
2860
|
+
text: z.ZodString;
|
|
2861
|
+
href: z.ZodOptional<z.ZodString>;
|
|
2862
|
+
}, "strip", z.ZodTypeAny, {
|
|
2863
|
+
text: string;
|
|
2864
|
+
href?: string | undefined;
|
|
2865
|
+
}, {
|
|
2866
|
+
text: string;
|
|
2867
|
+
href?: string | undefined;
|
|
2868
|
+
}>>;
|
|
2869
|
+
} & {
|
|
2870
|
+
listId: z.ZodString;
|
|
2871
|
+
maxStories: z.ZodNumber;
|
|
2872
|
+
}, "strip", z.ZodTypeAny, {
|
|
2873
|
+
listId: string;
|
|
2874
|
+
maxStories: number;
|
|
2875
|
+
heading?: {
|
|
2876
|
+
text: string;
|
|
2877
|
+
href?: string | undefined;
|
|
2878
|
+
} | undefined;
|
|
2879
|
+
}, {
|
|
2880
|
+
listId: string;
|
|
2881
|
+
maxStories: number;
|
|
2882
|
+
heading?: {
|
|
2883
|
+
text: string;
|
|
2884
|
+
href?: string | undefined;
|
|
2885
|
+
} | undefined;
|
|
2886
|
+
}>;
|
|
2887
|
+
} & {
|
|
2888
|
+
sliceId: z.ZodString;
|
|
2889
|
+
}, "strip", z.ZodTypeAny, {
|
|
2890
|
+
type: "Hero";
|
|
2891
|
+
properties: {
|
|
2892
|
+
listId: string;
|
|
2893
|
+
maxStories: number;
|
|
2894
|
+
heading?: {
|
|
2895
|
+
text: string;
|
|
2896
|
+
href?: string | undefined;
|
|
2897
|
+
} | undefined;
|
|
2898
|
+
};
|
|
2899
|
+
sliceId: string;
|
|
2900
|
+
hidden?: boolean | undefined;
|
|
2901
|
+
}, {
|
|
2902
|
+
type: "Hero";
|
|
2903
|
+
properties: {
|
|
2904
|
+
listId: string;
|
|
2905
|
+
maxStories: number;
|
|
2906
|
+
heading?: {
|
|
2907
|
+
text: string;
|
|
2908
|
+
href?: string | undefined;
|
|
2909
|
+
} | undefined;
|
|
2910
|
+
};
|
|
2911
|
+
sliceId: string;
|
|
2912
|
+
hidden?: boolean | undefined;
|
|
2634
2913
|
}>]>, "many">;
|
|
2635
2914
|
} & {
|
|
2636
2915
|
type: z.ZodLiteral<"Homepage">;
|
|
@@ -2704,9 +2983,10 @@ declare const HomepageStructureOutputSchema: z.ZodObject<{
|
|
|
2704
2983
|
sliceId: string;
|
|
2705
2984
|
hidden?: boolean | undefined;
|
|
2706
2985
|
} | {
|
|
2707
|
-
type: "
|
|
2986
|
+
type: "Strip";
|
|
2708
2987
|
properties: {
|
|
2709
2988
|
listId: string;
|
|
2989
|
+
maxStories: number;
|
|
2710
2990
|
heading?: {
|
|
2711
2991
|
text: string;
|
|
2712
2992
|
href?: string | undefined;
|
|
@@ -2766,6 +3046,18 @@ declare const HomepageStructureOutputSchema: z.ZodObject<{
|
|
|
2766
3046
|
};
|
|
2767
3047
|
sliceId: string;
|
|
2768
3048
|
hidden?: boolean | undefined;
|
|
3049
|
+
} | {
|
|
3050
|
+
type: "Hero";
|
|
3051
|
+
properties: {
|
|
3052
|
+
listId: string;
|
|
3053
|
+
maxStories: number;
|
|
3054
|
+
heading?: {
|
|
3055
|
+
text: string;
|
|
3056
|
+
href?: string | undefined;
|
|
3057
|
+
} | undefined;
|
|
3058
|
+
};
|
|
3059
|
+
sliceId: string;
|
|
3060
|
+
hidden?: boolean | undefined;
|
|
2769
3061
|
})[];
|
|
2770
3062
|
schemaVersion: number;
|
|
2771
3063
|
}, {
|
|
@@ -2824,9 +3116,10 @@ declare const HomepageStructureOutputSchema: z.ZodObject<{
|
|
|
2824
3116
|
sliceId: string;
|
|
2825
3117
|
hidden?: boolean | undefined;
|
|
2826
3118
|
} | {
|
|
2827
|
-
type: "
|
|
3119
|
+
type: "Strip";
|
|
2828
3120
|
properties: {
|
|
2829
3121
|
listId: string;
|
|
3122
|
+
maxStories: number;
|
|
2830
3123
|
heading?: {
|
|
2831
3124
|
text: string;
|
|
2832
3125
|
href?: string | undefined;
|
|
@@ -2886,6 +3179,18 @@ declare const HomepageStructureOutputSchema: z.ZodObject<{
|
|
|
2886
3179
|
};
|
|
2887
3180
|
sliceId: string;
|
|
2888
3181
|
hidden?: boolean | undefined;
|
|
3182
|
+
} | {
|
|
3183
|
+
type: "Hero";
|
|
3184
|
+
properties: {
|
|
3185
|
+
listId: string;
|
|
3186
|
+
maxStories: number;
|
|
3187
|
+
heading?: {
|
|
3188
|
+
text: string;
|
|
3189
|
+
href?: string | undefined;
|
|
3190
|
+
} | undefined;
|
|
3191
|
+
};
|
|
3192
|
+
sliceId: string;
|
|
3193
|
+
hidden?: boolean | undefined;
|
|
2889
3194
|
})[];
|
|
2890
3195
|
schemaVersion: number;
|
|
2891
3196
|
}>;
|
|
@@ -3691,10 +3996,9 @@ declare const PageStructureInputSchema: z.ZodObject<{
|
|
|
3691
3996
|
hidden?: boolean | undefined;
|
|
3692
3997
|
sliceId?: string | undefined;
|
|
3693
3998
|
}>, z.ZodObject<{
|
|
3694
|
-
type: z.ZodLiteral<"
|
|
3999
|
+
type: z.ZodLiteral<"Strip">;
|
|
3695
4000
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3696
|
-
properties: z.ZodObject<{
|
|
3697
|
-
listId: z.ZodString;
|
|
4001
|
+
properties: z.ZodObject<{
|
|
3698
4002
|
heading: z.ZodOptional<z.ZodObject<{
|
|
3699
4003
|
text: z.ZodString;
|
|
3700
4004
|
href: z.ZodOptional<z.ZodString>;
|
|
@@ -3705,14 +4009,19 @@ declare const PageStructureInputSchema: z.ZodObject<{
|
|
|
3705
4009
|
text: string;
|
|
3706
4010
|
href?: string | undefined;
|
|
3707
4011
|
}>>;
|
|
4012
|
+
} & {
|
|
4013
|
+
listId: z.ZodString;
|
|
4014
|
+
maxStories: z.ZodNumber;
|
|
3708
4015
|
}, "strip", z.ZodTypeAny, {
|
|
3709
4016
|
listId: string;
|
|
4017
|
+
maxStories: number;
|
|
3710
4018
|
heading?: {
|
|
3711
4019
|
text: string;
|
|
3712
4020
|
href?: string | undefined;
|
|
3713
4021
|
} | undefined;
|
|
3714
4022
|
}, {
|
|
3715
4023
|
listId: string;
|
|
4024
|
+
maxStories: number;
|
|
3716
4025
|
heading?: {
|
|
3717
4026
|
text: string;
|
|
3718
4027
|
href?: string | undefined;
|
|
@@ -3721,9 +4030,10 @@ declare const PageStructureInputSchema: z.ZodObject<{
|
|
|
3721
4030
|
} & {
|
|
3722
4031
|
sliceId: z.ZodOptional<z.ZodString>;
|
|
3723
4032
|
}, "strip", z.ZodTypeAny, {
|
|
3724
|
-
type: "
|
|
4033
|
+
type: "Strip";
|
|
3725
4034
|
properties: {
|
|
3726
4035
|
listId: string;
|
|
4036
|
+
maxStories: number;
|
|
3727
4037
|
heading?: {
|
|
3728
4038
|
text: string;
|
|
3729
4039
|
href?: string | undefined;
|
|
@@ -3732,9 +4042,10 @@ declare const PageStructureInputSchema: z.ZodObject<{
|
|
|
3732
4042
|
hidden?: boolean | undefined;
|
|
3733
4043
|
sliceId?: string | undefined;
|
|
3734
4044
|
}, {
|
|
3735
|
-
type: "
|
|
4045
|
+
type: "Strip";
|
|
3736
4046
|
properties: {
|
|
3737
4047
|
listId: string;
|
|
4048
|
+
maxStories: number;
|
|
3738
4049
|
heading?: {
|
|
3739
4050
|
text: string;
|
|
3740
4051
|
href?: string | undefined;
|
|
@@ -4192,59 +4503,117 @@ declare const PageStructureInputSchema: z.ZodObject<{
|
|
|
4192
4503
|
text: string;
|
|
4193
4504
|
href?: string | undefined;
|
|
4194
4505
|
} | undefined;
|
|
4195
|
-
strapline?: string | undefined;
|
|
4506
|
+
strapline?: string | undefined;
|
|
4507
|
+
};
|
|
4508
|
+
hidden?: boolean | undefined;
|
|
4509
|
+
sliceId?: string | undefined;
|
|
4510
|
+
}, {
|
|
4511
|
+
type: "Topper";
|
|
4512
|
+
properties: {
|
|
4513
|
+
description: {
|
|
4514
|
+
type: "doc";
|
|
4515
|
+
content: ({
|
|
4516
|
+
text: string;
|
|
4517
|
+
type: "text";
|
|
4518
|
+
marks?: ({
|
|
4519
|
+
type: "link";
|
|
4520
|
+
attrs: {
|
|
4521
|
+
href: string;
|
|
4522
|
+
};
|
|
4523
|
+
} | {
|
|
4524
|
+
type: "bold";
|
|
4525
|
+
} | {
|
|
4526
|
+
type: "italic";
|
|
4527
|
+
} | {
|
|
4528
|
+
type: "underline";
|
|
4529
|
+
} | {
|
|
4530
|
+
type: "strike";
|
|
4531
|
+
})[] | undefined;
|
|
4532
|
+
} | {
|
|
4533
|
+
type: "paragraph";
|
|
4534
|
+
content: {
|
|
4535
|
+
text: string;
|
|
4536
|
+
type: "text";
|
|
4537
|
+
marks?: ({
|
|
4538
|
+
type: "link";
|
|
4539
|
+
attrs: {
|
|
4540
|
+
href: string;
|
|
4541
|
+
};
|
|
4542
|
+
} | {
|
|
4543
|
+
type: "bold";
|
|
4544
|
+
} | {
|
|
4545
|
+
type: "italic";
|
|
4546
|
+
} | {
|
|
4547
|
+
type: "underline";
|
|
4548
|
+
} | {
|
|
4549
|
+
type: "strike";
|
|
4550
|
+
})[] | undefined;
|
|
4551
|
+
}[];
|
|
4552
|
+
})[];
|
|
4553
|
+
};
|
|
4554
|
+
heading?: {
|
|
4555
|
+
text: string;
|
|
4556
|
+
href?: string | undefined;
|
|
4557
|
+
} | undefined;
|
|
4558
|
+
strapline?: string | undefined;
|
|
4559
|
+
};
|
|
4560
|
+
hidden?: boolean | undefined;
|
|
4561
|
+
sliceId?: string | undefined;
|
|
4562
|
+
}>, z.ZodObject<{
|
|
4563
|
+
type: z.ZodLiteral<"Hero">;
|
|
4564
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
4565
|
+
properties: z.ZodObject<{
|
|
4566
|
+
heading: z.ZodOptional<z.ZodObject<{
|
|
4567
|
+
text: z.ZodString;
|
|
4568
|
+
href: z.ZodOptional<z.ZodString>;
|
|
4569
|
+
}, "strip", z.ZodTypeAny, {
|
|
4570
|
+
text: string;
|
|
4571
|
+
href?: string | undefined;
|
|
4572
|
+
}, {
|
|
4573
|
+
text: string;
|
|
4574
|
+
href?: string | undefined;
|
|
4575
|
+
}>>;
|
|
4576
|
+
} & {
|
|
4577
|
+
listId: z.ZodString;
|
|
4578
|
+
maxStories: z.ZodNumber;
|
|
4579
|
+
}, "strip", z.ZodTypeAny, {
|
|
4580
|
+
listId: string;
|
|
4581
|
+
maxStories: number;
|
|
4582
|
+
heading?: {
|
|
4583
|
+
text: string;
|
|
4584
|
+
href?: string | undefined;
|
|
4585
|
+
} | undefined;
|
|
4586
|
+
}, {
|
|
4587
|
+
listId: string;
|
|
4588
|
+
maxStories: number;
|
|
4589
|
+
heading?: {
|
|
4590
|
+
text: string;
|
|
4591
|
+
href?: string | undefined;
|
|
4592
|
+
} | undefined;
|
|
4593
|
+
}>;
|
|
4594
|
+
} & {
|
|
4595
|
+
sliceId: z.ZodOptional<z.ZodString>;
|
|
4596
|
+
}, "strip", z.ZodTypeAny, {
|
|
4597
|
+
type: "Hero";
|
|
4598
|
+
properties: {
|
|
4599
|
+
listId: string;
|
|
4600
|
+
maxStories: number;
|
|
4601
|
+
heading?: {
|
|
4602
|
+
text: string;
|
|
4603
|
+
href?: string | undefined;
|
|
4604
|
+
} | undefined;
|
|
4196
4605
|
};
|
|
4197
4606
|
hidden?: boolean | undefined;
|
|
4198
4607
|
sliceId?: string | undefined;
|
|
4199
4608
|
}, {
|
|
4200
|
-
type: "
|
|
4609
|
+
type: "Hero";
|
|
4201
4610
|
properties: {
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
content: ({
|
|
4205
|
-
text: string;
|
|
4206
|
-
type: "text";
|
|
4207
|
-
marks?: ({
|
|
4208
|
-
type: "link";
|
|
4209
|
-
attrs: {
|
|
4210
|
-
href: string;
|
|
4211
|
-
};
|
|
4212
|
-
} | {
|
|
4213
|
-
type: "bold";
|
|
4214
|
-
} | {
|
|
4215
|
-
type: "italic";
|
|
4216
|
-
} | {
|
|
4217
|
-
type: "underline";
|
|
4218
|
-
} | {
|
|
4219
|
-
type: "strike";
|
|
4220
|
-
})[] | undefined;
|
|
4221
|
-
} | {
|
|
4222
|
-
type: "paragraph";
|
|
4223
|
-
content: {
|
|
4224
|
-
text: string;
|
|
4225
|
-
type: "text";
|
|
4226
|
-
marks?: ({
|
|
4227
|
-
type: "link";
|
|
4228
|
-
attrs: {
|
|
4229
|
-
href: string;
|
|
4230
|
-
};
|
|
4231
|
-
} | {
|
|
4232
|
-
type: "bold";
|
|
4233
|
-
} | {
|
|
4234
|
-
type: "italic";
|
|
4235
|
-
} | {
|
|
4236
|
-
type: "underline";
|
|
4237
|
-
} | {
|
|
4238
|
-
type: "strike";
|
|
4239
|
-
})[] | undefined;
|
|
4240
|
-
}[];
|
|
4241
|
-
})[];
|
|
4242
|
-
};
|
|
4611
|
+
listId: string;
|
|
4612
|
+
maxStories: number;
|
|
4243
4613
|
heading?: {
|
|
4244
4614
|
text: string;
|
|
4245
4615
|
href?: string | undefined;
|
|
4246
4616
|
} | undefined;
|
|
4247
|
-
strapline?: string | undefined;
|
|
4248
4617
|
};
|
|
4249
4618
|
hidden?: boolean | undefined;
|
|
4250
4619
|
sliceId?: string | undefined;
|
|
@@ -4303,9 +4672,10 @@ declare const PageStructureInputSchema: z.ZodObject<{
|
|
|
4303
4672
|
hidden?: boolean | undefined;
|
|
4304
4673
|
sliceId?: string | undefined;
|
|
4305
4674
|
} | {
|
|
4306
|
-
type: "
|
|
4675
|
+
type: "Strip";
|
|
4307
4676
|
properties: {
|
|
4308
4677
|
listId: string;
|
|
4678
|
+
maxStories: number;
|
|
4309
4679
|
heading?: {
|
|
4310
4680
|
text: string;
|
|
4311
4681
|
href?: string | undefined;
|
|
@@ -4365,6 +4735,18 @@ declare const PageStructureInputSchema: z.ZodObject<{
|
|
|
4365
4735
|
};
|
|
4366
4736
|
hidden?: boolean | undefined;
|
|
4367
4737
|
sliceId?: string | undefined;
|
|
4738
|
+
} | {
|
|
4739
|
+
type: "Hero";
|
|
4740
|
+
properties: {
|
|
4741
|
+
listId: string;
|
|
4742
|
+
maxStories: number;
|
|
4743
|
+
heading?: {
|
|
4744
|
+
text: string;
|
|
4745
|
+
href?: string | undefined;
|
|
4746
|
+
} | undefined;
|
|
4747
|
+
};
|
|
4748
|
+
hidden?: boolean | undefined;
|
|
4749
|
+
sliceId?: string | undefined;
|
|
4368
4750
|
})[];
|
|
4369
4751
|
}, {
|
|
4370
4752
|
properties: {
|
|
@@ -4420,9 +4802,10 @@ declare const PageStructureInputSchema: z.ZodObject<{
|
|
|
4420
4802
|
hidden?: boolean | undefined;
|
|
4421
4803
|
sliceId?: string | undefined;
|
|
4422
4804
|
} | {
|
|
4423
|
-
type: "
|
|
4805
|
+
type: "Strip";
|
|
4424
4806
|
properties: {
|
|
4425
4807
|
listId: string;
|
|
4808
|
+
maxStories: number;
|
|
4426
4809
|
heading?: {
|
|
4427
4810
|
text: string;
|
|
4428
4811
|
href?: string | undefined;
|
|
@@ -4482,6 +4865,18 @@ declare const PageStructureInputSchema: z.ZodObject<{
|
|
|
4482
4865
|
};
|
|
4483
4866
|
hidden?: boolean | undefined;
|
|
4484
4867
|
sliceId?: string | undefined;
|
|
4868
|
+
} | {
|
|
4869
|
+
type: "Hero";
|
|
4870
|
+
properties: {
|
|
4871
|
+
listId: string;
|
|
4872
|
+
maxStories: number;
|
|
4873
|
+
heading?: {
|
|
4874
|
+
text: string;
|
|
4875
|
+
href?: string | undefined;
|
|
4876
|
+
} | undefined;
|
|
4877
|
+
};
|
|
4878
|
+
hidden?: boolean | undefined;
|
|
4879
|
+
sliceId?: string | undefined;
|
|
4485
4880
|
})[];
|
|
4486
4881
|
}>;
|
|
4487
4882
|
export { PageStructureInputSchema }
|
|
@@ -4742,10 +5137,9 @@ declare const PageStructureOutputSchema: z.ZodObject<{
|
|
|
4742
5137
|
sliceId: string;
|
|
4743
5138
|
hidden?: boolean | undefined;
|
|
4744
5139
|
}>, z.ZodObject<{
|
|
4745
|
-
type: z.ZodLiteral<"
|
|
5140
|
+
type: z.ZodLiteral<"Strip">;
|
|
4746
5141
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
4747
|
-
properties: z.ZodObject<{
|
|
4748
|
-
listId: z.ZodString;
|
|
5142
|
+
properties: z.ZodObject<{
|
|
4749
5143
|
heading: z.ZodOptional<z.ZodObject<{
|
|
4750
5144
|
text: z.ZodString;
|
|
4751
5145
|
href: z.ZodOptional<z.ZodString>;
|
|
@@ -4756,14 +5150,19 @@ declare const PageStructureOutputSchema: z.ZodObject<{
|
|
|
4756
5150
|
text: string;
|
|
4757
5151
|
href?: string | undefined;
|
|
4758
5152
|
}>>;
|
|
5153
|
+
} & {
|
|
5154
|
+
listId: z.ZodString;
|
|
5155
|
+
maxStories: z.ZodNumber;
|
|
4759
5156
|
}, "strip", z.ZodTypeAny, {
|
|
4760
5157
|
listId: string;
|
|
5158
|
+
maxStories: number;
|
|
4761
5159
|
heading?: {
|
|
4762
5160
|
text: string;
|
|
4763
5161
|
href?: string | undefined;
|
|
4764
5162
|
} | undefined;
|
|
4765
5163
|
}, {
|
|
4766
5164
|
listId: string;
|
|
5165
|
+
maxStories: number;
|
|
4767
5166
|
heading?: {
|
|
4768
5167
|
text: string;
|
|
4769
5168
|
href?: string | undefined;
|
|
@@ -4772,9 +5171,10 @@ declare const PageStructureOutputSchema: z.ZodObject<{
|
|
|
4772
5171
|
} & {
|
|
4773
5172
|
sliceId: z.ZodString;
|
|
4774
5173
|
}, "strip", z.ZodTypeAny, {
|
|
4775
|
-
type: "
|
|
5174
|
+
type: "Strip";
|
|
4776
5175
|
properties: {
|
|
4777
5176
|
listId: string;
|
|
5177
|
+
maxStories: number;
|
|
4778
5178
|
heading?: {
|
|
4779
5179
|
text: string;
|
|
4780
5180
|
href?: string | undefined;
|
|
@@ -4783,9 +5183,10 @@ declare const PageStructureOutputSchema: z.ZodObject<{
|
|
|
4783
5183
|
sliceId: string;
|
|
4784
5184
|
hidden?: boolean | undefined;
|
|
4785
5185
|
}, {
|
|
4786
|
-
type: "
|
|
5186
|
+
type: "Strip";
|
|
4787
5187
|
properties: {
|
|
4788
5188
|
listId: string;
|
|
5189
|
+
maxStories: number;
|
|
4789
5190
|
heading?: {
|
|
4790
5191
|
text: string;
|
|
4791
5192
|
href?: string | undefined;
|
|
@@ -5299,6 +5700,64 @@ declare const PageStructureOutputSchema: z.ZodObject<{
|
|
|
5299
5700
|
};
|
|
5300
5701
|
sliceId: string;
|
|
5301
5702
|
hidden?: boolean | undefined;
|
|
5703
|
+
}>, z.ZodObject<{
|
|
5704
|
+
type: z.ZodLiteral<"Hero">;
|
|
5705
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
5706
|
+
properties: z.ZodObject<{
|
|
5707
|
+
heading: z.ZodOptional<z.ZodObject<{
|
|
5708
|
+
text: z.ZodString;
|
|
5709
|
+
href: z.ZodOptional<z.ZodString>;
|
|
5710
|
+
}, "strip", z.ZodTypeAny, {
|
|
5711
|
+
text: string;
|
|
5712
|
+
href?: string | undefined;
|
|
5713
|
+
}, {
|
|
5714
|
+
text: string;
|
|
5715
|
+
href?: string | undefined;
|
|
5716
|
+
}>>;
|
|
5717
|
+
} & {
|
|
5718
|
+
listId: z.ZodString;
|
|
5719
|
+
maxStories: z.ZodNumber;
|
|
5720
|
+
}, "strip", z.ZodTypeAny, {
|
|
5721
|
+
listId: string;
|
|
5722
|
+
maxStories: number;
|
|
5723
|
+
heading?: {
|
|
5724
|
+
text: string;
|
|
5725
|
+
href?: string | undefined;
|
|
5726
|
+
} | undefined;
|
|
5727
|
+
}, {
|
|
5728
|
+
listId: string;
|
|
5729
|
+
maxStories: number;
|
|
5730
|
+
heading?: {
|
|
5731
|
+
text: string;
|
|
5732
|
+
href?: string | undefined;
|
|
5733
|
+
} | undefined;
|
|
5734
|
+
}>;
|
|
5735
|
+
} & {
|
|
5736
|
+
sliceId: z.ZodString;
|
|
5737
|
+
}, "strip", z.ZodTypeAny, {
|
|
5738
|
+
type: "Hero";
|
|
5739
|
+
properties: {
|
|
5740
|
+
listId: string;
|
|
5741
|
+
maxStories: number;
|
|
5742
|
+
heading?: {
|
|
5743
|
+
text: string;
|
|
5744
|
+
href?: string | undefined;
|
|
5745
|
+
} | undefined;
|
|
5746
|
+
};
|
|
5747
|
+
sliceId: string;
|
|
5748
|
+
hidden?: boolean | undefined;
|
|
5749
|
+
}, {
|
|
5750
|
+
type: "Hero";
|
|
5751
|
+
properties: {
|
|
5752
|
+
listId: string;
|
|
5753
|
+
maxStories: number;
|
|
5754
|
+
heading?: {
|
|
5755
|
+
text: string;
|
|
5756
|
+
href?: string | undefined;
|
|
5757
|
+
} | undefined;
|
|
5758
|
+
};
|
|
5759
|
+
sliceId: string;
|
|
5760
|
+
hidden?: boolean | undefined;
|
|
5302
5761
|
}>]>, "many">;
|
|
5303
5762
|
}, "strip", z.ZodTypeAny, {
|
|
5304
5763
|
type: "Page";
|
|
@@ -5355,9 +5814,10 @@ declare const PageStructureOutputSchema: z.ZodObject<{
|
|
|
5355
5814
|
sliceId: string;
|
|
5356
5815
|
hidden?: boolean | undefined;
|
|
5357
5816
|
} | {
|
|
5358
|
-
type: "
|
|
5817
|
+
type: "Strip";
|
|
5359
5818
|
properties: {
|
|
5360
5819
|
listId: string;
|
|
5820
|
+
maxStories: number;
|
|
5361
5821
|
heading?: {
|
|
5362
5822
|
text: string;
|
|
5363
5823
|
href?: string | undefined;
|
|
@@ -5417,6 +5877,18 @@ declare const PageStructureOutputSchema: z.ZodObject<{
|
|
|
5417
5877
|
};
|
|
5418
5878
|
sliceId: string;
|
|
5419
5879
|
hidden?: boolean | undefined;
|
|
5880
|
+
} | {
|
|
5881
|
+
type: "Hero";
|
|
5882
|
+
properties: {
|
|
5883
|
+
listId: string;
|
|
5884
|
+
maxStories: number;
|
|
5885
|
+
heading?: {
|
|
5886
|
+
text: string;
|
|
5887
|
+
href?: string | undefined;
|
|
5888
|
+
} | undefined;
|
|
5889
|
+
};
|
|
5890
|
+
sliceId: string;
|
|
5891
|
+
hidden?: boolean | undefined;
|
|
5420
5892
|
})[];
|
|
5421
5893
|
schemaVersion: number;
|
|
5422
5894
|
}, {
|
|
@@ -5474,9 +5946,10 @@ declare const PageStructureOutputSchema: z.ZodObject<{
|
|
|
5474
5946
|
sliceId: string;
|
|
5475
5947
|
hidden?: boolean | undefined;
|
|
5476
5948
|
} | {
|
|
5477
|
-
type: "
|
|
5949
|
+
type: "Strip";
|
|
5478
5950
|
properties: {
|
|
5479
5951
|
listId: string;
|
|
5952
|
+
maxStories: number;
|
|
5480
5953
|
heading?: {
|
|
5481
5954
|
text: string;
|
|
5482
5955
|
href?: string | undefined;
|
|
@@ -5536,6 +6009,18 @@ declare const PageStructureOutputSchema: z.ZodObject<{
|
|
|
5536
6009
|
};
|
|
5537
6010
|
sliceId: string;
|
|
5538
6011
|
hidden?: boolean | undefined;
|
|
6012
|
+
} | {
|
|
6013
|
+
type: "Hero";
|
|
6014
|
+
properties: {
|
|
6015
|
+
listId: string;
|
|
6016
|
+
maxStories: number;
|
|
6017
|
+
heading?: {
|
|
6018
|
+
text: string;
|
|
6019
|
+
href?: string | undefined;
|
|
6020
|
+
} | undefined;
|
|
6021
|
+
};
|
|
6022
|
+
sliceId: string;
|
|
6023
|
+
hidden?: boolean | undefined;
|
|
5539
6024
|
})[];
|
|
5540
6025
|
schemaVersion: number;
|
|
5541
6026
|
}>;
|
|
@@ -6083,10 +6568,9 @@ declare const SliceApiInputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.Z
|
|
|
6083
6568
|
hidden?: boolean | undefined;
|
|
6084
6569
|
sliceId?: string | undefined;
|
|
6085
6570
|
}>, z.ZodObject<{
|
|
6086
|
-
type: z.ZodLiteral<"
|
|
6571
|
+
type: z.ZodLiteral<"Strip">;
|
|
6087
6572
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
6088
|
-
properties: z.ZodObject<{
|
|
6089
|
-
listId: z.ZodString;
|
|
6573
|
+
properties: z.ZodObject<{
|
|
6090
6574
|
heading: z.ZodOptional<z.ZodObject<{
|
|
6091
6575
|
text: z.ZodString;
|
|
6092
6576
|
href: z.ZodOptional<z.ZodString>;
|
|
@@ -6097,14 +6581,19 @@ declare const SliceApiInputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.Z
|
|
|
6097
6581
|
text: string;
|
|
6098
6582
|
href?: string | undefined;
|
|
6099
6583
|
}>>;
|
|
6584
|
+
} & {
|
|
6585
|
+
listId: z.ZodString;
|
|
6586
|
+
maxStories: z.ZodNumber;
|
|
6100
6587
|
}, "strip", z.ZodTypeAny, {
|
|
6101
6588
|
listId: string;
|
|
6589
|
+
maxStories: number;
|
|
6102
6590
|
heading?: {
|
|
6103
6591
|
text: string;
|
|
6104
6592
|
href?: string | undefined;
|
|
6105
6593
|
} | undefined;
|
|
6106
6594
|
}, {
|
|
6107
6595
|
listId: string;
|
|
6596
|
+
maxStories: number;
|
|
6108
6597
|
heading?: {
|
|
6109
6598
|
text: string;
|
|
6110
6599
|
href?: string | undefined;
|
|
@@ -6113,9 +6602,10 @@ declare const SliceApiInputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.Z
|
|
|
6113
6602
|
} & {
|
|
6114
6603
|
sliceId: z.ZodOptional<z.ZodString>;
|
|
6115
6604
|
}, "strip", z.ZodTypeAny, {
|
|
6116
|
-
type: "
|
|
6605
|
+
type: "Strip";
|
|
6117
6606
|
properties: {
|
|
6118
6607
|
listId: string;
|
|
6608
|
+
maxStories: number;
|
|
6119
6609
|
heading?: {
|
|
6120
6610
|
text: string;
|
|
6121
6611
|
href?: string | undefined;
|
|
@@ -6124,9 +6614,10 @@ declare const SliceApiInputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.Z
|
|
|
6124
6614
|
hidden?: boolean | undefined;
|
|
6125
6615
|
sliceId?: string | undefined;
|
|
6126
6616
|
}, {
|
|
6127
|
-
type: "
|
|
6617
|
+
type: "Strip";
|
|
6128
6618
|
properties: {
|
|
6129
6619
|
listId: string;
|
|
6620
|
+
maxStories: number;
|
|
6130
6621
|
heading?: {
|
|
6131
6622
|
text: string;
|
|
6132
6623
|
href?: string | undefined;
|
|
@@ -6640,6 +7131,64 @@ declare const SliceApiInputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.Z
|
|
|
6640
7131
|
};
|
|
6641
7132
|
hidden?: boolean | undefined;
|
|
6642
7133
|
sliceId?: string | undefined;
|
|
7134
|
+
}>, z.ZodObject<{
|
|
7135
|
+
type: z.ZodLiteral<"Hero">;
|
|
7136
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
7137
|
+
properties: z.ZodObject<{
|
|
7138
|
+
heading: z.ZodOptional<z.ZodObject<{
|
|
7139
|
+
text: z.ZodString;
|
|
7140
|
+
href: z.ZodOptional<z.ZodString>;
|
|
7141
|
+
}, "strip", z.ZodTypeAny, {
|
|
7142
|
+
text: string;
|
|
7143
|
+
href?: string | undefined;
|
|
7144
|
+
}, {
|
|
7145
|
+
text: string;
|
|
7146
|
+
href?: string | undefined;
|
|
7147
|
+
}>>;
|
|
7148
|
+
} & {
|
|
7149
|
+
listId: z.ZodString;
|
|
7150
|
+
maxStories: z.ZodNumber;
|
|
7151
|
+
}, "strip", z.ZodTypeAny, {
|
|
7152
|
+
listId: string;
|
|
7153
|
+
maxStories: number;
|
|
7154
|
+
heading?: {
|
|
7155
|
+
text: string;
|
|
7156
|
+
href?: string | undefined;
|
|
7157
|
+
} | undefined;
|
|
7158
|
+
}, {
|
|
7159
|
+
listId: string;
|
|
7160
|
+
maxStories: number;
|
|
7161
|
+
heading?: {
|
|
7162
|
+
text: string;
|
|
7163
|
+
href?: string | undefined;
|
|
7164
|
+
} | undefined;
|
|
7165
|
+
}>;
|
|
7166
|
+
} & {
|
|
7167
|
+
sliceId: z.ZodOptional<z.ZodString>;
|
|
7168
|
+
}, "strip", z.ZodTypeAny, {
|
|
7169
|
+
type: "Hero";
|
|
7170
|
+
properties: {
|
|
7171
|
+
listId: string;
|
|
7172
|
+
maxStories: number;
|
|
7173
|
+
heading?: {
|
|
7174
|
+
text: string;
|
|
7175
|
+
href?: string | undefined;
|
|
7176
|
+
} | undefined;
|
|
7177
|
+
};
|
|
7178
|
+
hidden?: boolean | undefined;
|
|
7179
|
+
sliceId?: string | undefined;
|
|
7180
|
+
}, {
|
|
7181
|
+
type: "Hero";
|
|
7182
|
+
properties: {
|
|
7183
|
+
listId: string;
|
|
7184
|
+
maxStories: number;
|
|
7185
|
+
heading?: {
|
|
7186
|
+
text: string;
|
|
7187
|
+
href?: string | undefined;
|
|
7188
|
+
} | undefined;
|
|
7189
|
+
};
|
|
7190
|
+
hidden?: boolean | undefined;
|
|
7191
|
+
sliceId?: string | undefined;
|
|
6643
7192
|
}>]>;
|
|
6644
7193
|
export { SliceApiInputSchema }
|
|
6645
7194
|
export { SliceApiInputSchema as SliceApiInputSchema_alias_1 }
|
|
@@ -6882,10 +7431,9 @@ declare const SliceApiOutputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.
|
|
|
6882
7431
|
sliceId: string;
|
|
6883
7432
|
hidden?: boolean | undefined;
|
|
6884
7433
|
}>, z.ZodObject<{
|
|
6885
|
-
type: z.ZodLiteral<"
|
|
7434
|
+
type: z.ZodLiteral<"Strip">;
|
|
6886
7435
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
6887
|
-
properties: z.ZodObject<{
|
|
6888
|
-
listId: z.ZodString;
|
|
7436
|
+
properties: z.ZodObject<{
|
|
6889
7437
|
heading: z.ZodOptional<z.ZodObject<{
|
|
6890
7438
|
text: z.ZodString;
|
|
6891
7439
|
href: z.ZodOptional<z.ZodString>;
|
|
@@ -6896,14 +7444,19 @@ declare const SliceApiOutputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.
|
|
|
6896
7444
|
text: string;
|
|
6897
7445
|
href?: string | undefined;
|
|
6898
7446
|
}>>;
|
|
7447
|
+
} & {
|
|
7448
|
+
listId: z.ZodString;
|
|
7449
|
+
maxStories: z.ZodNumber;
|
|
6899
7450
|
}, "strip", z.ZodTypeAny, {
|
|
6900
7451
|
listId: string;
|
|
7452
|
+
maxStories: number;
|
|
6901
7453
|
heading?: {
|
|
6902
7454
|
text: string;
|
|
6903
7455
|
href?: string | undefined;
|
|
6904
7456
|
} | undefined;
|
|
6905
7457
|
}, {
|
|
6906
7458
|
listId: string;
|
|
7459
|
+
maxStories: number;
|
|
6907
7460
|
heading?: {
|
|
6908
7461
|
text: string;
|
|
6909
7462
|
href?: string | undefined;
|
|
@@ -6912,9 +7465,10 @@ declare const SliceApiOutputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.
|
|
|
6912
7465
|
} & {
|
|
6913
7466
|
sliceId: z.ZodString;
|
|
6914
7467
|
}, "strip", z.ZodTypeAny, {
|
|
6915
|
-
type: "
|
|
7468
|
+
type: "Strip";
|
|
6916
7469
|
properties: {
|
|
6917
7470
|
listId: string;
|
|
7471
|
+
maxStories: number;
|
|
6918
7472
|
heading?: {
|
|
6919
7473
|
text: string;
|
|
6920
7474
|
href?: string | undefined;
|
|
@@ -6923,9 +7477,10 @@ declare const SliceApiOutputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.
|
|
|
6923
7477
|
sliceId: string;
|
|
6924
7478
|
hidden?: boolean | undefined;
|
|
6925
7479
|
}, {
|
|
6926
|
-
type: "
|
|
7480
|
+
type: "Strip";
|
|
6927
7481
|
properties: {
|
|
6928
7482
|
listId: string;
|
|
7483
|
+
maxStories: number;
|
|
6929
7484
|
heading?: {
|
|
6930
7485
|
text: string;
|
|
6931
7486
|
href?: string | undefined;
|
|
@@ -7439,16 +7994,73 @@ declare const SliceApiOutputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.
|
|
|
7439
7994
|
};
|
|
7440
7995
|
sliceId: string;
|
|
7441
7996
|
hidden?: boolean | undefined;
|
|
7997
|
+
}>, z.ZodObject<{
|
|
7998
|
+
type: z.ZodLiteral<"Hero">;
|
|
7999
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
8000
|
+
properties: z.ZodObject<{
|
|
8001
|
+
heading: z.ZodOptional<z.ZodObject<{
|
|
8002
|
+
text: z.ZodString;
|
|
8003
|
+
href: z.ZodOptional<z.ZodString>;
|
|
8004
|
+
}, "strip", z.ZodTypeAny, {
|
|
8005
|
+
text: string;
|
|
8006
|
+
href?: string | undefined;
|
|
8007
|
+
}, {
|
|
8008
|
+
text: string;
|
|
8009
|
+
href?: string | undefined;
|
|
8010
|
+
}>>;
|
|
8011
|
+
} & {
|
|
8012
|
+
listId: z.ZodString;
|
|
8013
|
+
maxStories: z.ZodNumber;
|
|
8014
|
+
}, "strip", z.ZodTypeAny, {
|
|
8015
|
+
listId: string;
|
|
8016
|
+
maxStories: number;
|
|
8017
|
+
heading?: {
|
|
8018
|
+
text: string;
|
|
8019
|
+
href?: string | undefined;
|
|
8020
|
+
} | undefined;
|
|
8021
|
+
}, {
|
|
8022
|
+
listId: string;
|
|
8023
|
+
maxStories: number;
|
|
8024
|
+
heading?: {
|
|
8025
|
+
text: string;
|
|
8026
|
+
href?: string | undefined;
|
|
8027
|
+
} | undefined;
|
|
8028
|
+
}>;
|
|
8029
|
+
} & {
|
|
8030
|
+
sliceId: z.ZodString;
|
|
8031
|
+
}, "strip", z.ZodTypeAny, {
|
|
8032
|
+
type: "Hero";
|
|
8033
|
+
properties: {
|
|
8034
|
+
listId: string;
|
|
8035
|
+
maxStories: number;
|
|
8036
|
+
heading?: {
|
|
8037
|
+
text: string;
|
|
8038
|
+
href?: string | undefined;
|
|
8039
|
+
} | undefined;
|
|
8040
|
+
};
|
|
8041
|
+
sliceId: string;
|
|
8042
|
+
hidden?: boolean | undefined;
|
|
8043
|
+
}, {
|
|
8044
|
+
type: "Hero";
|
|
8045
|
+
properties: {
|
|
8046
|
+
listId: string;
|
|
8047
|
+
maxStories: number;
|
|
8048
|
+
heading?: {
|
|
8049
|
+
text: string;
|
|
8050
|
+
href?: string | undefined;
|
|
8051
|
+
} | undefined;
|
|
8052
|
+
};
|
|
8053
|
+
sliceId: string;
|
|
8054
|
+
hidden?: boolean | undefined;
|
|
7442
8055
|
}>]>;
|
|
7443
8056
|
export { SliceApiOutputSchema }
|
|
7444
8057
|
export { SliceApiOutputSchema as SliceApiOutputSchema_alias_1 }
|
|
7445
8058
|
|
|
7446
|
-
declare const
|
|
8059
|
+
declare const StripSlice: {
|
|
7447
8060
|
InputSchema: z.ZodObject<{
|
|
7448
|
-
type: z.ZodLiteral<"
|
|
8061
|
+
type: z.ZodLiteral<"Strip">;
|
|
7449
8062
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
7450
|
-
properties: z.ZodObject<{
|
|
7451
|
-
listId: z.ZodString;
|
|
8063
|
+
properties: z.ZodObject<{
|
|
7452
8064
|
heading: z.ZodOptional<z.ZodObject<{
|
|
7453
8065
|
text: z.ZodString;
|
|
7454
8066
|
href: z.ZodOptional<z.ZodString>;
|
|
@@ -7459,14 +8071,19 @@ declare const SparkListSlice: {
|
|
|
7459
8071
|
text: string;
|
|
7460
8072
|
href?: string | undefined;
|
|
7461
8073
|
}>>;
|
|
8074
|
+
} & {
|
|
8075
|
+
listId: z.ZodString;
|
|
8076
|
+
maxStories: z.ZodNumber;
|
|
7462
8077
|
}, "strip", z.ZodTypeAny, {
|
|
7463
8078
|
listId: string;
|
|
8079
|
+
maxStories: number;
|
|
7464
8080
|
heading?: {
|
|
7465
8081
|
text: string;
|
|
7466
8082
|
href?: string | undefined;
|
|
7467
8083
|
} | undefined;
|
|
7468
8084
|
}, {
|
|
7469
8085
|
listId: string;
|
|
8086
|
+
maxStories: number;
|
|
7470
8087
|
heading?: {
|
|
7471
8088
|
text: string;
|
|
7472
8089
|
href?: string | undefined;
|
|
@@ -7475,9 +8092,10 @@ declare const SparkListSlice: {
|
|
|
7475
8092
|
} & {
|
|
7476
8093
|
sliceId: z.ZodOptional<z.ZodString>;
|
|
7477
8094
|
}, "strip", z.ZodTypeAny, {
|
|
7478
|
-
type: "
|
|
8095
|
+
type: "Strip";
|
|
7479
8096
|
properties: {
|
|
7480
8097
|
listId: string;
|
|
8098
|
+
maxStories: number;
|
|
7481
8099
|
heading?: {
|
|
7482
8100
|
text: string;
|
|
7483
8101
|
href?: string | undefined;
|
|
@@ -7486,9 +8104,10 @@ declare const SparkListSlice: {
|
|
|
7486
8104
|
hidden?: boolean | undefined;
|
|
7487
8105
|
sliceId?: string | undefined;
|
|
7488
8106
|
}, {
|
|
7489
|
-
type: "
|
|
8107
|
+
type: "Strip";
|
|
7490
8108
|
properties: {
|
|
7491
8109
|
listId: string;
|
|
8110
|
+
maxStories: number;
|
|
7492
8111
|
heading?: {
|
|
7493
8112
|
text: string;
|
|
7494
8113
|
href?: string | undefined;
|
|
@@ -7498,10 +8117,9 @@ declare const SparkListSlice: {
|
|
|
7498
8117
|
sliceId?: string | undefined;
|
|
7499
8118
|
}>;
|
|
7500
8119
|
OutputSchema: z.ZodObject<{
|
|
7501
|
-
type: z.ZodLiteral<"
|
|
8120
|
+
type: z.ZodLiteral<"Strip">;
|
|
7502
8121
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
7503
|
-
properties: z.ZodObject<{
|
|
7504
|
-
listId: z.ZodString;
|
|
8122
|
+
properties: z.ZodObject<{
|
|
7505
8123
|
heading: z.ZodOptional<z.ZodObject<{
|
|
7506
8124
|
text: z.ZodString;
|
|
7507
8125
|
href: z.ZodOptional<z.ZodString>;
|
|
@@ -7512,14 +8130,19 @@ declare const SparkListSlice: {
|
|
|
7512
8130
|
text: string;
|
|
7513
8131
|
href?: string | undefined;
|
|
7514
8132
|
}>>;
|
|
8133
|
+
} & {
|
|
8134
|
+
listId: z.ZodString;
|
|
8135
|
+
maxStories: z.ZodNumber;
|
|
7515
8136
|
}, "strip", z.ZodTypeAny, {
|
|
7516
8137
|
listId: string;
|
|
8138
|
+
maxStories: number;
|
|
7517
8139
|
heading?: {
|
|
7518
8140
|
text: string;
|
|
7519
8141
|
href?: string | undefined;
|
|
7520
8142
|
} | undefined;
|
|
7521
8143
|
}, {
|
|
7522
8144
|
listId: string;
|
|
8145
|
+
maxStories: number;
|
|
7523
8146
|
heading?: {
|
|
7524
8147
|
text: string;
|
|
7525
8148
|
href?: string | undefined;
|
|
@@ -7528,9 +8151,10 @@ declare const SparkListSlice: {
|
|
|
7528
8151
|
} & {
|
|
7529
8152
|
sliceId: z.ZodString;
|
|
7530
8153
|
}, "strip", z.ZodTypeAny, {
|
|
7531
|
-
type: "
|
|
8154
|
+
type: "Strip";
|
|
7532
8155
|
properties: {
|
|
7533
8156
|
listId: string;
|
|
8157
|
+
maxStories: number;
|
|
7534
8158
|
heading?: {
|
|
7535
8159
|
text: string;
|
|
7536
8160
|
href?: string | undefined;
|
|
@@ -7539,9 +8163,10 @@ declare const SparkListSlice: {
|
|
|
7539
8163
|
sliceId: string;
|
|
7540
8164
|
hidden?: boolean | undefined;
|
|
7541
8165
|
}, {
|
|
7542
|
-
type: "
|
|
8166
|
+
type: "Strip";
|
|
7543
8167
|
properties: {
|
|
7544
8168
|
listId: string;
|
|
8169
|
+
maxStories: number;
|
|
7545
8170
|
heading?: {
|
|
7546
8171
|
text: string;
|
|
7547
8172
|
href?: string | undefined;
|
|
@@ -7552,9 +8177,9 @@ declare const SparkListSlice: {
|
|
|
7552
8177
|
}>;
|
|
7553
8178
|
};
|
|
7554
8179
|
|
|
7555
|
-
declare type
|
|
7556
|
-
export {
|
|
7557
|
-
export {
|
|
8180
|
+
declare type StripSliceType = z.infer<typeof StripSlice.OutputSchema>;
|
|
8181
|
+
export { StripSliceType }
|
|
8182
|
+
export { StripSliceType as StripSliceType_alias_1 }
|
|
7558
8183
|
|
|
7559
8184
|
declare const TopperSlice: {
|
|
7560
8185
|
InputSchema: z.ZodObject<{
|