@financial-times/content-curation-client 5.4.0 → 6.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.
@@ -10,10 +10,6 @@ import { ZodTypeAny } from 'zod';
10
10
  * Main API client that provides access to all API endpoints
11
11
  */
12
12
  declare class ApiClient extends BaseApiClient {
13
- /**
14
- * Homepage API endpoints
15
- */
16
- homepage: HomepageClient;
17
13
  page: PageClient;
18
14
  constructor(config: ApiClientConfig);
19
15
  }
@@ -496,73 +492,29 @@ declare const DraftSchema: z.ZodObject<{
496
492
  pageTheme: z.ZodOptional<z.ZodString>;
497
493
  sponsorText: z.ZodOptional<z.ZodString>;
498
494
  sponsorImage: z.ZodOptional<z.ZodString>;
495
+ pageCategory: z.ZodOptional<z.ZodString>;
499
496
  }, "strip", z.ZodTypeAny, {
500
497
  title: string;
501
498
  pageId: string;
502
499
  publicationId: string;
500
+ sponsorText?: string | undefined;
501
+ sponsorImage?: string | undefined;
503
502
  conceptId?: string | undefined;
504
503
  metaDescription?: string | undefined;
505
504
  pageTheme?: string | undefined;
506
- sponsorText?: string | undefined;
507
- sponsorImage?: string | undefined;
505
+ pageCategory?: string | undefined;
508
506
  }, {
509
507
  title: string;
510
508
  pageId: string;
511
509
  publicationId: string;
510
+ sponsorText?: string | undefined;
511
+ sponsorImage?: string | undefined;
512
512
  conceptId?: string | undefined;
513
513
  metaDescription?: string | undefined;
514
514
  pageTheme?: string | undefined;
515
- sponsorText?: string | undefined;
516
- sponsorImage?: string | undefined;
515
+ pageCategory?: string | undefined;
517
516
  }>;
