@financial-times/content-curation-client 4.0.0 → 4.1.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.
@@ -269,10 +269,31 @@ declare type DraftContributor = z.infer<typeof DraftContributorSchema>;
269
269
  export { DraftContributor }
270
270
  export { DraftContributor as DraftContributor_alias_1 }
271
271
 
272
- declare const DraftContributorSchema: z.ZodObject<{
272
+ declare type DraftContributorInput = z.infer<typeof DraftContributorInputSchema>;
273
+ export { DraftContributorInput }
274
+ export { DraftContributorInput as DraftContributorInput_alias_1 }
275
+
276
+ declare const DraftContributorInputSchema: z.ZodObject<{
273
277
  userId: z.ZodString;
274
278
  displayName: z.ZodString;
275
279
  email: z.ZodOptional<z.ZodString>;
280
+ }, "strip", z.ZodTypeAny, {
281
+ userId: string;
282
+ displayName: string;
283
+ email?: string | undefined;
284
+ }, {
285
+ userId: string;
286
+ displayName: string;
287
+ email?: string | undefined;
288
+ }>;
289
+ export { DraftContributorInputSchema }
290
+ export { DraftContributorInputSchema as DraftContributorInputSchema_alias_1 }
291
+
292
+ declare const DraftContributorSchema: z.ZodObject<{
293
+ email: z.ZodOptional<z.ZodString>;
294
+ } & {
295
+ userId: z.ZodString;
296
+ displayName: z.ZodString;
276
297
  firstTouchedAt: z.ZodString;
277
298
  lastTouchedAt: z.ZodString;
278
299
  }, "strip", z.ZodTypeAny, {
@@ -296,9 +317,10 @@ declare const DraftSchema: z.ZodUnion<[z.ZodObject<{
296
317
  createdAt: z.ZodString;
297
318
  updatedAt: z.ZodString;
298
319
  contributors: z.ZodArray<z.ZodObject<{
320
+ email: z.ZodOptional<z.ZodString>;
321
+ } & {
299
322
  userId: z.ZodString;
300
323
  displayName: z.ZodString;
301
- email: z.ZodOptional<z.ZodString>;
302
324
  firstTouchedAt: z.ZodString;
303
325
  lastTouchedAt: z.ZodString;
304
326
  }, "strip", z.ZodTypeAny, {
@@ -1694,9 +1716,10 @@ declare const DraftSchema: z.ZodUnion<[z.ZodObject<{
1694
1716
  createdAt: z.ZodString;
1695
1717
  updatedAt: z.ZodString;
1696
1718
  contributors: z.ZodArray<z.ZodObject<{
1719
+ email: z.ZodOptional<z.ZodString>;
1720
+ } & {
1697
1721
  userId: z.ZodString;
1698
1722
  displayName: z.ZodString;
1699
- email: z.ZodOptional<z.ZodString>;
1700
1723
  firstTouchedAt: z.ZodString;
1701
1724
  lastTouchedAt: z.ZodString;
1702
1725
  }, "strip", z.ZodTypeAny, {
@@ -3365,6 +3388,7 @@ export { HeroSliceType as HeroSliceType_alias_1 }
3365
3388
  */
3366
3389
  declare class HomepageClient extends BaseApiClient {
3367
3390
  getStructure(pageId: string): Promise<HomepageStructureOutput>;
3391
+ getDraft(pageId: string): Promise<HomepageDraft | null>;
3368
3392
  getStructuresByHomepageListId(homepageListId: string): Promise<HomepageStructureOutput[]>;
3369
3393
  upsertStructure(pageId: string, data: Omit<HomepageStructureInput, "type">): Promise<HomepageStructureOutput>;
3370
3394
  }
@@ -3380,9 +3404,10 @@ declare const HomepageDraftSchema: z.ZodObject<{
3380
3404
  createdAt: z.ZodString;
3381
3405
  updatedAt: z.ZodString;
3382
3406
  contributors: z.ZodArray<z.ZodObject<{
3407
+ email: z.ZodOptional<z.ZodString>;
3408
+ } & {
3383
3409
  userId: z.ZodString;
3384
3410
  displayName: z.ZodString;
3385
- email: z.ZodOptional<z.ZodString>;
3386
3411
  firstTouchedAt: z.ZodString;
3387
3412
  lastTouchedAt: z.ZodString;
3388
3413
  }, "strip", z.ZodTypeAny, {
@@ -7806,6 +7831,7 @@ export { LegacyPageStructureOutputSchema as LegacyPageStructureOutputSchema_alia
7806
7831
  */
7807
7832
  declare class PageClient extends BaseApiClient {
7808
7833
  getStructure(pageId: string): Promise<PageStructureOutput>;
7834
+ getDraft(pageId: string): Promise<PageDraft | null>;
7809
7835
  getLegacyHubPageStructure(pageId: string): Promise<LegacyPageStructureOutput>;
7810
7836
  upsertStructure(pageId: string, data: Omit<PageStructureInput, "type">): Promise<PageStructureOutput>;
7811
7837
  }
@@ -7821,9 +7847,10 @@ declare const PageDraftSchema: z.ZodObject<{
7821
7847
  createdAt: z.ZodString;
7822
7848
  updatedAt: z.ZodString;
7823
7849
  contributors: z.ZodArray<z.ZodObject<{
7850
+ email: z.ZodOptional<z.ZodString>;
7851
+ } & {
7824
7852
  userId: z.ZodString;
7825
7853
  displayName: z.ZodString;
7826
- email: z.ZodOptional<z.ZodString>;
7827
7854
  firstTouchedAt: z.ZodString;
7828
7855
  lastTouchedAt: z.ZodString;
7829
7856
  }, "strip", z.ZodTypeAny, {
@@ -11424,6 +11451,2767 @@ declare const PageStructureOutputSchema: z.ZodObject<{
11424
11451
  export { PageStructureOutputSchema }
11425
11452
  export { PageStructureOutputSchema as PageStructureOutputSchema_alias_1 }
11426
11453
 
11454
+ declare type PersistHomepageDraftInput = z.infer<typeof PersistHomepageDraftInputSchema>;
11455
+ export { PersistHomepageDraftInput }
11456
+ export { PersistHomepageDraftInput as PersistHomepageDraftInput_alias_1 }
11457
+
11458
+ declare const PersistHomepageDraftInputSchema: z.ZodObject<{
11459
+ structure: z.ZodObject<{
11460
+ children: z.ZodArray<z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{
11461
+ type: z.ZodLiteral<"HomepageSlice">;
11462
+ hidden: z.ZodOptional<z.ZodBoolean>;
11463
+ properties: z.ZodOptional<z.ZodObject<{
11464
+ heading: z.ZodOptional<z.ZodObject<{
11465
+ text: z.ZodString;
11466
+ href: z.ZodOptional<z.ZodString>;
11467
+ }, "strip", z.ZodTypeAny, {
11468
+ text: string;
11469
+ href?: string | undefined;
11470
+ }, {
11471
+ text: string;
11472
+ href?: string | undefined;
11473
+ }>>;
11474
+ }, "strip", z.ZodTypeAny, {
11475
+ heading?: {
11476
+ text: string;
11477
+ href?: string | undefined;
11478
+ } | undefined;
11479
+ }, {
11480
+ heading?: {
11481
+ text: string;
11482
+ href?: string | undefined;
11483
+ } | undefined;
11484
+ }>>;
11485
+ } & {
11486
+ sliceId: z.ZodOptional<z.ZodString>;
11487
+ }, "strip", z.ZodTypeAny, {
11488
+ type: "HomepageSlice";
11489
+ hidden?: boolean | undefined;
11490
+ properties?: {
11491
+ heading?: {
11492
+ text: string;
11493
+ href?: string | undefined;
11494
+ } | undefined;
11495
+ } | undefined;
11496
+ sliceId?: string | undefined;
11497
+ }, {
11498
+ type: "HomepageSlice";
11499
+ hidden?: boolean | undefined;
11500
+ properties?: {
11501
+ heading?: {
11502
+ text: string;
11503
+ href?: string | undefined;
11504
+ } | undefined;
11505
+ } | undefined;
11506
+ sliceId?: string | undefined;
11507
+ }>, z.ZodObject<{
11508
+ type: z.ZodLiteral<"Interactive">;
11509
+ hidden: z.ZodOptional<z.ZodBoolean>;
11510
+ properties: z.ZodObject<{
11511
+ heading: z.ZodOptional<z.ZodObject<{
11512
+ text: z.ZodString;
11513
+ href: z.ZodOptional<z.ZodString>;
11514
+ }, "strip", z.ZodTypeAny, {
11515
+ text: string;
11516
+ href?: string | undefined;
11517
+ }, {
11518
+ text: string;
11519
+ href?: string | undefined;
11520
+ }>>;
11521
+ } & {
11522
+ flourishDescription: z.ZodOptional<z.ZodString>;
11523
+ flourishId: z.ZodString;
11524
+ flourishAltText: z.ZodString;
11525
+ storyUUID: z.ZodOptional<z.ZodString>;
11526
+ theme: z.ZodOptional<z.ZodString>;
11527
+ }, "strip", z.ZodTypeAny, {
11528
+ flourishId: string;
11529
+ flourishAltText: string;
11530
+ heading?: {
11531
+ text: string;
11532
+ href?: string | undefined;
11533
+ } | undefined;
11534
+ flourishDescription?: string | undefined;
11535
+ storyUUID?: string | undefined;
11536
+ theme?: string | undefined;
11537
+ }, {
11538
+ flourishId: string;
11539
+ flourishAltText: string;
11540
+ heading?: {
11541
+ text: string;
11542
+ href?: string | undefined;
11543
+ } | undefined;
11544
+ flourishDescription?: string | undefined;
11545
+ storyUUID?: string | undefined;
11546
+ theme?: string | undefined;
11547
+ }>;
11548
+ } & {
11549
+ sliceId: z.ZodOptional<z.ZodString>;
11550
+ }, "strip", z.ZodTypeAny, {
11551
+ type: "Interactive";
11552
+ properties: {
11553
+ flourishId: string;
11554
+ flourishAltText: string;
11555
+ heading?: {
11556
+ text: string;
11557
+ href?: string | undefined;
11558
+ } | undefined;
11559
+ flourishDescription?: string | undefined;
11560
+ storyUUID?: string | undefined;
11561
+ theme?: string | undefined;
11562
+ };
11563
+ hidden?: boolean | undefined;
11564
+ sliceId?: string | undefined;
11565
+ }, {
11566
+ type: "Interactive";
11567
+ properties: {
11568
+ flourishId: string;
11569
+ flourishAltText: string;
11570
+ heading?: {
11571
+ text: string;
11572
+ href?: string | undefined;
11573
+ } | undefined;
11574
+ flourishDescription?: string | undefined;
11575
+ storyUUID?: string | undefined;
11576
+ theme?: string | undefined;
11577
+ };
11578
+ hidden?: boolean | undefined;
11579
+ sliceId?: string | undefined;
11580
+ }>, z.ZodObject<{
11581
+ type: z.ZodLiteral<"Experiment">;
11582
+ hidden: z.ZodOptional<z.ZodBoolean>;
11583
+ properties: z.ZodObject<{
11584
+ heading: z.ZodOptional<z.ZodObject<{
11585
+ text: z.ZodString;
11586
+ href: z.ZodOptional<z.ZodString>;
11587
+ }, "strip", z.ZodTypeAny, {
11588
+ text: string;
11589
+ href?: string | undefined;
11590
+ }, {
11591
+ text: string;
11592
+ href?: string | undefined;
11593
+ }>>;
11594
+ } & {
11595
+ experimentId: z.ZodString;
11596
+ experimentName: z.ZodString;
11597
+ contentJson: z.ZodEffects<z.ZodString, string, string>;
11598
+ }, "strip", z.ZodTypeAny, {
11599
+ experimentId: string;
11600
+ experimentName: string;
11601
+ contentJson: string;
11602
+ heading?: {
11603
+ text: string;
11604
+ href?: string | undefined;
11605
+ } | undefined;
11606
+ }, {
11607
+ experimentId: string;
11608
+ experimentName: string;
11609
+ contentJson: string;
11610
+ heading?: {
11611
+ text: string;
11612
+ href?: string | undefined;
11613
+ } | undefined;
11614
+ }>;
11615
+ } & {
11616
+ sliceId: z.ZodOptional<z.ZodString>;
11617
+ }, "strip", z.ZodTypeAny, {
11618
+ type: "Experiment";
11619
+ properties: {
11620
+ experimentId: string;
11621
+ experimentName: string;
11622
+ contentJson: string;
11623
+ heading?: {
11624
+ text: string;
11625
+ href?: string | undefined;
11626
+ } | undefined;
11627
+ };
11628
+ hidden?: boolean | undefined;
11629
+ sliceId?: string | undefined;
11630
+ }, {
11631
+ type: "Experiment";
11632
+ properties: {
11633
+ experimentId: string;
11634
+ experimentName: string;
11635
+ contentJson: string;
11636
+ heading?: {
11637
+ text: string;
11638
+ href?: string | undefined;
11639
+ } | undefined;
11640
+ };
11641
+ hidden?: boolean | undefined;
11642
+ sliceId?: string | undefined;
11643
+ }>, z.ZodObject<{
11644
+ type: z.ZodLiteral<"Strip">;
11645
+ hidden: z.ZodOptional<z.ZodBoolean>;
11646
+ properties: z.ZodObject<{
11647
+ heading: z.ZodOptional<z.ZodObject<{
11648
+ text: z.ZodString;
11649
+ href: z.ZodOptional<z.ZodString>;
11650
+ }, "strip", z.ZodTypeAny, {
11651
+ text: string;
11652
+ href?: string | undefined;
11653
+ }, {
11654
+ text: string;
11655
+ href?: string | undefined;
11656
+ }>>;
11657
+ } & {
11658
+ listId: z.ZodString;
11659
+ maxStories: z.ZodNumber;
11660
+ }, "strip", z.ZodTypeAny, {
11661
+ listId: string;
11662
+ maxStories: number;
11663
+ heading?: {
11664
+ text: string;
11665
+ href?: string | undefined;
11666
+ } | undefined;
11667
+ }, {
11668
+ listId: string;
11669
+ maxStories: number;
11670
+ heading?: {
11671
+ text: string;
11672
+ href?: string | undefined;
11673
+ } | undefined;
11674
+ }>;
11675
+ } & {
11676
+ sliceId: z.ZodOptional<z.ZodString>;
11677
+ }, "strip", z.ZodTypeAny, {
11678
+ type: "Strip";
11679
+ properties: {
11680
+ listId: string;
11681
+ maxStories: number;
11682
+ heading?: {
11683
+ text: string;
11684
+ href?: string | undefined;
11685
+ } | undefined;
11686
+ };
11687
+ hidden?: boolean | undefined;
11688
+ sliceId?: string | undefined;
11689
+ }, {
11690
+ type: "Strip";
11691
+ properties: {
11692
+ listId: string;
11693
+ maxStories: number;
11694
+ heading?: {
11695
+ text: string;
11696
+ href?: string | undefined;
11697
+ } | undefined;
11698
+ };
11699
+ hidden?: boolean | undefined;
11700
+ sliceId?: string | undefined;
11701
+ }>, z.ZodObject<{
11702
+ type: z.ZodLiteral<"Topper">;
11703
+ hidden: z.ZodOptional<z.ZodBoolean>;
11704
+ properties: z.ZodObject<{
11705
+ heading: z.ZodOptional<z.ZodObject<{
11706
+ text: z.ZodString;
11707
+ href: z.ZodOptional<z.ZodString>;
11708
+ }, "strip", z.ZodTypeAny, {
11709
+ text: string;
11710
+ href?: string | undefined;
11711
+ }, {
11712
+ text: string;
11713
+ href?: string | undefined;
11714
+ }>>;
11715
+ } & {
11716
+ description: z.ZodObject<{
11717
+ type: z.ZodLiteral<"doc">;
11718
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
11719
+ type: z.ZodLiteral<"paragraph">;
11720
+ content: z.ZodArray<z.ZodObject<{
11721
+ type: z.ZodLiteral<"text">;
11722
+ text: z.ZodString;
11723
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11724
+ type: z.ZodLiteral<"link">;
11725
+ attrs: z.ZodObject<{
11726
+ href: z.ZodEffects<z.ZodString, string, string>;
11727
+ }, "strip", z.ZodTypeAny, {
11728
+ href: string;
11729
+ }, {
11730
+ href: string;
11731
+ }>;
11732
+ }, "strip", z.ZodTypeAny, {
11733
+ type: "link";
11734
+ attrs: {
11735
+ href: string;
11736
+ };
11737
+ }, {
11738
+ type: "link";
11739
+ attrs: {
11740
+ href: string;
11741
+ };
11742
+ }>, z.ZodObject<{
11743
+ type: z.ZodLiteral<"bold">;
11744
+ }, "strip", z.ZodTypeAny, {
11745
+ type: "bold";
11746
+ }, {
11747
+ type: "bold";
11748
+ }>, z.ZodObject<{
11749
+ type: z.ZodLiteral<"italic">;
11750
+ }, "strip", z.ZodTypeAny, {
11751
+ type: "italic";
11752
+ }, {
11753
+ type: "italic";
11754
+ }>, z.ZodObject<{
11755
+ type: z.ZodLiteral<"underline">;
11756
+ }, "strip", z.ZodTypeAny, {
11757
+ type: "underline";
11758
+ }, {
11759
+ type: "underline";
11760
+ }>, z.ZodObject<{
11761
+ type: z.ZodLiteral<"strike">;
11762
+ }, "strip", z.ZodTypeAny, {
11763
+ type: "strike";
11764
+ }, {
11765
+ type: "strike";
11766
+ }>]>, "many">>;
11767
+ }, "strip", z.ZodTypeAny, {
11768
+ text: string;
11769
+ type: "text";
11770
+ marks?: ({
11771
+ type: "link";
11772
+ attrs: {
11773
+ href: string;
11774
+ };
11775
+ } | {
11776
+ type: "bold";
11777
+ } | {
11778
+ type: "italic";
11779
+ } | {
11780
+ type: "underline";
11781
+ } | {
11782
+ type: "strike";
11783
+ })[] | undefined;
11784
+ }, {
11785
+ text: string;
11786
+ type: "text";
11787
+ marks?: ({
11788
+ type: "link";
11789
+ attrs: {
11790
+ href: string;
11791
+ };
11792
+ } | {
11793
+ type: "bold";
11794
+ } | {
11795
+ type: "italic";
11796
+ } | {
11797
+ type: "underline";
11798
+ } | {
11799
+ type: "strike";
11800
+ })[] | undefined;
11801
+ }>, "many">;
11802
+ }, "strip", z.ZodTypeAny, {
11803
+ type: "paragraph";
11804
+ content: {
11805
+ text: string;
11806
+ type: "text";
11807
+ marks?: ({
11808
+ type: "link";
11809
+ attrs: {
11810
+ href: string;
11811
+ };
11812
+ } | {
11813
+ type: "bold";
11814
+ } | {
11815
+ type: "italic";
11816
+ } | {
11817
+ type: "underline";
11818
+ } | {
11819
+ type: "strike";
11820
+ })[] | undefined;
11821
+ }[];
11822
+ }, {
11823
+ type: "paragraph";
11824
+ content: {
11825
+ text: string;
11826
+ type: "text";
11827
+ marks?: ({
11828
+ type: "link";
11829
+ attrs: {
11830
+ href: string;
11831
+ };
11832
+ } | {
11833
+ type: "bold";
11834
+ } | {
11835
+ type: "italic";
11836
+ } | {
11837
+ type: "underline";
11838
+ } | {
11839
+ type: "strike";
11840
+ })[] | undefined;
11841
+ }[];
11842
+ }>, z.ZodObject<{
11843
+ type: z.ZodLiteral<"text">;
11844
+ text: z.ZodString;
11845
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11846
+ type: z.ZodLiteral<"link">;
11847
+ attrs: z.ZodObject<{
11848
+ href: z.ZodEffects<z.ZodString, string, string>;
11849
+ }, "strip", z.ZodTypeAny, {
11850
+ href: string;
11851
+ }, {
11852
+ href: string;
11853
+ }>;
11854
+ }, "strip", z.ZodTypeAny, {
11855
+ type: "link";
11856
+ attrs: {
11857
+ href: string;
11858
+ };
11859
+ }, {
11860
+ type: "link";
11861
+ attrs: {
11862
+ href: string;
11863
+ };
11864
+ }>, z.ZodObject<{
11865
+ type: z.ZodLiteral<"bold">;
11866
+ }, "strip", z.ZodTypeAny, {
11867
+ type: "bold";
11868
+ }, {
11869
+ type: "bold";
11870
+ }>, z.ZodObject<{
11871
+ type: z.ZodLiteral<"italic">;
11872
+ }, "strip", z.ZodTypeAny, {
11873
+ type: "italic";
11874
+ }, {
11875
+ type: "italic";
11876
+ }>, z.ZodObject<{
11877
+ type: z.ZodLiteral<"underline">;
11878
+ }, "strip", z.ZodTypeAny, {
11879
+ type: "underline";
11880
+ }, {
11881
+ type: "underline";
11882
+ }>, z.ZodObject<{
11883
+ type: z.ZodLiteral<"strike">;
11884
+ }, "strip", z.ZodTypeAny, {
11885
+ type: "strike";
11886
+ }, {
11887
+ type: "strike";
11888
+ }>]>, "many">>;
11889
+ }, "strip", z.ZodTypeAny, {
11890
+ text: string;
11891
+ type: "text";
11892
+ marks?: ({
11893
+ type: "link";
11894
+ attrs: {
11895
+ href: string;
11896
+ };
11897
+ } | {
11898
+ type: "bold";
11899
+ } | {
11900
+ type: "italic";
11901
+ } | {
11902
+ type: "underline";
11903
+ } | {
11904
+ type: "strike";
11905
+ })[] | undefined;
11906
+ }, {
11907
+ text: string;
11908
+ type: "text";
11909
+ marks?: ({
11910
+ type: "link";
11911
+ attrs: {
11912
+ href: string;
11913
+ };
11914
+ } | {
11915
+ type: "bold";
11916
+ } | {
11917
+ type: "italic";
11918
+ } | {
11919
+ type: "underline";
11920
+ } | {
11921
+ type: "strike";
11922
+ })[] | undefined;
11923
+ }>]>, "many">;
11924
+ }, "strip", z.ZodTypeAny, {
11925
+ type: "doc";
11926
+ content: ({
11927
+ text: string;
11928
+ type: "text";
11929
+ marks?: ({
11930
+ type: "link";
11931
+ attrs: {
11932
+ href: string;
11933
+ };
11934
+ } | {
11935
+ type: "bold";
11936
+ } | {
11937
+ type: "italic";
11938
+ } | {
11939
+ type: "underline";
11940
+ } | {
11941
+ type: "strike";
11942
+ })[] | undefined;
11943
+ } | {
11944
+ type: "paragraph";
11945
+ content: {
11946
+ text: string;
11947
+ type: "text";
11948
+ marks?: ({
11949
+ type: "link";
11950
+ attrs: {
11951
+ href: string;
11952
+ };
11953
+ } | {
11954
+ type: "bold";
11955
+ } | {
11956
+ type: "italic";
11957
+ } | {
11958
+ type: "underline";
11959
+ } | {
11960
+ type: "strike";
11961
+ })[] | undefined;
11962
+ }[];
11963
+ })[];
11964
+ }, {
11965
+ type: "doc";
11966
+ content: ({
11967
+ text: string;
11968
+ type: "text";
11969
+ marks?: ({
11970
+ type: "link";
11971
+ attrs: {
11972
+ href: string;
11973
+ };
11974
+ } | {
11975
+ type: "bold";
11976
+ } | {
11977
+ type: "italic";
11978
+ } | {
11979
+ type: "underline";
11980
+ } | {
11981
+ type: "strike";
11982
+ })[] | undefined;
11983
+ } | {
11984
+ type: "paragraph";
11985
+ content: {
11986
+ text: string;
11987
+ type: "text";
11988
+ marks?: ({
11989
+ type: "link";
11990
+ attrs: {
11991
+ href: string;
11992
+ };
11993
+ } | {
11994
+ type: "bold";
11995
+ } | {
11996
+ type: "italic";
11997
+ } | {
11998
+ type: "underline";
11999
+ } | {
12000
+ type: "strike";
12001
+ })[] | undefined;
12002
+ }[];
12003
+ })[];
12004
+ }>;
12005
+ strapline: z.ZodOptional<z.ZodString>;
12006
+ }, "strip", z.ZodTypeAny, {
12007
+ description: {
12008
+ type: "doc";
12009
+ content: ({
12010
+ text: string;
12011
+ type: "text";
12012
+ marks?: ({
12013
+ type: "link";
12014
+ attrs: {
12015
+ href: string;
12016
+ };
12017
+ } | {
12018
+ type: "bold";
12019
+ } | {
12020
+ type: "italic";
12021
+ } | {
12022
+ type: "underline";
12023
+ } | {
12024
+ type: "strike";
12025
+ })[] | undefined;
12026
+ } | {
12027
+ type: "paragraph";
12028
+ content: {
12029
+ text: string;
12030
+ type: "text";
12031
+ marks?: ({
12032
+ type: "link";
12033
+ attrs: {
12034
+ href: string;
12035
+ };
12036
+ } | {
12037
+ type: "bold";
12038
+ } | {
12039
+ type: "italic";
12040
+ } | {
12041
+ type: "underline";
12042
+ } | {
12043
+ type: "strike";
12044
+ })[] | undefined;
12045
+ }[];
12046
+ })[];
12047
+ };
12048
+ heading?: {
12049
+ text: string;
12050
+ href?: string | undefined;
12051
+ } | undefined;
12052
+ strapline?: string | undefined;
12053
+ }, {
12054
+ description: {
12055
+ type: "doc";
12056
+ content: ({
12057
+ text: string;
12058
+ type: "text";
12059
+ marks?: ({
12060
+ type: "link";
12061
+ attrs: {
12062
+ href: string;
12063
+ };
12064
+ } | {
12065
+ type: "bold";
12066
+ } | {
12067
+ type: "italic";
12068
+ } | {
12069
+ type: "underline";
12070
+ } | {
12071
+ type: "strike";
12072
+ })[] | undefined;
12073
+ } | {
12074
+ type: "paragraph";
12075
+ content: {
12076
+ text: string;
12077
+ type: "text";
12078
+ marks?: ({
12079
+ type: "link";
12080
+ attrs: {
12081
+ href: string;
12082
+ };
12083
+ } | {
12084
+ type: "bold";
12085
+ } | {
12086
+ type: "italic";
12087
+ } | {
12088
+ type: "underline";
12089
+ } | {
12090
+ type: "strike";
12091
+ })[] | undefined;
12092
+ }[];
12093
+ })[];
12094
+ };
12095
+ heading?: {
12096
+ text: string;
12097
+ href?: string | undefined;
12098
+ } | undefined;
12099
+ strapline?: string | undefined;
12100
+ }>;
12101
+ } & {
12102
+ sliceId: z.ZodOptional<z.ZodString>;
12103
+ }, "strip", z.ZodTypeAny, {
12104
+ type: "Topper";
12105
+ properties: {
12106
+ description: {
12107
+ type: "doc";
12108
+ content: ({
12109
+ text: string;
12110
+ type: "text";
12111
+ marks?: ({
12112
+ type: "link";
12113
+ attrs: {
12114
+ href: string;
12115
+ };
12116
+ } | {
12117
+ type: "bold";
12118
+ } | {
12119
+ type: "italic";
12120
+ } | {
12121
+ type: "underline";
12122
+ } | {
12123
+ type: "strike";
12124
+ })[] | undefined;
12125
+ } | {
12126
+ type: "paragraph";
12127
+ content: {
12128
+ text: string;
12129
+ type: "text";
12130
+ marks?: ({
12131
+ type: "link";
12132
+ attrs: {
12133
+ href: string;
12134
+ };
12135
+ } | {
12136
+ type: "bold";
12137
+ } | {
12138
+ type: "italic";
12139
+ } | {
12140
+ type: "underline";
12141
+ } | {
12142
+ type: "strike";
12143
+ })[] | undefined;
12144
+ }[];
12145
+ })[];
12146
+ };
12147
+ heading?: {
12148
+ text: string;
12149
+ href?: string | undefined;
12150
+ } | undefined;
12151
+ strapline?: string | undefined;
12152
+ };
12153
+ hidden?: boolean | undefined;
12154
+ sliceId?: string | undefined;
12155
+ }, {
12156
+ type: "Topper";
12157
+ properties: {
12158
+ description: {
12159
+ type: "doc";
12160
+ content: ({
12161
+ text: string;
12162
+ type: "text";
12163
+ marks?: ({
12164
+ type: "link";
12165
+ attrs: {
12166
+ href: string;
12167
+ };
12168
+ } | {
12169
+ type: "bold";
12170
+ } | {
12171
+ type: "italic";
12172
+ } | {
12173
+ type: "underline";
12174
+ } | {
12175
+ type: "strike";
12176
+ })[] | undefined;
12177
+ } | {
12178
+ type: "paragraph";
12179
+ content: {
12180
+ text: string;
12181
+ type: "text";
12182
+ marks?: ({
12183
+ type: "link";
12184
+ attrs: {
12185
+ href: string;
12186
+ };
12187
+ } | {
12188
+ type: "bold";
12189
+ } | {
12190
+ type: "italic";
12191
+ } | {
12192
+ type: "underline";
12193
+ } | {
12194
+ type: "strike";
12195
+ })[] | undefined;
12196
+ }[];
12197
+ })[];
12198
+ };
12199
+ heading?: {
12200
+ text: string;
12201
+ href?: string | undefined;
12202
+ } | undefined;
12203
+ strapline?: string | undefined;
12204
+ };
12205
+ hidden?: boolean | undefined;
12206
+ sliceId?: string | undefined;
12207
+ }>, z.ZodObject<{
12208
+ type: z.ZodLiteral<"Hero">;
12209
+ hidden: z.ZodOptional<z.ZodBoolean>;
12210
+ properties: z.ZodObject<{
12211
+ heading: z.ZodOptional<z.ZodObject<{
12212
+ text: z.ZodString;
12213
+ href: z.ZodOptional<z.ZodString>;
12214
+ }, "strip", z.ZodTypeAny, {
12215
+ text: string;
12216
+ href?: string | undefined;
12217
+ }, {
12218
+ text: string;
12219
+ href?: string | undefined;
12220
+ }>>;
12221
+ } & {
12222
+ listId: z.ZodString;
12223
+ maxStories: z.ZodNumber;
12224
+ }, "strip", z.ZodTypeAny, {
12225
+ listId: string;
12226
+ maxStories: number;
12227
+ heading?: {
12228
+ text: string;
12229
+ href?: string | undefined;
12230
+ } | undefined;
12231
+ }, {
12232
+ listId: string;
12233
+ maxStories: number;
12234
+ heading?: {
12235
+ text: string;
12236
+ href?: string | undefined;
12237
+ } | undefined;
12238
+ }>;
12239
+ } & {
12240
+ sliceId: z.ZodOptional<z.ZodString>;
12241
+ }, "strip", z.ZodTypeAny, {
12242
+ type: "Hero";
12243
+ properties: {
12244
+ listId: string;
12245
+ maxStories: number;
12246
+ heading?: {
12247
+ text: string;
12248
+ href?: string | undefined;
12249
+ } | undefined;
12250
+ };
12251
+ hidden?: boolean | undefined;
12252
+ sliceId?: string | undefined;
12253
+ }, {
12254
+ type: "Hero";
12255
+ properties: {
12256
+ listId: string;
12257
+ maxStories: number;
12258
+ heading?: {
12259
+ text: string;
12260
+ href?: string | undefined;
12261
+ } | undefined;
12262
+ };
12263
+ hidden?: boolean | undefined;
12264
+ sliceId?: string | undefined;
12265
+ }>]>, "many">;
12266
+ } & {
12267
+ properties: z.ZodObject<{
12268
+ title: z.ZodString;
12269
+ pageId: z.ZodString;
12270
+ publicationId: z.ZodString;
12271
+ conceptId: z.ZodOptional<z.ZodString>;
12272
+ metaDescription: z.ZodOptional<z.ZodString>;
12273
+ pageTheme: z.ZodOptional<z.ZodString>;
12274
+ sponsorText: z.ZodOptional<z.ZodString>;
12275
+ sponsorImage: z.ZodOptional<z.ZodString>;
12276
+ } & {
12277
+ homepageListId: z.ZodString;
12278
+ }, "strip", z.ZodTypeAny, {
12279
+ title: string;
12280
+ pageId: string;
12281
+ publicationId: string;
12282
+ homepageListId: string;
12283
+ conceptId?: string | undefined;
12284
+ metaDescription?: string | undefined;
12285
+ pageTheme?: string | undefined;
12286
+ sponsorText?: string | undefined;
12287
+ sponsorImage?: string | undefined;
12288
+ }, {
12289
+ title: string;
12290
+ pageId: string;
12291
+ publicationId: string;
12292
+ homepageListId: string;
12293
+ conceptId?: string | undefined;
12294
+ metaDescription?: string | undefined;
12295
+ pageTheme?: string | undefined;
12296
+ sponsorText?: string | undefined;
12297
+ sponsorImage?: string | undefined;
12298
+ }>;
12299
+ }, "strip", z.ZodTypeAny, {
12300
+ properties: {
12301
+ title: string;
12302
+ pageId: string;
12303
+ publicationId: string;
12304
+ homepageListId: string;
12305
+ conceptId?: string | undefined;
12306
+ metaDescription?: string | undefined;
12307
+ pageTheme?: string | undefined;
12308
+ sponsorText?: string | undefined;
12309
+ sponsorImage?: string | undefined;
12310
+ };
12311
+ children: ({
12312
+ type: "HomepageSlice";
12313
+ hidden?: boolean | undefined;
12314
+ properties?: {
12315
+ heading?: {
12316
+ text: string;
12317
+ href?: string | undefined;
12318
+ } | undefined;
12319
+ } | undefined;
12320
+ sliceId?: string | undefined;
12321
+ } | {
12322
+ type: "Interactive";
12323
+ properties: {
12324
+ flourishId: string;
12325
+ flourishAltText: string;
12326
+ heading?: {
12327
+ text: string;
12328
+ href?: string | undefined;
12329
+ } | undefined;
12330
+ flourishDescription?: string | undefined;
12331
+ storyUUID?: string | undefined;
12332
+ theme?: string | undefined;
12333
+ };
12334
+ hidden?: boolean | undefined;
12335
+ sliceId?: string | undefined;
12336
+ } | {
12337
+ type: "Experiment";
12338
+ properties: {
12339
+ experimentId: string;
12340
+ experimentName: string;
12341
+ contentJson: string;
12342
+ heading?: {
12343
+ text: string;
12344
+ href?: string | undefined;
12345
+ } | undefined;
12346
+ };
12347
+ hidden?: boolean | undefined;
12348
+ sliceId?: string | undefined;
12349
+ } | {
12350
+ type: "Strip";
12351
+ properties: {
12352
+ listId: string;
12353
+ maxStories: number;
12354
+ heading?: {
12355
+ text: string;
12356
+ href?: string | undefined;
12357
+ } | undefined;
12358
+ };
12359
+ hidden?: boolean | undefined;
12360
+ sliceId?: string | undefined;
12361
+ } | {
12362
+ type: "Topper";
12363
+ properties: {
12364
+ description: {
12365
+ type: "doc";
12366
+ content: ({
12367
+ text: string;
12368
+ type: "text";
12369
+ marks?: ({
12370
+ type: "link";
12371
+ attrs: {
12372
+ href: string;
12373
+ };
12374
+ } | {
12375
+ type: "bold";
12376
+ } | {
12377
+ type: "italic";
12378
+ } | {
12379
+ type: "underline";
12380
+ } | {
12381
+ type: "strike";
12382
+ })[] | undefined;
12383
+ } | {
12384
+ type: "paragraph";
12385
+ content: {
12386
+ text: string;
12387
+ type: "text";
12388
+ marks?: ({
12389
+ type: "link";
12390
+ attrs: {
12391
+ href: string;
12392
+ };
12393
+ } | {
12394
+ type: "bold";
12395
+ } | {
12396
+ type: "italic";
12397
+ } | {
12398
+ type: "underline";
12399
+ } | {
12400
+ type: "strike";
12401
+ })[] | undefined;
12402
+ }[];
12403
+ })[];
12404
+ };
12405
+ heading?: {
12406
+ text: string;
12407
+ href?: string | undefined;
12408
+ } | undefined;
12409
+ strapline?: string | undefined;
12410
+ };
12411
+ hidden?: boolean | undefined;
12412
+ sliceId?: string | undefined;
12413
+ } | {
12414
+ type: "Hero";
12415
+ properties: {
12416
+ listId: string;
12417
+ maxStories: number;
12418
+ heading?: {
12419
+ text: string;
12420
+ href?: string | undefined;
12421
+ } | undefined;
12422
+ };
12423
+ hidden?: boolean | undefined;
12424
+ sliceId?: string | undefined;
12425
+ })[];
12426
+ }, {
12427
+ properties: {
12428
+ title: string;
12429
+ pageId: string;
12430
+ publicationId: string;
12431
+ homepageListId: string;
12432
+ conceptId?: string | undefined;
12433
+ metaDescription?: string | undefined;
12434
+ pageTheme?: string | undefined;
12435
+ sponsorText?: string | undefined;
12436
+ sponsorImage?: string | undefined;
12437
+ };
12438
+ children: ({
12439
+ type: "HomepageSlice";
12440
+ hidden?: boolean | undefined;
12441
+ properties?: {
12442
+ heading?: {
12443
+ text: string;
12444
+ href?: string | undefined;
12445
+ } | undefined;
12446
+ } | undefined;
12447
+ sliceId?: string | undefined;
12448
+ } | {
12449
+ type: "Interactive";
12450
+ properties: {
12451
+ flourishId: string;
12452
+ flourishAltText: string;
12453
+ heading?: {
12454
+ text: string;
12455
+ href?: string | undefined;
12456
+ } | undefined;
12457
+ flourishDescription?: string | undefined;
12458
+ storyUUID?: string | undefined;
12459
+ theme?: string | undefined;
12460
+ };
12461
+ hidden?: boolean | undefined;
12462
+ sliceId?: string | undefined;
12463
+ } | {
12464
+ type: "Experiment";
12465
+ properties: {
12466
+ experimentId: string;
12467
+ experimentName: string;
12468
+ contentJson: string;
12469
+ heading?: {
12470
+ text: string;
12471
+ href?: string | undefined;
12472
+ } | undefined;
12473
+ };
12474
+ hidden?: boolean | undefined;
12475
+ sliceId?: string | undefined;
12476
+ } | {
12477
+ type: "Strip";
12478
+ properties: {
12479
+ listId: string;
12480
+ maxStories: number;
12481
+ heading?: {
12482
+ text: string;
12483
+ href?: string | undefined;
12484
+ } | undefined;
12485
+ };
12486
+ hidden?: boolean | undefined;
12487
+ sliceId?: string | undefined;
12488
+ } | {
12489
+ type: "Topper";
12490
+ properties: {
12491
+ description: {
12492
+ type: "doc";
12493
+ content: ({
12494
+ text: string;
12495
+ type: "text";
12496
+ marks?: ({
12497
+ type: "link";
12498
+ attrs: {
12499
+ href: string;
12500
+ };
12501
+ } | {
12502
+ type: "bold";
12503
+ } | {
12504
+ type: "italic";
12505
+ } | {
12506
+ type: "underline";
12507
+ } | {
12508
+ type: "strike";
12509
+ })[] | undefined;
12510
+ } | {
12511
+ type: "paragraph";
12512
+ content: {
12513
+ text: string;
12514
+ type: "text";
12515
+ marks?: ({
12516
+ type: "link";
12517
+ attrs: {
12518
+ href: string;
12519
+ };
12520
+ } | {
12521
+ type: "bold";
12522
+ } | {
12523
+ type: "italic";
12524
+ } | {
12525
+ type: "underline";
12526
+ } | {
12527
+ type: "strike";
12528
+ })[] | undefined;
12529
+ }[];
12530
+ })[];
12531
+ };
12532
+ heading?: {
12533
+ text: string;
12534
+ href?: string | undefined;
12535
+ } | undefined;
12536
+ strapline?: string | undefined;
12537
+ };
12538
+ hidden?: boolean | undefined;
12539
+ sliceId?: string | undefined;
12540
+ } | {
12541
+ type: "Hero";
12542
+ properties: {
12543
+ listId: string;
12544
+ maxStories: number;
12545
+ heading?: {
12546
+ text: string;
12547
+ href?: string | undefined;
12548
+ } | undefined;
12549
+ };
12550
+ hidden?: boolean | undefined;
12551
+ sliceId?: string | undefined;
12552
+ })[];
12553
+ }>;
12554
+ contributor: z.ZodObject<{
12555
+ userId: z.ZodString;
12556
+ displayName: z.ZodString;
12557
+ email: z.ZodOptional<z.ZodString>;
12558
+ }, "strip", z.ZodTypeAny, {
12559
+ userId: string;
12560
+ displayName: string;
12561
+ email?: string | undefined;
12562
+ }, {
12563
+ userId: string;
12564
+ displayName: string;
12565
+ email?: string | undefined;
12566
+ }>;
12567
+ }, "strip", z.ZodTypeAny, {
12568
+ structure: {
12569
+ properties: {
12570
+ title: string;
12571
+ pageId: string;
12572
+ publicationId: string;
12573
+ homepageListId: string;
12574
+ conceptId?: string | undefined;
12575
+ metaDescription?: string | undefined;
12576
+ pageTheme?: string | undefined;
12577
+ sponsorText?: string | undefined;
12578
+ sponsorImage?: string | undefined;
12579
+ };
12580
+ children: ({
12581
+ type: "HomepageSlice";
12582
+ hidden?: boolean | undefined;
12583
+ properties?: {
12584
+ heading?: {
12585
+ text: string;
12586
+ href?: string | undefined;
12587
+ } | undefined;
12588
+ } | undefined;
12589
+ sliceId?: string | undefined;
12590
+ } | {
12591
+ type: "Interactive";
12592
+ properties: {
12593
+ flourishId: string;
12594
+ flourishAltText: string;
12595
+ heading?: {
12596
+ text: string;
12597
+ href?: string | undefined;
12598
+ } | undefined;
12599
+ flourishDescription?: string | undefined;
12600
+ storyUUID?: string | undefined;
12601
+ theme?: string | undefined;
12602
+ };
12603
+ hidden?: boolean | undefined;
12604
+ sliceId?: string | undefined;
12605
+ } | {
12606
+ type: "Experiment";
12607
+ properties: {
12608
+ experimentId: string;
12609
+ experimentName: string;
12610
+ contentJson: string;
12611
+ heading?: {
12612
+ text: string;
12613
+ href?: string | undefined;
12614
+ } | undefined;
12615
+ };
12616
+ hidden?: boolean | undefined;
12617
+ sliceId?: string | undefined;
12618
+ } | {
12619
+ type: "Strip";
12620
+ properties: {
12621
+ listId: string;
12622
+ maxStories: number;
12623
+ heading?: {
12624
+ text: string;
12625
+ href?: string | undefined;
12626
+ } | undefined;
12627
+ };
12628
+ hidden?: boolean | undefined;
12629
+ sliceId?: string | undefined;
12630
+ } | {
12631
+ type: "Topper";
12632
+ properties: {
12633
+ description: {
12634
+ type: "doc";
12635
+ content: ({
12636
+ text: string;
12637
+ type: "text";
12638
+ marks?: ({
12639
+ type: "link";
12640
+ attrs: {
12641
+ href: string;
12642
+ };
12643
+ } | {
12644
+ type: "bold";
12645
+ } | {
12646
+ type: "italic";
12647
+ } | {
12648
+ type: "underline";
12649
+ } | {
12650
+ type: "strike";
12651
+ })[] | undefined;
12652
+ } | {
12653
+ type: "paragraph";
12654
+ content: {
12655
+ text: string;
12656
+ type: "text";
12657
+ marks?: ({
12658
+ type: "link";
12659
+ attrs: {
12660
+ href: string;
12661
+ };
12662
+ } | {
12663
+ type: "bold";
12664
+ } | {
12665
+ type: "italic";
12666
+ } | {
12667
+ type: "underline";
12668
+ } | {
12669
+ type: "strike";
12670
+ })[] | undefined;
12671
+ }[];
12672
+ })[];
12673
+ };
12674
+ heading?: {
12675
+ text: string;
12676
+ href?: string | undefined;
12677
+ } | undefined;
12678
+ strapline?: string | undefined;
12679
+ };
12680
+ hidden?: boolean | undefined;
12681
+ sliceId?: string | undefined;
12682
+ } | {
12683
+ type: "Hero";
12684
+ properties: {
12685
+ listId: string;
12686
+ maxStories: number;
12687
+ heading?: {
12688
+ text: string;
12689
+ href?: string | undefined;
12690
+ } | undefined;
12691
+ };
12692
+ hidden?: boolean | undefined;
12693
+ sliceId?: string | undefined;
12694
+ })[];
12695
+ };
12696
+ contributor: {
12697
+ userId: string;
12698
+ displayName: string;
12699
+ email?: string | undefined;
12700
+ };
12701
+ }, {
12702
+ structure: {
12703
+ properties: {
12704
+ title: string;
12705
+ pageId: string;
12706
+ publicationId: string;
12707
+ homepageListId: string;
12708
+ conceptId?: string | undefined;
12709
+ metaDescription?: string | undefined;
12710
+ pageTheme?: string | undefined;
12711
+ sponsorText?: string | undefined;
12712
+ sponsorImage?: string | undefined;
12713
+ };
12714
+ children: ({
12715
+ type: "HomepageSlice";
12716
+ hidden?: boolean | undefined;
12717
+ properties?: {
12718
+ heading?: {
12719
+ text: string;
12720
+ href?: string | undefined;
12721
+ } | undefined;
12722
+ } | undefined;
12723
+ sliceId?: string | undefined;
12724
+ } | {
12725
+ type: "Interactive";
12726
+ properties: {
12727
+ flourishId: string;
12728
+ flourishAltText: string;
12729
+ heading?: {
12730
+ text: string;
12731
+ href?: string | undefined;
12732
+ } | undefined;
12733
+ flourishDescription?: string | undefined;
12734
+ storyUUID?: string | undefined;
12735
+ theme?: string | undefined;
12736
+ };
12737
+ hidden?: boolean | undefined;
12738
+ sliceId?: string | undefined;
12739
+ } | {
12740
+ type: "Experiment";
12741
+ properties: {
12742
+ experimentId: string;
12743
+ experimentName: string;
12744
+ contentJson: string;
12745
+ heading?: {
12746
+ text: string;
12747
+ href?: string | undefined;
12748
+ } | undefined;
12749
+ };
12750
+ hidden?: boolean | undefined;
12751
+ sliceId?: string | undefined;
12752
+ } | {
12753
+ type: "Strip";
12754
+ properties: {
12755
+ listId: string;
12756
+ maxStories: number;
12757
+ heading?: {
12758
+ text: string;
12759
+ href?: string | undefined;
12760
+ } | undefined;
12761
+ };
12762
+ hidden?: boolean | undefined;
12763
+ sliceId?: string | undefined;
12764
+ } | {
12765
+ type: "Topper";
12766
+ properties: {
12767
+ description: {
12768
+ type: "doc";
12769
+ content: ({
12770
+ text: string;
12771
+ type: "text";
12772
+ marks?: ({
12773
+ type: "link";
12774
+ attrs: {
12775
+ href: string;
12776
+ };
12777
+ } | {
12778
+ type: "bold";
12779
+ } | {
12780
+ type: "italic";
12781
+ } | {
12782
+ type: "underline";
12783
+ } | {
12784
+ type: "strike";
12785
+ })[] | undefined;
12786
+ } | {
12787
+ type: "paragraph";
12788
+ content: {
12789
+ text: string;
12790
+ type: "text";
12791
+ marks?: ({
12792
+ type: "link";
12793
+ attrs: {
12794
+ href: string;
12795
+ };
12796
+ } | {
12797
+ type: "bold";
12798
+ } | {
12799
+ type: "italic";
12800
+ } | {
12801
+ type: "underline";
12802
+ } | {
12803
+ type: "strike";
12804
+ })[] | undefined;
12805
+ }[];
12806
+ })[];
12807
+ };
12808
+ heading?: {
12809
+ text: string;
12810
+ href?: string | undefined;
12811
+ } | undefined;
12812
+ strapline?: string | undefined;
12813
+ };
12814
+ hidden?: boolean | undefined;
12815
+ sliceId?: string | undefined;
12816
+ } | {
12817
+ type: "Hero";
12818
+ properties: {
12819
+ listId: string;
12820
+ maxStories: number;
12821
+ heading?: {
12822
+ text: string;
12823
+ href?: string | undefined;
12824
+ } | undefined;
12825
+ };
12826
+ hidden?: boolean | undefined;
12827
+ sliceId?: string | undefined;
12828
+ })[];
12829
+ };
12830
+ contributor: {
12831
+ userId: string;
12832
+ displayName: string;
12833
+ email?: string | undefined;
12834
+ };
12835
+ }>;
12836
+ export { PersistHomepageDraftInputSchema }
12837
+ export { PersistHomepageDraftInputSchema as PersistHomepageDraftInputSchema_alias_1 }
12838
+
12839
+ declare type PersistPageDraftInput = z.infer<typeof PersistPageDraftInputSchema>;
12840
+ export { PersistPageDraftInput }
12841
+ export { PersistPageDraftInput as PersistPageDraftInput_alias_1 }
12842
+
12843
+ declare const PersistPageDraftInputSchema: z.ZodObject<{
12844
+ structure: z.ZodObject<{
12845
+ properties: z.ZodObject<{
12846
+ title: z.ZodString;
12847
+ pageId: z.ZodString;
12848
+ publicationId: z.ZodString;
12849
+ conceptId: z.ZodOptional<z.ZodString>;
12850
+ metaDescription: z.ZodOptional<z.ZodString>;
12851
+ pageTheme: z.ZodOptional<z.ZodString>;
12852
+ sponsorText: z.ZodOptional<z.ZodString>;
12853
+ sponsorImage: z.ZodOptional<z.ZodString>;
12854
+ }, "strip", z.ZodTypeAny, {
12855
+ title: string;
12856
+ pageId: string;
12857
+ publicationId: string;
12858
+ conceptId?: string | undefined;
12859
+ metaDescription?: string | undefined;
12860
+ pageTheme?: string | undefined;
12861
+ sponsorText?: string | undefined;
12862
+ sponsorImage?: string | undefined;
12863
+ }, {
12864
+ title: string;
12865
+ pageId: string;
12866
+ publicationId: string;
12867
+ conceptId?: string | undefined;
12868
+ metaDescription?: string | undefined;
12869
+ pageTheme?: string | undefined;
12870
+ sponsorText?: string | undefined;
12871
+ sponsorImage?: string | undefined;
12872
+ }>;
12873
+ children: z.ZodArray<z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{
12874
+ type: z.ZodLiteral<"HomepageSlice">;
12875
+ hidden: z.ZodOptional<z.ZodBoolean>;
12876
+ properties: z.ZodOptional<z.ZodObject<{
12877
+ heading: z.ZodOptional<z.ZodObject<{
12878
+ text: z.ZodString;
12879
+ href: z.ZodOptional<z.ZodString>;
12880
+ }, "strip", z.ZodTypeAny, {
12881
+ text: string;
12882
+ href?: string | undefined;
12883
+ }, {
12884
+ text: string;
12885
+ href?: string | undefined;
12886
+ }>>;
12887
+ }, "strip", z.ZodTypeAny, {
12888
+ heading?: {
12889
+ text: string;
12890
+ href?: string | undefined;
12891
+ } | undefined;
12892
+ }, {
12893
+ heading?: {
12894
+ text: string;
12895
+ href?: string | undefined;
12896
+ } | undefined;
12897
+ }>>;
12898
+ } & {
12899
+ sliceId: z.ZodOptional<z.ZodString>;
12900
+ }, "strip", z.ZodTypeAny, {
12901
+ type: "HomepageSlice";
12902
+ hidden?: boolean | undefined;
12903
+ properties?: {
12904
+ heading?: {
12905
+ text: string;
12906
+ href?: string | undefined;
12907
+ } | undefined;
12908
+ } | undefined;
12909
+ sliceId?: string | undefined;
12910
+ }, {
12911
+ type: "HomepageSlice";
12912
+ hidden?: boolean | undefined;
12913
+ properties?: {
12914
+ heading?: {
12915
+ text: string;
12916
+ href?: string | undefined;
12917
+ } | undefined;
12918
+ } | undefined;
12919
+ sliceId?: string | undefined;
12920
+ }>, z.ZodObject<{
12921
+ type: z.ZodLiteral<"Interactive">;
12922
+ hidden: z.ZodOptional<z.ZodBoolean>;
12923
+ properties: z.ZodObject<{
12924
+ heading: z.ZodOptional<z.ZodObject<{
12925
+ text: z.ZodString;
12926
+ href: z.ZodOptional<z.ZodString>;
12927
+ }, "strip", z.ZodTypeAny, {
12928
+ text: string;
12929
+ href?: string | undefined;
12930
+ }, {
12931
+ text: string;
12932
+ href?: string | undefined;
12933
+ }>>;
12934
+ } & {
12935
+ flourishDescription: z.ZodOptional<z.ZodString>;
12936
+ flourishId: z.ZodString;
12937
+ flourishAltText: z.ZodString;
12938
+ storyUUID: z.ZodOptional<z.ZodString>;
12939
+ theme: z.ZodOptional<z.ZodString>;
12940
+ }, "strip", z.ZodTypeAny, {
12941
+ flourishId: string;
12942
+ flourishAltText: string;
12943
+ heading?: {
12944
+ text: string;
12945
+ href?: string | undefined;
12946
+ } | undefined;
12947
+ flourishDescription?: string | undefined;
12948
+ storyUUID?: string | undefined;
12949
+ theme?: string | undefined;
12950
+ }, {
12951
+ flourishId: string;
12952
+ flourishAltText: string;
12953
+ heading?: {
12954
+ text: string;
12955
+ href?: string | undefined;
12956
+ } | undefined;
12957
+ flourishDescription?: string | undefined;
12958
+ storyUUID?: string | undefined;
12959
+ theme?: string | undefined;
12960
+ }>;
12961
+ } & {
12962
+ sliceId: z.ZodOptional<z.ZodString>;
12963
+ }, "strip", z.ZodTypeAny, {
12964
+ type: "Interactive";
12965
+ properties: {
12966
+ flourishId: string;
12967
+ flourishAltText: string;
12968
+ heading?: {
12969
+ text: string;
12970
+ href?: string | undefined;
12971
+ } | undefined;
12972
+ flourishDescription?: string | undefined;
12973
+ storyUUID?: string | undefined;
12974
+ theme?: string | undefined;
12975
+ };
12976
+ hidden?: boolean | undefined;
12977
+ sliceId?: string | undefined;
12978
+ }, {
12979
+ type: "Interactive";
12980
+ properties: {
12981
+ flourishId: string;
12982
+ flourishAltText: string;
12983
+ heading?: {
12984
+ text: string;
12985
+ href?: string | undefined;
12986
+ } | undefined;
12987
+ flourishDescription?: string | undefined;
12988
+ storyUUID?: string | undefined;
12989
+ theme?: string | undefined;
12990
+ };
12991
+ hidden?: boolean | undefined;
12992
+ sliceId?: string | undefined;
12993
+ }>, z.ZodObject<{
12994
+ type: z.ZodLiteral<"Experiment">;
12995
+ hidden: z.ZodOptional<z.ZodBoolean>;
12996
+ properties: z.ZodObject<{
12997
+ heading: z.ZodOptional<z.ZodObject<{
12998
+ text: z.ZodString;
12999
+ href: z.ZodOptional<z.ZodString>;
13000
+ }, "strip", z.ZodTypeAny, {
13001
+ text: string;
13002
+ href?: string | undefined;
13003
+ }, {
13004
+ text: string;
13005
+ href?: string | undefined;
13006
+ }>>;
13007
+ } & {
13008
+ experimentId: z.ZodString;
13009
+ experimentName: z.ZodString;
13010
+ contentJson: z.ZodEffects<z.ZodString, string, string>;
13011
+ }, "strip", z.ZodTypeAny, {
13012
+ experimentId: string;
13013
+ experimentName: string;
13014
+ contentJson: string;
13015
+ heading?: {
13016
+ text: string;
13017
+ href?: string | undefined;
13018
+ } | undefined;
13019
+ }, {
13020
+ experimentId: string;
13021
+ experimentName: string;
13022
+ contentJson: string;
13023
+ heading?: {
13024
+ text: string;
13025
+ href?: string | undefined;
13026
+ } | undefined;
13027
+ }>;
13028
+ } & {
13029
+ sliceId: z.ZodOptional<z.ZodString>;
13030
+ }, "strip", z.ZodTypeAny, {
13031
+ type: "Experiment";
13032
+ properties: {
13033
+ experimentId: string;
13034
+ experimentName: string;
13035
+ contentJson: string;
13036
+ heading?: {
13037
+ text: string;
13038
+ href?: string | undefined;
13039
+ } | undefined;
13040
+ };
13041
+ hidden?: boolean | undefined;
13042
+ sliceId?: string | undefined;
13043
+ }, {
13044
+ type: "Experiment";
13045
+ properties: {
13046
+ experimentId: string;
13047
+ experimentName: string;
13048
+ contentJson: string;
13049
+ heading?: {
13050
+ text: string;
13051
+ href?: string | undefined;
13052
+ } | undefined;
13053
+ };
13054
+ hidden?: boolean | undefined;
13055
+ sliceId?: string | undefined;
13056
+ }>, z.ZodObject<{
13057
+ type: z.ZodLiteral<"Strip">;
13058
+ hidden: z.ZodOptional<z.ZodBoolean>;
13059
+ properties: z.ZodObject<{
13060
+ heading: z.ZodOptional<z.ZodObject<{
13061
+ text: z.ZodString;
13062
+ href: z.ZodOptional<z.ZodString>;
13063
+ }, "strip", z.ZodTypeAny, {
13064
+ text: string;
13065
+ href?: string | undefined;
13066
+ }, {
13067
+ text: string;
13068
+ href?: string | undefined;
13069
+ }>>;
13070
+ } & {
13071
+ listId: z.ZodString;
13072
+ maxStories: z.ZodNumber;
13073
+ }, "strip", z.ZodTypeAny, {
13074
+ listId: string;
13075
+ maxStories: number;
13076
+ heading?: {
13077
+ text: string;
13078
+ href?: string | undefined;
13079
+ } | undefined;
13080
+ }, {
13081
+ listId: string;
13082
+ maxStories: number;
13083
+ heading?: {
13084
+ text: string;
13085
+ href?: string | undefined;
13086
+ } | undefined;
13087
+ }>;
13088
+ } & {
13089
+ sliceId: z.ZodOptional<z.ZodString>;
13090
+ }, "strip", z.ZodTypeAny, {
13091
+ type: "Strip";
13092
+ properties: {
13093
+ listId: string;
13094
+ maxStories: number;
13095
+ heading?: {
13096
+ text: string;
13097
+ href?: string | undefined;
13098
+ } | undefined;
13099
+ };
13100
+ hidden?: boolean | undefined;
13101
+ sliceId?: string | undefined;
13102
+ }, {
13103
+ type: "Strip";
13104
+ properties: {
13105
+ listId: string;
13106
+ maxStories: number;
13107
+ heading?: {
13108
+ text: string;
13109
+ href?: string | undefined;
13110
+ } | undefined;
13111
+ };
13112
+ hidden?: boolean | undefined;
13113
+ sliceId?: string | undefined;
13114
+ }>, z.ZodObject<{
13115
+ type: z.ZodLiteral<"Topper">;
13116
+ hidden: z.ZodOptional<z.ZodBoolean>;
13117
+ properties: z.ZodObject<{
13118
+ heading: z.ZodOptional<z.ZodObject<{
13119
+ text: z.ZodString;
13120
+ href: z.ZodOptional<z.ZodString>;
13121
+ }, "strip", z.ZodTypeAny, {
13122
+ text: string;
13123
+ href?: string | undefined;
13124
+ }, {
13125
+ text: string;
13126
+ href?: string | undefined;
13127
+ }>>;
13128
+ } & {
13129
+ description: z.ZodObject<{
13130
+ type: z.ZodLiteral<"doc">;
13131
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
13132
+ type: z.ZodLiteral<"paragraph">;
13133
+ content: z.ZodArray<z.ZodObject<{
13134
+ type: z.ZodLiteral<"text">;
13135
+ text: z.ZodString;
13136
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13137
+ type: z.ZodLiteral<"link">;
13138
+ attrs: z.ZodObject<{
13139
+ href: z.ZodEffects<z.ZodString, string, string>;
13140
+ }, "strip", z.ZodTypeAny, {
13141
+ href: string;
13142
+ }, {
13143
+ href: string;
13144
+ }>;
13145
+ }, "strip", z.ZodTypeAny, {
13146
+ type: "link";
13147
+ attrs: {
13148
+ href: string;
13149
+ };
13150
+ }, {
13151
+ type: "link";
13152
+ attrs: {
13153
+ href: string;
13154
+ };
13155
+ }>, z.ZodObject<{
13156
+ type: z.ZodLiteral<"bold">;
13157
+ }, "strip", z.ZodTypeAny, {
13158
+ type: "bold";
13159
+ }, {
13160
+ type: "bold";
13161
+ }>, z.ZodObject<{
13162
+ type: z.ZodLiteral<"italic">;
13163
+ }, "strip", z.ZodTypeAny, {
13164
+ type: "italic";
13165
+ }, {
13166
+ type: "italic";
13167
+ }>, z.ZodObject<{
13168
+ type: z.ZodLiteral<"underline">;
13169
+ }, "strip", z.ZodTypeAny, {
13170
+ type: "underline";
13171
+ }, {
13172
+ type: "underline";
13173
+ }>, z.ZodObject<{
13174
+ type: z.ZodLiteral<"strike">;
13175
+ }, "strip", z.ZodTypeAny, {
13176
+ type: "strike";
13177
+ }, {
13178
+ type: "strike";
13179
+ }>]>, "many">>;
13180
+ }, "strip", z.ZodTypeAny, {
13181
+ text: string;
13182
+ type: "text";
13183
+ marks?: ({
13184
+ type: "link";
13185
+ attrs: {
13186
+ href: string;
13187
+ };
13188
+ } | {
13189
+ type: "bold";
13190
+ } | {
13191
+ type: "italic";
13192
+ } | {
13193
+ type: "underline";
13194
+ } | {
13195
+ type: "strike";
13196
+ })[] | undefined;
13197
+ }, {
13198
+ text: string;
13199
+ type: "text";
13200
+ marks?: ({
13201
+ type: "link";
13202
+ attrs: {
13203
+ href: string;
13204
+ };
13205
+ } | {
13206
+ type: "bold";
13207
+ } | {
13208
+ type: "italic";
13209
+ } | {
13210
+ type: "underline";
13211
+ } | {
13212
+ type: "strike";
13213
+ })[] | undefined;
13214
+ }>, "many">;
13215
+ }, "strip", z.ZodTypeAny, {
13216
+ type: "paragraph";
13217
+ content: {
13218
+ text: string;
13219
+ type: "text";
13220
+ marks?: ({
13221
+ type: "link";
13222
+ attrs: {
13223
+ href: string;
13224
+ };
13225
+ } | {
13226
+ type: "bold";
13227
+ } | {
13228
+ type: "italic";
13229
+ } | {
13230
+ type: "underline";
13231
+ } | {
13232
+ type: "strike";
13233
+ })[] | undefined;
13234
+ }[];
13235
+ }, {
13236
+ type: "paragraph";
13237
+ content: {
13238
+ text: string;
13239
+ type: "text";
13240
+ marks?: ({
13241
+ type: "link";
13242
+ attrs: {
13243
+ href: string;
13244
+ };
13245
+ } | {
13246
+ type: "bold";
13247
+ } | {
13248
+ type: "italic";
13249
+ } | {
13250
+ type: "underline";
13251
+ } | {
13252
+ type: "strike";
13253
+ })[] | undefined;
13254
+ }[];
13255
+ }>, z.ZodObject<{
13256
+ type: z.ZodLiteral<"text">;
13257
+ text: z.ZodString;
13258
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13259
+ type: z.ZodLiteral<"link">;
13260
+ attrs: z.ZodObject<{
13261
+ href: z.ZodEffects<z.ZodString, string, string>;
13262
+ }, "strip", z.ZodTypeAny, {
13263
+ href: string;
13264
+ }, {
13265
+ href: string;
13266
+ }>;
13267
+ }, "strip", z.ZodTypeAny, {
13268
+ type: "link";
13269
+ attrs: {
13270
+ href: string;
13271
+ };
13272
+ }, {
13273
+ type: "link";
13274
+ attrs: {
13275
+ href: string;
13276
+ };
13277
+ }>, z.ZodObject<{
13278
+ type: z.ZodLiteral<"bold">;
13279
+ }, "strip", z.ZodTypeAny, {
13280
+ type: "bold";
13281
+ }, {
13282
+ type: "bold";
13283
+ }>, z.ZodObject<{
13284
+ type: z.ZodLiteral<"italic">;
13285
+ }, "strip", z.ZodTypeAny, {
13286
+ type: "italic";
13287
+ }, {
13288
+ type: "italic";
13289
+ }>, z.ZodObject<{
13290
+ type: z.ZodLiteral<"underline">;
13291
+ }, "strip", z.ZodTypeAny, {
13292
+ type: "underline";
13293
+ }, {
13294
+ type: "underline";
13295
+ }>, z.ZodObject<{
13296
+ type: z.ZodLiteral<"strike">;
13297
+ }, "strip", z.ZodTypeAny, {
13298
+ type: "strike";
13299
+ }, {
13300
+ type: "strike";
13301
+ }>]>, "many">>;
13302
+ }, "strip", z.ZodTypeAny, {
13303
+ text: string;
13304
+ type: "text";
13305
+ marks?: ({
13306
+ type: "link";
13307
+ attrs: {
13308
+ href: string;
13309
+ };
13310
+ } | {
13311
+ type: "bold";
13312
+ } | {
13313
+ type: "italic";
13314
+ } | {
13315
+ type: "underline";
13316
+ } | {
13317
+ type: "strike";
13318
+ })[] | undefined;
13319
+ }, {
13320
+ text: string;
13321
+ type: "text";
13322
+ marks?: ({
13323
+ type: "link";
13324
+ attrs: {
13325
+ href: string;
13326
+ };
13327
+ } | {
13328
+ type: "bold";
13329
+ } | {
13330
+ type: "italic";
13331
+ } | {
13332
+ type: "underline";
13333
+ } | {
13334
+ type: "strike";
13335
+ })[] | undefined;
13336
+ }>]>, "many">;
13337
+ }, "strip", z.ZodTypeAny, {
13338
+ type: "doc";
13339
+ content: ({
13340
+ text: string;
13341
+ type: "text";
13342
+ marks?: ({
13343
+ type: "link";
13344
+ attrs: {
13345
+ href: string;
13346
+ };
13347
+ } | {
13348
+ type: "bold";
13349
+ } | {
13350
+ type: "italic";
13351
+ } | {
13352
+ type: "underline";
13353
+ } | {
13354
+ type: "strike";
13355
+ })[] | undefined;
13356
+ } | {
13357
+ type: "paragraph";
13358
+ content: {
13359
+ text: string;
13360
+ type: "text";
13361
+ marks?: ({
13362
+ type: "link";
13363
+ attrs: {
13364
+ href: string;
13365
+ };
13366
+ } | {
13367
+ type: "bold";
13368
+ } | {
13369
+ type: "italic";
13370
+ } | {
13371
+ type: "underline";
13372
+ } | {
13373
+ type: "strike";
13374
+ })[] | undefined;
13375
+ }[];
13376
+ })[];
13377
+ }, {
13378
+ type: "doc";
13379
+ content: ({
13380
+ text: string;
13381
+ type: "text";
13382
+ marks?: ({
13383
+ type: "link";
13384
+ attrs: {
13385
+ href: string;
13386
+ };
13387
+ } | {
13388
+ type: "bold";
13389
+ } | {
13390
+ type: "italic";
13391
+ } | {
13392
+ type: "underline";
13393
+ } | {
13394
+ type: "strike";
13395
+ })[] | undefined;
13396
+ } | {
13397
+ type: "paragraph";
13398
+ content: {
13399
+ text: string;
13400
+ type: "text";
13401
+ marks?: ({
13402
+ type: "link";
13403
+ attrs: {
13404
+ href: string;
13405
+ };
13406
+ } | {
13407
+ type: "bold";
13408
+ } | {
13409
+ type: "italic";
13410
+ } | {
13411
+ type: "underline";
13412
+ } | {
13413
+ type: "strike";
13414
+ })[] | undefined;
13415
+ }[];
13416
+ })[];
13417
+ }>;
13418
+ strapline: z.ZodOptional<z.ZodString>;
13419
+ }, "strip", z.ZodTypeAny, {
13420
+ description: {
13421
+ type: "doc";
13422
+ content: ({
13423
+ text: string;
13424
+ type: "text";
13425
+ marks?: ({
13426
+ type: "link";
13427
+ attrs: {
13428
+ href: string;
13429
+ };
13430
+ } | {
13431
+ type: "bold";
13432
+ } | {
13433
+ type: "italic";
13434
+ } | {
13435
+ type: "underline";
13436
+ } | {
13437
+ type: "strike";
13438
+ })[] | undefined;
13439
+ } | {
13440
+ type: "paragraph";
13441
+ content: {
13442
+ text: string;
13443
+ type: "text";
13444
+ marks?: ({
13445
+ type: "link";
13446
+ attrs: {
13447
+ href: string;
13448
+ };
13449
+ } | {
13450
+ type: "bold";
13451
+ } | {
13452
+ type: "italic";
13453
+ } | {
13454
+ type: "underline";
13455
+ } | {
13456
+ type: "strike";
13457
+ })[] | undefined;
13458
+ }[];
13459
+ })[];
13460
+ };
13461
+ heading?: {
13462
+ text: string;
13463
+ href?: string | undefined;
13464
+ } | undefined;
13465
+ strapline?: string | undefined;
13466
+ }, {
13467
+ description: {
13468
+ type: "doc";
13469
+ content: ({
13470
+ text: string;
13471
+ type: "text";
13472
+ marks?: ({
13473
+ type: "link";
13474
+ attrs: {
13475
+ href: string;
13476
+ };
13477
+ } | {
13478
+ type: "bold";
13479
+ } | {
13480
+ type: "italic";
13481
+ } | {
13482
+ type: "underline";
13483
+ } | {
13484
+ type: "strike";
13485
+ })[] | undefined;
13486
+ } | {
13487
+ type: "paragraph";
13488
+ content: {
13489
+ text: string;
13490
+ type: "text";
13491
+ marks?: ({
13492
+ type: "link";
13493
+ attrs: {
13494
+ href: string;
13495
+ };
13496
+ } | {
13497
+ type: "bold";
13498
+ } | {
13499
+ type: "italic";
13500
+ } | {
13501
+ type: "underline";
13502
+ } | {
13503
+ type: "strike";
13504
+ })[] | undefined;
13505
+ }[];
13506
+ })[];
13507
+ };
13508
+ heading?: {
13509
+ text: string;
13510
+ href?: string | undefined;
13511
+ } | undefined;
13512
+ strapline?: string | undefined;
13513
+ }>;
13514
+ } & {
13515
+ sliceId: z.ZodOptional<z.ZodString>;
13516
+ }, "strip", z.ZodTypeAny, {
13517
+ type: "Topper";
13518
+ properties: {
13519
+ description: {
13520
+ type: "doc";
13521
+ content: ({
13522
+ text: string;
13523
+ type: "text";
13524
+ marks?: ({
13525
+ type: "link";
13526
+ attrs: {
13527
+ href: string;
13528
+ };
13529
+ } | {
13530
+ type: "bold";
13531
+ } | {
13532
+ type: "italic";
13533
+ } | {
13534
+ type: "underline";
13535
+ } | {
13536
+ type: "strike";
13537
+ })[] | undefined;
13538
+ } | {
13539
+ type: "paragraph";
13540
+ content: {
13541
+ text: string;
13542
+ type: "text";
13543
+ marks?: ({
13544
+ type: "link";
13545
+ attrs: {
13546
+ href: string;
13547
+ };
13548
+ } | {
13549
+ type: "bold";
13550
+ } | {
13551
+ type: "italic";
13552
+ } | {
13553
+ type: "underline";
13554
+ } | {
13555
+ type: "strike";
13556
+ })[] | undefined;
13557
+ }[];
13558
+ })[];
13559
+ };
13560
+ heading?: {
13561
+ text: string;
13562
+ href?: string | undefined;
13563
+ } | undefined;
13564
+ strapline?: string | undefined;
13565
+ };
13566
+ hidden?: boolean | undefined;
13567
+ sliceId?: string | undefined;
13568
+ }, {
13569
+ type: "Topper";
13570
+ properties: {
13571
+ description: {
13572
+ type: "doc";
13573
+ content: ({
13574
+ text: string;
13575
+ type: "text";
13576
+ marks?: ({
13577
+ type: "link";
13578
+ attrs: {
13579
+ href: string;
13580
+ };
13581
+ } | {
13582
+ type: "bold";
13583
+ } | {
13584
+ type: "italic";
13585
+ } | {
13586
+ type: "underline";
13587
+ } | {
13588
+ type: "strike";
13589
+ })[] | undefined;
13590
+ } | {
13591
+ type: "paragraph";
13592
+ content: {
13593
+ text: string;
13594
+ type: "text";
13595
+ marks?: ({
13596
+ type: "link";
13597
+ attrs: {
13598
+ href: string;
13599
+ };
13600
+ } | {
13601
+ type: "bold";
13602
+ } | {
13603
+ type: "italic";
13604
+ } | {
13605
+ type: "underline";
13606
+ } | {
13607
+ type: "strike";
13608
+ })[] | undefined;
13609
+ }[];
13610
+ })[];
13611
+ };
13612
+ heading?: {
13613
+ text: string;
13614
+ href?: string | undefined;
13615
+ } | undefined;
13616
+ strapline?: string | undefined;
13617
+ };
13618
+ hidden?: boolean | undefined;
13619
+ sliceId?: string | undefined;
13620
+ }>, z.ZodObject<{
13621
+ type: z.ZodLiteral<"Hero">;
13622
+ hidden: z.ZodOptional<z.ZodBoolean>;
13623
+ properties: z.ZodObject<{
13624
+ heading: z.ZodOptional<z.ZodObject<{
13625
+ text: z.ZodString;
13626
+ href: z.ZodOptional<z.ZodString>;
13627
+ }, "strip", z.ZodTypeAny, {
13628
+ text: string;
13629
+ href?: string | undefined;
13630
+ }, {
13631
+ text: string;
13632
+ href?: string | undefined;
13633
+ }>>;
13634
+ } & {
13635
+ listId: z.ZodString;
13636
+ maxStories: z.ZodNumber;
13637
+ }, "strip", z.ZodTypeAny, {
13638
+ listId: string;
13639
+ maxStories: number;
13640
+ heading?: {
13641
+ text: string;
13642
+ href?: string | undefined;
13643
+ } | undefined;
13644
+ }, {
13645
+ listId: string;
13646
+ maxStories: number;
13647
+ heading?: {
13648
+ text: string;
13649
+ href?: string | undefined;
13650
+ } | undefined;
13651
+ }>;
13652
+ } & {
13653
+ sliceId: z.ZodOptional<z.ZodString>;
13654
+ }, "strip", z.ZodTypeAny, {
13655
+ type: "Hero";
13656
+ properties: {
13657
+ listId: string;
13658
+ maxStories: number;
13659
+ heading?: {
13660
+ text: string;
13661
+ href?: string | undefined;
13662
+ } | undefined;
13663
+ };
13664
+ hidden?: boolean | undefined;
13665
+ sliceId?: string | undefined;
13666
+ }, {
13667
+ type: "Hero";
13668
+ properties: {
13669
+ listId: string;
13670
+ maxStories: number;
13671
+ heading?: {
13672
+ text: string;
13673
+ href?: string | undefined;
13674
+ } | undefined;
13675
+ };
13676
+ hidden?: boolean | undefined;
13677
+ sliceId?: string | undefined;
13678
+ }>]>, "many">;
13679
+ }, "strip", z.ZodTypeAny, {
13680
+ properties: {
13681
+ title: string;
13682
+ pageId: string;
13683
+ publicationId: string;
13684
+ conceptId?: string | undefined;
13685
+ metaDescription?: string | undefined;
13686
+ pageTheme?: string | undefined;
13687
+ sponsorText?: string | undefined;
13688
+ sponsorImage?: string | undefined;
13689
+ };
13690
+ children: ({
13691
+ type: "HomepageSlice";
13692
+ hidden?: boolean | undefined;
13693
+ properties?: {
13694
+ heading?: {
13695
+ text: string;
13696
+ href?: string | undefined;
13697
+ } | undefined;
13698
+ } | undefined;
13699
+ sliceId?: string | undefined;
13700
+ } | {
13701
+ type: "Interactive";
13702
+ properties: {
13703
+ flourishId: string;
13704
+ flourishAltText: string;
13705
+ heading?: {
13706
+ text: string;
13707
+ href?: string | undefined;
13708
+ } | undefined;
13709
+ flourishDescription?: string | undefined;
13710
+ storyUUID?: string | undefined;
13711
+ theme?: string | undefined;
13712
+ };
13713
+ hidden?: boolean | undefined;
13714
+ sliceId?: string | undefined;
13715
+ } | {
13716
+ type: "Experiment";
13717
+ properties: {
13718
+ experimentId: string;
13719
+ experimentName: string;
13720
+ contentJson: string;
13721
+ heading?: {
13722
+ text: string;
13723
+ href?: string | undefined;
13724
+ } | undefined;
13725
+ };
13726
+ hidden?: boolean | undefined;
13727
+ sliceId?: string | undefined;
13728
+ } | {
13729
+ type: "Strip";
13730
+ properties: {
13731
+ listId: string;
13732
+ maxStories: number;
13733
+ heading?: {
13734
+ text: string;
13735
+ href?: string | undefined;
13736
+ } | undefined;
13737
+ };
13738
+ hidden?: boolean | undefined;
13739
+ sliceId?: string | undefined;
13740
+ } | {
13741
+ type: "Topper";
13742
+ properties: {
13743
+ description: {
13744
+ type: "doc";
13745
+ content: ({
13746
+ text: string;
13747
+ type: "text";
13748
+ marks?: ({
13749
+ type: "link";
13750
+ attrs: {
13751
+ href: string;
13752
+ };
13753
+ } | {
13754
+ type: "bold";
13755
+ } | {
13756
+ type: "italic";
13757
+ } | {
13758
+ type: "underline";
13759
+ } | {
13760
+ type: "strike";
13761
+ })[] | undefined;
13762
+ } | {
13763
+ type: "paragraph";
13764
+ content: {
13765
+ text: string;
13766
+ type: "text";
13767
+ marks?: ({
13768
+ type: "link";
13769
+ attrs: {
13770
+ href: string;
13771
+ };
13772
+ } | {
13773
+ type: "bold";
13774
+ } | {
13775
+ type: "italic";
13776
+ } | {
13777
+ type: "underline";
13778
+ } | {
13779
+ type: "strike";
13780
+ })[] | undefined;
13781
+ }[];
13782
+ })[];
13783
+ };
13784
+ heading?: {
13785
+ text: string;
13786
+ href?: string | undefined;
13787
+ } | undefined;
13788
+ strapline?: string | undefined;
13789
+ };
13790
+ hidden?: boolean | undefined;
13791
+ sliceId?: string | undefined;
13792
+ } | {
13793
+ type: "Hero";
13794
+ properties: {
13795
+ listId: string;
13796
+ maxStories: number;
13797
+ heading?: {
13798
+ text: string;
13799
+ href?: string | undefined;
13800
+ } | undefined;
13801
+ };
13802
+ hidden?: boolean | undefined;
13803
+ sliceId?: string | undefined;
13804
+ })[];
13805
+ }, {
13806
+ properties: {
13807
+ title: string;
13808
+ pageId: string;
13809
+ publicationId: string;
13810
+ conceptId?: string | undefined;
13811
+ metaDescription?: string | undefined;
13812
+ pageTheme?: string | undefined;
13813
+ sponsorText?: string | undefined;
13814
+ sponsorImage?: string | undefined;
13815
+ };
13816
+ children: ({
13817
+ type: "HomepageSlice";
13818
+ hidden?: boolean | undefined;
13819
+ properties?: {
13820
+ heading?: {
13821
+ text: string;
13822
+ href?: string | undefined;
13823
+ } | undefined;
13824
+ } | undefined;
13825
+ sliceId?: string | undefined;
13826
+ } | {
13827
+ type: "Interactive";
13828
+ properties: {
13829
+ flourishId: string;
13830
+ flourishAltText: string;
13831
+ heading?: {
13832
+ text: string;
13833
+ href?: string | undefined;
13834
+ } | undefined;
13835
+ flourishDescription?: string | undefined;
13836
+ storyUUID?: string | undefined;
13837
+ theme?: string | undefined;
13838
+ };
13839
+ hidden?: boolean | undefined;
13840
+ sliceId?: string | undefined;
13841
+ } | {
13842
+ type: "Experiment";
13843
+ properties: {
13844
+ experimentId: string;
13845
+ experimentName: string;
13846
+ contentJson: string;
13847
+ heading?: {
13848
+ text: string;
13849
+ href?: string | undefined;
13850
+ } | undefined;
13851
+ };
13852
+ hidden?: boolean | undefined;
13853
+ sliceId?: string | undefined;
13854
+ } | {
13855
+ type: "Strip";
13856
+ properties: {
13857
+ listId: string;
13858
+ maxStories: number;
13859
+ heading?: {
13860
+ text: string;
13861
+ href?: string | undefined;
13862
+ } | undefined;
13863
+ };
13864
+ hidden?: boolean | undefined;
13865
+ sliceId?: string | undefined;
13866
+ } | {
13867
+ type: "Topper";
13868
+ properties: {
13869
+ description: {
13870
+ type: "doc";
13871
+ content: ({
13872
+ text: string;
13873
+ type: "text";
13874
+ marks?: ({
13875
+ type: "link";
13876
+ attrs: {
13877
+ href: string;
13878
+ };
13879
+ } | {
13880
+ type: "bold";
13881
+ } | {
13882
+ type: "italic";
13883
+ } | {
13884
+ type: "underline";
13885
+ } | {
13886
+ type: "strike";
13887
+ })[] | undefined;
13888
+ } | {
13889
+ type: "paragraph";
13890
+ content: {
13891
+ text: string;
13892
+ type: "text";
13893
+ marks?: ({
13894
+ type: "link";
13895
+ attrs: {
13896
+ href: string;
13897
+ };
13898
+ } | {
13899
+ type: "bold";
13900
+ } | {
13901
+ type: "italic";
13902
+ } | {
13903
+ type: "underline";
13904
+ } | {
13905
+ type: "strike";
13906
+ })[] | undefined;
13907
+ }[];
13908
+ })[];
13909
+ };
13910
+ heading?: {
13911
+ text: string;
13912
+ href?: string | undefined;
13913
+ } | undefined;
13914
+ strapline?: string | undefined;
13915
+ };
13916
+ hidden?: boolean | undefined;
13917
+ sliceId?: string | undefined;
13918
+ } | {
13919
+ type: "Hero";
13920
+ properties: {
13921
+ listId: string;
13922
+ maxStories: number;
13923
+ heading?: {
13924
+ text: string;
13925
+ href?: string | undefined;
13926
+ } | undefined;
13927
+ };
13928
+ hidden?: boolean | undefined;
13929
+ sliceId?: string | undefined;
13930
+ })[];
13931
+ }>;
13932
+ contributor: z.ZodObject<{
13933
+ userId: z.ZodString;
13934
+ displayName: z.ZodString;
13935
+ email: z.ZodOptional<z.ZodString>;
13936
+ }, "strip", z.ZodTypeAny, {
13937
+ userId: string;
13938
+ displayName: string;
13939
+ email?: string | undefined;
13940
+ }, {
13941
+ userId: string;
13942
+ displayName: string;
13943
+ email?: string | undefined;
13944
+ }>;
13945
+ }, "strip", z.ZodTypeAny, {
13946
+ structure: {
13947
+ properties: {
13948
+ title: string;
13949
+ pageId: string;
13950
+ publicationId: string;
13951
+ conceptId?: string | undefined;
13952
+ metaDescription?: string | undefined;
13953
+ pageTheme?: string | undefined;
13954
+ sponsorText?: string | undefined;
13955
+ sponsorImage?: string | undefined;
13956
+ };
13957
+ children: ({
13958
+ type: "HomepageSlice";
13959
+ hidden?: boolean | undefined;
13960
+ properties?: {
13961
+ heading?: {
13962
+ text: string;
13963
+ href?: string | undefined;
13964
+ } | undefined;
13965
+ } | undefined;
13966
+ sliceId?: string | undefined;
13967
+ } | {
13968
+ type: "Interactive";
13969
+ properties: {
13970
+ flourishId: string;
13971
+ flourishAltText: string;
13972
+ heading?: {
13973
+ text: string;
13974
+ href?: string | undefined;
13975
+ } | undefined;
13976
+ flourishDescription?: string | undefined;
13977
+ storyUUID?: string | undefined;
13978
+ theme?: string | undefined;
13979
+ };
13980
+ hidden?: boolean | undefined;
13981
+ sliceId?: string | undefined;
13982
+ } | {
13983
+ type: "Experiment";
13984
+ properties: {
13985
+ experimentId: string;
13986
+ experimentName: string;
13987
+ contentJson: string;
13988
+ heading?: {
13989
+ text: string;
13990
+ href?: string | undefined;
13991
+ } | undefined;
13992
+ };
13993
+ hidden?: boolean | undefined;
13994
+ sliceId?: string | undefined;
13995
+ } | {
13996
+ type: "Strip";
13997
+ properties: {
13998
+ listId: string;
13999
+ maxStories: number;
14000
+ heading?: {
14001
+ text: string;
14002
+ href?: string | undefined;
14003
+ } | undefined;
14004
+ };
14005
+ hidden?: boolean | undefined;
14006
+ sliceId?: string | undefined;
14007
+ } | {
14008
+ type: "Topper";
14009
+ properties: {
14010
+ description: {
14011
+ type: "doc";
14012
+ content: ({
14013
+ text: string;
14014
+ type: "text";
14015
+ marks?: ({
14016
+ type: "link";
14017
+ attrs: {
14018
+ href: string;
14019
+ };
14020
+ } | {
14021
+ type: "bold";
14022
+ } | {
14023
+ type: "italic";
14024
+ } | {
14025
+ type: "underline";
14026
+ } | {
14027
+ type: "strike";
14028
+ })[] | undefined;
14029
+ } | {
14030
+ type: "paragraph";
14031
+ content: {
14032
+ text: string;
14033
+ type: "text";
14034
+ marks?: ({
14035
+ type: "link";
14036
+ attrs: {
14037
+ href: string;
14038
+ };
14039
+ } | {
14040
+ type: "bold";
14041
+ } | {
14042
+ type: "italic";
14043
+ } | {
14044
+ type: "underline";
14045
+ } | {
14046
+ type: "strike";
14047
+ })[] | undefined;
14048
+ }[];
14049
+ })[];
14050
+ };
14051
+ heading?: {
14052
+ text: string;
14053
+ href?: string | undefined;
14054
+ } | undefined;
14055
+ strapline?: string | undefined;
14056
+ };
14057
+ hidden?: boolean | undefined;
14058
+ sliceId?: string | undefined;
14059
+ } | {
14060
+ type: "Hero";
14061
+ properties: {
14062
+ listId: string;
14063
+ maxStories: number;
14064
+ heading?: {
14065
+ text: string;
14066
+ href?: string | undefined;
14067
+ } | undefined;
14068
+ };
14069
+ hidden?: boolean | undefined;
14070
+ sliceId?: string | undefined;
14071
+ })[];
14072
+ };
14073
+ contributor: {
14074
+ userId: string;
14075
+ displayName: string;
14076
+ email?: string | undefined;
14077
+ };
14078
+ }, {
14079
+ structure: {
14080
+ properties: {
14081
+ title: string;
14082
+ pageId: string;
14083
+ publicationId: string;
14084
+ conceptId?: string | undefined;
14085
+ metaDescription?: string | undefined;
14086
+ pageTheme?: string | undefined;
14087
+ sponsorText?: string | undefined;
14088
+ sponsorImage?: string | undefined;
14089
+ };
14090
+ children: ({
14091
+ type: "HomepageSlice";
14092
+ hidden?: boolean | undefined;
14093
+ properties?: {
14094
+ heading?: {
14095
+ text: string;
14096
+ href?: string | undefined;
14097
+ } | undefined;
14098
+ } | undefined;
14099
+ sliceId?: string | undefined;
14100
+ } | {
14101
+ type: "Interactive";
14102
+ properties: {
14103
+ flourishId: string;
14104
+ flourishAltText: string;
14105
+ heading?: {
14106
+ text: string;
14107
+ href?: string | undefined;
14108
+ } | undefined;
14109
+ flourishDescription?: string | undefined;
14110
+ storyUUID?: string | undefined;
14111
+ theme?: string | undefined;
14112
+ };
14113
+ hidden?: boolean | undefined;
14114
+ sliceId?: string | undefined;
14115
+ } | {
14116
+ type: "Experiment";
14117
+ properties: {
14118
+ experimentId: string;
14119
+ experimentName: string;
14120
+ contentJson: string;
14121
+ heading?: {
14122
+ text: string;
14123
+ href?: string | undefined;
14124
+ } | undefined;
14125
+ };
14126
+ hidden?: boolean | undefined;
14127
+ sliceId?: string | undefined;
14128
+ } | {
14129
+ type: "Strip";
14130
+ properties: {
14131
+ listId: string;
14132
+ maxStories: number;
14133
+ heading?: {
14134
+ text: string;
14135
+ href?: string | undefined;
14136
+ } | undefined;
14137
+ };
14138
+ hidden?: boolean | undefined;
14139
+ sliceId?: string | undefined;
14140
+ } | {
14141
+ type: "Topper";
14142
+ properties: {
14143
+ description: {
14144
+ type: "doc";
14145
+ content: ({
14146
+ text: string;
14147
+ type: "text";
14148
+ marks?: ({
14149
+ type: "link";
14150
+ attrs: {
14151
+ href: string;
14152
+ };
14153
+ } | {
14154
+ type: "bold";
14155
+ } | {
14156
+ type: "italic";
14157
+ } | {
14158
+ type: "underline";
14159
+ } | {
14160
+ type: "strike";
14161
+ })[] | undefined;
14162
+ } | {
14163
+ type: "paragraph";
14164
+ content: {
14165
+ text: string;
14166
+ type: "text";
14167
+ marks?: ({
14168
+ type: "link";
14169
+ attrs: {
14170
+ href: string;
14171
+ };
14172
+ } | {
14173
+ type: "bold";
14174
+ } | {
14175
+ type: "italic";
14176
+ } | {
14177
+ type: "underline";
14178
+ } | {
14179
+ type: "strike";
14180
+ })[] | undefined;
14181
+ }[];
14182
+ })[];
14183
+ };
14184
+ heading?: {
14185
+ text: string;
14186
+ href?: string | undefined;
14187
+ } | undefined;
14188
+ strapline?: string | undefined;
14189
+ };
14190
+ hidden?: boolean | undefined;
14191
+ sliceId?: string | undefined;
14192
+ } | {
14193
+ type: "Hero";
14194
+ properties: {
14195
+ listId: string;
14196
+ maxStories: number;
14197
+ heading?: {
14198
+ text: string;
14199
+ href?: string | undefined;
14200
+ } | undefined;
14201
+ };
14202
+ hidden?: boolean | undefined;
14203
+ sliceId?: string | undefined;
14204
+ })[];
14205
+ };
14206
+ contributor: {
14207
+ userId: string;
14208
+ displayName: string;
14209
+ email?: string | undefined;
14210
+ };
14211
+ }>;
14212
+ export { PersistPageDraftInputSchema }
14213
+ export { PersistPageDraftInputSchema as PersistPageDraftInputSchema_alias_1 }
14214
+
11427
14215
  /** Root node of a ProseMirror document - enforcing at least 1 paragraph */
11428
14216
  declare const ProseMirrorDocSchema: z.ZodObject<{
11429
14217
  type: z.ZodLiteral<"doc">;