@financial-times/content-curation-client 1.0.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.
@@ -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
  */
@@ -1583,6 +1708,64 @@ declare const HomepageStructureInputSchema: z.ZodObject<{
1583
1708
  };
1584
1709
  hidden?: boolean | undefined;
1585
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;
1586
1769
  }>]>, "many">;
1587
1770
  } & {
1588
1771
  properties: z.ZodObject<{
@@ -1717,6 +1900,18 @@ declare const HomepageStructureInputSchema: z.ZodObject<{
1717
1900
  };
1718
1901
  hidden?: boolean | undefined;
1719
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;
1720
1915
  })[];
1721
1916
  }, {
1722
1917
  properties: {
@@ -1836,6 +2031,18 @@ declare const HomepageStructureInputSchema: z.ZodObject<{
1836
2031
  };
1837
2032
  hidden?: boolean | undefined;
1838
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;
1839
2046
  })[];
1840
2047
  }>;
1841
2048
  export { HomepageStructureInputSchema }
@@ -2645,6 +2852,64 @@ declare const HomepageStructureOutputSchema: z.ZodObject<{
2645
2852
  };
2646
2853
  sliceId: string;
2647
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;
2648
2913
  }>]>, "many">;
2649
2914
  } & {
2650
2915
  type: z.ZodLiteral<"Homepage">;
@@ -2781,6 +3046,18 @@ declare const HomepageStructureOutputSchema: z.ZodObject<{
2781
3046
  };
2782
3047
  sliceId: string;
2783
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;
2784
3061
  })[];
2785
3062
  schemaVersion: number;
2786
3063
  }, {
@@ -2902,6 +3179,18 @@ declare const HomepageStructureOutputSchema: z.ZodObject<{
2902
3179
  };
2903
3180
  sliceId: string;
2904
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;
2905
3194
  })[];
2906
3195
  schemaVersion: number;
2907
3196
  }>;
@@ -4214,59 +4503,117 @@ declare const PageStructureInputSchema: z.ZodObject<{
4214
4503
  text: string;
4215
4504
  href?: string | undefined;
4216
4505
  } | undefined;
4217
- 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;
4218
4605
  };
4219
4606
  hidden?: boolean | undefined;
4220
4607
  sliceId?: string | undefined;
4221
4608
  }, {
4222
- type: "Topper";
4609
+ type: "Hero";
4223
4610
  properties: {
4224
- description: {
4225
- type: "doc";
4226
- content: ({
4227
- text: string;
4228
- type: "text";
4229
- marks?: ({
4230
- type: "link";
4231
- attrs: {
4232
- href: string;
4233
- };
4234
- } | {
4235
- type: "bold";
4236
- } | {
4237
- type: "italic";
4238
- } | {
4239
- type: "underline";
4240
- } | {
4241
- type: "strike";
4242
- })[] | undefined;
4243
- } | {
4244
- type: "paragraph";
4245
- content: {
4246
- text: string;
4247
- type: "text";
4248
- marks?: ({
4249
- type: "link";
4250
- attrs: {
4251
- href: string;
4252
- };
4253
- } | {
4254
- type: "bold";
4255
- } | {
4256
- type: "italic";
4257
- } | {
4258
- type: "underline";
4259
- } | {
4260
- type: "strike";
4261
- })[] | undefined;
4262
- }[];
4263
- })[];
4264
- };
4611
+ listId: string;
4612
+ maxStories: number;
4265
4613
  heading?: {
4266
4614
  text: string;
4267
4615
  href?: string | undefined;
4268
4616
  } | undefined;
4269
- strapline?: string | undefined;
4270
4617
  };
4271
4618
  hidden?: boolean | undefined;
4272
4619
  sliceId?: string | undefined;
@@ -4388,6 +4735,18 @@ declare const PageStructureInputSchema: z.ZodObject<{
4388
4735
  };
4389
4736
  hidden?: boolean | undefined;
4390
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;
4391
4750
  })[];
4392
4751
  }, {
4393
4752
  properties: {
@@ -4506,6 +4865,18 @@ declare const PageStructureInputSchema: z.ZodObject<{
4506
4865
  };
4507
4866
  hidden?: boolean | undefined;
4508
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;
4509
4880
  })[];
4510
4881
  }>;
4511
4882
  export { PageStructureInputSchema }
@@ -5329,6 +5700,64 @@ declare const PageStructureOutputSchema: z.ZodObject<{
5329
5700
  };
5330
5701
  sliceId: string;
5331
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;
5332
5761
  }>]>, "many">;
5333
5762
  }, "strip", z.ZodTypeAny, {
5334
5763
  type: "Page";
@@ -5448,6 +5877,18 @@ declare const PageStructureOutputSchema: z.ZodObject<{
5448
5877
  };
5449
5878
  sliceId: string;
5450
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;
5451
5892
  })[];
5452
5893
  schemaVersion: number;
5453
5894
  }, {
@@ -5568,6 +6009,18 @@ declare const PageStructureOutputSchema: z.ZodObject<{
5568
6009
  };
5569
6010
  sliceId: string;
5570
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;
5571
6024
  })[];
5572
6025
  schemaVersion: number;
5573
6026
  }>;
@@ -6678,6 +7131,64 @@ declare const SliceApiInputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.Z
6678
7131
  };
6679
7132
  hidden?: boolean | undefined;
6680
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;
6681
7192
  }>]>;
6682
7193
  export { SliceApiInputSchema }
6683
7194
  export { SliceApiInputSchema as SliceApiInputSchema_alias_1 }
@@ -7483,6 +7994,64 @@ declare const SliceApiOutputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.
7483
7994
  };
7484
7995
  sliceId: string;
7485
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;
7486
8055
  }>]>;
7487
8056
  export { SliceApiOutputSchema }
7488
8057
  export { SliceApiOutputSchema as SliceApiOutputSchema_alias_1 }