518
517
  children: z.ZodArray<z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{
519
- type: z.ZodLiteral<"HomepageSlice">;
520
- hidden: z.ZodOptional<z.ZodBoolean>;
521
- properties: z.ZodOptional<z.ZodObject<{
522
- heading: z.ZodOptional<z.ZodObject<{
523
- text: z.ZodString;
524
- href: z.ZodOptional<z.ZodString>;
525
- }, "strip", z.ZodTypeAny, {
526
- text: string;
527
- href?: string | undefined;
528
- }, {
529
- text: string;
530
- href?: string | undefined;
531
- }>>;
532
- }, "strip", z.ZodTypeAny, {
533
- heading?: {
534
- text: string;
535
- href?: string | undefined;
536
- } | undefined;
537
- }, {
538
- heading?: {
539
- text: string;
540
- href?: string | undefined;
541
- } | undefined;
542
- }>>;
543
- } & {
544
- sliceId: z.ZodString;
545
- }, "strip", z.ZodTypeAny, {
546
- type: "HomepageSlice";
547
- sliceId: string;
548
- hidden?: boolean | undefined;
549
- properties?: {
550
- heading?: {
551
- text: string;
552
- href?: string | undefined;
553
- } | undefined;
554
- } | undefined;
555
- }, {
556
- type: "HomepageSlice";
557
- sliceId: string;
558
- hidden?: boolean | undefined;
559
- properties?: {
560
- heading?: {
561
- text: string;
562
- href?: string | undefined;
563
- } | undefined;
564
- } | undefined;
565
- }>, z.ZodObject<{
566
518
  type: z.ZodLiteral<"Interactive">;
567
519
  hidden: z.ZodOptional<z.ZodBoolean>;
568
520
  properties: z.ZodObject<{
@@ -654,16 +606,16 @@ declare const DraftSchema: z.ZodObject<{
654
606
  experimentName: z.ZodString;
655
607
  contentJson: z.ZodEffects<z.ZodString, string, string>;
656
608
  }, "strip", z.ZodTypeAny, {
657
- experimentId: string;
658
609
  experimentName: string;
610
+ experimentId: string;
659
611
  contentJson: string;
660
612
  heading?: {
661
613
  text: string;
662
614
  href?: string | undefined;
663
615
  } | undefined;
664
616
  }, {
665
- experimentId: string;
666
617
  experimentName: string;
618
+ experimentId: string;
667
619
  contentJson: string;
668
620
  heading?: {
669
621
  text: string;
@@ -675,8 +627,8 @@ declare const DraftSchema: z.ZodObject<{
675
627
  }, "strip", z.ZodTypeAny, {
676
628
  type: "Experiment";
677
629
  properties: {
678
- experimentId: string;
679
630
  experimentName: string;
631
+ experimentId: string;
680
632
  contentJson: string;
681
633
  heading?: {
682
634
  text: string;
@@ -688,8 +640,8 @@ declare const DraftSchema: z.ZodObject<{
688
640
  }, {
689
641
  type: "Experiment";
690
642
  properties: {
691
- experimentId: string;
692
643
  experimentName: string;
644
+ experimentId: string;
693
645
  contentJson: string;
694
646
  heading?: {
695
647
  text: string;
@@ -1380,23 +1332,14 @@ declare const DraftSchema: z.ZodObject<{
1380
1332
  title: string;
1381
1333
  pageId: string;
1382
1334
  publicationId: string;
1335
+ sponsorText?: string | undefined;
1336
+ sponsorImage?: string | undefined;
1383
1337
  conceptId?: string | undefined;
1384
1338
  metaDescription?: string | undefined;
1385
1339
  pageTheme?: string | undefined;
1386
- sponsorText?: string | undefined;
1387
- sponsorImage?: string | undefined;
1340
+ pageCategory?: string | undefined;
1388
1341
  };
1389
1342
  children: ({
1390
- type: "HomepageSlice";
1391
- sliceId: string;
1392
- hidden?: boolean | undefined;
1393
- properties?: {
1394
- heading?: {
1395
- text: string;
1396
- href?: string | undefined;
1397
- } | undefined;
1398
- } | undefined;
1399
- } | {
1400
1343
  type: "Interactive";
1401
1344
  properties: {
1402
1345
  flourishId: string;
@@ -1414,8 +1357,8 @@ declare const DraftSchema: z.ZodObject<{
1414
1357
  } | {
1415
1358
  type: "Experiment";
1416
1359
  properties: {
1417
- experimentId: string;
1418
1360
  experimentName: string;
1361
+ experimentId: string;
1419
1362
  contentJson: string;
1420
1363
  heading?: {
1421
1364
  text: string;
@@ -1519,23 +1462,14 @@ declare const DraftSchema: z.ZodObject<{
1519
1462
  title: string;
1520
1463
  pageId: string;
1521
1464
  publicationId: string;
1465
+ sponsorText?: string | undefined;
1466
+ sponsorImage?: string | undefined;
1522
1467
  conceptId?: string | undefined;
1523
1468
  metaDescription?: string | undefined;
1524
1469
  pageTheme?: string | undefined;
1525
- sponsorText?: string | undefined;
1526
- sponsorImage?: string | undefined;
1470
+ pageCategory?: string | undefined;
1527
1471
  };
1528
1472
  children: ({
1529
- type: "HomepageSlice";
1530
- sliceId: string;
1531
- hidden?: boolean | undefined;
1532
- properties?: {
1533
- heading?: {
1534
- text: string;
1535
- href?: string | undefined;
1536
- } | undefined;
1537
- } | undefined;
1538
- } | {
1539
1473
  type: "Interactive";
1540
1474
  properties: {
1541
1475
  flourishId: string;
@@ -1553,8 +1487,8 @@ declare const DraftSchema: z.ZodObject<{
1553
1487
  } | {
1554
1488
  type: "Experiment";
1555
1489
  properties: {
1556
- experimentId: string;
1557
1490
  experimentName: string;
1491
+ experimentId: string;
1558
1492
  contentJson: string;
1559
1493
  heading?: {
1560
1494
  text: string;
@@ -1670,23 +1604,14 @@ declare const DraftSchema: z.ZodObject<{
1670
1604
  title: string;
1671
1605
  pageId: string;
1672
1606
  publicationId: string;
1607
+ sponsorText?: string | undefined;
1608
+ sponsorImage?: string | undefined;
1673
1609
  conceptId?: string | undefined;
1674
1610
  metaDescription?: string | undefined;
1675
1611
  pageTheme?: string | undefined;
1676
- sponsorText?: string | undefined;
1677
- sponsorImage?: string | undefined;
1612
+ pageCategory?: string | undefined;
1678
1613
  };
1679
1614
  children: ({
1680
- type: "HomepageSlice";
1681
- sliceId: string;
1682
- hidden?: boolean | undefined;
1683
- properties?: {
1684
- heading?: {
1685
- text: string;
1686
- href?: string | undefined;
1687
- } | undefined;
1688
- } | undefined;
1689
- } | {
1690
1615
  type: "Interactive";
1691
1616
  properties: {
1692
1617
  flourishId: string;
@@ -1704,8 +1629,8 @@ declare const DraftSchema: z.ZodObject<{
1704
1629
  } | {
1705
1630
  type: "Experiment";
1706
1631
  properties: {
1707
- experimentId: string;
1708
1632
  experimentName: string;
1633
+ experimentId: string;
1709
1634
  contentJson: string;
1710
1635
  heading?: {
1711
1636
  text: string;
@@ -1821,23 +1746,14 @@ declare const DraftSchema: z.ZodObject<{
1821
1746
  title: string;
1822
1747
  pageId: string;
1823
1748
  publicationId: string;
1749
+ sponsorText?: string | undefined;
1750
+ sponsorImage?: string | undefined;
1824
1751
  conceptId?: string | undefined;
1825
1752
  metaDescription?: string | undefined;
1826
1753
  pageTheme?: string | undefined;
1827
- sponsorText?: string | undefined;
1828
- sponsorImage?: string | undefined;
1754
+ pageCategory?: string | undefined;
1829
1755
  };
1830
1756
  children: ({
1831
- type: "HomepageSlice";
1832
- sliceId: string;
1833
- hidden?: boolean | undefined;
1834
- properties?: {
1835
- heading?: {
1836
- text: string;
1837
- href?: string | undefined;
1838
- } | undefined;
1839
- } | undefined;
1840
- } | {
1841
1757
  type: "Interactive";
1842
1758
  properties: {
1843
1759
  flourishId: string;
@@ -1855,8 +1771,8 @@ declare const DraftSchema: z.ZodObject<{
1855
1771
  } | {
1856
1772
  type: "Experiment";
1857
1773
  properties: {
1858
- experimentId: string;
1859
1774
  experimentName: string;
1775
+ experimentId: string;
1860
1776
  contentJson: string;
1861
1777
  heading?: {
1862
1778
  text: string;
@@ -1979,16 +1895,16 @@ declare const ExperimentSlice: {
1979
1895
  experimentName: z.ZodString;
1980
1896
  contentJson: z.ZodEffects<z.ZodString, string, string>;
1981
1897
  }, "strip", z.ZodTypeAny, {
1982
- experimentId: string;
1983
1898
  experimentName: string;
1899
+ experimentId: string;
1984
1900
  contentJson: string;
1985
1901
  heading?: {
1986
1902
  text: string;
1987
1903
  href?: string | undefined;
1988
1904
  } | undefined;
1989
1905
  }, {
1990
- experimentId: string;
1991
1906
  experimentName: string;
1907
+ experimentId: string;
1992
1908
  contentJson: string;
1993
1909
  heading?: {
1994
1910
  text: string;
@@ -2000,8 +1916,8 @@ declare const ExperimentSlice: {
2000
1916
  }, "strip", z.ZodTypeAny, {
2001
1917
  type: "Experiment";
2002
1918
  properties: {
2003
- experimentId: string;
2004
1919
  experimentName: string;
1920
+ experimentId: string;
2005
1921
  contentJson: string;
2006
1922
  heading?: {
2007
1923
  text: string;
@@ -2013,8 +1929,8 @@ declare const ExperimentSlice: {
2013
1929
  }, {
2014
1930
  type: "Experiment";
2015
1931
  properties: {
2016
- experimentId: string;
2017
1932
  experimentName: string;
1933
+ experimentId: string;
2018
1934
  contentJson: string;
2019
1935
  heading?: {
2020
1936
  text: string;
@@ -2043,16 +1959,16 @@ declare const ExperimentSlice: {
2043
1959
  experimentName: z.ZodString;
2044
1960
  contentJson: z.ZodEffects<z.ZodString, string, string>;
2045
1961
  }, "strip", z.ZodTypeAny, {
2046
- experimentId: string;
2047
1962
  experimentName: string;
1963
+ experimentId: string;
2048
1964
  contentJson: string;
2049
1965
  heading?: {
2050
1966
  text: string;
2051
1967
  href?: string | undefined;
2052
1968
  } | undefined;
2053
1969
  }, {
2054
- experimentId: string;
2055
1970
  experimentName: string;
1971
+ experimentId: string;
2056
1972
  contentJson: string;
2057
1973
  heading?: {
2058
1974
  text: string;
@@ -2064,8 +1980,8 @@ declare const ExperimentSlice: {
2064
1980
  }, "strip", z.ZodTypeAny, {
2065
1981
  type: "Experiment";
2066
1982
  properties: {
2067
- experimentId: string;
2068
1983
  experimentName: string;
1984
+ experimentId: string;
2069
1985
  contentJson: string;
2070
1986
  heading?: {
2071
1987
  text: string;
@@ -2077,8 +1993,8 @@ declare const ExperimentSlice: {
2077
1993
  }, {
2078
1994
  type: "Experiment";
2079
1995
  properties: {
2080
- experimentId: string;
2081
1996
  experimentName: string;
1997
+ experimentId: string;
2082
1998
  contentJson: string;
2083
1999
  heading?: {
2084
2000
  text: string;
@@ -2237,22 +2153,11 @@ declare type HeroSliceType = z.infer<typeof HeroSlice.OutputSchema>;
2237
2153
  export { HeroSliceType }
2238
2154
  export { HeroSliceType as HeroSliceType_alias_1 }
2239
2155
 
2240
- /**
2241
- * Client for Homepage structure endpoints
2242
- */
2243
- declare class HomepageClient extends BaseApiClient {
2244
- getStructure(pageId: string): Promise<HomepageStructureOutput>;
2245
- getStructuresByHomepageListId(homepageListId: string): Promise<HomepageStructureOutput[]>;
2246
- upsertStructure(pageId: string, data: Omit<HomepageStructureInput, "type">): Promise<HomepageStructureOutput>;
2247
- }
2248
- export { HomepageClient }
2249
- export { HomepageClient as HomepageClient_alias_1 }
2250
-
2251
- declare const HomepageSlice: {
2156
+ declare const InteractiveSlice: {
2252
2157
  InputSchema: z.ZodObject<{
2253
- type: z.ZodLiteral<"HomepageSlice">;
2158
+ type: z.ZodLiteral<"Interactive">;
2254
2159
  hidden: z.ZodOptional<z.ZodBoolean>;
2255
- properties: z.ZodOptional<z.ZodObject<{
2160
+ properties: z.ZodObject<{
2256
2161
  heading: z.ZodOptional<z.ZodObject<{
2257
2162
  text: z.ZodString;
2258
2163
  href: z.ZodOptional<z.ZodString>;
@@ -2263,44 +2168,70 @@ declare const HomepageSlice: {
2263
2168
  text: string;
2264
2169
  href?: string | undefined;
2265
2170
  }>>;
2171
+ } & {
2172
+ flourishDescription: z.ZodOptional<z.ZodString>;
2173
+ flourishId: z.ZodString;
2174
+ flourishAltText: z.ZodString;
2175
+ storyUUID: z.ZodOptional<z.ZodString>;
2176
+ theme: z.ZodOptional<z.ZodString>;
2266
2177
  }, "strip", z.ZodTypeAny, {
2178
+ flourishId: string;
2179
+ flourishAltText: string;
2267
2180
  heading?: {
2268
2181
  text: string;
2269
2182
  href?: string | undefined;
2270
2183
  } | undefined;
2184
+ flourishDescription?: string | undefined;
2185
+ storyUUID?: string | undefined;
2186
+ theme?: string | undefined;
2271
2187
  }, {
2188
+ flourishId: string;
2189
+ flourishAltText: string;
2272
2190
  heading?: {
2273
2191
  text: string;
2274
2192
  href?: string | undefined;
2275
2193
  } | undefined;
2276
- }>>;
2194
+ flourishDescription?: string | undefined;
2195
+ storyUUID?: string | undefined;
2196
+ theme?: string | undefined;
2197
+ }>;
2277
2198
  } & {
2278
2199
  sliceId: z.ZodOptional<z.ZodString>;
2279
2200
  }, "strip", z.ZodTypeAny, {
2280
- type: "HomepageSlice";
2281
- hidden?: boolean | undefined;
2282
- properties?: {
2201
+ type: "Interactive";
2202
+ properties: {
2203
+ flourishId: string;
2204
+ flourishAltText: string;
2283
2205
  heading?: {
2284
2206
  text: string;
2285
2207
  href?: string | undefined;
2286
2208
  } | undefined;
2287
- } | undefined;
2209
+ flourishDescription?: string | undefined;
2210
+ storyUUID?: string | undefined;
2211
+ theme?: string | undefined;
2212
+ };
2213
+ hidden?: boolean | undefined;
2288
2214
  sliceId?: string | undefined;
2289
2215
  }, {
2290
- type: "HomepageSlice";
2291
- hidden?: boolean | undefined;
2292
- properties?: {
2216
+ type: "Interactive";
2217
+ properties: {
2218
+ flourishId: string;
2219
+ flourishAltText: string;
2293
2220
  heading?: {
2294
2221
  text: string;
2295
2222
  href?: string | undefined;
2296
2223
  } | undefined;
2297
- } | undefined;
2224
+ flourishDescription?: string | undefined;
2225
+ storyUUID?: string | undefined;
2226
+ theme?: string | undefined;
2227
+ };
2228
+ hidden?: boolean | undefined;
2298
2229
  sliceId?: string | undefined;
2299
2230
  }>;
2300
2231
  OutputSchema: z.ZodObject<{
2301
- type: z.ZodLiteral<"HomepageSlice">;
2232
+ type: z.ZodLiteral<"Interactive">;
2302
2233
  hidden: z.ZodOptional<z.ZodBoolean>;
2303
- properties: z.ZodOptional<z.ZodObject<{
2234
+ properties: z.ZodObject<{
2304
2235
  heading: z.ZodOptional<z.ZodObject<{
2305
2236
  text: z.ZodString;
2306
2237
  href: z.ZodOptional<z.ZodString>;
@@ -2311,2571 +2242,75 @@ declare const HomepageSlice: {
2311
2242
  text: string;
2312
2243
  href?: string | undefined;
2313
2244
  }>>;
2245
+ } & {
2246
+ flourishDescription: z.ZodOptional<z.ZodString>;
2247
+ flourishId: z.ZodString;
2248
+ flourishAltText: z.ZodString;
2249
+ storyUUID: z.ZodOptional<z.ZodString>;
2250
+ theme: z.ZodOptional<z.ZodString>;
2314
2251
  }, "strip", z.ZodTypeAny, {
2252
+ flourishId: string;
2253
+ flourishAltText: string;
2315
2254
  heading?: {
2316
2255
  text: string;
2317
2256
  href?: string | undefined;
2318
2257
  } | undefined;
2258
+ flourishDescription?: string | undefined;
2259
+ storyUUID?: string | undefined;
2260
+ theme?: string | undefined;
2319
2261
  }, {
2262
+ flourishId: string;
2263
+ flourishAltText: string;
2320
2264
  heading?: {
2321
2265
  text: string;
2322
2266
  href?: string | undefined;
2323
2267
  } | undefined;
2324
- }>>;
2268
+ flourishDescription?: string | undefined;
2269
+ storyUUID?: string | undefined;
2270
+ theme?: string | undefined;
2271
+ }>;
2325
2272
  } & {
2326
2273
  sliceId: z.ZodString;
2327
2274
  }, "strip", z.ZodTypeAny, {
2328
- type: "HomepageSlice";
2329
- sliceId: string;
2330
- hidden?: boolean | undefined;
2331
- properties?: {
2275
+ type: "Interactive";
2276
+ properties: {
2277
+ flourishId: string;
2278
+ flourishAltText: string;
2332
2279
  heading?: {
2333
2280
  text: string;
2334
2281
  href?: string | undefined;
2335
2282
  } | undefined;
2336
- } | undefined;
2337
- }, {
2338
- type: "HomepageSlice";
2283
+ flourishDescription?: string | undefined;
2284
+ storyUUID?: string | undefined;
2285
+ theme?: string | undefined;
2286
+ };
2339
2287
  sliceId: string;
2340
2288
  hidden?: boolean | undefined;
2341
- properties?: {
2289
+ }, {
2290
+ type: "Interactive";
2291
+ properties: {
2292
+ flourishId: string;
2293
+ flourishAltText: string;
2342
2294
  heading?: {
2343
2295
  text: string;
2344
2296
  href?: string | undefined;
2345
2297
  } | undefined;
2346
- } | undefined;
2298
+ flourishDescription?: string | undefined;
2299
+ storyUUID?: string | undefined;
2300
+ theme?: string | undefined;
2301
+ };
2302
+ sliceId: string;
2303
+ hidden?: boolean | undefined;
2347
2304
  }>;
2348
2305
  };
2349
2306
 
2350
2307
  /** Individual slice output types */
2351
- declare type HomepageSliceType = z.infer<typeof HomepageSlice.OutputSchema>;
2352
- export { HomepageSliceType }
2353
- export { HomepageSliceType as HomepageSliceType_alias_1 }
2354
-
2355
- /** Client-side type for homepage structure input */
2356
- declare type HomepageStructureInput = z.infer<typeof HomepageStructureInputSchema>;
2357
- export { HomepageStructureInput }
2358
- export { HomepageStructureInput as HomepageStructureInput_alias_1 }
2308
+ declare type InteractiveSliceType = z.infer<typeof InteractiveSlice.OutputSchema>;
2309
+ export { InteractiveSliceType }
2310
+ export { InteractiveSliceType as InteractiveSliceType_alias_1 }
2359
2311
 
2360
2312
  /**
2361
- * Page structure as submitted by clients.
2362
- * - `properties`: Metadata about the page (title, list ID, page ID).
2363
- * - `children`: Array of slice inputs (each with an optional `sliceId`).
2364
- */
2365
- declare const HomepageStructureInputSchema: z.ZodObject<{
2366
- children: z.ZodArray<z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{
2367
- type: z.ZodLiteral<"HomepageSlice">;
2368
- hidden: z.ZodOptional<z.ZodBoolean>;
2369
- properties: z.ZodOptional<z.ZodObject<{
2370
- heading: z.ZodOptional<z.ZodObject<{
2371
- text: z.ZodString;
2372
- href: z.ZodOptional<z.ZodString>;
2373
- }, "strip", z.ZodTypeAny, {
2374
- text: string;
2375
- href?: string | undefined;
2376
- }, {
2377
- text: string;
2378
- href?: string | undefined;
2379
- }>>;
2380
- }, "strip", z.ZodTypeAny, {
2381
- heading?: {
2382
- text: string;
2383
- href?: string | undefined;
2384
- } | undefined;
2385
- }, {
2386
- heading?: {
2387
- text: string;
2388
- href?: string | undefined;
2389
- } | undefined;
2390
- }>>;
2391
- } & {
2392
- sliceId: z.ZodOptional<z.ZodString>;
2393
- }, "strip", z.ZodTypeAny, {
2394
- type: "HomepageSlice";
2395
- hidden?: boolean | undefined;
2396
- properties?: {
2397
- heading?: {
2398
- text: string;
2399
- href?: string | undefined;
2400
- } | undefined;
2401
- } | undefined;
2402
- sliceId?: string | undefined;
2403
- }, {
2404
- type: "HomepageSlice";
2405
- hidden?: boolean | undefined;
2406
- properties?: {
2407
- heading?: {
2408
- text: string;
2409
- href?: string | undefined;
2410
- } | undefined;
2411
- } | undefined;
2412
- sliceId?: string | undefined;
2413
- }>, z.ZodObject<{
2414
- type: z.ZodLiteral<"Interactive">;
2415
- hidden: z.ZodOptional<z.ZodBoolean>;
2416
- properties: z.ZodObject<{
2417
- heading: z.ZodOptional<z.ZodObject<{
2418
- text: z.ZodString;
2419
- href: z.ZodOptional<z.ZodString>;
2420
- }, "strip", z.ZodTypeAny, {
2421
- text: string;
2422
- href?: string | undefined;
2423
- }, {
2424
- text: string;
2425
- href?: string | undefined;
2426
- }>>;
2427
- } & {
2428
- flourishDescription: z.ZodOptional<z.ZodString>;
2429
- flourishId: z.ZodString;
2430
- flourishAltText: z.ZodString;
2431
- storyUUID: z.ZodOptional<z.ZodString>;
2432
- theme: z.ZodOptional<z.ZodString>;
2433
- }, "strip", z.ZodTypeAny, {
2434
- flourishId: string;
2435
- flourishAltText: string;
2436
- heading?: {
2437
- text: string;
2438
- href?: string | undefined;
2439
- } | undefined;
2440
- flourishDescription?: string | undefined;
2441
- storyUUID?: string | undefined;
2442
- theme?: string | undefined;
2443
- }, {
2444
- flourishId: string;
2445
- flourishAltText: string;
2446
- heading?: {
2447
- text: string;
2448
- href?: string | undefined;
2449
- } | undefined;
2450
- flourishDescription?: string | undefined;
2451
- storyUUID?: string | undefined;
2452
- theme?: string | undefined;
2453
- }>;
2454
- } & {
2455
- sliceId: z.ZodOptional<z.ZodString>;
2456
- }, "strip", z.ZodTypeAny, {
2457
- type: "Interactive";
2458
- properties: {
2459
- flourishId: string;
2460
- flourishAltText: string;
2461
- heading?: {
2462
- text: string;
2463
- href?: string | undefined;
2464
- } | undefined;
2465
- flourishDescription?: string | undefined;
2466
- storyUUID?: string | undefined;
2467
- theme?: string | undefined;
2468
- };
2469
- hidden?: boolean | undefined;
2470
- sliceId?: string | undefined;
2471
- }, {
2472
- type: "Interactive";
2473
- properties: {
2474
- flourishId: string;
2475
- flourishAltText: string;
2476
- heading?: {
2477
- text: string;
2478
- href?: string | undefined;
2479
- } | undefined;
2480
- flourishDescription?: string | undefined;
2481
- storyUUID?: string | undefined;
2482
- theme?: string | undefined;
2483
- };
2484
- hidden?: boolean | undefined;
2485
- sliceId?: string | undefined;
2486
- }>, z.ZodObject<{
2487
- type: z.ZodLiteral<"Experiment">;
2488
- hidden: z.ZodOptional<z.ZodBoolean>;
2489
- properties: z.ZodObject<{
2490
- heading: z.ZodOptional<z.ZodObject<{
2491
- text: z.ZodString;
2492
- href: z.ZodOptional<z.ZodString>;
2493
- }, "strip", z.ZodTypeAny, {
2494
- text: string;
2495
- href?: string | undefined;
2496
- }, {
2497
- text: string;
2498
- href?: string | undefined;
2499
- }>>;
2500
- } & {
2501
- experimentId: z.ZodString;
2502
- experimentName: z.ZodString;
2503
- contentJson: z.ZodEffects<z.ZodString, string, string>;
2504
- }, "strip", z.ZodTypeAny, {
2505
- experimentId: string;
2506
- experimentName: string;
2507
- contentJson: string;
2508
- heading?: {
2509
- text: string;
2510
- href?: string | undefined;
2511
- } | undefined;
2512
- }, {
2513
- experimentId: string;
2514
- experimentName: string;
2515
- contentJson: string;
2516
- heading?: {
2517
- text: string;
2518
- href?: string | undefined;
2519
- } | undefined;
2520
- }>;
2521
- } & {
2522
- sliceId: z.ZodOptional<z.ZodString>;
2523
- }, "strip", z.ZodTypeAny, {
2524
- type: "Experiment";
2525
- properties: {
2526
- experimentId: string;
2527
- experimentName: string;
2528
- contentJson: string;
2529
- heading?: {
2530
- text: string;
2531
- href?: string | undefined;
2532
- } | undefined;
2533
- };
2534
- hidden?: boolean | undefined;
2535
- sliceId?: string | undefined;
2536
- }, {
2537
- type: "Experiment";
2538
- properties: {
2539
- experimentId: string;
2540
- experimentName: string;
2541
- contentJson: string;
2542
- heading?: {
2543
- text: string;
2544
- href?: string | undefined;
2545
- } | undefined;
2546
- };
2547
- hidden?: boolean | undefined;
2548
- sliceId?: string | undefined;
2549
- }>, z.ZodObject<{
2550
- type: z.ZodLiteral<"Strip">;
2551
- hidden: z.ZodOptional<z.ZodBoolean>;
2552
- properties: z.ZodObject<{
2553
- heading: z.ZodOptional<z.ZodObject<{
2554
- text: z.ZodString;
2555
- href: z.ZodOptional<z.ZodString>;
2556
- }, "strip", z.ZodTypeAny, {
2557
- text: string;
2558
- href?: string | undefined;
2559
- }, {
2560
- text: string;
2561
- href?: string | undefined;
2562
- }>>;
2563
- } & {
2564
- listId: z.ZodString;
2565
- maxStories: z.ZodNumber;
2566
- }, "strip", z.ZodTypeAny, {
2567
- listId: string;
2568
- maxStories: number;
2569
- heading?: {
2570
- text: string;
2571
- href?: string | undefined;
2572
- } | undefined;
2573
- }, {
2574
- listId: string;
2575
- maxStories: number;
2576
- heading?: {
2577
- text: string;
2578
- href?: string | undefined;
2579
- } | undefined;
2580
- }>;
2581
- } & {
2582
- sliceId: z.ZodOptional<z.ZodString>;
2583
- }, "strip", z.ZodTypeAny, {
2584
- type: "Strip";
2585
- properties: {
2586
- listId: string;
2587
- maxStories: number;
2588
- heading?: {
2589
- text: string;
2590
- href?: string | undefined;
2591
- } | undefined;
2592
- };
2593
- hidden?: boolean | undefined;
2594
- sliceId?: string | undefined;
2595
- }, {
2596
- type: "Strip";
2597
- properties: {
2598
- listId: string;
2599
- maxStories: number;
2600
- heading?: {
2601
- text: string;
2602
- href?: string | undefined;
2603
- } | undefined;
2604
- };
2605
- hidden?: boolean | undefined;
2606
- sliceId?: string | undefined;
2607
- }>, z.ZodObject<{
2608
- type: z.ZodLiteral<"Topper">;
2609
- hidden: z.ZodOptional<z.ZodBoolean>;
2610
- properties: z.ZodObject<{
2611
- heading: z.ZodOptional<z.ZodObject<{
2612
- text: z.ZodString;
2613
- href: z.ZodOptional<z.ZodString>;
2614
- }, "strip", z.ZodTypeAny, {
2615
- text: string;
2616
- href?: string | undefined;
2617
- }, {
2618
- text: string;
2619
- href?: string | undefined;
2620
- }>>;
2621
- } & {
2622
- description: z.ZodObject<{
2623
- type: z.ZodLiteral<"doc">;
2624
- content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2625
- type: z.ZodLiteral<"paragraph">;
2626
- content: z.ZodArray<z.ZodObject<{
2627
- type: z.ZodLiteral<"text">;
2628
- text: z.ZodString;
2629
- marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2630
- type: z.ZodLiteral<"link">;
2631
- attrs: z.ZodObject<{
2632
- href: z.ZodEffects<z.ZodString, string, string>;
2633
- }, "strip", z.ZodTypeAny, {
2634
- href: string;
2635
- }, {
2636
- href: string;
2637
- }>;
2638
- }, "strip", z.ZodTypeAny, {
2639
- type: "link";
2640
- attrs: {
2641
- href: string;
2642
- };
2643
- }, {
2644
- type: "link";
2645
- attrs: {
2646
- href: string;
2647
- };
2648
- }>, z.ZodObject<{
2649
- type: z.ZodLiteral<"bold">;
2650
- }, "strip", z.ZodTypeAny, {
2651
- type: "bold";
2652
- }, {
2653
- type: "bold";
2654
- }>, z.ZodObject<{
2655
- type: z.ZodLiteral<"italic">;
2656
- }, "strip", z.ZodTypeAny, {
2657
- type: "italic";
2658
- }, {
2659
- type: "italic";
2660
- }>, z.ZodObject<{
2661
- type: z.ZodLiteral<"underline">;
2662
- }, "strip", z.ZodTypeAny, {
2663
- type: "underline";
2664
- }, {
2665
- type: "underline";
2666
- }>, z.ZodObject<{
2667
- type: z.ZodLiteral<"strike">;
2668
- }, "strip", z.ZodTypeAny, {
2669
- type: "strike";
2670
- }, {
2671
- type: "strike";
2672
- }>]>, "many">>;
2673
- }, "strip", z.ZodTypeAny, {
2674
- type: "text";
2675
- text: string;
2676
- marks?: ({
2677
- type: "link";
2678
- attrs: {
2679
- href: string;
2680
- };
2681
- } | {
2682
- type: "bold";
2683
- } | {
2684
- type: "italic";
2685
- } | {
2686
- type: "underline";
2687
- } | {
2688
- type: "strike";
2689
- })[] | undefined;
2690
- }, {
2691
- type: "text";
2692
- text: string;
2693
- marks?: ({
2694
- type: "link";
2695
- attrs: {
2696
- href: string;
2697
- };
2698
- } | {
2699
- type: "bold";
2700
- } | {
2701
- type: "italic";
2702
- } | {
2703
- type: "underline";
2704
- } | {
2705
- type: "strike";
2706
- })[] | undefined;
2707
- }>, "many">;
2708
- }, "strip", z.ZodTypeAny, {
2709
- type: "paragraph";
2710
- content: {
2711
- type: "text";
2712
- text: string;
2713
- marks?: ({
2714
- type: "link";
2715
- attrs: {
2716
- href: string;
2717
- };
2718
- } | {
2719
- type: "bold";
2720
- } | {
2721
- type: "italic";
2722
- } | {
2723
- type: "underline";
2724
- } | {
2725
- type: "strike";
2726
- })[] | undefined;
2727
- }[];
2728
- }, {
2729
- type: "paragraph";
2730
- content: {
2731
- type: "text";
2732
- text: string;
2733
- marks?: ({
2734
- type: "link";
2735
- attrs: {
2736
- href: string;
2737
- };
2738
- } | {
2739
- type: "bold";
2740
- } | {
2741
- type: "italic";
2742
- } | {
2743
- type: "underline";
2744
- } | {
2745
- type: "strike";
2746
- })[] | undefined;
2747
- }[];
2748
- }>, z.ZodObject<{
2749
- type: z.ZodLiteral<"text">;
2750
- text: z.ZodString;
2751
- marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2752
- type: z.ZodLiteral<"link">;
2753
- attrs: z.ZodObject<{
2754
- href: z.ZodEffects<z.ZodString, string, string>;
2755
- }, "strip", z.ZodTypeAny, {
2756
- href: string;
2757
- }, {
2758
- href: string;
2759
- }>;
2760
- }, "strip", z.ZodTypeAny, {
2761
- type: "link";
2762
- attrs: {
2763
- href: string;
2764
- };
2765
- }, {
2766
- type: "link";
2767
- attrs: {
2768
- href: string;
2769
- };
2770
- }>, z.ZodObject<{
2771
- type: z.ZodLiteral<"bold">;
2772
- }, "strip", z.ZodTypeAny, {
2773
- type: "bold";
2774
- }, {
2775
- type: "bold";
2776
- }>, z.ZodObject<{
2777
- type: z.ZodLiteral<"italic">;
2778
- }, "strip", z.ZodTypeAny, {
2779
- type: "italic";
2780
- }, {
2781
- type: "italic";
2782
- }>, z.ZodObject<{
2783
- type: z.ZodLiteral<"underline">;
2784
- }, "strip", z.ZodTypeAny, {
2785
- type: "underline";
2786
- }, {
2787
- type: "underline";
2788
- }>, z.ZodObject<{
2789
- type: z.ZodLiteral<"strike">;
2790
- }, "strip", z.ZodTypeAny, {
2791
- type: "strike";
2792
- }, {
2793
- type: "strike";
2794
- }>]>, "many">>;
2795
- }, "strip", z.ZodTypeAny, {
2796
- type: "text";
2797
- text: string;
2798
- marks?: ({
2799
- type: "link";
2800
- attrs: {
2801
- href: string;
2802
- };
2803
- } | {
2804
- type: "bold";
2805
- } | {
2806
- type: "italic";
2807
- } | {
2808
- type: "underline";
2809
- } | {
2810
- type: "strike";
2811
- })[] | undefined;
2812
- }, {
2813
- type: "text";
2814
- text: string;
2815
- marks?: ({
2816
- type: "link";
2817
- attrs: {
2818
- href: string;
2819
- };
2820
- } | {
2821
- type: "bold";
2822
- } | {
2823
- type: "italic";
2824
- } | {
2825
- type: "underline";
2826
- } | {
2827
- type: "strike";
2828
- })[] | undefined;
2829
- }>]>, "many">;
2830
- }, "strip", z.ZodTypeAny, {
2831
- type: "doc";
2832
- content: ({
2833
- type: "text";
2834
- text: string;
2835
- marks?: ({
2836
- type: "link";
2837
- attrs: {
2838
- href: string;
2839
- };
2840
- } | {
2841
- type: "bold";
2842
- } | {
2843
- type: "italic";
2844
- } | {
2845
- type: "underline";
2846
- } | {
2847
- type: "strike";
2848
- })[] | undefined;
2849
- } | {
2850
- type: "paragraph";
2851
- content: {
2852
- type: "text";
2853
- text: string;
2854
- marks?: ({
2855
- type: "link";
2856
- attrs: {
2857
- href: string;
2858
- };
2859
- } | {
2860
- type: "bold";
2861
- } | {
2862
- type: "italic";
2863
- } | {
2864
- type: "underline";
2865
- } | {
2866
- type: "strike";
2867
- })[] | undefined;
2868
- }[];
2869
- })[];
2870
- }, {
2871
- type: "doc";
2872
- content: ({
2873
- type: "text";
2874
- text: string;
2875
- marks?: ({
2876
- type: "link";
2877
- attrs: {
2878
- href: string;
2879
- };
2880
- } | {
2881
- type: "bold";
2882
- } | {
2883
- type: "italic";
2884
- } | {
2885
- type: "underline";
2886
- } | {
2887
- type: "strike";
2888
- })[] | undefined;
2889
- } | {
2890
- type: "paragraph";
2891
- content: {
2892
- type: "text";
2893
- text: string;
2894
- marks?: ({
2895
- type: "link";
2896
- attrs: {
2897
- href: string;
2898
- };
2899
- } | {
2900
- type: "bold";
2901
- } | {
2902
- type: "italic";
2903
- } | {
2904
- type: "underline";
2905
- } | {
2906
- type: "strike";
2907
- })[] | undefined;
2908
- }[];
2909
- })[];
2910
- }>;
2911
- strapline: z.ZodOptional<z.ZodString>;
2912
- }, "strip", z.ZodTypeAny, {
2913
- description: {
2914
- type: "doc";
2915
- content: ({
2916
- type: "text";
2917
- text: string;
2918
- marks?: ({
2919
- type: "link";
2920
- attrs: {
2921
- href: string;
2922
- };
2923
- } | {
2924
- type: "bold";
2925
- } | {
2926
- type: "italic";
2927
- } | {
2928
- type: "underline";
2929
- } | {
2930
- type: "strike";
2931
- })[] | undefined;
2932
- } | {
2933
- type: "paragraph";
2934
- content: {
2935
- type: "text";
2936
- text: string;
2937
- marks?: ({
2938
- type: "link";
2939
- attrs: {
2940
- href: string;
2941
- };
2942
- } | {
2943
- type: "bold";
2944
- } | {
2945
- type: "italic";
2946
- } | {
2947
- type: "underline";
2948
- } | {
2949
- type: "strike";
2950
- })[] | undefined;
2951
- }[];
2952
- })[];
2953
- };
2954
- heading?: {
2955
- text: string;
2956
- href?: string | undefined;
2957
- } | undefined;
2958
- strapline?: string | undefined;
2959
- }, {
2960
- description: {
2961
- type: "doc";
2962
- content: ({
2963
- type: "text";
2964
- text: string;
2965
- marks?: ({
2966
- type: "link";
2967
- attrs: {
2968
- href: string;
2969
- };
2970
- } | {
2971
- type: "bold";
2972
- } | {
2973
- type: "italic";
2974
- } | {
2975
- type: "underline";
2976
- } | {
2977
- type: "strike";
2978
- })[] | undefined;
2979
- } | {
2980
- type: "paragraph";
2981
- content: {
2982
- type: "text";
2983
- text: string;
2984
- marks?: ({
2985
- type: "link";
2986
- attrs: {
2987
- href: string;
2988
- };
2989
- } | {
2990
- type: "bold";
2991
- } | {
2992
- type: "italic";
2993
- } | {
2994
- type: "underline";
2995
- } | {
2996
- type: "strike";
2997
- })[] | undefined;
2998
- }[];
2999
- })[];
3000
- };
3001
- heading?: {
3002
- text: string;
3003
- href?: string | undefined;
3004
- } | undefined;
3005
- strapline?: string | undefined;
3006
- }>;
3007
- } & {
3008
- sliceId: z.ZodOptional<z.ZodString>;
3009
- }, "strip", z.ZodTypeAny, {
3010
- type: "Topper";
3011
- properties: {
3012
- description: {
3013
- type: "doc";
3014
- content: ({
3015
- type: "text";
3016
- text: string;
3017
- marks?: ({
3018
- type: "link";
3019
- attrs: {
3020
- href: string;
3021
- };
3022
- } | {
3023
- type: "bold";
3024
- } | {
3025
- type: "italic";
3026
- } | {
3027
- type: "underline";
3028
- } | {
3029
- type: "strike";
3030
- })[] | undefined;
3031
- } | {
3032
- type: "paragraph";
3033
- content: {
3034
- type: "text";
3035
- text: string;
3036
- marks?: ({
3037
- type: "link";
3038
- attrs: {
3039
- href: string;
3040
- };
3041
- } | {
3042
- type: "bold";
3043
- } | {
3044
- type: "italic";
3045
- } | {
3046
- type: "underline";
3047
- } | {
3048
- type: "strike";
3049
- })[] | undefined;
3050
- }[];
3051
- })[];
3052
- };
3053
- heading?: {
3054
- text: string;
3055
- href?: string | undefined;
3056
- } | undefined;
3057
- strapline?: string | undefined;
3058
- };
3059
- hidden?: boolean | undefined;
3060
- sliceId?: string | undefined;
3061
- }, {
3062
- type: "Topper";
3063
- properties: {
3064
- description: {
3065
- type: "doc";
3066
- content: ({
3067
- type: "text";
3068
- text: string;
3069
- marks?: ({
3070
- type: "link";
3071
- attrs: {
3072
- href: string;
3073
- };
3074
- } | {
3075
- type: "bold";
3076
- } | {
3077
- type: "italic";
3078
- } | {
3079
- type: "underline";
3080
- } | {
3081
- type: "strike";
3082
- })[] | undefined;
3083
- } | {
3084
- type: "paragraph";
3085
- content: {
3086
- type: "text";
3087
- text: string;
3088
- marks?: ({
3089
- type: "link";
3090
- attrs: {
3091
- href: string;
3092
- };
3093
- } | {
3094
- type: "bold";
3095
- } | {
3096
- type: "italic";
3097
- } | {
3098
- type: "underline";
3099
- } | {
3100
- type: "strike";
3101
- })[] | undefined;
3102
- }[];
3103
- })[];
3104
- };
3105
- heading?: {
3106
- text: string;
3107
- href?: string | undefined;
3108
- } | undefined;
3109
- strapline?: string | undefined;
3110
- };
3111
- hidden?: boolean | undefined;
3112
- sliceId?: string | undefined;
3113
- }>, z.ZodObject<{
3114
- type: z.ZodLiteral<"Hero">;
3115
- hidden: z.ZodOptional<z.ZodBoolean>;
3116
- properties: z.ZodObject<{
3117
- heading: z.ZodOptional<z.ZodObject<{
3118
- text: z.ZodString;
3119
- href: z.ZodOptional<z.ZodString>;
3120
- }, "strip", z.ZodTypeAny, {
3121
- text: string;
3122
- href?: string | undefined;
3123
- }, {
3124
- text: string;
3125
- href?: string | undefined;
3126
- }>>;
3127
- } & {
3128
- listId: z.ZodString;
3129
- maxStories: z.ZodNumber;
3130
- }, "strip", z.ZodTypeAny, {
3131
- listId: string;
3132
- maxStories: number;
3133
- heading?: {
3134
- text: string;
3135
- href?: string | undefined;
3136
- } | undefined;
3137
- }, {
3138
- listId: string;
3139
- maxStories: number;
3140
- heading?: {
3141
- text: string;
3142
- href?: string | undefined;
3143
- } | undefined;
3144
- }>;
3145
- } & {
3146
- sliceId: z.ZodOptional<z.ZodString>;
3147
- }, "strip", z.ZodTypeAny, {
3148
- type: "Hero";
3149
- properties: {
3150
- listId: string;
3151
- maxStories: number;
3152
- heading?: {
3153
- text: string;
3154
- href?: string | undefined;
3155
- } | undefined;
3156
- };
3157
- hidden?: boolean | undefined;
3158
- sliceId?: string | undefined;
3159
- }, {
3160
- type: "Hero";
3161
- properties: {
3162
- listId: string;
3163
- maxStories: number;
3164
- heading?: {
3165
- text: string;
3166
- href?: string | undefined;
3167
- } | undefined;
3168
- };
3169
- hidden?: boolean | undefined;
3170
- sliceId?: string | undefined;
3171
- }>, z.ZodObject<{
3172
- type: z.ZodLiteral<"StoryGroup">;
3173
- hidden: z.ZodOptional<z.ZodBoolean>;
3174
- properties: z.ZodObject<{
3175
- heading: z.ZodOptional<z.ZodObject<{
3176
- text: z.ZodString;
3177
- href: z.ZodOptional<z.ZodString>;
3178
- }, "strip", z.ZodTypeAny, {
3179
- text: string;
3180
- href?: string | undefined;
3181
- }, {
3182
- text: string;
3183
- href?: string | undefined;
3184
- }>>;
3185
- } & {
3186
- storySlots: z.ZodArray<z.ZodString, "atleastone">;
3187
- }, "strip", z.ZodTypeAny, {
3188
- storySlots: [string, ...string[]];
3189
- heading?: {
3190
- text: string;
3191
- href?: string | undefined;
3192
- } | undefined;
3193
- }, {
3194
- storySlots: [string, ...string[]];
3195
- heading?: {
3196
- text: string;
3197
- href?: string | undefined;
3198
- } | undefined;
3199
- }>;
3200
- } & {
3201
- sliceId: z.ZodOptional<z.ZodString>;
3202
- }, "strip", z.ZodTypeAny, {
3203
- type: "StoryGroup";
3204
- properties: {
3205
- storySlots: [string, ...string[]];
3206
- heading?: {
3207
- text: string;
3208
- href?: string | undefined;
3209
- } | undefined;
3210
- };
3211
- hidden?: boolean | undefined;
3212
- sliceId?: string | undefined;
3213
- }, {
3214
- type: "StoryGroup";
3215
- properties: {
3216
- storySlots: [string, ...string[]];
3217
- heading?: {
3218
- text: string;
3219
- href?: string | undefined;
3220
- } | undefined;
3221
- };
3222
- hidden?: boolean | undefined;
3223
- sliceId?: string | undefined;
3224
- }>]>, "many">;
3225
- } & {
3226
- properties: z.ZodObject<{
3227
- title: z.ZodString;
3228
- pageId: z.ZodString;
3229
- publicationId: z.ZodString;
3230
- conceptId: z.ZodOptional<z.ZodString>;
3231
- metaDescription: z.ZodOptional<z.ZodString>;
3232
- pageTheme: z.ZodOptional<z.ZodString>;
3233
- sponsorText: z.ZodOptional<z.ZodString>;
3234
- sponsorImage: z.ZodOptional<z.ZodString>;
3235
- } & {
3236
- homepageListId: z.ZodString;
3237
- }, "strip", z.ZodTypeAny, {
3238
- title: string;
3239
- pageId: string;
3240
- publicationId: string;
3241
- homepageListId: string;
3242
- conceptId?: string | undefined;
3243
- metaDescription?: string | undefined;
3244
- pageTheme?: string | undefined;
3245
- sponsorText?: string | undefined;
3246
- sponsorImage?: string | undefined;
3247
- }, {
3248
- title: string;
3249
- pageId: string;
3250
- publicationId: string;
3251
- homepageListId: string;
3252
- conceptId?: string | undefined;
3253
- metaDescription?: string | undefined;
3254
- pageTheme?: string | undefined;
3255
- sponsorText?: string | undefined;
3256
- sponsorImage?: string | undefined;
3257
- }>;
3258
- }, "strip", z.ZodTypeAny, {
3259
- properties: {
3260
- title: string;
3261
- pageId: string;
3262
- publicationId: string;
3263
- homepageListId: string;
3264
- conceptId?: string | undefined;
3265
- metaDescription?: string | undefined;
3266
- pageTheme?: string | undefined;
3267
- sponsorText?: string | undefined;
3268
- sponsorImage?: string | undefined;
3269
- };
3270
- children: ({
3271
- type: "HomepageSlice";
3272
- hidden?: boolean | undefined;
3273
- properties?: {
3274
- heading?: {
3275
- text: string;
3276
- href?: string | undefined;
3277
- } | undefined;
3278
- } | undefined;
3279
- sliceId?: string | undefined;
3280
- } | {
3281
- type: "Interactive";
3282
- properties: {
3283
- flourishId: string;
3284
- flourishAltText: string;
3285
- heading?: {
3286
- text: string;
3287
- href?: string | undefined;
3288
- } | undefined;
3289
- flourishDescription?: string | undefined;
3290
- storyUUID?: string | undefined;
3291
- theme?: string | undefined;
3292
- };
3293
- hidden?: boolean | undefined;
3294
- sliceId?: string | undefined;
3295
- } | {
3296
- type: "Experiment";
3297
- properties: {
3298
- experimentId: string;
3299
- experimentName: string;
3300
- contentJson: string;
3301
- heading?: {
3302
- text: string;
3303
- href?: string | undefined;
3304
- } | undefined;
3305
- };
3306
- hidden?: boolean | undefined;
3307
- sliceId?: string | undefined;
3308
- } | {
3309
- type: "Strip";
3310
- properties: {
3311
- listId: string;
3312
- maxStories: number;
3313
- heading?: {
3314
- text: string;
3315
- href?: string | undefined;
3316
- } | undefined;
3317
- };
3318
- hidden?: boolean | undefined;
3319
- sliceId?: string | undefined;
3320
- } | {
3321
- type: "Topper";
3322
- properties: {
3323
- description: {
3324
- type: "doc";
3325
- content: ({
3326
- type: "text";
3327
- text: string;
3328
- marks?: ({
3329
- type: "link";
3330
- attrs: {
3331
- href: string;
3332
- };
3333
- } | {
3334
- type: "bold";
3335
- } | {
3336
- type: "italic";
3337
- } | {
3338
- type: "underline";
3339
- } | {
3340
- type: "strike";
3341
- })[] | undefined;
3342
- } | {
3343
- type: "paragraph";
3344
- content: {
3345
- type: "text";
3346
- text: string;
3347
- marks?: ({
3348
- type: "link";
3349
- attrs: {
3350
- href: string;
3351
- };
3352
- } | {
3353
- type: "bold";
3354
- } | {
3355
- type: "italic";
3356
- } | {
3357
- type: "underline";
3358
- } | {
3359
- type: "strike";
3360
- })[] | undefined;
3361
- }[];
3362
- })[];
3363
- };
3364
- heading?: {
3365
- text: string;
3366
- href?: string | undefined;
3367
- } | undefined;
3368
- strapline?: string | undefined;
3369
- };
3370
- hidden?: boolean | undefined;
3371
- sliceId?: string | undefined;
3372
- } | {
3373
- type: "Hero";
3374
- properties: {
3375
- listId: string;
3376
- maxStories: number;
3377
- heading?: {
3378
- text: string;
3379
- href?: string | undefined;
3380
- } | undefined;
3381
- };
3382
- hidden?: boolean | undefined;
3383
- sliceId?: string | undefined;
3384
- } | {
3385
- type: "StoryGroup";
3386
- properties: {
3387
- storySlots: [string, ...string[]];
3388
- heading?: {
3389
- text: string;
3390
- href?: string | undefined;
3391
- } | undefined;
3392
- };
3393
- hidden?: boolean | undefined;
3394
- sliceId?: string | undefined;
3395
- })[];
3396
- }, {
3397
- properties: {
3398
- title: string;
3399
- pageId: string;
3400
- publicationId: string;
3401
- homepageListId: string;
3402
- conceptId?: string | undefined;
3403
- metaDescription?: string | undefined;
3404
- pageTheme?: string | undefined;
3405
- sponsorText?: string | undefined;
3406
- sponsorImage?: string | undefined;
3407
- };
3408
- children: ({
3409
- type: "HomepageSlice";
3410
- hidden?: boolean | undefined;
3411
- properties?: {
3412
- heading?: {
3413
- text: string;
3414
- href?: string | undefined;
3415
- } | undefined;
3416
- } | undefined;
3417
- sliceId?: string | undefined;
3418
- } | {
3419
- type: "Interactive";
3420
- properties: {
3421
- flourishId: string;
3422
- flourishAltText: string;
3423
- heading?: {
3424
- text: string;
3425
- href?: string | undefined;
3426
- } | undefined;
3427
- flourishDescription?: string | undefined;
3428
- storyUUID?: string | undefined;
3429
- theme?: string | undefined;
3430
- };
3431
- hidden?: boolean | undefined;
3432
- sliceId?: string | undefined;
3433
- } | {
3434
- type: "Experiment";
3435
- properties: {
3436
- experimentId: string;
3437
- experimentName: string;
3438
- contentJson: string;
3439
- heading?: {
3440
- text: string;
3441
- href?: string | undefined;
3442
- } | undefined;
3443
- };
3444
- hidden?: boolean | undefined;
3445
- sliceId?: string | undefined;
3446
- } | {
3447
- type: "Strip";
3448
- properties: {
3449
- listId: string;
3450
- maxStories: number;
3451
- heading?: {
3452
- text: string;
3453
- href?: string | undefined;
3454
- } | undefined;
3455
- };
3456
- hidden?: boolean | undefined;
3457
- sliceId?: string | undefined;
3458
- } | {
3459
- type: "Topper";
3460
- properties: {
3461
- description: {
3462
- type: "doc";
3463
- content: ({
3464
- type: "text";
3465
- text: string;
3466
- marks?: ({
3467
- type: "link";
3468
- attrs: {
3469
- href: string;
3470
- };
3471
- } | {
3472
- type: "bold";
3473
- } | {
3474
- type: "italic";
3475
- } | {
3476
- type: "underline";
3477
- } | {
3478
- type: "strike";
3479
- })[] | undefined;
3480
- } | {
3481
- type: "paragraph";
3482
- content: {
3483
- type: "text";
3484
- text: string;
3485
- marks?: ({
3486
- type: "link";
3487
- attrs: {
3488
- href: string;
3489
- };
3490
- } | {
3491
- type: "bold";
3492
- } | {
3493
- type: "italic";
3494
- } | {
3495
- type: "underline";
3496
- } | {
3497
- type: "strike";
3498
- })[] | undefined;
3499
- }[];
3500
- })[];
3501
- };
3502
- heading?: {
3503
- text: string;
3504
- href?: string | undefined;
3505
- } | undefined;
3506
- strapline?: string | undefined;
3507
- };
3508
- hidden?: boolean | undefined;
3509
- sliceId?: string | undefined;
3510
- } | {
3511
- type: "Hero";
3512
- properties: {
3513
- listId: string;
3514
- maxStories: number;
3515
- heading?: {
3516
- text: string;
3517
- href?: string | undefined;
3518
- } | undefined;
3519
- };
3520
- hidden?: boolean | undefined;
3521
- sliceId?: string | undefined;
3522
- } | {
3523
- type: "StoryGroup";
3524
- properties: {
3525
- storySlots: [string, ...string[]];
3526
- heading?: {
3527
- text: string;
3528
- href?: string | undefined;
3529
- } | undefined;
3530
- };
3531
- hidden?: boolean | undefined;
3532
- sliceId?: string | undefined;
3533
- })[];
3534
- }>;
3535
- export { HomepageStructureInputSchema }
3536
- export { HomepageStructureInputSchema as HomepageStructureInputSchema_alias_1 }
3537
-
3538
- /** Server-side type for homepage structure output */
3539
- declare type HomepageStructureOutput = z.infer<typeof HomepageStructureOutputSchema>;
3540
- export { HomepageStructureOutput }
3541
- export { HomepageStructureOutput as HomepageStructureOutput_alias_1 }
3542
-
3543
- declare const HomepageStructureOutputSchema: z.ZodObject<{
3544
- schemaVersion: z.ZodNumber;
3545
- children: z.ZodArray<z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{
3546
- type: z.ZodLiteral<"HomepageSlice">;
3547
- hidden: z.ZodOptional<z.ZodBoolean>;
3548
- properties: z.ZodOptional<z.ZodObject<{
3549
- heading: z.ZodOptional<z.ZodObject<{
3550
- text: z.ZodString;
3551
- href: z.ZodOptional<z.ZodString>;
3552
- }, "strip", z.ZodTypeAny, {
3553
- text: string;
3554
- href?: string | undefined;
3555
- }, {
3556
- text: string;
3557
- href?: string | undefined;
3558
- }>>;
3559
- }, "strip", z.ZodTypeAny, {
3560
- heading?: {
3561
- text: string;
3562
- href?: string | undefined;
3563
- } | undefined;
3564
- }, {
3565
- heading?: {
3566
- text: string;
3567
- href?: string | undefined;
3568
- } | undefined;
3569
- }>>;
3570
- } & {
3571
- sliceId: z.ZodString;
3572
- }, "strip", z.ZodTypeAny, {
3573
- type: "HomepageSlice";
3574
- sliceId: string;
3575
- hidden?: boolean | undefined;
3576
- properties?: {
3577
- heading?: {
3578
- text: string;
3579
- href?: string | undefined;
3580
- } | undefined;
3581
- } | undefined;
3582
- }, {
3583
- type: "HomepageSlice";
3584
- sliceId: string;
3585
- hidden?: boolean | undefined;
3586
- properties?: {
3587
- heading?: {
3588
- text: string;
3589
- href?: string | undefined;
3590
- } | undefined;
3591
- } | undefined;
3592
- }>, z.ZodObject<{
3593
- type: z.ZodLiteral<"Interactive">;
3594
- hidden: z.ZodOptional<z.ZodBoolean>;
3595
- properties: z.ZodObject<{
3596
- heading: z.ZodOptional<z.ZodObject<{
3597
- text: z.ZodString;
3598
- href: z.ZodOptional<z.ZodString>;
3599
- }, "strip", z.ZodTypeAny, {
3600
- text: string;
3601
- href?: string | undefined;
3602
- }, {
3603
- text: string;
3604
- href?: string | undefined;
3605
- }>>;
3606
- } & {
3607
- flourishDescription: z.ZodOptional<z.ZodString>;
3608
- flourishId: z.ZodString;
3609
- flourishAltText: z.ZodString;
3610
- storyUUID: z.ZodOptional<z.ZodString>;
3611
- theme: z.ZodOptional<z.ZodString>;
3612
- }, "strip", z.ZodTypeAny, {
3613
- flourishId: string;
3614
- flourishAltText: string;
3615
- heading?: {
3616
- text: string;
3617
- href?: string | undefined;
3618
- } | undefined;
3619
- flourishDescription?: string | undefined;
3620
- storyUUID?: string | undefined;
3621
- theme?: string | undefined;
3622
- }, {
3623
- flourishId: string;
3624
- flourishAltText: string;
3625
- heading?: {
3626
- text: string;
3627
- href?: string | undefined;
3628
- } | undefined;
3629
- flourishDescription?: string | undefined;
3630
- storyUUID?: string | undefined;
3631
- theme?: string | undefined;
3632
- }>;
3633
- } & {
3634
- sliceId: z.ZodString;
3635
- }, "strip", z.ZodTypeAny, {
3636
- type: "Interactive";
3637
- properties: {
3638
- flourishId: string;
3639
- flourishAltText: string;
3640
- heading?: {
3641
- text: string;
3642
- href?: string | undefined;
3643
- } | undefined;
3644
- flourishDescription?: string | undefined;
3645
- storyUUID?: string | undefined;
3646
- theme?: string | undefined;
3647
- };
3648
- sliceId: string;
3649
- hidden?: boolean | undefined;
3650
- }, {
3651
- type: "Interactive";
3652
- properties: {
3653
- flourishId: string;
3654
- flourishAltText: string;
3655
- heading?: {
3656
- text: string;
3657
- href?: string | undefined;
3658
- } | undefined;
3659
- flourishDescription?: string | undefined;
3660
- storyUUID?: string | undefined;
3661
- theme?: string | undefined;
3662
- };
3663
- sliceId: string;
3664
- hidden?: boolean | undefined;
3665
- }>, z.ZodObject<{
3666
- type: z.ZodLiteral<"Experiment">;
3667
- hidden: z.ZodOptional<z.ZodBoolean>;
3668
- properties: z.ZodObject<{
3669
- heading: z.ZodOptional<z.ZodObject<{
3670
- text: z.ZodString;
3671
- href: z.ZodOptional<z.ZodString>;
3672
- }, "strip", z.ZodTypeAny, {
3673
- text: string;
3674
- href?: string | undefined;
3675
- }, {
3676
- text: string;
3677
- href?: string | undefined;
3678
- }>>;
3679
- } & {
3680
- experimentId: z.ZodString;
3681
- experimentName: z.ZodString;
3682
- contentJson: z.ZodEffects<z.ZodString, string, string>;
3683
- }, "strip", z.ZodTypeAny, {
3684
- experimentId: string;
3685
- experimentName: string;
3686
- contentJson: string;
3687
- heading?: {
3688
- text: string;
3689
- href?: string | undefined;
3690
- } | undefined;
3691
- }, {
3692
- experimentId: string;
3693
- experimentName: string;
3694
- contentJson: string;
3695
- heading?: {
3696
- text: string;
3697
- href?: string | undefined;
3698
- } | undefined;
3699
- }>;
3700
- } & {
3701
- sliceId: z.ZodString;
3702
- }, "strip", z.ZodTypeAny, {
3703
- type: "Experiment";
3704
- properties: {
3705
- experimentId: string;
3706
- experimentName: string;
3707
- contentJson: string;
3708
- heading?: {
3709
- text: string;
3710
- href?: string | undefined;
3711
- } | undefined;
3712
- };
3713
- sliceId: string;
3714
- hidden?: boolean | undefined;
3715
- }, {
3716
- type: "Experiment";
3717
- properties: {
3718
- experimentId: string;
3719
- experimentName: string;
3720
- contentJson: string;
3721
- heading?: {
3722
- text: string;
3723
- href?: string | undefined;
3724
- } | undefined;
3725
- };
3726
- sliceId: string;
3727
- hidden?: boolean | undefined;
3728
- }>, z.ZodObject<{
3729
- type: z.ZodLiteral<"Strip">;
3730
- hidden: z.ZodOptional<z.ZodBoolean>;
3731
- properties: z.ZodObject<{
3732
- heading: z.ZodOptional<z.ZodObject<{
3733
- text: z.ZodString;
3734
- href: z.ZodOptional<z.ZodString>;
3735
- }, "strip", z.ZodTypeAny, {
3736
- text: string;
3737
- href?: string | undefined;
3738
- }, {
3739
- text: string;
3740
- href?: string | undefined;
3741
- }>>;
3742
- } & {
3743
- listId: z.ZodString;
3744
- maxStories: z.ZodNumber;
3745
- }, "strip", z.ZodTypeAny, {
3746
- listId: string;
3747
- maxStories: number;
3748
- heading?: {
3749
- text: string;
3750
- href?: string | undefined;
3751
- } | undefined;
3752
- }, {
3753
- listId: string;
3754
- maxStories: number;
3755
- heading?: {
3756
- text: string;
3757
- href?: string | undefined;
3758
- } | undefined;
3759
- }>;
3760
- } & {
3761
- sliceId: z.ZodString;
3762
- }, "strip", z.ZodTypeAny, {
3763
- type: "Strip";
3764
- properties: {
3765
- listId: string;
3766
- maxStories: number;
3767
- heading?: {
3768
- text: string;
3769
- href?: string | undefined;
3770
- } | undefined;
3771
- };
3772
- sliceId: string;
3773
- hidden?: boolean | undefined;
3774
- }, {
3775
- type: "Strip";
3776
- properties: {
3777
- listId: string;
3778
- maxStories: number;
3779
- heading?: {
3780
- text: string;
3781
- href?: string | undefined;
3782
- } | undefined;
3783
- };
3784
- sliceId: string;
3785
- hidden?: boolean | undefined;
3786
- }>, z.ZodObject<{
3787
- type: z.ZodLiteral<"Topper">;
3788
- hidden: z.ZodOptional<z.ZodBoolean>;
3789
- properties: z.ZodObject<{
3790
- heading: z.ZodOptional<z.ZodObject<{
3791
- text: z.ZodString;
3792
- href: z.ZodOptional<z.ZodString>;
3793
- }, "strip", z.ZodTypeAny, {
3794
- text: string;
3795
- href?: string | undefined;
3796
- }, {
3797
- text: string;
3798
- href?: string | undefined;
3799
- }>>;
3800
- } & {
3801
- description: z.ZodObject<{
3802
- type: z.ZodLiteral<"doc">;
3803
- content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
3804
- type: z.ZodLiteral<"paragraph">;
3805
- content: z.ZodArray<z.ZodObject<{
3806
- type: z.ZodLiteral<"text">;
3807
- text: z.ZodString;
3808
- marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3809
- type: z.ZodLiteral<"link">;
3810
- attrs: z.ZodObject<{
3811
- href: z.ZodEffects<z.ZodString, string, string>;
3812
- }, "strip", z.ZodTypeAny, {
3813
- href: string;
3814
- }, {
3815
- href: string;
3816
- }>;
3817
- }, "strip", z.ZodTypeAny, {
3818
- type: "link";
3819
- attrs: {
3820
- href: string;
3821
- };
3822
- }, {
3823
- type: "link";
3824
- attrs: {
3825
- href: string;
3826
- };
3827
- }>, z.ZodObject<{
3828
- type: z.ZodLiteral<"bold">;
3829
- }, "strip", z.ZodTypeAny, {
3830
- type: "bold";
3831
- }, {
3832
- type: "bold";
3833
- }>, z.ZodObject<{
3834
- type: z.ZodLiteral<"italic">;
3835
- }, "strip", z.ZodTypeAny, {
3836
- type: "italic";
3837
- }, {
3838
- type: "italic";
3839
- }>, z.ZodObject<{
3840
- type: z.ZodLiteral<"underline">;
3841
- }, "strip", z.ZodTypeAny, {
3842
- type: "underline";
3843
- }, {
3844
- type: "underline";
3845
- }>, z.ZodObject<{
3846
- type: z.ZodLiteral<"strike">;
3847
- }, "strip", z.ZodTypeAny, {
3848
- type: "strike";
3849
- }, {
3850
- type: "strike";
3851
- }>]>, "many">>;
3852
- }, "strip", z.ZodTypeAny, {
3853
- type: "text";
3854
- text: string;
3855
- marks?: ({
3856
- type: "link";
3857
- attrs: {
3858
- href: string;
3859
- };
3860
- } | {
3861
- type: "bold";
3862
- } | {
3863
- type: "italic";
3864
- } | {
3865
- type: "underline";
3866
- } | {
3867
- type: "strike";
3868
- })[] | undefined;
3869
- }, {
3870
- type: "text";
3871
- text: string;
3872
- marks?: ({
3873
- type: "link";
3874
- attrs: {
3875
- href: string;
3876
- };
3877
- } | {
3878
- type: "bold";
3879
- } | {
3880
- type: "italic";
3881
- } | {
3882
- type: "underline";
3883
- } | {
3884
- type: "strike";
3885
- })[] | undefined;
3886
- }>, "many">;
3887
- }, "strip", z.ZodTypeAny, {
3888
- type: "paragraph";
3889
- content: {
3890
- type: "text";
3891
- text: string;
3892
- marks?: ({
3893
- type: "link";
3894
- attrs: {
3895
- href: string;
3896
- };
3897
- } | {
3898
- type: "bold";
3899
- } | {
3900
- type: "italic";
3901
- } | {
3902
- type: "underline";
3903
- } | {
3904
- type: "strike";
3905
- })[] | undefined;
3906
- }[];
3907
- }, {
3908
- type: "paragraph";
3909
- content: {
3910
- type: "text";
3911
- text: string;
3912
- marks?: ({
3913
- type: "link";
3914
- attrs: {
3915
- href: string;
3916
- };
3917
- } | {
3918
- type: "bold";
3919
- } | {
3920
- type: "italic";
3921
- } | {
3922
- type: "underline";
3923
- } | {
3924
- type: "strike";
3925
- })[] | undefined;
3926
- }[];
3927
- }>, z.ZodObject<{
3928
- type: z.ZodLiteral<"text">;
3929
- text: z.ZodString;
3930
- marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3931
- type: z.ZodLiteral<"link">;
3932
- attrs: z.ZodObject<{
3933
- href: z.ZodEffects<z.ZodString, string, string>;
3934
- }, "strip", z.ZodTypeAny, {
3935
- href: string;
3936
- }, {
3937
- href: string;
3938
- }>;
3939
- }, "strip", z.ZodTypeAny, {
3940
- type: "link";
3941
- attrs: {
3942
- href: string;
3943
- };
3944
- }, {
3945
- type: "link";
3946
- attrs: {
3947
- href: string;
3948
- };
3949
- }>, z.ZodObject<{
3950
- type: z.ZodLiteral<"bold">;
3951
- }, "strip", z.ZodTypeAny, {
3952
- type: "bold";
3953
- }, {
3954
- type: "bold";
3955
- }>, z.ZodObject<{
3956
- type: z.ZodLiteral<"italic">;
3957
- }, "strip", z.ZodTypeAny, {
3958
- type: "italic";
3959
- }, {
3960
- type: "italic";
3961
- }>, z.ZodObject<{
3962
- type: z.ZodLiteral<"underline">;
3963
- }, "strip", z.ZodTypeAny, {
3964
- type: "underline";
3965
- }, {
3966
- type: "underline";
3967
- }>, z.ZodObject<{
3968
- type: z.ZodLiteral<"strike">;
3969
- }, "strip", z.ZodTypeAny, {
3970
- type: "strike";
3971
- }, {
3972
- type: "strike";
3973
- }>]>, "many">>;
3974
- }, "strip", z.ZodTypeAny, {
3975
- type: "text";
3976
- text: string;
3977
- marks?: ({
3978
- type: "link";
3979
- attrs: {
3980
- href: string;
3981
- };
3982
- } | {
3983
- type: "bold";
3984
- } | {
3985
- type: "italic";
3986
- } | {
3987
- type: "underline";
3988
- } | {
3989
- type: "strike";
3990
- })[] | undefined;
3991
- }, {
3992
- type: "text";
3993
- text: string;
3994
- marks?: ({
3995
- type: "link";
3996
- attrs: {
3997
- href: string;
3998
- };
3999
- } | {
4000
- type: "bold";
4001
- } | {
4002
- type: "italic";
4003
- } | {
4004
- type: "underline";
4005
- } | {
4006
- type: "strike";
4007
- })[] | undefined;
4008
- }>]>, "many">;
4009
- }, "strip", z.ZodTypeAny, {
4010
- type: "doc";
4011
- content: ({
4012
- type: "text";
4013
- text: string;
4014
- marks?: ({
4015
- type: "link";
4016
- attrs: {
4017
- href: string;
4018
- };
4019
- } | {
4020
- type: "bold";
4021
- } | {
4022
- type: "italic";
4023
- } | {
4024
- type: "underline";
4025
- } | {
4026
- type: "strike";
4027
- })[] | undefined;
4028
- } | {
4029
- type: "paragraph";
4030
- content: {
4031
- type: "text";
4032
- text: string;
4033
- marks?: ({
4034
- type: "link";
4035
- attrs: {
4036
- href: string;
4037
- };
4038
- } | {
4039
- type: "bold";
4040
- } | {
4041
- type: "italic";
4042
- } | {
4043
- type: "underline";
4044
- } | {
4045
- type: "strike";
4046
- })[] | undefined;
4047
- }[];
4048
- })[];
4049
- }, {
4050
- type: "doc";
4051
- content: ({
4052
- type: "text";
4053
- text: string;
4054
- marks?: ({
4055
- type: "link";
4056
- attrs: {
4057
- href: string;
4058
- };
4059
- } | {
4060
- type: "bold";
4061
- } | {
4062
- type: "italic";
4063
- } | {
4064
- type: "underline";
4065
- } | {
4066
- type: "strike";
4067
- })[] | undefined;
4068
- } | {
4069
- type: "paragraph";
4070
- content: {
4071
- type: "text";
4072
- text: string;
4073
- marks?: ({
4074
- type: "link";
4075
- attrs: {
4076
- href: string;
4077
- };
4078
- } | {
4079
- type: "bold";
4080
- } | {
4081
- type: "italic";
4082
- } | {
4083
- type: "underline";
4084
- } | {
4085
- type: "strike";
4086
- })[] | undefined;
4087
- }[];
4088
- })[];
4089
- }>;
4090
- strapline: z.ZodOptional<z.ZodString>;
4091
- }, "strip", z.ZodTypeAny, {
4092
- description: {
4093
- type: "doc";
4094
- content: ({
4095
- type: "text";
4096
- text: string;
4097
- marks?: ({
4098
- type: "link";
4099
- attrs: {
4100
- href: string;
4101
- };
4102
- } | {
4103
- type: "bold";
4104
- } | {
4105
- type: "italic";
4106
- } | {
4107
- type: "underline";
4108
- } | {
4109
- type: "strike";
4110
- })[] | undefined;
4111
- } | {
4112
- type: "paragraph";
4113
- content: {
4114
- type: "text";
4115
- text: string;
4116
- marks?: ({
4117
- type: "link";
4118
- attrs: {
4119
- href: string;
4120
- };
4121
- } | {
4122
- type: "bold";
4123
- } | {
4124
- type: "italic";
4125
- } | {
4126
- type: "underline";
4127
- } | {
4128
- type: "strike";
4129
- })[] | undefined;
4130
- }[];
4131
- })[];
4132
- };
4133
- heading?: {
4134
- text: string;
4135
- href?: string | undefined;
4136
- } | undefined;
4137
- strapline?: string | undefined;
4138
- }, {
4139
- description: {
4140
- type: "doc";
4141
- content: ({
4142
- type: "text";
4143
- text: string;
4144
- marks?: ({
4145
- type: "link";
4146
- attrs: {
4147
- href: string;
4148
- };
4149
- } | {
4150
- type: "bold";
4151
- } | {
4152
- type: "italic";
4153
- } | {
4154
- type: "underline";
4155
- } | {
4156
- type: "strike";
4157
- })[] | undefined;
4158
- } | {
4159
- type: "paragraph";
4160
- content: {
4161
- type: "text";
4162
- text: string;
4163
- marks?: ({
4164
- type: "link";
4165
- attrs: {
4166
- href: string;
4167
- };
4168
- } | {
4169
- type: "bold";
4170
- } | {
4171
- type: "italic";
4172
- } | {
4173
- type: "underline";
4174
- } | {
4175
- type: "strike";
4176
- })[] | undefined;
4177
- }[];
4178
- })[];
4179
- };
4180
- heading?: {
4181
- text: string;
4182
- href?: string | undefined;
4183
- } | undefined;
4184
- strapline?: string | undefined;
4185
- }>;
4186
- } & {
4187
- sliceId: z.ZodString;
4188
- }, "strip", z.ZodTypeAny, {
4189
- type: "Topper";
4190
- properties: {
4191
- description: {
4192
- type: "doc";
4193
- content: ({
4194
- type: "text";
4195
- text: string;
4196
- marks?: ({
4197
- type: "link";
4198
- attrs: {
4199
- href: string;
4200
- };
4201
- } | {
4202
- type: "bold";
4203
- } | {
4204
- type: "italic";
4205
- } | {
4206
- type: "underline";
4207
- } | {
4208
- type: "strike";
4209
- })[] | undefined;
4210
- } | {
4211
- type: "paragraph";
4212
- content: {
4213
- type: "text";
4214
- text: string;
4215
- marks?: ({
4216
- type: "link";
4217
- attrs: {
4218
- href: string;
4219
- };
4220
- } | {
4221
- type: "bold";
4222
- } | {
4223
- type: "italic";
4224
- } | {
4225
- type: "underline";
4226
- } | {
4227
- type: "strike";
4228
- })[] | undefined;
4229
- }[];
4230
- })[];
4231
- };
4232
- heading?: {
4233
- text: string;
4234
- href?: string | undefined;
4235
- } | undefined;
4236
- strapline?: string | undefined;
4237
- };
4238
- sliceId: string;
4239
- hidden?: boolean | undefined;
4240
- }, {
4241
- type: "Topper";
4242
- properties: {
4243
- description: {
4244
- type: "doc";
4245
- content: ({
4246
- type: "text";
4247
- text: string;
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
- type: "paragraph";
4264
- content: {
4265
- type: "text";
4266
- text: string;
4267
- marks?: ({
4268
- type: "link";
4269
- attrs: {
4270
- href: string;
4271
- };
4272
- } | {
4273
- type: "bold";
4274
- } | {
4275
- type: "italic";
4276
- } | {
4277
- type: "underline";
4278
- } | {
4279
- type: "strike";
4280
- })[] | undefined;
4281
- }[];
4282
- })[];
4283
- };
4284
- heading?: {
4285
- text: string;
4286
- href?: string | undefined;
4287
- } | undefined;
4288
- strapline?: string | undefined;
4289
- };
4290
- sliceId: string;
4291
- hidden?: boolean | undefined;
4292
- }>, z.ZodObject<{
4293
- type: z.ZodLiteral<"Hero">;
4294
- hidden: z.ZodOptional<z.ZodBoolean>;
4295
- properties: z.ZodObject<{
4296
- heading: z.ZodOptional<z.ZodObject<{
4297
- text: z.ZodString;
4298
- href: z.ZodOptional<z.ZodString>;
4299
- }, "strip", z.ZodTypeAny, {
4300
- text: string;
4301
- href?: string | undefined;
4302
- }, {
4303
- text: string;
4304
- href?: string | undefined;
4305
- }>>;
4306
- } & {
4307
- listId: z.ZodString;
4308
- maxStories: z.ZodNumber;
4309
- }, "strip", z.ZodTypeAny, {
4310
- listId: string;
4311
- maxStories: number;
4312
- heading?: {
4313
- text: string;
4314
- href?: string | undefined;
4315
- } | undefined;
4316
- }, {
4317
- listId: string;
4318
- maxStories: number;
4319
- heading?: {
4320
- text: string;
4321
- href?: string | undefined;
4322
- } | undefined;
4323
- }>;
4324
- } & {
4325
- sliceId: z.ZodString;
4326
- }, "strip", z.ZodTypeAny, {
4327
- type: "Hero";
4328
- properties: {
4329
- listId: string;
4330
- maxStories: number;
4331
- heading?: {
4332
- text: string;
4333
- href?: string | undefined;
4334
- } | undefined;
4335
- };
4336
- sliceId: string;
4337
- hidden?: boolean | undefined;
4338
- }, {
4339
- type: "Hero";
4340
- properties: {
4341
- listId: string;
4342
- maxStories: number;
4343
- heading?: {
4344
- text: string;
4345
- href?: string | undefined;
4346
- } | undefined;
4347
- };
4348
- sliceId: string;
4349
- hidden?: boolean | undefined;
4350
- }>, z.ZodObject<{
4351
- type: z.ZodLiteral<"StoryGroup">;
4352
- hidden: z.ZodOptional<z.ZodBoolean>;
4353
- properties: z.ZodObject<{
4354
- heading: z.ZodOptional<z.ZodObject<{
4355
- text: z.ZodString;
4356
- href: z.ZodOptional<z.ZodString>;
4357
- }, "strip", z.ZodTypeAny, {
4358
- text: string;
4359
- href?: string | undefined;
4360
- }, {
4361
- text: string;
4362
- href?: string | undefined;
4363
- }>>;
4364
- } & {
4365
- storySlots: z.ZodArray<z.ZodString, "atleastone">;
4366
- }, "strip", z.ZodTypeAny, {
4367
- storySlots: [string, ...string[]];
4368
- heading?: {
4369
- text: string;
4370
- href?: string | undefined;
4371
- } | undefined;
4372
- }, {
4373
- storySlots: [string, ...string[]];
4374
- heading?: {
4375
- text: string;
4376
- href?: string | undefined;
4377
- } | undefined;
4378
- }>;
4379
- } & {
4380
- sliceId: z.ZodString;
4381
- }, "strip", z.ZodTypeAny, {
4382
- type: "StoryGroup";
4383
- properties: {
4384
- storySlots: [string, ...string[]];
4385
- heading?: {
4386
- text: string;
4387
- href?: string | undefined;
4388
- } | undefined;
4389
- };
4390
- sliceId: string;
4391
- hidden?: boolean | undefined;
4392
- }, {
4393
- type: "StoryGroup";
4394
- properties: {
4395
- storySlots: [string, ...string[]];
4396
- heading?: {
4397
- text: string;
4398
- href?: string | undefined;
4399
- } | undefined;
4400
- };
4401
- sliceId: string;
4402
- hidden?: boolean | undefined;
4403
- }>]>, "many">;
4404
- } & {
4405
- type: z.ZodLiteral<"Homepage">;
4406
- properties: z.ZodObject<{
4407
- title: z.ZodString;
4408
- pageId: z.ZodString;
4409
- publicationId: z.ZodString;
4410
- conceptId: z.ZodOptional<z.ZodString>;
4411
- metaDescription: z.ZodOptional<z.ZodString>;
4412
- pageTheme: z.ZodOptional<z.ZodString>;
4413
- sponsorText: z.ZodOptional<z.ZodString>;
4414
- sponsorImage: z.ZodOptional<z.ZodString>;
4415
- } & {
4416
- homepageListId: z.ZodString;
4417
- }, "strip", z.ZodTypeAny, {
4418
- title: string;
4419
- pageId: string;
4420
- publicationId: string;
4421
- homepageListId: string;
4422
- conceptId?: string | undefined;
4423
- metaDescription?: string | undefined;
4424
- pageTheme?: string | undefined;
4425
- sponsorText?: string | undefined;
4426
- sponsorImage?: string | undefined;
4427
- }, {
4428
- title: string;
4429
- pageId: string;
4430
- publicationId: string;
4431
- homepageListId: string;
4432
- conceptId?: string | undefined;
4433
- metaDescription?: string | undefined;
4434
- pageTheme?: string | undefined;
4435
- sponsorText?: string | undefined;
4436
- sponsorImage?: string | undefined;
4437
- }>;
4438
- }, "strip", z.ZodTypeAny, {
4439
- type: "Homepage";
4440
- properties: {
4441
- title: string;
4442
- pageId: string;
4443
- publicationId: string;
4444
- homepageListId: string;
4445
- conceptId?: string | undefined;
4446
- metaDescription?: string | undefined;
4447
- pageTheme?: string | undefined;
4448
- sponsorText?: string | undefined;
4449
- sponsorImage?: string | undefined;
4450
- };
4451
- children: ({
4452
- type: "HomepageSlice";
4453
- sliceId: string;
4454
- hidden?: boolean | undefined;
4455
- properties?: {
4456
- heading?: {
4457
- text: string;
4458
- href?: string | undefined;
4459
- } | undefined;
4460
- } | undefined;
4461
- } | {
4462
- type: "Interactive";
4463
- properties: {
4464
- flourishId: string;
4465
- flourishAltText: string;
4466
- heading?: {
4467
- text: string;
4468
- href?: string | undefined;
4469
- } | undefined;
4470
- flourishDescription?: string | undefined;
4471
- storyUUID?: string | undefined;
4472
- theme?: string | undefined;
4473
- };
4474
- sliceId: string;
4475
- hidden?: boolean | undefined;
4476
- } | {
4477
- type: "Experiment";
4478
- properties: {
4479
- experimentId: string;
4480
- experimentName: string;
4481
- contentJson: string;
4482
- heading?: {
4483
- text: string;
4484
- href?: string | undefined;
4485
- } | undefined;
4486
- };
4487
- sliceId: string;
4488
- hidden?: boolean | undefined;
4489
- } | {
4490
- type: "Strip";
4491
- properties: {
4492
- listId: string;
4493
- maxStories: number;
4494
- heading?: {
4495
- text: string;
4496
- href?: string | undefined;
4497
- } | undefined;
4498
- };
4499
- sliceId: string;
4500
- hidden?: boolean | undefined;
4501
- } | {
4502
- type: "Topper";
4503
- properties: {
4504
- description: {
4505
- type: "doc";
4506
- content: ({
4507
- type: "text";
4508
- text: string;
4509
- marks?: ({
4510
- type: "link";
4511
- attrs: {
4512
- href: string;
4513
- };
4514
- } | {
4515
- type: "bold";
4516
- } | {
4517
- type: "italic";
4518
- } | {
4519
- type: "underline";
4520
- } | {
4521
- type: "strike";
4522
- })[] | undefined;
4523
- } | {
4524
- type: "paragraph";
4525
- content: {
4526
- type: "text";
4527
- text: string;
4528
- marks?: ({
4529
- type: "link";
4530
- attrs: {
4531
- href: string;
4532
- };
4533
- } | {
4534
- type: "bold";
4535
- } | {
4536
- type: "italic";
4537
- } | {
4538
- type: "underline";
4539
- } | {
4540
- type: "strike";
4541
- })[] | undefined;
4542
- }[];
4543
- })[];
4544
- };
4545
- heading?: {
4546
- text: string;
4547
- href?: string | undefined;
4548
- } | undefined;
4549
- strapline?: string | undefined;
4550
- };
4551
- sliceId: string;
4552
- hidden?: boolean | undefined;
4553
- } | {
4554
- type: "Hero";
4555
- properties: {
4556
- listId: string;
4557
- maxStories: number;
4558
- heading?: {
4559
- text: string;
4560
- href?: string | undefined;
4561
- } | undefined;
4562
- };
4563
- sliceId: string;
4564
- hidden?: boolean | undefined;
4565
- } | {
4566
- type: "StoryGroup";
4567
- properties: {
4568
- storySlots: [string, ...string[]];
4569
- heading?: {
4570
- text: string;
4571
- href?: string | undefined;
4572
- } | undefined;
4573
- };
4574
- sliceId: string;
4575
- hidden?: boolean | undefined;
4576
- })[];
4577
- schemaVersion: number;
4578
- }, {
4579
- type: "Homepage";
4580
- properties: {
4581
- title: string;
4582
- pageId: string;
4583
- publicationId: string;
4584
- homepageListId: string;
4585
- conceptId?: string | undefined;
4586
- metaDescription?: string | undefined;
4587
- pageTheme?: string | undefined;
4588
- sponsorText?: string | undefined;
4589
- sponsorImage?: string | undefined;
4590
- };
4591
- children: ({
4592
- type: "HomepageSlice";
4593
- sliceId: string;
4594
- hidden?: boolean | undefined;
4595
- properties?: {
4596
- heading?: {
4597
- text: string;
4598
- href?: string | undefined;
4599
- } | undefined;
4600
- } | undefined;
4601
- } | {
4602
- type: "Interactive";
4603
- properties: {
4604
- flourishId: string;
4605
- flourishAltText: string;
4606
- heading?: {
4607
- text: string;
4608
- href?: string | undefined;
4609
- } | undefined;
4610
- flourishDescription?: string | undefined;
4611
- storyUUID?: string | undefined;
4612
- theme?: string | undefined;
4613
- };
4614
- sliceId: string;
4615
- hidden?: boolean | undefined;
4616
- } | {
4617
- type: "Experiment";
4618
- properties: {
4619
- experimentId: string;
4620
- experimentName: string;
4621
- contentJson: string;
4622
- heading?: {
4623
- text: string;
4624
- href?: string | undefined;
4625
- } | undefined;
4626
- };
4627
- sliceId: string;
4628
- hidden?: boolean | undefined;
4629
- } | {
4630
- type: "Strip";
4631
- properties: {
4632
- listId: string;
4633
- maxStories: number;
4634
- heading?: {
4635
- text: string;
4636
- href?: string | undefined;
4637
- } | undefined;
4638
- };
4639
- sliceId: string;
4640
- hidden?: boolean | undefined;
4641
- } | {
4642
- type: "Topper";
4643
- properties: {
4644
- description: {
4645
- type: "doc";
4646
- content: ({
4647
- type: "text";
4648
- text: string;
4649
- marks?: ({
4650
- type: "link";
4651
- attrs: {
4652
- href: string;
4653
- };
4654
- } | {
4655
- type: "bold";
4656
- } | {
4657
- type: "italic";
4658
- } | {
4659
- type: "underline";
4660
- } | {
4661
- type: "strike";
4662
- })[] | undefined;
4663
- } | {
4664
- type: "paragraph";
4665
- content: {
4666
- type: "text";
4667
- text: string;
4668
- marks?: ({
4669
- type: "link";
4670
- attrs: {
4671
- href: string;
4672
- };
4673
- } | {
4674
- type: "bold";
4675
- } | {
4676
- type: "italic";
4677
- } | {
4678
- type: "underline";
4679
- } | {
4680
- type: "strike";
4681
- })[] | undefined;
4682
- }[];
4683
- })[];
4684
- };
4685
- heading?: {
4686
- text: string;
4687
- href?: string | undefined;
4688
- } | undefined;
4689
- strapline?: string | undefined;
4690
- };
4691
- sliceId: string;
4692
- hidden?: boolean | undefined;
4693
- } | {
4694
- type: "Hero";
4695
- properties: {
4696
- listId: string;
4697
- maxStories: number;
4698
- heading?: {
4699
- text: string;
4700
- href?: string | undefined;
4701
- } | undefined;
4702
- };
4703
- sliceId: string;
4704
- hidden?: boolean | undefined;
4705
- } | {
4706
- type: "StoryGroup";
4707
- properties: {
4708
- storySlots: [string, ...string[]];
4709
- heading?: {
4710
- text: string;
4711
- href?: string | undefined;
4712
- } | undefined;
4713
- };
4714
- sliceId: string;
4715
- hidden?: boolean | undefined;
4716
- })[];
4717
- schemaVersion: number;
4718
- }>;
4719
- export { HomepageStructureOutputSchema }
4720
- export { HomepageStructureOutputSchema as HomepageStructureOutputSchema_alias_1 }
4721
-
4722
- declare const InteractiveSlice: {
4723
- InputSchema: z.ZodObject<{
4724
- type: z.ZodLiteral<"Interactive">;
4725
- hidden: z.ZodOptional<z.ZodBoolean>;
4726
- properties: z.ZodObject<{
4727
- heading: z.ZodOptional<z.ZodObject<{
4728
- text: z.ZodString;
4729
- href: z.ZodOptional<z.ZodString>;
4730
- }, "strip", z.ZodTypeAny, {
4731
- text: string;
4732
- href?: string | undefined;
4733
- }, {
4734
- text: string;
4735
- href?: string | undefined;
4736
- }>>;
4737
- } & {
4738
- flourishDescription: z.ZodOptional<z.ZodString>;
4739
- flourishId: z.ZodString;
4740
- flourishAltText: z.ZodString;
4741
- storyUUID: z.ZodOptional<z.ZodString>;
4742
- theme: z.ZodOptional<z.ZodString>;
4743
- }, "strip", z.ZodTypeAny, {
4744
- flourishId: string;
4745
- flourishAltText: string;
4746
- heading?: {
4747
- text: string;
4748
- href?: string | undefined;
4749
- } | undefined;
4750
- flourishDescription?: string | undefined;
4751
- storyUUID?: string | undefined;
4752
- theme?: string | undefined;
4753
- }, {
4754
- flourishId: string;
4755
- flourishAltText: string;
4756
- heading?: {
4757
- text: string;
4758
- href?: string | undefined;
4759
- } | undefined;
4760
- flourishDescription?: string | undefined;
4761
- storyUUID?: string | undefined;
4762
- theme?: string | undefined;
4763
- }>;
4764
- } & {
4765
- sliceId: z.ZodOptional<z.ZodString>;
4766
- }, "strip", z.ZodTypeAny, {
4767
- type: "Interactive";
4768
- properties: {
4769
- flourishId: string;
4770
- flourishAltText: string;
4771
- heading?: {
4772
- text: string;
4773
- href?: string | undefined;
4774
- } | undefined;
4775
- flourishDescription?: string | undefined;
4776
- storyUUID?: string | undefined;
4777
- theme?: string | undefined;
4778
- };
4779
- hidden?: boolean | undefined;
4780
- sliceId?: string | undefined;
4781
- }, {
4782
- type: "Interactive";
4783
- properties: {
4784
- flourishId: string;
4785
- flourishAltText: string;
4786
- heading?: {
4787
- text: string;
4788
- href?: string | undefined;
4789
- } | undefined;
4790
- flourishDescription?: string | undefined;
4791
- storyUUID?: string | undefined;
4792
- theme?: string | undefined;
4793
- };
4794
- hidden?: boolean | undefined;
4795
- sliceId?: string | undefined;
4796
- }>;
4797
- OutputSchema: z.ZodObject<{
4798
- type: z.ZodLiteral<"Interactive">;
4799
- hidden: z.ZodOptional<z.ZodBoolean>;
4800
- properties: z.ZodObject<{
4801
- heading: z.ZodOptional<z.ZodObject<{
4802
- text: z.ZodString;
4803
- href: z.ZodOptional<z.ZodString>;
4804
- }, "strip", z.ZodTypeAny, {
4805
- text: string;
4806
- href?: string | undefined;
4807
- }, {
4808
- text: string;
4809
- href?: string | undefined;
4810
- }>>;
4811
- } & {
4812
- flourishDescription: z.ZodOptional<z.ZodString>;
4813
- flourishId: z.ZodString;
4814
- flourishAltText: z.ZodString;
4815
- storyUUID: z.ZodOptional<z.ZodString>;
4816
- theme: z.ZodOptional<z.ZodString>;
4817
- }, "strip", z.ZodTypeAny, {
4818
- flourishId: string;
4819
- flourishAltText: string;
4820
- heading?: {
4821
- text: string;
4822
- href?: string | undefined;
4823
- } | undefined;
4824
- flourishDescription?: string | undefined;
4825
- storyUUID?: string | undefined;
4826
- theme?: string | undefined;
4827
- }, {
4828
- flourishId: string;
4829
- flourishAltText: string;
4830
- heading?: {
4831
- text: string;
4832
- href?: string | undefined;
4833
- } | undefined;
4834
- flourishDescription?: string | undefined;
4835
- storyUUID?: string | undefined;
4836
- theme?: string | undefined;
4837
- }>;
4838
- } & {
4839
- sliceId: z.ZodString;
4840
- }, "strip", z.ZodTypeAny, {
4841
- type: "Interactive";
4842
- properties: {
4843
- flourishId: string;
4844
- flourishAltText: string;
4845
- heading?: {
4846
- text: string;
4847
- href?: string | undefined;
4848
- } | undefined;
4849
- flourishDescription?: string | undefined;
4850
- storyUUID?: string | undefined;
4851
- theme?: string | undefined;
4852
- };
4853
- sliceId: string;
4854
- hidden?: boolean | undefined;
4855
- }, {
4856
- type: "Interactive";
4857
- properties: {
4858
- flourishId: string;
4859
- flourishAltText: string;
4860
- heading?: {
4861
- text: string;
4862
- href?: string | undefined;
4863
- } | undefined;
4864
- flourishDescription?: string | undefined;
4865
- storyUUID?: string | undefined;
4866
- theme?: string | undefined;
4867
- };
4868
- sliceId: string;
4869
- hidden?: boolean | undefined;
4870
- }>;
4871
- };
4872
-
4873
- declare type InteractiveSliceType = z.infer<typeof InteractiveSlice.OutputSchema>;
4874
- export { InteractiveSliceType }
4875
- export { InteractiveSliceType as InteractiveSliceType_alias_1 }
4876
-
4877
- /**
4878
- * Returns `true` when a status code should always be treated as an API Gateway failure.
2313
+ * Returns `true` when a status code should always be treated as an API Gateway failure.
4879
2314
  */
4880
2315
  export declare function isGatewayStatusCode(statusCode: number): boolean;
4881
2316
 
@@ -4948,15 +2383,15 @@ declare const LegacyBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4948
2383
  id: string;
4949
2384
  }>;
4950
2385
  }, "strip", z.ZodTypeAny, {
2386
+ source: "flourish";
4951
2387
  properties: {
4952
2388
  id: string;
4953
2389
  };
4954
- source: "flourish";
4955
2390
  }, {
2391
+ source: "flourish";
4956
2392
  properties: {
4957
2393
  id: string;
4958
2394
  };
4959
- source: "flourish";
4960
2395
  }>, z.ZodObject<{
4961
2396
  source: z.ZodLiteral<"list">;
4962
2397
  properties: z.ZodObject<{
@@ -4970,17 +2405,17 @@ declare const LegacyBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4970
2405
  maxItems?: number | undefined;
4971
2406
  }>;
4972
2407
  }, "strip", z.ZodTypeAny, {
2408
+ source: "list";
4973
2409
  properties: {
4974
2410
  id: string;
4975
2411
  maxItems?: number | undefined;
4976
2412
  };
4977
- source: "list";
4978
2413
  }, {
2414
+ source: "list";
4979
2415
  properties: {
4980
2416
  id: string;
4981
2417
  maxItems?: number | undefined;
4982
2418
  };
4983
- source: "list";
4984
2419
  }>, z.ZodObject<{
4985
2420
  source: z.ZodLiteral<"content">;
4986
2421
  properties: z.ZodObject<{
@@ -4991,15 +2426,15 @@ declare const LegacyBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4991
2426
  ids: [string, ...string[]];
4992
2427
  }>;
4993
2428
  }, "strip", z.ZodTypeAny, {
2429
+ source: "content";
4994
2430
  properties: {
4995
2431
  ids: [string, ...string[]];
4996
2432
  };
4997
- source: "content";
4998
2433
  }, {
2434
+ source: "content";
4999
2435
  properties: {
5000
2436
  ids: [string, ...string[]];
5001
2437
  };
5002
- source: "content";
5003
2438
  }>]>, "many">;
5004
2439
  properties: z.ZodObject<{
5005
2440
  title: z.ZodOptional<z.ZodString>;
@@ -5022,21 +2457,21 @@ declare const LegacyBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5022
2457
  backgroundColor?: string | undefined;
5023
2458
  };
5024
2459
  children: ({
2460
+ source: "flourish";
5025
2461
  properties: {
5026
2462
  id: string;
5027
2463
  };
5028
- source: "flourish";
5029
2464
  } | {
2465
+ source: "list";
5030
2466
  properties: {
5031
2467
  id: string;
5032
2468
  maxItems?: number | undefined;
5033
2469
  };
5034
- source: "list";
5035
2470
  } | {
2471
+ source: "content";
5036
2472
  properties: {
5037
2473
  ids: [string, ...string[]];
5038
2474
  };
5039
- source: "content";
5040
2475
  })[];
5041
2476
  }, {
5042
2477
  type: "container";
@@ -5046,21 +2481,21 @@ declare const LegacyBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5046
2481
  backgroundColor?: string | undefined;
5047
2482
  };
5048
2483
  children: ({
2484
+ source: "flourish";
5049
2485
  properties: {
5050
2486
  id: string;
5051
2487
  };
5052
- source: "flourish";
5053
2488
  } | {
2489
+ source: "list";
5054
2490
  properties: {
5055
2491
  id: string;
5056
2492
  maxItems?: number | undefined;
5057
2493
  };
5058
- source: "list";
5059
2494
  } | {
2495
+ source: "content";
5060
2496
  properties: {
5061
2497
  ids: [string, ...string[]];
5062
2498
  };
5063
- source: "content";
5064
2499
  })[];
5065
2500
  }>, z.ZodObject<{
5066
2501
  type: z.ZodLiteral<"experiment">;
@@ -5080,16 +2515,16 @@ declare const LegacyBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5080
2515
  format?: "json" | undefined;
5081
2516
  }>>;
5082
2517
  }, "strip", z.ZodTypeAny, {
5083
- experimentName: string;
5084
2518
  id: string;
2519
+ experimentName: string;
5085
2520
  title?: string | undefined;
5086
2521
  config?: {
5087
2522
  value?: unknown;
5088
2523
  format?: "json" | undefined;
5089
2524
  } | undefined;
5090
2525
  }, {
5091
- experimentName: string;
5092
2526
  id: string;
2527
+ experimentName: string;
5093
2528
  title?: string | undefined;
5094
2529
  config?: {
5095
2530
  value?: unknown;
@@ -5099,8 +2534,8 @@ declare const LegacyBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5099
2534
  }, "strip", z.ZodTypeAny, {
5100
2535
  type: "experiment";
5101
2536
  properties: {
5102
- experimentName: string;
5103
2537
  id: string;
2538
+ experimentName: string;
5104
2539
  title?: string | undefined;
5105
2540
  config?: {
5106
2541
  value?: unknown;
@@ -5111,8 +2546,8 @@ declare const LegacyBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5111
2546
  }, {
5112
2547
  type: "experiment";
5113
2548
  properties: {
5114
- experimentName: string;
5115
2549
  id: string;
2550
+ experimentName: string;
5116
2551
  title?: string | undefined;
5117
2552
  config?: {
5118
2553
  value?: unknown;
@@ -5197,15 +2632,15 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5197
2632
  id: string;
5198
2633
  }>;
5199
2634
  }, "strip", z.ZodTypeAny, {
2635
+ source: "flourish";
5200
2636
  properties: {
5201
2637
  id: string;
5202
2638
  };
5203
- source: "flourish";
5204
2639
  }, {
2640
+ source: "flourish";
5205
2641
  properties: {
5206
2642
  id: string;
5207
2643
  };
5208
- source: "flourish";
5209
2644
  }>, z.ZodObject<{
5210
2645
  source: z.ZodLiteral<"list">;
5211
2646
  properties: z.ZodObject<{
@@ -5219,17 +2654,17 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5219
2654
  maxItems?: number | undefined;
5220
2655
  }>;
5221
2656
  }, "strip", z.ZodTypeAny, {
2657
+ source: "list";
5222
2658
  properties: {
5223
2659
  id: string;
5224
2660
  maxItems?: number | undefined;
5225
2661
  };
5226
- source: "list";
5227
2662
  }, {
2663
+ source: "list";
5228
2664
  properties: {
5229
2665
  id: string;
5230
2666
  maxItems?: number | undefined;
5231
2667
  };
5232
- source: "list";
5233
2668
  }>, z.ZodObject<{
5234
2669
  source: z.ZodLiteral<"content">;
5235
2670
  properties: z.ZodObject<{
@@ -5240,15 +2675,15 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5240
2675
  ids: [string, ...string[]];
5241
2676
  }>;
5242
2677
  }, "strip", z.ZodTypeAny, {
2678
+ source: "content";
5243
2679
  properties: {
5244
2680
  ids: [string, ...string[]];
5245
2681
  };
5246
- source: "content";
5247
2682
  }, {
2683
+ source: "content";
5248
2684
  properties: {
5249
2685
  ids: [string, ...string[]];
5250
2686
  };
5251
- source: "content";
5252
2687
  }>]>, "many">;
5253
2688
  properties: z.ZodObject<{
5254
2689
  title: z.ZodOptional<z.ZodString>;
@@ -5271,21 +2706,21 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5271
2706
  backgroundColor?: string | undefined;
5272
2707
  };
5273
2708
  children: ({
2709
+ source: "flourish";
5274
2710
  properties: {
5275
2711
  id: string;
5276
2712
  };
5277
- source: "flourish";
5278
2713
  } | {
2714
+ source: "list";
5279
2715
  properties: {
5280
2716
  id: string;
5281
2717
  maxItems?: number | undefined;
5282
2718
  };
5283
- source: "list";
5284
2719
  } | {
2720
+ source: "content";
5285
2721
  properties: {
5286
2722
  ids: [string, ...string[]];
5287
2723
  };
5288
- source: "content";
5289
2724
  })[];
5290
2725
  }, {
5291
2726
  type: "container";
@@ -5295,21 +2730,21 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5295
2730
  backgroundColor?: string | undefined;
5296
2731
  };
5297
2732
  children: ({
2733
+ source: "flourish";
5298
2734
  properties: {
5299
2735
  id: string;
5300
2736
  };
5301
- source: "flourish";
5302
2737
  } | {
2738
+ source: "list";
5303
2739
  properties: {
5304
2740
  id: string;
5305
2741
  maxItems?: number | undefined;
5306
2742
  };
5307
- source: "list";
5308
2743
  } | {
2744
+ source: "content";
5309
2745
  properties: {
5310
2746
  ids: [string, ...string[]];
5311
2747
  };
5312
- source: "content";
5313
2748
  })[];
5314
2749
  }>, z.ZodObject<{
5315
2750
  type: z.ZodLiteral<"experiment">;
@@ -5329,16 +2764,16 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5329
2764
  format?: "json" | undefined;
5330
2765
  }>>;
5331
2766
  }, "strip", z.ZodTypeAny, {
5332
- experimentName: string;
5333
2767
  id: string;
2768
+ experimentName: string;
5334
2769
  title?: string | undefined;
5335
2770
  config?: {
5336
2771
  value?: unknown;
5337
2772
  format?: "json" | undefined;
5338
2773
  } | undefined;
5339
2774
  }, {
5340
- experimentName: string;
5341
2775
  id: string;
2776
+ experimentName: string;
5342
2777
  title?: string | undefined;
5343
2778
  config?: {
5344
2779
  value?: unknown;
@@ -5348,8 +2783,8 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5348
2783
  }, "strip", z.ZodTypeAny, {
5349
2784
  type: "experiment";
5350
2785
  properties: {
5351
- experimentName: string;
5352
2786
  id: string;
2787
+ experimentName: string;
5353
2788
  title?: string | undefined;
5354
2789
  config?: {
5355
2790
  value?: unknown;
@@ -5360,8 +2795,8 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5360
2795
  }, {
5361
2796
  type: "experiment";
5362
2797
  properties: {
5363
- experimentName: string;
5364
2798
  id: string;
2799
+ experimentName: string;
5365
2800
  title?: string | undefined;
5366
2801
  config?: {
5367
2802
  value?: unknown;
@@ -5394,27 +2829,27 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5394
2829
  backgroundColor?: string | undefined;
5395
2830
  };
5396
2831
  children: ({
2832
+ source: "flourish";
5397
2833
  properties: {
5398
2834
  id: string;
5399
2835
  };
5400
- source: "flourish";
5401
2836
  } | {
2837
+ source: "list";
5402
2838
  properties: {
5403
2839
  id: string;
5404
2840
  maxItems?: number | undefined;
5405
2841
  };
5406
- source: "list";
5407
2842
  } | {
2843
+ source: "content";
5408
2844
  properties: {
5409
2845
  ids: [string, ...string[]];
5410
2846
  };
5411
- source: "content";
5412
2847
  })[];
5413
2848
  } | {
5414
2849
  type: "experiment";
5415
2850
  properties: {
5416
- experimentName: string;
5417
2851
  id: string;
2852
+ experimentName: string;
5418
2853
  title?: string | undefined;
5419
2854
  config?: {
5420
2855
  value?: unknown;
@@ -5424,8 +2859,8 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5424
2859
  children: [];
5425
2860
  })[];
5426
2861
  conceptId?: string | undefined;
5427
- metaDescription?: string | undefined;
5428
2862
  themeName?: string | undefined;
2863
+ metaDescription?: string | undefined;
5429
2864
  }, {
5430
2865
  title: string;
5431
2866
  uuid: string;
@@ -5450,27 +2885,27 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5450
2885
  backgroundColor?: string | undefined;
5451
2886
  };
5452
2887
  children: ({
2888
+ source: "flourish";
5453
2889
  properties: {
5454
2890
  id: string;
5455
2891
  };
5456
- source: "flourish";
5457
2892
  } | {
2893
+ source: "list";
5458
2894
  properties: {
5459
2895
  id: string;
5460
2896
  maxItems?: number | undefined;
5461
2897
  };
5462
- source: "list";
5463
2898
  } | {
2899
+ source: "content";
5464
2900
  properties: {
5465
2901
  ids: [string, ...string[]];
5466
2902
  };
5467
- source: "content";
5468
2903
  })[];
5469
2904
  } | {
5470
2905
  type: "experiment";
5471
2906
  properties: {
5472
- experimentName: string;
5473
2907
  id: string;
2908
+ experimentName: string;
5474
2909
  title?: string | undefined;
5475
2910
  config?: {
5476
2911
  value?: unknown;
@@ -5480,8 +2915,8 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5480
2915
  children: [];
5481
2916
  })[];
5482
2917
  conceptId?: string | undefined;
5483
- metaDescription?: string | undefined;
5484
2918
  themeName?: string | undefined;
2919
+ metaDescription?: string | undefined;
5485
2920
  }>;
5486
2921
  export { LegacyPageStructureOutputSchema }
5487
2922
  export { LegacyPageStructureOutputSchema as LegacyPageStructureOutputSchema_alias_1 }
@@ -5539,73 +2974,29 @@ declare const PageDraftSchema: z.ZodObject<{
5539
2974
  pageTheme: z.ZodOptional<z.ZodString>;
5540
2975
  sponsorText: z.ZodOptional<z.ZodString>;
5541
2976
  sponsorImage: z.ZodOptional<z.ZodString>;
2977
+ pageCategory: z.ZodOptional<z.ZodString>;
5542
2978
  }, "strip", z.ZodTypeAny, {
5543
2979
  title: string;
5544
2980
  pageId: string;
5545
2981
  publicationId: string;
2982
+ sponsorText?: string | undefined;
2983
+ sponsorImage?: string | undefined;
5546
2984
  conceptId?: string | undefined;
5547
2985
  metaDescription?: string | undefined;
5548
2986
  pageTheme?: string | undefined;
5549
- sponsorText?: string | undefined;
5550
- sponsorImage?: string | undefined;
2987
+ pageCategory?: string | undefined;
5551
2988
  }, {
5552
2989
  title: string;
5553
2990
  pageId: string;
5554
2991
  publicationId: string;
2992
+ sponsorText?: string | undefined;
2993
+ sponsorImage?: string | undefined;
5555
2994
  conceptId?: string | undefined;
5556
2995
  metaDescription?: string | undefined;
5557
2996
  pageTheme?: string | undefined;
5558
- sponsorText?: string | undefined;
5559
- sponsorImage?: string | undefined;
2997
+ pageCategory?: string | undefined;
5560
2998
  }>;
5561
2999
  children: z.ZodArray<z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{
5562
- type: z.ZodLiteral<"HomepageSlice">;
5563
- hidden: z.ZodOptional<z.ZodBoolean>;
5564
- properties: z.ZodOptional<z.ZodObject<{
5565
- heading: z.ZodOptional<z.ZodObject<{
5566
- text: z.ZodString;
5567
- href: z.ZodOptional<z.ZodString>;
5568
- }, "strip", z.ZodTypeAny, {
5569
- text: string;
5570
- href?: string | undefined;
5571
- }, {
5572
- text: string;
5573
- href?: string | undefined;
5574
- }>>;
5575
- }, "strip", z.ZodTypeAny, {
5576
- heading?: {
5577
- text: string;
5578
- href?: string | undefined;
5579
- } | undefined;
5580
- }, {
5581
- heading?: {
5582
- text: string;
5583
- href?: string | undefined;
5584
- } | undefined;
5585
- }>>;
5586
- } & {
5587
- sliceId: z.ZodString;
5588
- }, "strip", z.ZodTypeAny, {
5589
- type: "HomepageSlice";
5590
- sliceId: string;
5591
- hidden?: boolean | undefined;
5592
- properties?: {
5593
- heading?: {
5594
- text: string;
5595
- href?: string | undefined;
5596
- } | undefined;
5597
- } | undefined;
5598
- }, {
5599
- type: "HomepageSlice";
5600
- sliceId: string;
5601
- hidden?: boolean | undefined;
5602
- properties?: {
5603
- heading?: {
5604
- text: string;
5605
- href?: string | undefined;
5606
- } | undefined;
5607
- } | undefined;
5608
- }>, z.ZodObject<{
5609
3000
  type: z.ZodLiteral<"Interactive">;
5610
3001
  hidden: z.ZodOptional<z.ZodBoolean>;
5611
3002
  properties: z.ZodObject<{
@@ -5697,16 +3088,16 @@ declare const PageDraftSchema: z.ZodObject<{
5697
3088
  experimentName: z.ZodString;
5698
3089
  contentJson: z.ZodEffects<z.ZodString, string, string>;
5699
3090
  }, "strip", z.ZodTypeAny, {
5700
- experimentId: string;
5701
3091
  experimentName: string;
3092
+ experimentId: string;
5702
3093
  contentJson: string;
5703
3094
  heading?: {
5704
3095
  text: string;
5705
3096
  href?: string | undefined;
5706
3097
  } | undefined;
5707
3098
  }, {
5708
- experimentId: string;
5709
3099
  experimentName: string;
3100
+ experimentId: string;
5710
3101
  contentJson: string;
5711
3102
  heading?: {
5712
3103
  text: string;
@@ -5718,8 +3109,8 @@ declare const PageDraftSchema: z.ZodObject<{
5718
3109
  }, "strip", z.ZodTypeAny, {
5719
3110
  type: "Experiment";
5720
3111
  properties: {
5721
- experimentId: string;
5722
3112
  experimentName: string;
3113
+ experimentId: string;
5723
3114
  contentJson: string;
5724
3115
  heading?: {
5725
3116
  text: string;
@@ -5731,8 +3122,8 @@ declare const PageDraftSchema: z.ZodObject<{
5731
3122
  }, {
5732
3123
  type: "Experiment";
5733
3124
  properties: {
5734
- experimentId: string;
5735
3125
  experimentName: string;
3126
+ experimentId: string;
5736
3127
  contentJson: string;
5737
3128
  heading?: {
5738
3129
  text: string;
@@ -6423,23 +3814,14 @@ declare const PageDraftSchema: z.ZodObject<{
6423
3814
  title: string;
6424
3815
  pageId: string;
6425
3816
  publicationId: string;
3817
+ sponsorText?: string | undefined;
3818
+ sponsorImage?: string | undefined;
6426
3819
  conceptId?: string | undefined;
6427
3820
  metaDescription?: string | undefined;
6428
3821
  pageTheme?: string | undefined;
6429
- sponsorText?: string | undefined;
6430
- sponsorImage?: string | undefined;
3822
+ pageCategory?: string | undefined;
6431
3823
  };
6432
3824
  children: ({
6433
- type: "HomepageSlice";
6434
- sliceId: string;
6435
- hidden?: boolean | undefined;
6436
- properties?: {
6437
- heading?: {
6438
- text: string;
6439
- href?: string | undefined;
6440
- } | undefined;
6441
- } | undefined;
6442
- } | {
6443
3825
  type: "Interactive";
6444
3826
  properties: {
6445
3827
  flourishId: string;
@@ -6457,8 +3839,8 @@ declare const PageDraftSchema: z.ZodObject<{
6457
3839
  } | {
6458
3840
  type: "Experiment";
6459
3841
  properties: {
6460
- experimentId: string;
6461
3842
  experimentName: string;
3843
+ experimentId: string;
6462
3844
  contentJson: string;
6463
3845
  heading?: {
6464
3846
  text: string;
@@ -6562,23 +3944,14 @@ declare const PageDraftSchema: z.ZodObject<{
6562
3944
  title: string;
6563
3945
  pageId: string;
6564
3946
  publicationId: string;
3947
+ sponsorText?: string | undefined;
3948
+ sponsorImage?: string | undefined;
6565
3949
  conceptId?: string | undefined;
6566
3950
  metaDescription?: string | undefined;
6567
3951
  pageTheme?: string | undefined;
6568
- sponsorText?: string | undefined;
6569
- sponsorImage?: string | undefined;
3952
+ pageCategory?: string | undefined;
6570
3953
  };
6571
3954
  children: ({
6572
- type: "HomepageSlice";
6573
- sliceId: string;
6574
- hidden?: boolean | undefined;
6575
- properties?: {
6576
- heading?: {
6577
- text: string;
6578
- href?: string | undefined;
6579
- } | undefined;
6580
- } | undefined;
6581
- } | {
6582
3955
  type: "Interactive";
6583
3956
  properties: {
6584
3957
  flourishId: string;
@@ -6596,8 +3969,8 @@ declare const PageDraftSchema: z.ZodObject<{
6596
3969
  } | {
6597
3970
  type: "Experiment";
6598
3971
  properties: {
6599
- experimentId: string;
6600
3972
  experimentName: string;
3973
+ experimentId: string;
6601
3974
  contentJson: string;
6602
3975
  heading?: {
6603
3976
  text: string;
@@ -6713,23 +4086,14 @@ declare const PageDraftSchema: z.ZodObject<{
6713
4086
  title: string;
6714
4087
  pageId: string;
6715
4088
  publicationId: string;
4089
+ sponsorText?: string | undefined;
4090
+ sponsorImage?: string | undefined;
6716
4091
  conceptId?: string | undefined;
6717
4092
  metaDescription?: string | undefined;
6718
4093
  pageTheme?: string | undefined;
6719
- sponsorText?: string | undefined;
6720
- sponsorImage?: string | undefined;
4094
+ pageCategory?: string | undefined;
6721
4095
  };
6722
4096
  children: ({
6723
- type: "HomepageSlice";
6724
- sliceId: string;
6725
- hidden?: boolean | undefined;
6726
- properties?: {
6727
- heading?: {
6728
- text: string;
6729
- href?: string | undefined;
6730
- } | undefined;
6731
- } | undefined;
6732
- } | {
6733
4097
  type: "Interactive";
6734
4098
  properties: {
6735
4099
  flourishId: string;
@@ -6747,8 +4111,8 @@ declare const PageDraftSchema: z.ZodObject<{
6747
4111
  } | {
6748
4112
  type: "Experiment";
6749
4113
  properties: {
6750
- experimentId: string;
6751
4114
  experimentName: string;
4115
+ experimentId: string;
6752
4116
  contentJson: string;
6753
4117
  heading?: {
6754
4118
  text: string;
@@ -6864,23 +4228,14 @@ declare const PageDraftSchema: z.ZodObject<{
6864
4228
  title: string;
6865
4229
  pageId: string;
6866
4230
  publicationId: string;
4231
+ sponsorText?: string | undefined;
4232
+ sponsorImage?: string | undefined;
6867
4233
  conceptId?: string | undefined;
6868
4234
  metaDescription?: string | undefined;
6869
4235
  pageTheme?: string | undefined;
6870
- sponsorText?: string | undefined;
6871
- sponsorImage?: string | undefined;
4236
+ pageCategory?: string | undefined;
6872
4237
  };
6873
4238
  children: ({
6874
- type: "HomepageSlice";
6875
- sliceId: string;
6876
- hidden?: boolean | undefined;
6877
- properties?: {
6878
- heading?: {
6879
- text: string;
6880
- href?: string | undefined;
6881
- } | undefined;
6882
- } | undefined;
6883
- } | {
6884
4239
  type: "Interactive";
6885
4240
  properties: {
6886
4241
  flourishId: string;
@@ -6898,8 +4253,8 @@ declare const PageDraftSchema: z.ZodObject<{
6898
4253
  } | {
6899
4254
  type: "Experiment";
6900
4255
  properties: {
6901
- experimentId: string;
6902
4256
  experimentName: string;
4257
+ experimentId: string;
6903
4258
  contentJson: string;
6904
4259
  heading?: {
6905
4260
  text: string;
@@ -7022,73 +4377,29 @@ declare const PageStructureInputSchema: z.ZodObject<{
7022
4377
  pageTheme: z.ZodOptional<z.ZodString>;
7023
4378
  sponsorText: z.ZodOptional<z.ZodString>;
7024
4379
  sponsorImage: z.ZodOptional<z.ZodString>;
4380
+ pageCategory: z.ZodOptional<z.ZodString>;
7025
4381
  }, "strip", z.ZodTypeAny, {
7026
4382
  title: string;
7027
4383
  pageId: string;
7028
4384
  publicationId: string;
4385
+ sponsorText?: string | undefined;
4386
+ sponsorImage?: string | undefined;
7029
4387
  conceptId?: string | undefined;
7030
4388
  metaDescription?: string | undefined;
7031
4389
  pageTheme?: string | undefined;
7032
- sponsorText?: string | undefined;
7033
- sponsorImage?: string | undefined;
4390
+ pageCategory?: string | undefined;
7034
4391
  }, {
7035
4392
  title: string;
7036
4393
  pageId: string;
7037
4394
  publicationId: string;
4395
+ sponsorText?: string | undefined;
4396
+ sponsorImage?: string | undefined;
7038
4397
  conceptId?: string | undefined;
7039
4398
  metaDescription?: string | undefined;
7040
4399
  pageTheme?: string | undefined;
7041
- sponsorText?: string | undefined;
7042
- sponsorImage?: string | undefined;
4400
+ pageCategory?: string | undefined;
7043
4401
  }>;
7044
4402
  children: z.ZodArray<z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{
7045
- type: z.ZodLiteral<"HomepageSlice">;
7046
- hidden: z.ZodOptional<z.ZodBoolean>;
7047
- properties: z.ZodOptional<z.ZodObject<{
7048
- heading: z.ZodOptional<z.ZodObject<{
7049
- text: z.ZodString;
7050
- href: z.ZodOptional<z.ZodString>;
7051
- }, "strip", z.ZodTypeAny, {
7052
- text: string;
7053
- href?: string | undefined;
7054
- }, {
7055
- text: string;
7056
- href?: string | undefined;
7057
- }>>;
7058
- }, "strip", z.ZodTypeAny, {
7059
- heading?: {
7060
- text: string;
7061
- href?: string | undefined;
7062
- } | undefined;
7063
- }, {
7064
- heading?: {
7065
- text: string;
7066
- href?: string | undefined;
7067
- } | undefined;
7068
- }>>;
7069
- } & {
7070
- sliceId: z.ZodOptional<z.ZodString>;
7071
- }, "strip", z.ZodTypeAny, {
7072
- type: "HomepageSlice";
7073
- hidden?: boolean | undefined;
7074
- properties?: {
7075
- heading?: {
7076
- text: string;
7077
- href?: string | undefined;
7078
- } | undefined;
7079
- } | undefined;
7080
- sliceId?: string | undefined;
7081
- }, {
7082
- type: "HomepageSlice";
7083
- hidden?: boolean | undefined;
7084
- properties?: {
7085
- heading?: {
7086
- text: string;
7087
- href?: string | undefined;
7088
- } | undefined;
7089
- } | undefined;
7090
- sliceId?: string | undefined;
7091
- }>, z.ZodObject<{
7092
4403
  type: z.ZodLiteral<"Interactive">;
7093
4404
  hidden: z.ZodOptional<z.ZodBoolean>;
7094
4405
  properties: z.ZodObject<{
@@ -7180,16 +4491,16 @@ declare const PageStructureInputSchema: z.ZodObject<{
7180
4491
  experimentName: z.ZodString;
7181
4492
  contentJson: z.ZodEffects<z.ZodString, string, string>;
7182
4493
  }, "strip", z.ZodTypeAny, {
7183
- experimentId: string;
7184
4494
  experimentName: string;
4495
+ experimentId: string;
7185
4496
  contentJson: string;
7186
4497
  heading?: {
7187
4498
  text: string;
7188
4499
  href?: string | undefined;
7189
4500
  } | undefined;
7190
4501
  }, {
7191
- experimentId: string;
7192
4502
  experimentName: string;
4503
+ experimentId: string;
7193
4504
  contentJson: string;
7194
4505
  heading?: {
7195
4506
  text: string;
@@ -7201,8 +4512,8 @@ declare const PageStructureInputSchema: z.ZodObject<{
7201
4512
  }, "strip", z.ZodTypeAny, {
7202
4513
  type: "Experiment";
7203
4514
  properties: {
7204
- experimentId: string;
7205
4515
  experimentName: string;
4516
+ experimentId: string;
7206
4517
  contentJson: string;
7207
4518
  heading?: {
7208
4519
  text: string;
@@ -7214,8 +4525,8 @@ declare const PageStructureInputSchema: z.ZodObject<{
7214
4525
  }, {
7215
4526
  type: "Experiment";
7216
4527
  properties: {
7217
- experimentId: string;
7218
4528
  experimentName: string;
4529
+ experimentId: string;
7219
4530
  contentJson: string;
7220
4531
  heading?: {
7221
4532
  text: string;
@@ -7905,23 +5216,14 @@ declare const PageStructureInputSchema: z.ZodObject<{
7905
5216
  title: string;
7906
5217
  pageId: string;
7907
5218
  publicationId: string;
5219
+ sponsorText?: string | undefined;
5220
+ sponsorImage?: string | undefined;
7908
5221
  conceptId?: string | undefined;
7909
5222
  metaDescription?: string | undefined;
7910
5223
  pageTheme?: string | undefined;
7911
- sponsorText?: string | undefined;
7912
- sponsorImage?: string | undefined;
5224
+ pageCategory?: string | undefined;
7913
5225
  };
7914
5226
  children: ({
7915
- type: "HomepageSlice";
7916
- hidden?: boolean | undefined;
7917
- properties?: {
7918
- heading?: {
7919
- text: string;
7920
- href?: string | undefined;
7921
- } | undefined;
7922
- } | undefined;
7923
- sliceId?: string | undefined;
7924
- } | {
7925
5227
  type: "Interactive";
7926
5228
  properties: {
7927
5229
  flourishId: string;
@@ -7939,8 +5241,8 @@ declare const PageStructureInputSchema: z.ZodObject<{
7939
5241
  } | {
7940
5242
  type: "Experiment";
7941
5243
  properties: {
7942
- experimentId: string;
7943
5244
  experimentName: string;
5245
+ experimentId: string;
7944
5246
  contentJson: string;
7945
5247
  heading?: {
7946
5248
  text: string;
@@ -8042,23 +5344,14 @@ declare const PageStructureInputSchema: z.ZodObject<{
8042
5344
  title: string;
8043
5345
  pageId: string;
8044
5346
  publicationId: string;
5347
+ sponsorText?: string | undefined;
5348
+ sponsorImage?: string | undefined;
8045
5349
  conceptId?: string | undefined;
8046
5350
  metaDescription?: string | undefined;
8047
5351
  pageTheme?: string | undefined;
8048
- sponsorText?: string | undefined;
8049
- sponsorImage?: string | undefined;
5352
+ pageCategory?: string | undefined;
8050
5353
  };
8051
5354
  children: ({
8052
- type: "HomepageSlice";
8053
- hidden?: boolean | undefined;
8054
- properties?: {
8055
- heading?: {
8056
- text: string;
8057
- href?: string | undefined;
8058
- } | undefined;
8059
- } | undefined;
8060
- sliceId?: string | undefined;
8061
- } | {
8062
5355
  type: "Interactive";
8063
5356
  properties: {
8064
5357
  flourishId: string;
@@ -8076,8 +5369,8 @@ declare const PageStructureInputSchema: z.ZodObject<{
8076
5369
  } | {
8077
5370
  type: "Experiment";
8078
5371
  properties: {
8079
- experimentId: string;
8080
5372
  experimentName: string;
5373
+ experimentId: string;
8081
5374
  contentJson: string;
8082
5375
  heading?: {
8083
5376
  text: string;
@@ -8198,73 +5491,29 @@ declare const PageStructureOutputSchema: z.ZodObject<{
8198
5491
  pageTheme: z.ZodOptional<z.ZodString>;
8199
5492
  sponsorText: z.ZodOptional<z.ZodString>;
8200
5493
  sponsorImage: z.ZodOptional<z.ZodString>;
5494
+ pageCategory: z.ZodOptional<z.ZodString>;
8201
5495
  }, "strip", z.ZodTypeAny, {
8202
5496
  title: string;
8203
5497
  pageId: string;
8204
5498
  publicationId: string;
8205
- conceptId?: string | undefined;
8206
- metaDescription?: string | undefined;
8207
- pageTheme?: string | undefined;
8208
- sponsorText?: string | undefined;
8209
- sponsorImage?: string | undefined;
8210
- }, {
8211
- title: string;
8212
- pageId: string;
8213
- publicationId: string;
8214
- conceptId?: string | undefined;
8215
- metaDescription?: string | undefined;
8216
- pageTheme?: string | undefined;
8217
5499
  sponsorText?: string | undefined;
8218
- sponsorImage?: string | undefined;
8219
- }>;
8220
- children: z.ZodArray<z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{
8221
- type: z.ZodLiteral<"HomepageSlice">;
8222
- hidden: z.ZodOptional<z.ZodBoolean>;
8223
- properties: z.ZodOptional<z.ZodObject<{
8224
- heading: z.ZodOptional<z.ZodObject<{
8225
- text: z.ZodString;
8226
- href: z.ZodOptional<z.ZodString>;
8227
- }, "strip", z.ZodTypeAny, {
8228
- text: string;
8229
- href?: string | undefined;
8230
- }, {
8231
- text: string;
8232
- href?: string | undefined;
8233
- }>>;
8234
- }, "strip", z.ZodTypeAny, {
8235
- heading?: {
8236
- text: string;
8237
- href?: string | undefined;
8238
- } | undefined;
8239
- }, {
8240
- heading?: {
8241
- text: string;
8242
- href?: string | undefined;
8243
- } | undefined;
8244
- }>>;
8245
- } & {
8246
- sliceId: z.ZodString;
8247
- }, "strip", z.ZodTypeAny, {
8248
- type: "HomepageSlice";
8249
- sliceId: string;
8250
- hidden?: boolean | undefined;
8251
- properties?: {
8252
- heading?: {
8253
- text: string;
8254
- href?: string | undefined;
8255
- } | undefined;
8256
- } | undefined;
8257
- }, {
8258
- type: "HomepageSlice";
8259
- sliceId: string;
8260
- hidden?: boolean | undefined;
8261
- properties?: {
8262
- heading?: {
8263
- text: string;
8264
- href?: string | undefined;
8265
- } | undefined;
8266
- } | undefined;
8267
- }>, z.ZodObject<{
5500
+ sponsorImage?: string | undefined;
5501
+ conceptId?: string | undefined;
5502
+ metaDescription?: string | undefined;
5503
+ pageTheme?: string | undefined;
5504
+ pageCategory?: string | undefined;
5505
+ }, {
5506
+ title: string;
5507
+ pageId: string;
5508
+ publicationId: string;
5509
+ sponsorText?: string | undefined;
5510
+ sponsorImage?: string | undefined;
5511
+ conceptId?: string | undefined;
5512
+ metaDescription?: string | undefined;
5513
+ pageTheme?: string | undefined;
5514
+ pageCategory?: string | undefined;
5515
+ }>;
5516
+ children: z.ZodArray<z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{
8268
5517
  type: z.ZodLiteral<"Interactive">;
8269
5518
  hidden: z.ZodOptional<z.ZodBoolean>;
8270
5519
  properties: z.ZodObject<{
@@ -8356,16 +5605,16 @@ declare const PageStructureOutputSchema: z.ZodObject<{
8356
5605
  experimentName: z.ZodString;
8357
5606
  contentJson: z.ZodEffects<z.ZodString, string, string>;
8358
5607
  }, "strip", z.ZodTypeAny, {
8359
- experimentId: string;
8360
5608
  experimentName: string;
5609
+ experimentId: string;
8361
5610
  contentJson: string;
8362
5611
  heading?: {
8363
5612
  text: string;
8364
5613
  href?: string | undefined;
8365
5614
  } | undefined;
8366
5615
  }, {
8367
- experimentId: string;
8368
5616
  experimentName: string;
5617
+ experimentId: string;
8369
5618
  contentJson: string;
8370
5619
  heading?: {
8371
5620
  text: string;
@@ -8377,8 +5626,8 @@ declare const PageStructureOutputSchema: z.ZodObject<{
8377
5626
  }, "strip", z.ZodTypeAny, {
8378
5627
  type: "Experiment";
8379
5628
  properties: {
8380
- experimentId: string;
8381
5629
  experimentName: string;
5630
+ experimentId: string;
8382
5631
  contentJson: string;
8383
5632
  heading?: {
8384
5633
  text: string;
@@ -8390,8 +5639,8 @@ declare const PageStructureOutputSchema: z.ZodObject<{
8390
5639
  }, {
8391
5640
  type: "Experiment";
8392
5641
  properties: {
8393
- experimentId: string;
8394
5642
  experimentName: string;
5643
+ experimentId: string;
8395
5644
  contentJson: string;
8396
5645
  heading?: {
8397
5646
  text: string;
@@ -9082,23 +6331,14 @@ declare const PageStructureOutputSchema: z.ZodObject<{
9082
6331
  title: string;
9083
6332
  pageId: string;
9084
6333
  publicationId: string;
6334
+ sponsorText?: string | undefined;
6335
+ sponsorImage?: string | undefined;
9085
6336
  conceptId?: string | undefined;
9086
6337
  metaDescription?: string | undefined;
9087
6338
  pageTheme?: string | undefined;
9088
- sponsorText?: string | undefined;
9089
- sponsorImage?: string | undefined;
6339
+ pageCategory?: string | undefined;
9090
6340
  };
9091
6341
  children: ({
9092
- type: "HomepageSlice";
9093
- sliceId: string;
9094
- hidden?: boolean | undefined;
9095
- properties?: {
9096
- heading?: {
9097
- text: string;
9098
- href?: string | undefined;
9099
- } | undefined;
9100
- } | undefined;
9101
- } | {
9102
6342
  type: "Interactive";
9103
6343
  properties: {
9104
6344
  flourishId: string;
@@ -9116,8 +6356,8 @@ declare const PageStructureOutputSchema: z.ZodObject<{
9116
6356
  } | {
9117
6357
  type: "Experiment";
9118
6358
  properties: {
9119
- experimentId: string;
9120
6359
  experimentName: string;
6360
+ experimentId: string;
9121
6361
  contentJson: string;
9122
6362
  heading?: {
9123
6363
  text: string;
@@ -9221,23 +6461,14 @@ declare const PageStructureOutputSchema: z.ZodObject<{
9221
6461
  title: string;
9222
6462
  pageId: string;
9223
6463
  publicationId: string;
6464
+ sponsorText?: string | undefined;
6465
+ sponsorImage?: string | undefined;
9224
6466
  conceptId?: string | undefined;
9225
6467
  metaDescription?: string | undefined;
9226
6468
  pageTheme?: string | undefined;
9227
- sponsorText?: string | undefined;
9228
- sponsorImage?: string | undefined;
6469
+ pageCategory?: string | undefined;
9229
6470
  };
9230
6471
  children: ({
9231
- type: "HomepageSlice";
9232
- sliceId: string;
9233
- hidden?: boolean | undefined;
9234
- properties?: {
9235
- heading?: {
9236
- text: string;
9237
- href?: string | undefined;
9238
- } | undefined;
9239
- } | undefined;
9240
- } | {
9241
6472
  type: "Interactive";
9242
6473
  properties: {
9243
6474
  flourishId: string;
@@ -9255,8 +6486,8 @@ declare const PageStructureOutputSchema: z.ZodObject<{
9255
6486
  } | {
9256
6487
  type: "Experiment";
9257
6488
  properties: {
9258
- experimentId: string;
9259
6489
  experimentName: string;
6490
+ experimentId: string;
9260
6491
  contentJson: string;
9261
6492
  heading?: {
9262
6493
  text: string;
@@ -9428,73 +6659,29 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
9428
6659
  pageTheme: z.ZodOptional<z.ZodString>;
9429
6660
  sponsorText: z.ZodOptional<z.ZodString>;
9430
6661
  sponsorImage: z.ZodOptional<z.ZodString>;
6662
+ pageCategory: z.ZodOptional<z.ZodString>;
9431
6663
  }, "strip", z.ZodTypeAny, {
9432
6664
  title: string;
9433
6665
  pageId: string;
9434
6666
  publicationId: string;
6667
+ sponsorText?: string | undefined;
6668
+ sponsorImage?: string | undefined;
9435
6669
  conceptId?: string | undefined;
9436
6670
  metaDescription?: string | undefined;
9437
6671
  pageTheme?: string | undefined;
9438
- sponsorText?: string | undefined;
9439
- sponsorImage?: string | undefined;
6672
+ pageCategory?: string | undefined;
9440
6673
  }, {
9441
6674
  title: string;
9442
6675
  pageId: string;
9443
6676
  publicationId: string;
6677
+ sponsorText?: string | undefined;
6678
+ sponsorImage?: string | undefined;
9444
6679
  conceptId?: string | undefined;
9445
6680
  metaDescription?: string | undefined;
9446
6681
  pageTheme?: string | undefined;
9447
- sponsorText?: string | undefined;
9448
- sponsorImage?: string | undefined;
6682
+ pageCategory?: string | undefined;
9449
6683
  }>;
9450
6684
  children: z.ZodArray<z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{
9451
- type: z.ZodLiteral<"HomepageSlice">;
9452
- hidden: z.ZodOptional<z.ZodBoolean>;
9453
- properties: z.ZodOptional<z.ZodObject<{
9454
- heading: z.ZodOptional<z.ZodObject<{
9455
- text: z.ZodString;
9456
- href: z.ZodOptional<z.ZodString>;
9457
- }, "strip", z.ZodTypeAny, {
9458
- text: string;
9459
- href?: string | undefined;
9460
- }, {
9461
- text: string;
9462
- href?: string | undefined;
9463
- }>>;
9464
- }, "strip", z.ZodTypeAny, {
9465
- heading?: {
9466
- text: string;
9467
- href?: string | undefined;
9468
- } | undefined;
9469
- }, {
9470
- heading?: {
9471
- text: string;
9472
- href?: string | undefined;
9473
- } | undefined;
9474
- }>>;
9475
- } & {
9476
- sliceId: z.ZodOptional<z.ZodString>;
9477
- }, "strip", z.ZodTypeAny, {
9478
- type: "HomepageSlice";
9479
- hidden?: boolean | undefined;
9480
- properties?: {
9481
- heading?: {
9482
- text: string;
9483
- href?: string | undefined;
9484
- } | undefined;
9485
- } | undefined;
9486
- sliceId?: string | undefined;
9487
- }, {
9488
- type: "HomepageSlice";
9489
- hidden?: boolean | undefined;
9490
- properties?: {
9491
- heading?: {
9492
- text: string;
9493
- href?: string | undefined;
9494
- } | undefined;
9495
- } | undefined;
9496
- sliceId?: string | undefined;
9497
- }>, z.ZodObject<{
9498
6685
  type: z.ZodLiteral<"Interactive">;
9499
6686
  hidden: z.ZodOptional<z.ZodBoolean>;
9500
6687
  properties: z.ZodObject<{
@@ -9586,16 +6773,16 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
9586
6773
  experimentName: z.ZodString;
9587
6774
  contentJson: z.ZodEffects<z.ZodString, string, string>;
9588
6775
  }, "strip", z.ZodTypeAny, {
9589
- experimentId: string;
9590
6776
  experimentName: string;
6777
+ experimentId: string;
9591
6778
  contentJson: string;
9592
6779
  heading?: {
9593
6780
  text: string;
9594
6781
  href?: string | undefined;
9595
6782
  } | undefined;
9596
6783
  }, {
9597
- experimentId: string;
9598
6784
  experimentName: string;
6785
+ experimentId: string;
9599
6786
  contentJson: string;
9600
6787
  heading?: {
9601
6788
  text: string;
@@ -9607,8 +6794,8 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
9607
6794
  }, "strip", z.ZodTypeAny, {
9608
6795
  type: "Experiment";
9609
6796
  properties: {
9610
- experimentId: string;
9611
6797
  experimentName: string;
6798
+ experimentId: string;
9612
6799
  contentJson: string;
9613
6800
  heading?: {
9614
6801
  text: string;
@@ -9620,8 +6807,8 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
9620
6807
  }, {
9621
6808
  type: "Experiment";
9622
6809
  properties: {
9623
- experimentId: string;
9624
6810
  experimentName: string;
6811
+ experimentId: string;
9625
6812
  contentJson: string;
9626
6813
  heading?: {
9627
6814
  text: string;
@@ -10311,23 +7498,14 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
10311
7498
  title: string;
10312
7499
  pageId: string;
10313
7500
  publicationId: string;
7501
+ sponsorText?: string | undefined;
7502
+ sponsorImage?: string | undefined;
10314
7503
  conceptId?: string | undefined;
10315
7504
  metaDescription?: string | undefined;
10316
7505
  pageTheme?: string | undefined;
10317
- sponsorText?: string | undefined;
10318
- sponsorImage?: string | undefined;
7506
+ pageCategory?: string | undefined;
10319
7507
  };
10320
7508
  children: ({
10321
- type: "HomepageSlice";
10322
- hidden?: boolean | undefined;
10323
- properties?: {
10324
- heading?: {
10325
- text: string;
10326
- href?: string | undefined;
10327
- } | undefined;
10328
- } | undefined;
10329
- sliceId?: string | undefined;
10330
- } | {
10331
7509
  type: "Interactive";
10332
7510
  properties: {
10333
7511
  flourishId: string;
@@ -10345,8 +7523,8 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
10345
7523
  } | {
10346
7524
  type: "Experiment";
10347
7525
  properties: {
10348
- experimentId: string;
10349
7526
  experimentName: string;
7527
+ experimentId: string;
10350
7528
  contentJson: string;
10351
7529
  heading?: {
10352
7530
  text: string;
@@ -10448,23 +7626,14 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
10448
7626
  title: string;
10449
7627
  pageId: string;
10450
7628
  publicationId: string;
7629
+ sponsorText?: string | undefined;
7630
+ sponsorImage?: string | undefined;
10451
7631
  conceptId?: string | undefined;
10452
7632
  metaDescription?: string | undefined;
10453
7633
  pageTheme?: string | undefined;
10454
- sponsorText?: string | undefined;
10455
- sponsorImage?: string | undefined;
7634
+ pageCategory?: string | undefined;
10456
7635
  };
10457
7636
  children: ({
10458
- type: "HomepageSlice";
10459
- hidden?: boolean | undefined;
10460
- properties?: {
10461
- heading?: {
10462
- text: string;
10463
- href?: string | undefined;
10464
- } | undefined;
10465
- } | undefined;
10466
- sliceId?: string | undefined;
10467
- } | {
10468
7637
  type: "Interactive";
10469
7638
  properties: {
10470
7639
  flourishId: string;
@@ -10482,8 +7651,8 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
10482
7651
  } | {
10483
7652
  type: "Experiment";
10484
7653
  properties: {
10485
- experimentId: string;
10486
7654
  experimentName: string;
7655
+ experimentId: string;
10487
7656
  contentJson: string;
10488
7657
  heading?: {
10489
7658
  text: string;
@@ -10600,23 +7769,14 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
10600
7769
  title: string;
10601
7770
  pageId: string;
10602
7771
  publicationId: string;
7772
+ sponsorText?: string | undefined;
7773
+ sponsorImage?: string | undefined;
10603
7774
  conceptId?: string | undefined;
10604
7775
  metaDescription?: string | undefined;
10605
7776
  pageTheme?: string | undefined;
10606
- sponsorText?: string | undefined;
10607
- sponsorImage?: string | undefined;
7777
+ pageCategory?: string | undefined;
10608
7778
  };
10609
7779
  children: ({
10610
- type: "HomepageSlice";
10611
- hidden?: boolean | undefined;
10612
- properties?: {
10613
- heading?: {
10614
- text: string;
10615
- href?: string | undefined;
10616
- } | undefined;
10617
- } | undefined;
10618
- sliceId?: string | undefined;
10619
- } | {
10620
7780
  type: "Interactive";
10621
7781
  properties: {
10622
7782
  flourishId: string;
@@ -10634,8 +7794,8 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
10634
7794
  } | {
10635
7795
  type: "Experiment";
10636
7796
  properties: {
10637
- experimentId: string;
10638
7797
  experimentName: string;
7798
+ experimentId: string;
10639
7799
  contentJson: string;
10640
7800
  heading?: {
10641
7801
  text: string;
@@ -10744,23 +7904,14 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
10744
7904
  title: string;
10745
7905
  pageId: string;
10746
7906
  publicationId: string;
7907
+ sponsorText?: string | undefined;
7908
+ sponsorImage?: string | undefined;
10747
7909
  conceptId?: string | undefined;
10748
7910
  metaDescription?: string | undefined;
10749
7911
  pageTheme?: string | undefined;
10750
- sponsorText?: string | undefined;
10751
- sponsorImage?: string | undefined;
7912
+ pageCategory?: string | undefined;
10752
7913
  };
10753
7914
  children: ({
10754
- type: "HomepageSlice";
10755
- hidden?: boolean | undefined;
10756
- properties?: {
10757
- heading?: {
10758
- text: string;
10759
- href?: string | undefined;
10760
- } | undefined;
10761
- } | undefined;
10762
- sliceId?: string | undefined;
10763
- } | {
10764
7915
  type: "Interactive";
10765
7916
  properties: {
10766
7917
  flourishId: string;
@@ -10778,8 +7929,8 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
10778
7929
  } | {
10779
7930
  type: "Experiment";
10780
7931
  properties: {
10781
- experimentId: string;
10782
7932
  experimentName: string;
7933
+ experimentId: string;
10783
7934
  contentJson: string;
10784
7935
  heading?: {
10785
7936
  text: string;
@@ -11218,53 +8369,6 @@ export { Slice as Slice_alias_1 }
11218
8369
  * This discriminated union allows Zod to pick the correct schema based on the `type` field.
11219
8370
  */
11220
8371
  declare const SliceApiInputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{
11221
- type: z.ZodLiteral<"HomepageSlice">;
11222
- hidden: z.ZodOptional<z.ZodBoolean>;
11223
- properties: z.ZodOptional<z.ZodObject<{
11224
- heading: z.ZodOptional<z.ZodObject<{
11225
- text: z.ZodString;
11226
- href: z.ZodOptional<z.ZodString>;
11227
- }, "strip", z.ZodTypeAny, {
11228
- text: string;
11229
- href?: string | undefined;
11230
- }, {
11231
- text: string;
11232
- href?: string | undefined;
11233
- }>>;
11234
- }, "strip", z.ZodTypeAny, {
11235
- heading?: {
11236
- text: string;
11237
- href?: string | undefined;
11238
- } | undefined;
11239
- }, {
11240
- heading?: {
11241
- text: string;
11242
- href?: string | undefined;
11243
- } | undefined;
11244
- }>>;
11245
- } & {
11246
- sliceId: z.ZodOptional<z.ZodString>;
11247
- }, "strip", z.ZodTypeAny, {
11248
- type: "HomepageSlice";
11249
- hidden?: boolean | undefined;
11250
- properties?: {
11251
- heading?: {
11252
- text: string;
11253
- href?: string | undefined;
11254
- } | undefined;
11255
- } | undefined;
11256
- sliceId?: string | undefined;
11257
- }, {
11258
- type: "HomepageSlice";
11259
- hidden?: boolean | undefined;
11260
- properties?: {
11261
- heading?: {
11262
- text: string;
11263
- href?: string | undefined;
11264
- } | undefined;
11265
- } | undefined;
11266
- sliceId?: string | undefined;
11267
- }>, z.ZodObject<{
11268
8372
  type: z.ZodLiteral<"Interactive">;
11269
8373
  hidden: z.ZodOptional<z.ZodBoolean>;
11270
8374
  properties: z.ZodObject<{
@@ -11356,16 +8460,16 @@ declare const SliceApiInputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.Z
11356
8460
  experimentName: z.ZodString;
11357
8461
  contentJson: z.ZodEffects<z.ZodString, string, string>;
11358
8462
  }, "strip", z.ZodTypeAny, {
11359
- experimentId: string;
11360
8463
  experimentName: string;
8464
+ experimentId: string;
11361
8465
  contentJson: string;
11362
8466
  heading?: {
11363
8467
  text: string;
11364
8468
  href?: string | undefined;
11365
8469
  } | undefined;
11366
8470
  }, {
11367
- experimentId: string;
11368
8471
  experimentName: string;
8472
+ experimentId: string;
11369
8473
  contentJson: string;
11370
8474
  heading?: {
11371
8475
  text: string;
@@ -11377,8 +8481,8 @@ declare const SliceApiInputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.Z
11377
8481
  }, "strip", z.ZodTypeAny, {
11378
8482
  type: "Experiment";
11379
8483
  properties: {
11380
- experimentId: string;
11381
8484
  experimentName: string;
8485
+ experimentId: string;
11382
8486
  contentJson: string;
11383
8487
  heading?: {
11384
8488
  text: string;
@@ -11390,8 +8494,8 @@ declare const SliceApiInputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.Z
11390
8494
  }, {
11391
8495
  type: "Experiment";
11392
8496
  properties: {
11393
- experimentId: string;
11394
8497
  experimentName: string;
8498
+ experimentId: string;
11395
8499
  contentJson: string;
11396
8500
  heading?: {
11397
8501
  text: string;
@@ -12084,53 +9188,6 @@ export { SliceApiInputSchema as SliceApiInputSchema_alias_1 }
12084
9188
  * The same discriminated union but with each slice requiring `sliceId`.
12085
9189
  */
12086
9190
  declare const SliceApiOutputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{
12087
- type: z.ZodLiteral<"HomepageSlice">;
12088
- hidden: z.ZodOptional<z.ZodBoolean>;
12089
- properties: z.ZodOptional<z.ZodObject<{
12090
- heading: z.ZodOptional<z.ZodObject<{
12091
- text: z.ZodString;
12092
- href: z.ZodOptional<z.ZodString>;
12093
- }, "strip", z.ZodTypeAny, {
12094
- text: string;
12095
- href?: string | undefined;
12096
- }, {
12097
- text: string;
12098
- href?: string | undefined;
12099
- }>>;
12100
- }, "strip", z.ZodTypeAny, {
12101
- heading?: {
12102
- text: string;
12103
- href?: string | undefined;
12104
- } | undefined;
12105
- }, {
12106
- heading?: {
12107
- text: string;
12108
- href?: string | undefined;
12109
- } | undefined;
12110
- }>>;
12111
- } & {
12112
- sliceId: z.ZodString;
12113
- }, "strip", z.ZodTypeAny, {
12114
- type: "HomepageSlice";
12115
- sliceId: string;
12116
- hidden?: boolean | undefined;
12117
- properties?: {
12118
- heading?: {
12119
- text: string;
12120
- href?: string | undefined;
12121
- } | undefined;
12122
- } | undefined;
12123
- }, {
12124
- type: "HomepageSlice";
12125
- sliceId: string;
12126
- hidden?: boolean | undefined;
12127
- properties?: {
12128
- heading?: {
12129
- text: string;
12130
- href?: string | undefined;
12131
- } | undefined;
12132
- } | undefined;
12133
- }>, z.ZodObject<{
12134
9191
  type: z.ZodLiteral<"Interactive">;
12135
9192
  hidden: z.ZodOptional<z.ZodBoolean>;
12136
9193
  properties: z.ZodObject<{
@@ -12222,16 +9279,16 @@ declare const SliceApiOutputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.
12222
9279
  experimentName: z.ZodString;
12223
9280
  contentJson: z.ZodEffects<z.ZodString, string, string>;
12224
9281
  }, "strip", z.ZodTypeAny, {
12225
- experimentId: string;
12226
9282
  experimentName: string;
9283
+ experimentId: string;
12227
9284
  contentJson: string;
12228
9285
  heading?: {
12229
9286
  text: string;
12230
9287
  href?: string | undefined;
12231
9288
  } | undefined;
12232
9289
  }, {
12233
- experimentId: string;
12234
9290
  experimentName: string;
9291
+ experimentId: string;
12235
9292
  contentJson: string;
12236
9293
  heading?: {
12237
9294
  text: string;
@@ -12243,8 +9300,8 @@ declare const SliceApiOutputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.
12243
9300
  }, "strip", z.ZodTypeAny, {
12244
9301
  type: "Experiment";
12245
9302
  properties: {
12246
- experimentId: string;
12247
9303
  experimentName: string;
9304
+ experimentId: string;
12248
9305
  contentJson: string;
12249
9306
  heading?: {
12250
9307
  text: string;
@@ -12256,8 +9313,8 @@ declare const SliceApiOutputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.
12256
9313
  }, {
12257
9314
  type: "Experiment";
12258
9315
  properties: {
12259
- experimentId: string;
12260
9316
  experimentName: string;
9317
+ experimentId: string;
12261
9318
  contentJson: string;
12262
9319
  heading?: {
12263
9320
  text: string;