@financial-times/content-curation-client 0.5.0 → 1.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 +108 -52
- package/dist/_tsup-dts-rollup.d.ts +108 -52
- package/dist/financial-times-content-curation-client-1.0.0.tgz +0 -0
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/financial-times-content-curation-client-0.5.0.tgz +0 -0
|
@@ -1020,10 +1020,9 @@ declare const HomepageStructureInputSchema: z.ZodObject<{
|
|
|
1020
1020
|
hidden?: boolean | undefined;
|
|
1021
1021
|
sliceId?: string | undefined;
|
|
1022
1022
|
}>, z.ZodObject<{
|
|
1023
|
-
type: z.ZodLiteral<"
|
|
1023
|
+
type: z.ZodLiteral<"Strip">;
|
|
1024
1024
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1025
|
-
properties: z.ZodObject<{
|
|
1026
|
-
listId: z.ZodString;
|
|
1025
|
+
properties: z.ZodObject<{
|
|
1027
1026
|
heading: z.ZodOptional<z.ZodObject<{
|
|
1028
1027
|
text: z.ZodString;
|
|
1029
1028
|
href: z.ZodOptional<z.ZodString>;
|
|
@@ -1034,14 +1033,19 @@ declare const HomepageStructureInputSchema: z.ZodObject<{
|
|
|
1034
1033
|
text: string;
|
|
1035
1034
|
href?: string | undefined;
|
|
1036
1035
|
}>>;
|
|
1036
|
+
} & {
|
|
1037
|
+
listId: z.ZodString;
|
|
1038
|
+
maxStories: z.ZodNumber;
|
|
1037
1039
|
}, "strip", z.ZodTypeAny, {
|
|
1038
1040
|
listId: string;
|
|
1041
|
+
maxStories: number;
|
|
1039
1042
|
heading?: {
|
|
1040
1043
|
text: string;
|
|
1041
1044
|
href?: string | undefined;
|
|
1042
1045
|
} | undefined;
|
|
1043
1046
|
}, {
|
|
1044
1047
|
listId: string;
|
|
1048
|
+
maxStories: number;
|
|
1045
1049
|
heading?: {
|
|
1046
1050
|
text: string;
|
|
1047
1051
|
href?: string | undefined;
|
|
@@ -1050,9 +1054,10 @@ declare const HomepageStructureInputSchema: z.ZodObject<{
|
|
|
1050
1054
|
} & {
|
|
1051
1055
|
sliceId: z.ZodOptional<z.ZodString>;
|
|
1052
1056
|
}, "strip", z.ZodTypeAny, {
|
|
1053
|
-
type: "
|
|
1057
|
+
type: "Strip";
|
|
1054
1058
|
properties: {
|
|
1055
1059
|
listId: string;
|
|
1060
|
+
maxStories: number;
|
|
1056
1061
|
heading?: {
|
|
1057
1062
|
text: string;
|
|
1058
1063
|
href?: string | undefined;
|
|
@@ -1061,9 +1066,10 @@ declare const HomepageStructureInputSchema: z.ZodObject<{
|
|
|
1061
1066
|
hidden?: boolean | undefined;
|
|
1062
1067
|
sliceId?: string | undefined;
|
|
1063
1068
|
}, {
|
|
1064
|
-
type: "
|
|
1069
|
+
type: "Strip";
|
|
1065
1070
|
properties: {
|
|
1066
1071
|
listId: string;
|
|
1072
|
+
maxStories: number;
|
|
1067
1073
|
heading?: {
|
|
1068
1074
|
text: string;
|
|
1069
1075
|
href?: string | undefined;
|
|
@@ -1648,9 +1654,10 @@ declare const HomepageStructureInputSchema: z.ZodObject<{
|
|
|
1648
1654
|
hidden?: boolean | undefined;
|
|
1649
1655
|
sliceId?: string | undefined;
|
|
1650
1656
|
} | {
|
|
1651
|
-
type: "
|
|
1657
|
+
type: "Strip";
|
|
1652
1658
|
properties: {
|
|
1653
1659
|
listId: string;
|
|
1660
|
+
maxStories: number;
|
|
1654
1661
|
heading?: {
|
|
1655
1662
|
text: string;
|
|
1656
1663
|
href?: string | undefined;
|
|
@@ -1766,9 +1773,10 @@ declare const HomepageStructureInputSchema: z.ZodObject<{
|
|
|
1766
1773
|
hidden?: boolean | undefined;
|
|
1767
1774
|
sliceId?: string | undefined;
|
|
1768
1775
|
} | {
|
|
1769
|
-
type: "
|
|
1776
|
+
type: "Strip";
|
|
1770
1777
|
properties: {
|
|
1771
1778
|
listId: string;
|
|
1779
|
+
maxStories: number;
|
|
1772
1780
|
heading?: {
|
|
1773
1781
|
text: string;
|
|
1774
1782
|
href?: string | undefined;
|
|
@@ -2074,10 +2082,9 @@ declare const HomepageStructureOutputSchema: z.ZodObject<{
|
|
|
2074
2082
|
sliceId: string;
|
|
2075
2083
|
hidden?: boolean | undefined;
|
|
2076
2084
|
}>, z.ZodObject<{
|
|
2077
|
-
type: z.ZodLiteral<"
|
|
2085
|
+
type: z.ZodLiteral<"Strip">;
|
|
2078
2086
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2079
|
-
properties: z.ZodObject<{
|
|
2080
|
-
listId: z.ZodString;
|
|
2087
|
+
properties: z.ZodObject<{
|
|
2081
2088
|
heading: z.ZodOptional<z.ZodObject<{
|
|
2082
2089
|
text: z.ZodString;
|
|
2083
2090
|
href: z.ZodOptional<z.ZodString>;
|
|
@@ -2088,14 +2095,19 @@ declare const HomepageStructureOutputSchema: z.ZodObject<{
|
|
|
2088
2095
|
text: string;
|
|
2089
2096
|
href?: string | undefined;
|
|
2090
2097
|
}>>;
|
|
2098
|
+
} & {
|
|
2099
|
+
listId: z.ZodString;
|
|
2100
|
+
maxStories: z.ZodNumber;
|
|
2091
2101
|
}, "strip", z.ZodTypeAny, {
|
|
2092
2102
|
listId: string;
|
|
2103
|
+
maxStories: number;
|
|
2093
2104
|
heading?: {
|
|
2094
2105
|
text: string;
|
|
2095
2106
|
href?: string | undefined;
|
|
2096
2107
|
} | undefined;
|
|
2097
2108
|
}, {
|
|
2098
2109
|
listId: string;
|
|
2110
|
+
maxStories: number;
|
|
2099
2111
|
heading?: {
|
|
2100
2112
|
text: string;
|
|
2101
2113
|
href?: string | undefined;
|
|
@@ -2104,9 +2116,10 @@ declare const HomepageStructureOutputSchema: z.ZodObject<{
|
|
|
2104
2116
|
} & {
|
|
2105
2117
|
sliceId: z.ZodString;
|
|
2106
2118
|
}, "strip", z.ZodTypeAny, {
|
|
2107
|
-
type: "
|
|
2119
|
+
type: "Strip";
|
|
2108
2120
|
properties: {
|
|
2109
2121
|
listId: string;
|
|
2122
|
+
maxStories: number;
|
|
2110
2123
|
heading?: {
|
|
2111
2124
|
text: string;
|
|
2112
2125
|
href?: string | undefined;
|
|
@@ -2115,9 +2128,10 @@ declare const HomepageStructureOutputSchema: z.ZodObject<{
|
|
|
2115
2128
|
sliceId: string;
|
|
2116
2129
|
hidden?: boolean | undefined;
|
|
2117
2130
|
}, {
|
|
2118
|
-
type: "
|
|
2131
|
+
type: "Strip";
|
|
2119
2132
|
properties: {
|
|
2120
2133
|
listId: string;
|
|
2134
|
+
maxStories: number;
|
|
2121
2135
|
heading?: {
|
|
2122
2136
|
text: string;
|
|
2123
2137
|
href?: string | undefined;
|
|
@@ -2704,9 +2718,10 @@ declare const HomepageStructureOutputSchema: z.ZodObject<{
|
|
|
2704
2718
|
sliceId: string;
|
|
2705
2719
|
hidden?: boolean | undefined;
|
|
2706
2720
|
} | {
|
|
2707
|
-
type: "
|
|
2721
|
+
type: "Strip";
|
|
2708
2722
|
properties: {
|
|
2709
2723
|
listId: string;
|
|
2724
|
+
maxStories: number;
|
|
2710
2725
|
heading?: {
|
|
2711
2726
|
text: string;
|
|
2712
2727
|
href?: string | undefined;
|
|
@@ -2824,9 +2839,10 @@ declare const HomepageStructureOutputSchema: z.ZodObject<{
|
|
|
2824
2839
|
sliceId: string;
|
|
2825
2840
|
hidden?: boolean | undefined;
|
|
2826
2841
|
} | {
|
|
2827
|
-
type: "
|
|
2842
|
+
type: "Strip";
|
|
2828
2843
|
properties: {
|
|
2829
2844
|
listId: string;
|
|
2845
|
+
maxStories: number;
|
|
2830
2846
|
heading?: {
|
|
2831
2847
|
text: string;
|
|
2832
2848
|
href?: string | undefined;
|
|
@@ -3691,10 +3707,9 @@ declare const PageStructureInputSchema: z.ZodObject<{
|
|
|
3691
3707
|
hidden?: boolean | undefined;
|
|
3692
3708
|
sliceId?: string | undefined;
|
|
3693
3709
|
}>, z.ZodObject<{
|
|
3694
|
-
type: z.ZodLiteral<"
|
|
3710
|
+
type: z.ZodLiteral<"Strip">;
|
|
3695
3711
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3696
|
-
properties: z.ZodObject<{
|
|
3697
|
-
listId: z.ZodString;
|
|
3712
|
+
properties: z.ZodObject<{
|
|
3698
3713
|
heading: z.ZodOptional<z.ZodObject<{
|
|
3699
3714
|
text: z.ZodString;
|
|
3700
3715
|
href: z.ZodOptional<z.ZodString>;
|
|
@@ -3705,14 +3720,19 @@ declare const PageStructureInputSchema: z.ZodObject<{
|
|
|
3705
3720
|
text: string;
|
|
3706
3721
|
href?: string | undefined;
|
|
3707
3722
|
}>>;
|
|
3723
|
+
} & {
|
|
3724
|
+
listId: z.ZodString;
|
|
3725
|
+
maxStories: z.ZodNumber;
|
|
3708
3726
|
}, "strip", z.ZodTypeAny, {
|
|
3709
3727
|
listId: string;
|
|
3728
|
+
maxStories: number;
|
|
3710
3729
|
heading?: {
|
|
3711
3730
|
text: string;
|
|
3712
3731
|
href?: string | undefined;
|
|
3713
3732
|
} | undefined;
|
|
3714
3733
|
}, {
|
|
3715
3734
|
listId: string;
|
|
3735
|
+
maxStories: number;
|
|
3716
3736
|
heading?: {
|
|
3717
3737
|
text: string;
|
|
3718
3738
|
href?: string | undefined;
|
|
@@ -3721,9 +3741,10 @@ declare const PageStructureInputSchema: z.ZodObject<{
|
|
|
3721
3741
|
} & {
|
|
3722
3742
|
sliceId: z.ZodOptional<z.ZodString>;
|
|
3723
3743
|
}, "strip", z.ZodTypeAny, {
|
|
3724
|
-
type: "
|
|
3744
|
+
type: "Strip";
|
|
3725
3745
|
properties: {
|
|
3726
3746
|
listId: string;
|
|
3747
|
+
maxStories: number;
|
|
3727
3748
|
heading?: {
|
|
3728
3749
|
text: string;
|
|
3729
3750
|
href?: string | undefined;
|
|
@@ -3732,9 +3753,10 @@ declare const PageStructureInputSchema: z.ZodObject<{
|
|
|
3732
3753
|
hidden?: boolean | undefined;
|
|
3733
3754
|
sliceId?: string | undefined;
|
|
3734
3755
|
}, {
|
|
3735
|
-
type: "
|
|
3756
|
+
type: "Strip";
|
|
3736
3757
|
properties: {
|
|
3737
3758
|
listId: string;
|
|
3759
|
+
maxStories: number;
|
|
3738
3760
|
heading?: {
|
|
3739
3761
|
text: string;
|
|
3740
3762
|
href?: string | undefined;
|
|
@@ -4303,9 +4325,10 @@ declare const PageStructureInputSchema: z.ZodObject<{
|
|
|
4303
4325
|
hidden?: boolean | undefined;
|
|
4304
4326
|
sliceId?: string | undefined;
|
|
4305
4327
|
} | {
|
|
4306
|
-
type: "
|
|
4328
|
+
type: "Strip";
|
|
4307
4329
|
properties: {
|
|
4308
4330
|
listId: string;
|
|
4331
|
+
maxStories: number;
|
|
4309
4332
|
heading?: {
|
|
4310
4333
|
text: string;
|
|
4311
4334
|
href?: string | undefined;
|
|
@@ -4420,9 +4443,10 @@ declare const PageStructureInputSchema: z.ZodObject<{
|
|
|
4420
4443
|
hidden?: boolean | undefined;
|
|
4421
4444
|
sliceId?: string | undefined;
|
|
4422
4445
|
} | {
|
|
4423
|
-
type: "
|
|
4446
|
+
type: "Strip";
|
|
4424
4447
|
properties: {
|
|
4425
4448
|
listId: string;
|
|
4449
|
+
maxStories: number;
|
|
4426
4450
|
heading?: {
|
|
4427
4451
|
text: string;
|
|
4428
4452
|
href?: string | undefined;
|
|
@@ -4742,10 +4766,9 @@ declare const PageStructureOutputSchema: z.ZodObject<{
|
|
|
4742
4766
|
sliceId: string;
|
|
4743
4767
|
hidden?: boolean | undefined;
|
|
4744
4768
|
}>, z.ZodObject<{
|
|
4745
|
-
type: z.ZodLiteral<"
|
|
4769
|
+
type: z.ZodLiteral<"Strip">;
|
|
4746
4770
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
4747
|
-
properties: z.ZodObject<{
|
|
4748
|
-
listId: z.ZodString;
|
|
4771
|
+
properties: z.ZodObject<{
|
|
4749
4772
|
heading: z.ZodOptional<z.ZodObject<{
|
|
4750
4773
|
text: z.ZodString;
|
|
4751
4774
|
href: z.ZodOptional<z.ZodString>;
|
|
@@ -4756,14 +4779,19 @@ declare const PageStructureOutputSchema: z.ZodObject<{
|
|
|
4756
4779
|
text: string;
|
|
4757
4780
|
href?: string | undefined;
|
|
4758
4781
|
}>>;
|
|
4782
|
+
} & {
|
|
4783
|
+
listId: z.ZodString;
|
|
4784
|
+
maxStories: z.ZodNumber;
|
|
4759
4785
|
}, "strip", z.ZodTypeAny, {
|
|
4760
4786
|
listId: string;
|
|
4787
|
+
maxStories: number;
|
|
4761
4788
|
heading?: {
|
|
4762
4789
|
text: string;
|
|
4763
4790
|
href?: string | undefined;
|
|
4764
4791
|
} | undefined;
|
|
4765
4792
|
}, {
|
|
4766
4793
|
listId: string;
|
|
4794
|
+
maxStories: number;
|
|
4767
4795
|
heading?: {
|
|
4768
4796
|
text: string;
|
|
4769
4797
|
href?: string | undefined;
|
|
@@ -4772,9 +4800,10 @@ declare const PageStructureOutputSchema: z.ZodObject<{
|
|
|
4772
4800
|
} & {
|
|
4773
4801
|
sliceId: z.ZodString;
|
|
4774
4802
|
}, "strip", z.ZodTypeAny, {
|
|
4775
|
-
type: "
|
|
4803
|
+
type: "Strip";
|
|
4776
4804
|
properties: {
|
|
4777
4805
|
listId: string;
|
|
4806
|
+
maxStories: number;
|
|
4778
4807
|
heading?: {
|
|
4779
4808
|
text: string;
|
|
4780
4809
|
href?: string | undefined;
|
|
@@ -4783,9 +4812,10 @@ declare const PageStructureOutputSchema: z.ZodObject<{
|
|
|
4783
4812
|
sliceId: string;
|
|
4784
4813
|
hidden?: boolean | undefined;
|
|
4785
4814
|
}, {
|
|
4786
|
-
type: "
|
|
4815
|
+
type: "Strip";
|
|
4787
4816
|
properties: {
|
|
4788
4817
|
listId: string;
|
|
4818
|
+
maxStories: number;
|
|
4789
4819
|
heading?: {
|
|
4790
4820
|
text: string;
|
|
4791
4821
|
href?: string | undefined;
|
|
@@ -5355,9 +5385,10 @@ declare const PageStructureOutputSchema: z.ZodObject<{
|
|
|
5355
5385
|
sliceId: string;
|
|
5356
5386
|
hidden?: boolean | undefined;
|
|
5357
5387
|
} | {
|
|
5358
|
-
type: "
|
|
5388
|
+
type: "Strip";
|
|
5359
5389
|
properties: {
|
|
5360
5390
|
listId: string;
|
|
5391
|
+
maxStories: number;
|
|
5361
5392
|
heading?: {
|
|
5362
5393
|
text: string;
|
|
5363
5394
|
href?: string | undefined;
|
|
@@ -5474,9 +5505,10 @@ declare const PageStructureOutputSchema: z.ZodObject<{
|
|
|
5474
5505
|
sliceId: string;
|
|
5475
5506
|
hidden?: boolean | undefined;
|
|
5476
5507
|
} | {
|
|
5477
|
-
type: "
|
|
5508
|
+
type: "Strip";
|
|
5478
5509
|
properties: {
|
|
5479
5510
|
listId: string;
|
|
5511
|
+
maxStories: number;
|
|
5480
5512
|
heading?: {
|
|
5481
5513
|
text: string;
|
|
5482
5514
|
href?: string | undefined;
|
|
@@ -6083,10 +6115,9 @@ declare const SliceApiInputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.Z
|
|
|
6083
6115
|
hidden?: boolean | undefined;
|
|
6084
6116
|
sliceId?: string | undefined;
|
|
6085
6117
|
}>, z.ZodObject<{
|
|
6086
|
-
type: z.ZodLiteral<"
|
|
6118
|
+
type: z.ZodLiteral<"Strip">;
|
|
6087
6119
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
6088
|
-
properties: z.ZodObject<{
|
|
6089
|
-
listId: z.ZodString;
|
|
6120
|
+
properties: z.ZodObject<{
|
|
6090
6121
|
heading: z.ZodOptional<z.ZodObject<{
|
|
6091
6122
|
text: z.ZodString;
|
|
6092
6123
|
href: z.ZodOptional<z.ZodString>;
|
|
@@ -6097,14 +6128,19 @@ declare const SliceApiInputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.Z
|
|
|
6097
6128
|
text: string;
|
|
6098
6129
|
href?: string | undefined;
|
|
6099
6130
|
}>>;
|
|
6131
|
+
} & {
|
|
6132
|
+
listId: z.ZodString;
|
|
6133
|
+
maxStories: z.ZodNumber;
|
|
6100
6134
|
}, "strip", z.ZodTypeAny, {
|
|
6101
6135
|
listId: string;
|
|
6136
|
+
maxStories: number;
|
|
6102
6137
|
heading?: {
|
|
6103
6138
|
text: string;
|
|
6104
6139
|
href?: string | undefined;
|
|
6105
6140
|
} | undefined;
|
|
6106
6141
|
}, {
|
|
6107
6142
|
listId: string;
|
|
6143
|
+
maxStories: number;
|
|
6108
6144
|
heading?: {
|
|
6109
6145
|
text: string;
|
|
6110
6146
|
href?: string | undefined;
|
|
@@ -6113,9 +6149,10 @@ declare const SliceApiInputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.Z
|
|
|
6113
6149
|
} & {
|
|
6114
6150
|
sliceId: z.ZodOptional<z.ZodString>;
|
|
6115
6151
|
}, "strip", z.ZodTypeAny, {
|
|
6116
|
-
type: "
|
|
6152
|
+
type: "Strip";
|
|
6117
6153
|
properties: {
|
|
6118
6154
|
listId: string;
|
|
6155
|
+
maxStories: number;
|
|
6119
6156
|
heading?: {
|
|
6120
6157
|
text: string;
|
|
6121
6158
|
href?: string | undefined;
|
|
@@ -6124,9 +6161,10 @@ declare const SliceApiInputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.Z
|
|
|
6124
6161
|
hidden?: boolean | undefined;
|
|
6125
6162
|
sliceId?: string | undefined;
|
|
6126
6163
|
}, {
|
|
6127
|
-
type: "
|
|
6164
|
+
type: "Strip";
|
|
6128
6165
|
properties: {
|
|
6129
6166
|
listId: string;
|
|
6167
|
+
maxStories: number;
|
|
6130
6168
|
heading?: {
|
|
6131
6169
|
text: string;
|
|
6132
6170
|
href?: string | undefined;
|
|
@@ -6882,10 +6920,9 @@ declare const SliceApiOutputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.
|
|
|
6882
6920
|
sliceId: string;
|
|
6883
6921
|
hidden?: boolean | undefined;
|
|
6884
6922
|
}>, z.ZodObject<{
|
|
6885
|
-
type: z.ZodLiteral<"
|
|
6923
|
+
type: z.ZodLiteral<"Strip">;
|
|
6886
6924
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
6887
|
-
properties: z.ZodObject<{
|
|
6888
|
-
listId: z.ZodString;
|
|
6925
|
+
properties: z.ZodObject<{
|
|
6889
6926
|
heading: z.ZodOptional<z.ZodObject<{
|
|
6890
6927
|
text: z.ZodString;
|
|
6891
6928
|
href: z.ZodOptional<z.ZodString>;
|
|
@@ -6896,14 +6933,19 @@ declare const SliceApiOutputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.
|
|
|
6896
6933
|
text: string;
|
|
6897
6934
|
href?: string | undefined;
|
|
6898
6935
|
}>>;
|
|
6936
|
+
} & {
|
|
6937
|
+
listId: z.ZodString;
|
|
6938
|
+
maxStories: z.ZodNumber;
|
|
6899
6939
|
}, "strip", z.ZodTypeAny, {
|
|
6900
6940
|
listId: string;
|
|
6941
|
+
maxStories: number;
|
|
6901
6942
|
heading?: {
|
|
6902
6943
|
text: string;
|
|
6903
6944
|
href?: string | undefined;
|
|
6904
6945
|
} | undefined;
|
|
6905
6946
|
}, {
|
|
6906
6947
|
listId: string;
|
|
6948
|
+
maxStories: number;
|
|
6907
6949
|
heading?: {
|
|
6908
6950
|
text: string;
|
|
6909
6951
|
href?: string | undefined;
|
|
@@ -6912,9 +6954,10 @@ declare const SliceApiOutputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.
|
|
|
6912
6954
|
} & {
|
|
6913
6955
|
sliceId: z.ZodString;
|
|
6914
6956
|
}, "strip", z.ZodTypeAny, {
|
|
6915
|
-
type: "
|
|
6957
|
+
type: "Strip";
|
|
6916
6958
|
properties: {
|
|
6917
6959
|
listId: string;
|
|
6960
|
+
maxStories: number;
|
|
6918
6961
|
heading?: {
|
|
6919
6962
|
text: string;
|
|
6920
6963
|
href?: string | undefined;
|
|
@@ -6923,9 +6966,10 @@ declare const SliceApiOutputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.
|
|
|
6923
6966
|
sliceId: string;
|
|
6924
6967
|
hidden?: boolean | undefined;
|
|
6925
6968
|
}, {
|
|
6926
|
-
type: "
|
|
6969
|
+
type: "Strip";
|
|
6927
6970
|
properties: {
|
|
6928
6971
|
listId: string;
|
|
6972
|
+
maxStories: number;
|
|
6929
6973
|
heading?: {
|
|
6930
6974
|
text: string;
|
|
6931
6975
|
href?: string | undefined;
|
|
@@ -7443,12 +7487,11 @@ declare const SliceApiOutputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.
|
|
|
7443
7487
|
export { SliceApiOutputSchema }
|
|
7444
7488
|
export { SliceApiOutputSchema as SliceApiOutputSchema_alias_1 }
|
|
7445
7489
|
|
|
7446
|
-
declare const
|
|
7490
|
+
declare const StripSlice: {
|
|
7447
7491
|
InputSchema: z.ZodObject<{
|
|
7448
|
-
type: z.ZodLiteral<"
|
|
7492
|
+
type: z.ZodLiteral<"Strip">;
|
|
7449
7493
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
7450
|
-
properties: z.ZodObject<{
|
|
7451
|
-
listId: z.ZodString;
|
|
7494
|
+
properties: z.ZodObject<{
|
|
7452
7495
|
heading: z.ZodOptional<z.ZodObject<{
|
|
7453
7496
|
text: z.ZodString;
|
|
7454
7497
|
href: z.ZodOptional<z.ZodString>;
|
|
@@ -7459,14 +7502,19 @@ declare const SparkListSlice: {
|
|
|
7459
7502
|
text: string;
|
|
7460
7503
|
href?: string | undefined;
|
|
7461
7504
|
}>>;
|
|
7505
|
+
} & {
|
|
7506
|
+
listId: z.ZodString;
|
|
7507
|
+
maxStories: z.ZodNumber;
|
|
7462
7508
|
}, "strip", z.ZodTypeAny, {
|
|
7463
7509
|
listId: string;
|
|
7510
|
+
maxStories: number;
|
|
7464
7511
|
heading?: {
|
|
7465
7512
|
text: string;
|
|
7466
7513
|
href?: string | undefined;
|
|
7467
7514
|
} | undefined;
|
|
7468
7515
|
}, {
|
|
7469
7516
|
listId: string;
|
|
7517
|
+
maxStories: number;
|
|
7470
7518
|
heading?: {
|
|
7471
7519
|
text: string;
|
|
7472
7520
|
href?: string | undefined;
|
|
@@ -7475,9 +7523,10 @@ declare const SparkListSlice: {
|
|
|
7475
7523
|
} & {
|
|
7476
7524
|
sliceId: z.ZodOptional<z.ZodString>;
|
|
7477
7525
|
}, "strip", z.ZodTypeAny, {
|
|
7478
|
-
type: "
|
|
7526
|
+
type: "Strip";
|
|
7479
7527
|
properties: {
|
|
7480
7528
|
listId: string;
|
|
7529
|
+
maxStories: number;
|
|
7481
7530
|
heading?: {
|
|
7482
7531
|
text: string;
|
|
7483
7532
|
href?: string | undefined;
|
|
@@ -7486,9 +7535,10 @@ declare const SparkListSlice: {
|
|
|
7486
7535
|
hidden?: boolean | undefined;
|
|
7487
7536
|
sliceId?: string | undefined;
|
|
7488
7537
|
}, {
|
|
7489
|
-
type: "
|
|
7538
|
+
type: "Strip";
|
|
7490
7539
|
properties: {
|
|
7491
7540
|
listId: string;
|
|
7541
|
+
maxStories: number;
|
|
7492
7542
|
heading?: {
|
|
7493
7543
|
text: string;
|
|
7494
7544
|
href?: string | undefined;
|
|
@@ -7498,10 +7548,9 @@ declare const SparkListSlice: {
|
|
|
7498
7548
|
sliceId?: string | undefined;
|
|
7499
7549
|
}>;
|
|
7500
7550
|
OutputSchema: z.ZodObject<{
|
|
7501
|
-
type: z.ZodLiteral<"
|
|
7551
|
+
type: z.ZodLiteral<"Strip">;
|
|
7502
7552
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
7503
|
-
properties: z.ZodObject<{
|
|
7504
|
-
listId: z.ZodString;
|
|
7553
|
+
properties: z.ZodObject<{
|
|
7505
7554
|
heading: z.ZodOptional<z.ZodObject<{
|
|
7506
7555
|
text: z.ZodString;
|
|
7507
7556
|
href: z.ZodOptional<z.ZodString>;
|
|
@@ -7512,14 +7561,19 @@ declare const SparkListSlice: {
|
|
|
7512
7561
|
text: string;
|
|
7513
7562
|
href?: string | undefined;
|
|
7514
7563
|
}>>;
|
|
7564
|
+
} & {
|
|
7565
|
+
listId: z.ZodString;
|
|
7566
|
+
maxStories: z.ZodNumber;
|
|
7515
7567
|
}, "strip", z.ZodTypeAny, {
|
|
7516
7568
|
listId: string;
|
|
7569
|
+
maxStories: number;
|
|
7517
7570
|
heading?: {
|
|
7518
7571
|
text: string;
|
|
7519
7572
|
href?: string | undefined;
|
|
7520
7573
|
} | undefined;
|
|
7521
7574
|
}, {
|
|
7522
7575
|
listId: string;
|
|
7576
|
+
maxStories: number;
|
|
7523
7577
|
heading?: {
|
|
7524
7578
|
text: string;
|
|
7525
7579
|
href?: string | undefined;
|
|
@@ -7528,9 +7582,10 @@ declare const SparkListSlice: {
|
|
|
7528
7582
|
} & {
|
|
7529
7583
|
sliceId: z.ZodString;
|
|
7530
7584
|
}, "strip", z.ZodTypeAny, {
|
|
7531
|
-
type: "
|
|
7585
|
+
type: "Strip";
|
|
7532
7586
|
properties: {
|
|
7533
7587
|
listId: string;
|
|
7588
|
+
maxStories: number;
|
|
7534
7589
|
heading?: {
|
|
7535
7590
|
text: string;
|
|
7536
7591
|
href?: string | undefined;
|
|
@@ -7539,9 +7594,10 @@ declare const SparkListSlice: {
|
|
|
7539
7594
|
sliceId: string;
|
|
7540
7595
|
hidden?: boolean | undefined;
|
|
7541
7596
|
}, {
|
|
7542
|
-
type: "
|
|
7597
|
+
type: "Strip";
|
|
7543
7598
|
properties: {
|
|
7544
7599
|
listId: string;
|
|
7600
|
+
maxStories: number;
|
|
7545
7601
|
heading?: {
|
|
7546
7602
|
text: string;
|
|
7547
7603
|
href?: string | undefined;
|
|
@@ -7552,9 +7608,9 @@ declare const SparkListSlice: {
|
|
|
7552
7608
|
}>;
|
|
7553
7609
|
};
|
|
7554
7610
|
|
|
7555
|
-
declare type
|
|
7556
|
-
export {
|
|
7557
|
-
export {
|
|
7611
|
+
declare type StripSliceType = z.infer<typeof StripSlice.OutputSchema>;
|
|
7612
|
+
export { StripSliceType }
|
|
7613
|
+
export { StripSliceType as StripSliceType_alias_1 }
|
|
7558
7614
|
|
|
7559
7615
|
declare const TopperSlice: {
|
|
7560
7616
|
InputSchema: z.ZodObject<{
|