@financial-times/content-curation-client 5.4.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
  }
@@ -500,69 +496,22 @@ declare const DraftSchema: z.ZodObject<{
500
496
  title: string;
501
497
  pageId: string;
502
498
  publicationId: string;
499
+ sponsorText?: string | undefined;
500
+ sponsorImage?: string | undefined;
503
501
  conceptId?: string | undefined;
504
502
  metaDescription?: string | undefined;
505
503
  pageTheme?: string | undefined;
506
- sponsorText?: string | undefined;
507
- sponsorImage?: string | undefined;
508
504
  }, {
509
505
  title: string;
510
506
  pageId: string;
511
507
  publicationId: string;
508
+ sponsorText?: string | undefined;
509
+ sponsorImage?: string | undefined;
512
510
  conceptId?: string | undefined;
513
511
  metaDescription?: string | undefined;
514
512
  pageTheme?: string | undefined;
515
- sponsorText?: string | undefined;
516
- sponsorImage?: string | undefined;
517
513
  }>;
518
514
  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
515
  type: z.ZodLiteral<"Interactive">;
567
516
  hidden: z.ZodOptional<z.ZodBoolean>;
568
517
  properties: z.ZodObject<{
@@ -654,16 +603,16 @@ declare const DraftSchema: z.ZodObject<{
654
603
  experimentName: z.ZodString;
655
604
  contentJson: z.ZodEffects<z.ZodString, string, string>;
656
605
  }, "strip", z.ZodTypeAny, {
657
- experimentId: string;
658
606
  experimentName: string;
607
+ experimentId: string;
659
608
  contentJson: string;
660
609
  heading?: {
661
610
  text: string;
662
611
  href?: string | undefined;
663
612
  } | undefined;
664
613
  }, {
665
- experimentId: string;
666
614
  experimentName: string;
615
+ experimentId: string;
667
616
  contentJson: string;
668
617
  heading?: {
669
618
  text: string;
@@ -675,8 +624,8 @@ declare const DraftSchema: z.ZodObject<{
675
624
  }, "strip", z.ZodTypeAny, {
676
625
  type: "Experiment";
677
626
  properties: {
678
- experimentId: string;
679
627
  experimentName: string;
628
+ experimentId: string;
680
629
  contentJson: string;
681
630
  heading?: {
682
631
  text: string;
@@ -688,8 +637,8 @@ declare const DraftSchema: z.ZodObject<{
688
637
  }, {
689
638
  type: "Experiment";
690
639
  properties: {
691
- experimentId: string;
692
640
  experimentName: string;
641
+ experimentId: string;
693
642
  contentJson: string;
694
643
  heading?: {
695
644
  text: string;
@@ -1380,23 +1329,13 @@ declare const DraftSchema: z.ZodObject<{
1380
1329
  title: string;
1381
1330
  pageId: string;
1382
1331
  publicationId: string;
1332
+ sponsorText?: string | undefined;
1333
+ sponsorImage?: string | undefined;
1383
1334
  conceptId?: string | undefined;
1384
1335
  metaDescription?: string | undefined;
1385
1336
  pageTheme?: string | undefined;
1386
- sponsorText?: string | undefined;
1387
- sponsorImage?: string | undefined;
1388
1337
  };
1389
1338
  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
1339
  type: "Interactive";
1401
1340
  properties: {
1402
1341
  flourishId: string;
@@ -1414,8 +1353,8 @@ declare const DraftSchema: z.ZodObject<{
1414
1353
  } | {
1415
1354
  type: "Experiment";
1416
1355
  properties: {
1417
- experimentId: string;
1418
1356
  experimentName: string;
1357
+ experimentId: string;
1419
1358
  contentJson: string;
1420
1359
  heading?: {
1421
1360
  text: string;
@@ -1519,23 +1458,13 @@ declare const DraftSchema: z.ZodObject<{
1519
1458
  title: string;
1520
1459
  pageId: string;
1521
1460
  publicationId: string;
1461
+ sponsorText?: string | undefined;
1462
+ sponsorImage?: string | undefined;
1522
1463
  conceptId?: string | undefined;
1523
1464
  metaDescription?: string | undefined;
1524
1465
  pageTheme?: string | undefined;
1525
- sponsorText?: string | undefined;
1526
- sponsorImage?: string | undefined;
1527
1466
  };
1528
1467
  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
1468
  type: "Interactive";
1540
1469
  properties: {
1541
1470
  flourishId: string;
@@ -1553,8 +1482,8 @@ declare const DraftSchema: z.ZodObject<{
1553
1482
  } | {
1554
1483
  type: "Experiment";
1555
1484
  properties: {
1556
- experimentId: string;
1557
1485
  experimentName: string;
1486
+ experimentId: string;
1558
1487
  contentJson: string;
1559
1488
  heading?: {
1560
1489
  text: string;
@@ -1670,23 +1599,13 @@ declare const DraftSchema: z.ZodObject<{
1670
1599
  title: string;
1671
1600
  pageId: string;
1672
1601
  publicationId: string;
1602
+ sponsorText?: string | undefined;
1603
+ sponsorImage?: string | undefined;
1673
1604
  conceptId?: string | undefined;
1674
1605
  metaDescription?: string | undefined;
1675
1606
  pageTheme?: string | undefined;
1676
- sponsorText?: string | undefined;
1677
- sponsorImage?: string | undefined;
1678
1607
  };
1679
1608
  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
1609
  type: "Interactive";
1691
1610
  properties: {
1692
1611
  flourishId: string;
@@ -1704,8 +1623,8 @@ declare const DraftSchema: z.ZodObject<{
1704
1623
  } | {
1705
1624
  type: "Experiment";
1706
1625
  properties: {
1707
- experimentId: string;
1708
1626
  experimentName: string;
1627
+ experimentId: string;
1709
1628
  contentJson: string;
1710
1629
  heading?: {
1711
1630
  text: string;
@@ -1821,23 +1740,13 @@ declare const DraftSchema: z.ZodObject<{
1821
1740
  title: string;
1822
1741
  pageId: string;
1823
1742
  publicationId: string;
1743
+ sponsorText?: string | undefined;
1744
+ sponsorImage?: string | undefined;
1824
1745
  conceptId?: string | undefined;
1825
1746
  metaDescription?: string | undefined;
1826
1747
  pageTheme?: string | undefined;
1827
- sponsorText?: string | undefined;
1828
- sponsorImage?: string | undefined;
1829
1748
  };
1830
1749
  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
1750
  type: "Interactive";
1842
1751
  properties: {
1843
1752
  flourishId: string;
@@ -1855,8 +1764,8 @@ declare const DraftSchema: z.ZodObject<{
1855
1764
  } | {
1856
1765
  type: "Experiment";
1857
1766
  properties: {
1858
- experimentId: string;
1859
1767
  experimentName: string;
1768
+ experimentId: string;
1860
1769
  contentJson: string;
1861
1770
  heading?: {
1862
1771
  text: string;
@@ -1979,16 +1888,16 @@ declare const ExperimentSlice: {
1979
1888
  experimentName: z.ZodString;
1980
1889
  contentJson: z.ZodEffects<z.ZodString, string, string>;
1981
1890
  }, "strip", z.ZodTypeAny, {
1982
- experimentId: string;
1983
1891
  experimentName: string;
1892
+ experimentId: string;
1984
1893
  contentJson: string;
1985
1894
  heading?: {
1986
1895
  text: string;
1987
1896
  href?: string | undefined;
1988
1897
  } | undefined;
1989
1898
  }, {
1990
- experimentId: string;
1991
1899
  experimentName: string;
1900
+ experimentId: string;
1992
1901
  contentJson: string;
1993
1902
  heading?: {
1994
1903
  text: string;
@@ -2000,8 +1909,8 @@ declare const ExperimentSlice: {
2000
1909
  }, "strip", z.ZodTypeAny, {
2001
1910
  type: "Experiment";
2002
1911
  properties: {
2003
- experimentId: string;
2004
1912
  experimentName: string;
1913
+ experimentId: string;
2005
1914
  contentJson: string;
2006
1915
  heading?: {
2007
1916
  text: string;
@@ -2013,8 +1922,8 @@ declare const ExperimentSlice: {
2013
1922
  }, {
2014
1923
  type: "Experiment";
2015
1924
  properties: {
2016
- experimentId: string;
2017
1925
  experimentName: string;
1926
+ experimentId: string;
2018
1927
  contentJson: string;
2019
1928
  heading?: {
2020
1929
  text: string;
@@ -2043,16 +1952,16 @@ declare const ExperimentSlice: {
2043
1952
  experimentName: z.ZodString;
2044
1953
  contentJson: z.ZodEffects<z.ZodString, string, string>;
2045
1954
  }, "strip", z.ZodTypeAny, {
2046
- experimentId: string;
2047
1955
  experimentName: string;
1956
+ experimentId: string;
2048
1957
  contentJson: string;
2049
1958
  heading?: {
2050
1959
  text: string;
2051
1960
  href?: string | undefined;
2052
1961
  } | undefined;
2053
1962
  }, {
2054
- experimentId: string;
2055
1963
  experimentName: string;
1964
+ experimentId: string;
2056
1965
  contentJson: string;
2057
1966
  heading?: {
2058
1967
  text: string;
@@ -2064,8 +1973,8 @@ declare const ExperimentSlice: {
2064
1973
  }, "strip", z.ZodTypeAny, {
2065
1974
  type: "Experiment";
2066
1975
  properties: {
2067
- experimentId: string;
2068
1976
  experimentName: string;
1977
+ experimentId: string;
2069
1978
  contentJson: string;
2070
1979
  heading?: {
2071
1980
  text: string;
@@ -2077,8 +1986,8 @@ declare const ExperimentSlice: {
2077
1986
  }, {
2078
1987
  type: "Experiment";
2079
1988
  properties: {
2080
- experimentId: string;
2081
1989
  experimentName: string;
1990
+ experimentId: string;
2082
1991
  contentJson: string;
2083
1992
  heading?: {
2084
1993
  text: string;
@@ -2237,22 +2146,11 @@ declare type HeroSliceType = z.infer<typeof HeroSlice.OutputSchema>;
2237
2146
  export { HeroSliceType }
2238
2147
  export { HeroSliceType as HeroSliceType_alias_1 }
2239
2148
 
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: {
2149
+ declare const InteractiveSlice: {
2252
2150
  InputSchema: z.ZodObject<{
2253
- type: z.ZodLiteral<"HomepageSlice">;
2151
+ type: z.ZodLiteral<"Interactive">;
2254
2152
  hidden: z.ZodOptional<z.ZodBoolean>;
2255
- properties: z.ZodOptional<z.ZodObject<{
2153
+ properties: z.ZodObject<{
2256
2154
  heading: z.ZodOptional<z.ZodObject<{
2257
2155
  text: z.ZodString;
2258
2156
  href: z.ZodOptional<z.ZodString>;
@@ -2263,44 +2161,70 @@ declare const HomepageSlice: {
2263
2161
  text: string;
2264
2162
  href?: string | undefined;
2265
2163
  }>>;
2164
+ } & {
2165
+ flourishDescription: z.ZodOptional<z.ZodString>;
2166
+ flourishId: z.ZodString;
2167
+ flourishAltText: z.ZodString;
2168
+ storyUUID: z.ZodOptional<z.ZodString>;
2169
+ theme: z.ZodOptional<z.ZodString>;
2266
2170
  }, "strip", z.ZodTypeAny, {
2171
+ flourishId: string;
2172
+ flourishAltText: string;
2267
2173
  heading?: {
2268
2174
  text: string;
2269
2175
  href?: string | undefined;
2270
2176
  } | undefined;
2177
+ flourishDescription?: string | undefined;
2178
+ storyUUID?: string | undefined;
2179
+ theme?: string | undefined;
2271
2180
  }, {
2181
+ flourishId: string;
2182
+ flourishAltText: string;
2272
2183
  heading?: {
2273
2184
  text: string;
2274
2185
  href?: string | undefined;
2275
2186
  } | undefined;
2276
- }>>;
2187
+ flourishDescription?: string | undefined;
2188
+ storyUUID?: string | undefined;
2189
+ theme?: string | undefined;
2190
+ }>;
2277
2191
  } & {
2278
2192
  sliceId: z.ZodOptional<z.ZodString>;
2279
2193
  }, "strip", z.ZodTypeAny, {
2280
- type: "HomepageSlice";
2281
- hidden?: boolean | undefined;
2282
- properties?: {
2194
+ type: "Interactive";
2195
+ properties: {
2196
+ flourishId: string;
2197
+ flourishAltText: string;
2283
2198
  heading?: {
2284
2199
  text: string;
2285
2200
  href?: string | undefined;
2286
2201
  } | undefined;
2287
- } | undefined;
2202
+ flourishDescription?: string | undefined;
2203
+ storyUUID?: string | undefined;
2204
+ theme?: string | undefined;
2205
+ };
2206
+ hidden?: boolean | undefined;
2288
2207
  sliceId?: string | undefined;
2289
2208
  }, {
2290
- type: "HomepageSlice";
2291
- hidden?: boolean | undefined;
2292
- properties?: {
2209
+ type: "Interactive";
2210
+ properties: {
2211
+ flourishId: string;
2212
+ flourishAltText: string;
2293
2213
  heading?: {
2294
2214
  text: string;
2295
2215
  href?: string | undefined;
2296
2216
  } | undefined;
2297
- } | undefined;
2217
+ flourishDescription?: string | undefined;
2218
+ storyUUID?: string | undefined;
2219
+ theme?: string | undefined;
2220
+ };
2221
+ hidden?: boolean | undefined;
2298
2222
  sliceId?: string | undefined;
2299
2223
  }>;
2300
2224
  OutputSchema: z.ZodObject<{
2301
- type: z.ZodLiteral<"HomepageSlice">;
2225
+ type: z.ZodLiteral<"Interactive">;
2302
2226
  hidden: z.ZodOptional<z.ZodBoolean>;
2303
- properties: z.ZodOptional<z.ZodObject<{
2227
+ properties: z.ZodObject<{
2304
2228
  heading: z.ZodOptional<z.ZodObject<{
2305
2229
  text: z.ZodString;
2306
2230
  href: z.ZodOptional<z.ZodString>;
@@ -2311,2571 +2235,75 @@ declare const HomepageSlice: {
2311
2235
  text: string;
2312
2236
  href?: string | undefined;
2313
2237
  }>>;
2238
+ } & {
2239
+ flourishDescription: z.ZodOptional<z.ZodString>;
2240
+ flourishId: z.ZodString;
2241
+ flourishAltText: z.ZodString;
2242
+ storyUUID: z.ZodOptional<z.ZodString>;
2243
+ theme: z.ZodOptional<z.ZodString>;
2314
2244
  }, "strip", z.ZodTypeAny, {
2245
+ flourishId: string;
2246
+ flourishAltText: string;
2315
2247
  heading?: {
2316
2248
  text: string;
2317
2249
  href?: string | undefined;
2318
2250
  } | undefined;
2251
+ flourishDescription?: string | undefined;
2252
+ storyUUID?: string | undefined;
2253
+ theme?: string | undefined;
2319
2254
  }, {
2255
+ flourishId: string;
2256
+ flourishAltText: string;
2320
2257
  heading?: {
2321
2258
  text: string;
2322
2259
  href?: string | undefined;
2323
2260
  } | undefined;
2324
- }>>;
2261
+ flourishDescription?: string | undefined;
2262
+ storyUUID?: string | undefined;
2263
+ theme?: string | undefined;
2264
+ }>;
2325
2265
  } & {
2326
2266
  sliceId: z.ZodString;
2327
2267
  }, "strip", z.ZodTypeAny, {
2328
- type: "HomepageSlice";
2329
- sliceId: string;
2330
- hidden?: boolean | undefined;
2331
- properties?: {
2268
+ type: "Interactive";
2269
+ properties: {
2270
+ flourishId: string;
2271
+ flourishAltText: string;
2332
2272
  heading?: {
2333
2273
  text: string;
2334
2274
  href?: string | undefined;
2335
2275
  } | undefined;
2336
- } | undefined;
2337
- }, {
2338
- type: "HomepageSlice";
2276
+ flourishDescription?: string | undefined;
2277
+ storyUUID?: string | undefined;
2278
+ theme?: string | undefined;
2279
+ };
2339
2280
  sliceId: string;
2340
2281
  hidden?: boolean | undefined;
2341
- properties?: {
2282
+ }, {
2283
+ type: "Interactive";
2284
+ properties: {
2285
+ flourishId: string;
2286
+ flourishAltText: string;
2342
2287
  heading?: {
2343
2288
  text: string;
2344
2289
  href?: string | undefined;
2345
2290
  } | undefined;
2346
- } | undefined;
2291
+ flourishDescription?: string | undefined;
2292
+ storyUUID?: string | undefined;
2293
+ theme?: string | undefined;
2294
+ };
2295
+ sliceId: string;
2296
+ hidden?: boolean | undefined;
2347
2297
  }>;
2348
2298
  };
2349
2299
 
2350
2300
  /** 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 }
2301
+ declare type InteractiveSliceType = z.infer<typeof InteractiveSlice.OutputSchema>;
2302
+ export { InteractiveSliceType }
2303
+ export { InteractiveSliceType as InteractiveSliceType_alias_1 }
2359
2304
 
2360
2305
  /**
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.
2306
+ * Returns `true` when a status code should always be treated as an API Gateway failure.
4879
2307
  */
4880
2308
  export declare function isGatewayStatusCode(statusCode: number): boolean;
4881
2309
 
@@ -4948,15 +2376,15 @@ declare const LegacyBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4948
2376
  id: string;
4949
2377
  }>;
4950
2378
  }, "strip", z.ZodTypeAny, {
2379
+ source: "flourish";
4951
2380
  properties: {
4952
2381
  id: string;
4953
2382
  };
4954
- source: "flourish";
4955
2383
  }, {
2384
+ source: "flourish";
4956
2385
  properties: {
4957
2386
  id: string;
4958
2387
  };
4959
- source: "flourish";
4960
2388
  }>, z.ZodObject<{
4961
2389
  source: z.ZodLiteral<"list">;
4962
2390
  properties: z.ZodObject<{
@@ -4970,17 +2398,17 @@ declare const LegacyBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4970
2398
  maxItems?: number | undefined;
4971
2399
  }>;
4972
2400
  }, "strip", z.ZodTypeAny, {
2401
+ source: "list";
4973
2402
  properties: {
4974
2403
  id: string;
4975
2404
  maxItems?: number | undefined;
4976
2405
  };
4977
- source: "list";
4978
2406
  }, {
2407
+ source: "list";
4979
2408
  properties: {
4980
2409
  id: string;
4981
2410
  maxItems?: number | undefined;
4982
2411
  };
4983
- source: "list";
4984
2412
  }>, z.ZodObject<{
4985
2413
  source: z.ZodLiteral<"content">;
4986
2414
  properties: z.ZodObject<{
@@ -4991,15 +2419,15 @@ declare const LegacyBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4991
2419
  ids: [string, ...string[]];
4992
2420
  }>;
4993
2421
  }, "strip", z.ZodTypeAny, {
2422
+ source: "content";
4994
2423
  properties: {
4995
2424
  ids: [string, ...string[]];
4996
2425
  };
4997
- source: "content";
4998
2426
  }, {
2427
+ source: "content";
4999
2428
  properties: {
5000
2429
  ids: [string, ...string[]];
5001
2430
  };
5002
- source: "content";
5003
2431
  }>]>, "many">;
5004
2432
  properties: z.ZodObject<{
5005
2433
  title: z.ZodOptional<z.ZodString>;
@@ -5022,21 +2450,21 @@ declare const LegacyBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5022
2450
  backgroundColor?: string | undefined;
5023
2451
  };
5024
2452
  children: ({
2453
+ source: "flourish";
5025
2454
  properties: {
5026
2455
  id: string;
5027
2456
  };
5028
- source: "flourish";
5029
2457
  } | {
2458
+ source: "list";
5030
2459
  properties: {
5031
2460
  id: string;
5032
2461
  maxItems?: number | undefined;
5033
2462
  };
5034
- source: "list";
5035
2463
  } | {
2464
+ source: "content";
5036
2465
  properties: {
5037
2466
  ids: [string, ...string[]];
5038
2467
  };
5039
- source: "content";
5040
2468
  })[];
5041
2469
  }, {
5042
2470
  type: "container";
@@ -5046,21 +2474,21 @@ declare const LegacyBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5046
2474
  backgroundColor?: string | undefined;
5047
2475
  };
5048
2476
  children: ({
2477
+ source: "flourish";
5049
2478
  properties: {
5050
2479
  id: string;
5051
2480
  };
5052
- source: "flourish";
5053
2481
  } | {
2482
+ source: "list";
5054
2483
  properties: {
5055
2484
  id: string;
5056
2485
  maxItems?: number | undefined;
5057
2486
  };
5058
- source: "list";
5059
2487
  } | {
2488
+ source: "content";
5060
2489
  properties: {
5061
2490
  ids: [string, ...string[]];
5062
2491
  };
5063
- source: "content";
5064
2492
  })[];
5065
2493
  }>, z.ZodObject<{
5066
2494
  type: z.ZodLiteral<"experiment">;
@@ -5080,16 +2508,16 @@ declare const LegacyBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5080
2508
  format?: "json" | undefined;
5081
2509
  }>>;
5082
2510
  }, "strip", z.ZodTypeAny, {
5083
- experimentName: string;
5084
2511
  id: string;
2512
+ experimentName: string;
5085
2513
  title?: string | undefined;
5086
2514
  config?: {
5087
2515
  value?: unknown;
5088
2516
  format?: "json" | undefined;
5089
2517
  } | undefined;
5090
2518
  }, {
5091
- experimentName: string;
5092
2519
  id: string;
2520
+ experimentName: string;
5093
2521
  title?: string | undefined;
5094
2522
  config?: {
5095
2523
  value?: unknown;
@@ -5099,8 +2527,8 @@ declare const LegacyBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5099
2527
  }, "strip", z.ZodTypeAny, {
5100
2528
  type: "experiment";
5101
2529
  properties: {
5102
- experimentName: string;
5103
2530
  id: string;
2531
+ experimentName: string;
5104
2532
  title?: string | undefined;
5105
2533
  config?: {
5106
2534
  value?: unknown;
@@ -5111,8 +2539,8 @@ declare const LegacyBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5111
2539
  }, {
5112
2540
  type: "experiment";
5113
2541
  properties: {
5114
- experimentName: string;
5115
2542
  id: string;
2543
+ experimentName: string;
5116
2544
  title?: string | undefined;
5117
2545
  config?: {
5118
2546
  value?: unknown;
@@ -5197,15 +2625,15 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5197
2625
  id: string;
5198
2626
  }>;
5199
2627
  }, "strip", z.ZodTypeAny, {
2628
+ source: "flourish";
5200
2629
  properties: {
5201
2630
  id: string;
5202
2631
  };
5203
- source: "flourish";
5204
2632
  }, {
2633
+ source: "flourish";
5205
2634
  properties: {
5206
2635
  id: string;
5207
2636
  };
5208
- source: "flourish";
5209
2637
  }>, z.ZodObject<{
5210
2638
  source: z.ZodLiteral<"list">;
5211
2639
  properties: z.ZodObject<{
@@ -5219,17 +2647,17 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5219
2647
  maxItems?: number | undefined;
5220
2648
  }>;
5221
2649
  }, "strip", z.ZodTypeAny, {
2650
+ source: "list";
5222
2651
  properties: {
5223
2652
  id: string;
5224
2653
  maxItems?: number | undefined;
5225
2654
  };
5226
- source: "list";
5227
2655
  }, {
2656
+ source: "list";
5228
2657
  properties: {
5229
2658
  id: string;
5230
2659
  maxItems?: number | undefined;
5231
2660
  };
5232
- source: "list";
5233
2661
  }>, z.ZodObject<{
5234
2662
  source: z.ZodLiteral<"content">;
5235
2663
  properties: z.ZodObject<{
@@ -5240,15 +2668,15 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5240
2668
  ids: [string, ...string[]];
5241
2669
  }>;
5242
2670
  }, "strip", z.ZodTypeAny, {
2671
+ source: "content";
5243
2672
  properties: {
5244
2673
  ids: [string, ...string[]];
5245
2674
  };
5246
- source: "content";
5247
2675
  }, {
2676
+ source: "content";
5248
2677
  properties: {
5249
2678
  ids: [string, ...string[]];
5250
2679
  };
5251
- source: "content";
5252
2680
  }>]>, "many">;
5253
2681
  properties: z.ZodObject<{
5254
2682
  title: z.ZodOptional<z.ZodString>;
@@ -5271,21 +2699,21 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5271
2699
  backgroundColor?: string | undefined;
5272
2700
  };
5273
2701
  children: ({
2702
+ source: "flourish";
5274
2703
  properties: {
5275
2704
  id: string;
5276
2705
  };
5277
- source: "flourish";
5278
2706
  } | {
2707
+ source: "list";
5279
2708
  properties: {
5280
2709
  id: string;
5281
2710
  maxItems?: number | undefined;
5282
2711
  };
5283
- source: "list";
5284
2712
  } | {
2713
+ source: "content";
5285
2714
  properties: {
5286
2715
  ids: [string, ...string[]];
5287
2716
  };
5288
- source: "content";
5289
2717
  })[];
5290
2718
  }, {
5291
2719
  type: "container";
@@ -5295,21 +2723,21 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5295
2723
  backgroundColor?: string | undefined;
5296
2724
  };
5297
2725
  children: ({
2726
+ source: "flourish";
5298
2727
  properties: {
5299
2728
  id: string;
5300
2729
  };
5301
- source: "flourish";
5302
2730
  } | {
2731
+ source: "list";
5303
2732
  properties: {
5304
2733
  id: string;
5305
2734
  maxItems?: number | undefined;
5306
2735
  };
5307
- source: "list";
5308
2736
  } | {
2737
+ source: "content";
5309
2738
  properties: {
5310
2739
  ids: [string, ...string[]];
5311
2740
  };
5312
- source: "content";
5313
2741
  })[];
5314
2742
  }>, z.ZodObject<{
5315
2743
  type: z.ZodLiteral<"experiment">;
@@ -5329,16 +2757,16 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5329
2757
  format?: "json" | undefined;
5330
2758
  }>>;
5331
2759
  }, "strip", z.ZodTypeAny, {
5332
- experimentName: string;
5333
2760
  id: string;
2761
+ experimentName: string;
5334
2762
  title?: string | undefined;
5335
2763
  config?: {
5336
2764
  value?: unknown;
5337
2765
  format?: "json" | undefined;
5338
2766
  } | undefined;
5339
2767
  }, {
5340
- experimentName: string;
5341
2768
  id: string;
2769
+ experimentName: string;
5342
2770
  title?: string | undefined;
5343
2771
  config?: {
5344
2772
  value?: unknown;
@@ -5348,8 +2776,8 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5348
2776
  }, "strip", z.ZodTypeAny, {
5349
2777
  type: "experiment";
5350
2778
  properties: {
5351
- experimentName: string;
5352
2779
  id: string;
2780
+ experimentName: string;
5353
2781
  title?: string | undefined;
5354
2782
  config?: {
5355
2783
  value?: unknown;
@@ -5360,8 +2788,8 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5360
2788
  }, {
5361
2789
  type: "experiment";
5362
2790
  properties: {
5363
- experimentName: string;
5364
2791
  id: string;
2792
+ experimentName: string;
5365
2793
  title?: string | undefined;
5366
2794
  config?: {
5367
2795
  value?: unknown;
@@ -5394,27 +2822,27 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5394
2822
  backgroundColor?: string | undefined;
5395
2823
  };
5396
2824
  children: ({
2825
+ source: "flourish";
5397
2826
  properties: {
5398
2827
  id: string;
5399
2828
  };
5400
- source: "flourish";
5401
2829
  } | {
2830
+ source: "list";
5402
2831
  properties: {
5403
2832
  id: string;
5404
2833
  maxItems?: number | undefined;
5405
2834
  };
5406
- source: "list";
5407
2835
  } | {
2836
+ source: "content";
5408
2837
  properties: {
5409
2838
  ids: [string, ...string[]];
5410
2839
  };
5411
- source: "content";
5412
2840
  })[];
5413
2841
  } | {
5414
2842
  type: "experiment";
5415
2843
  properties: {
5416
- experimentName: string;
5417
2844
  id: string;
2845
+ experimentName: string;
5418
2846
  title?: string | undefined;
5419
2847
  config?: {
5420
2848
  value?: unknown;
@@ -5424,8 +2852,8 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5424
2852
  children: [];
5425
2853
  })[];
5426
2854
  conceptId?: string | undefined;
5427
- metaDescription?: string | undefined;
5428
2855
  themeName?: string | undefined;
2856
+ metaDescription?: string | undefined;
5429
2857
  }, {
5430
2858
  title: string;
5431
2859
  uuid: string;
@@ -5450,27 +2878,27 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5450
2878
  backgroundColor?: string | undefined;
5451
2879
  };
5452
2880
  children: ({
2881
+ source: "flourish";
5453
2882
  properties: {
5454
2883
  id: string;
5455
2884
  };
5456
- source: "flourish";
5457
2885
  } | {
2886
+ source: "list";
5458
2887
  properties: {
5459
2888
  id: string;
5460
2889
  maxItems?: number | undefined;
5461
2890
  };
5462
- source: "list";
5463
2891
  } | {
2892
+ source: "content";
5464
2893
  properties: {
5465
2894
  ids: [string, ...string[]];
5466
2895
  };
5467
- source: "content";
5468
2896
  })[];
5469
2897
  } | {
5470
2898
  type: "experiment";
5471
2899
  properties: {
5472
- experimentName: string;
5473
2900
  id: string;
2901
+ experimentName: string;
5474
2902
  title?: string | undefined;
5475
2903
  config?: {
5476
2904
  value?: unknown;
@@ -5480,8 +2908,8 @@ declare const LegacyPageStructureOutputSchema: z.ZodObject<{
5480
2908
  children: [];
5481
2909
  })[];
5482
2910
  conceptId?: string | undefined;
5483
- metaDescription?: string | undefined;
5484
2911
  themeName?: string | undefined;
2912
+ metaDescription?: string | undefined;
5485
2913
  }>;
5486
2914
  export { LegacyPageStructureOutputSchema }
5487
2915
  export { LegacyPageStructureOutputSchema as LegacyPageStructureOutputSchema_alias_1 }
@@ -5543,69 +2971,22 @@ declare const PageDraftSchema: z.ZodObject<{
5543
2971
  title: string;
5544
2972
  pageId: string;
5545
2973
  publicationId: string;
2974
+ sponsorText?: string | undefined;
2975
+ sponsorImage?: string | undefined;
5546
2976
  conceptId?: string | undefined;
5547
2977
  metaDescription?: string | undefined;
5548
2978
  pageTheme?: string | undefined;
5549
- sponsorText?: string | undefined;
5550
- sponsorImage?: string | undefined;
5551
2979
  }, {
5552
2980
  title: string;
5553
2981
  pageId: string;
5554
2982
  publicationId: string;
2983
+ sponsorText?: string | undefined;
2984
+ sponsorImage?: string | undefined;
5555
2985
  conceptId?: string | undefined;
5556
2986
  metaDescription?: string | undefined;
5557
2987
  pageTheme?: string | undefined;
5558
- sponsorText?: string | undefined;
5559
- sponsorImage?: string | undefined;
5560
2988
  }>;
5561
2989
  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
2990
  type: z.ZodLiteral<"Interactive">;
5610
2991
  hidden: z.ZodOptional<z.ZodBoolean>;
5611
2992
  properties: z.ZodObject<{
@@ -5697,16 +3078,16 @@ declare const PageDraftSchema: z.ZodObject<{
5697
3078
  experimentName: z.ZodString;
5698
3079
  contentJson: z.ZodEffects<z.ZodString, string, string>;
5699
3080
  }, "strip", z.ZodTypeAny, {
5700
- experimentId: string;
5701
3081
  experimentName: string;
3082
+ experimentId: string;
5702
3083
  contentJson: string;
5703
3084
  heading?: {
5704
3085
  text: string;
5705
3086
  href?: string | undefined;
5706
3087
  } | undefined;
5707
3088
  }, {
5708
- experimentId: string;
5709
3089
  experimentName: string;
3090
+ experimentId: string;
5710
3091
  contentJson: string;
5711
3092
  heading?: {
5712
3093
  text: string;
@@ -5718,8 +3099,8 @@ declare const PageDraftSchema: z.ZodObject<{
5718
3099
  }, "strip", z.ZodTypeAny, {
5719
3100
  type: "Experiment";
5720
3101
  properties: {
5721
- experimentId: string;
5722
3102
  experimentName: string;
3103
+ experimentId: string;
5723
3104
  contentJson: string;
5724
3105
  heading?: {
5725
3106
  text: string;
@@ -5731,8 +3112,8 @@ declare const PageDraftSchema: z.ZodObject<{
5731
3112
  }, {
5732
3113
  type: "Experiment";
5733
3114
  properties: {
5734
- experimentId: string;
5735
3115
  experimentName: string;
3116
+ experimentId: string;
5736
3117
  contentJson: string;
5737
3118
  heading?: {
5738
3119
  text: string;
@@ -6423,23 +3804,13 @@ declare const PageDraftSchema: z.ZodObject<{
6423
3804
  title: string;
6424
3805
  pageId: string;
6425
3806
  publicationId: string;
3807
+ sponsorText?: string | undefined;
3808
+ sponsorImage?: string | undefined;
6426
3809
  conceptId?: string | undefined;
6427
3810
  metaDescription?: string | undefined;
6428
3811
  pageTheme?: string | undefined;
6429
- sponsorText?: string | undefined;
6430
- sponsorImage?: string | undefined;
6431
3812
  };
6432
3813
  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
3814
  type: "Interactive";
6444
3815
  properties: {
6445
3816
  flourishId: string;
@@ -6457,8 +3828,8 @@ declare const PageDraftSchema: z.ZodObject<{
6457
3828
  } | {
6458
3829
  type: "Experiment";
6459
3830
  properties: {
6460
- experimentId: string;
6461
3831
  experimentName: string;
3832
+ experimentId: string;
6462
3833
  contentJson: string;
6463
3834
  heading?: {
6464
3835
  text: string;
@@ -6562,23 +3933,13 @@ declare const PageDraftSchema: z.ZodObject<{
6562
3933
  title: string;
6563
3934
  pageId: string;
6564
3935
  publicationId: string;
3936
+ sponsorText?: string | undefined;
3937
+ sponsorImage?: string | undefined;
6565
3938
  conceptId?: string | undefined;
6566
3939
  metaDescription?: string | undefined;
6567
3940
  pageTheme?: string | undefined;
6568
- sponsorText?: string | undefined;
6569
- sponsorImage?: string | undefined;
6570
3941
  };
6571
3942
  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
3943
  type: "Interactive";
6583
3944
  properties: {
6584
3945
  flourishId: string;
@@ -6596,8 +3957,8 @@ declare const PageDraftSchema: z.ZodObject<{
6596
3957
  } | {
6597
3958
  type: "Experiment";
6598
3959
  properties: {
6599
- experimentId: string;
6600
3960
  experimentName: string;
3961
+ experimentId: string;
6601
3962
  contentJson: string;
6602
3963
  heading?: {
6603
3964
  text: string;
@@ -6713,23 +4074,13 @@ declare const PageDraftSchema: z.ZodObject<{
6713
4074
  title: string;
6714
4075
  pageId: string;
6715
4076
  publicationId: string;
4077
+ sponsorText?: string | undefined;
4078
+ sponsorImage?: string | undefined;
6716
4079
  conceptId?: string | undefined;
6717
4080
  metaDescription?: string | undefined;
6718
4081
  pageTheme?: string | undefined;
6719
- sponsorText?: string | undefined;
6720
- sponsorImage?: string | undefined;
6721
4082
  };
6722
4083
  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
4084
  type: "Interactive";
6734
4085
  properties: {
6735
4086
  flourishId: string;
@@ -6747,8 +4098,8 @@ declare const PageDraftSchema: z.ZodObject<{
6747
4098
  } | {
6748
4099
  type: "Experiment";
6749
4100
  properties: {
6750
- experimentId: string;
6751
4101
  experimentName: string;
4102
+ experimentId: string;
6752
4103
  contentJson: string;
6753
4104
  heading?: {
6754
4105
  text: string;
@@ -6864,23 +4215,13 @@ declare const PageDraftSchema: z.ZodObject<{
6864
4215
  title: string;
6865
4216
  pageId: string;
6866
4217
  publicationId: string;
4218
+ sponsorText?: string | undefined;
4219
+ sponsorImage?: string | undefined;
6867
4220
  conceptId?: string | undefined;
6868
4221
  metaDescription?: string | undefined;
6869
4222
  pageTheme?: string | undefined;
6870
- sponsorText?: string | undefined;
6871
- sponsorImage?: string | undefined;
6872
4223
  };
6873
4224
  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
4225
  type: "Interactive";
6885
4226
  properties: {
6886
4227
  flourishId: string;
@@ -6898,8 +4239,8 @@ declare const PageDraftSchema: z.ZodObject<{
6898
4239
  } | {
6899
4240
  type: "Experiment";
6900
4241
  properties: {
6901
- experimentId: string;
6902
4242
  experimentName: string;
4243
+ experimentId: string;
6903
4244
  contentJson: string;
6904
4245
  heading?: {
6905
4246
  text: string;
@@ -7026,69 +4367,22 @@ declare const PageStructureInputSchema: z.ZodObject<{
7026
4367
  title: string;
7027
4368
  pageId: string;
7028
4369
  publicationId: string;
4370
+ sponsorText?: string | undefined;
4371
+ sponsorImage?: string | undefined;
7029
4372
  conceptId?: string | undefined;
7030
4373
  metaDescription?: string | undefined;
7031
4374
  pageTheme?: string | undefined;
7032
- sponsorText?: string | undefined;
7033
- sponsorImage?: string | undefined;
7034
4375
  }, {
7035
4376
  title: string;
7036
4377
  pageId: string;
7037
4378
  publicationId: string;
4379
+ sponsorText?: string | undefined;
4380
+ sponsorImage?: string | undefined;
7038
4381
  conceptId?: string | undefined;
7039
4382
  metaDescription?: string | undefined;
7040
4383
  pageTheme?: string | undefined;
7041
- sponsorText?: string | undefined;
7042
- sponsorImage?: string | undefined;
7043
4384
  }>;
7044
4385
  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
4386
  type: z.ZodLiteral<"Interactive">;
7093
4387
  hidden: z.ZodOptional<z.ZodBoolean>;
7094
4388
  properties: z.ZodObject<{
@@ -7180,16 +4474,16 @@ declare const PageStructureInputSchema: z.ZodObject<{
7180
4474
  experimentName: z.ZodString;
7181
4475
  contentJson: z.ZodEffects<z.ZodString, string, string>;
7182
4476
  }, "strip", z.ZodTypeAny, {
7183
- experimentId: string;
7184
4477
  experimentName: string;
4478
+ experimentId: string;
7185
4479
  contentJson: string;
7186
4480
  heading?: {
7187
4481
  text: string;
7188
4482
  href?: string | undefined;
7189
4483
  } | undefined;
7190
4484
  }, {
7191
- experimentId: string;
7192
4485
  experimentName: string;
4486
+ experimentId: string;
7193
4487
  contentJson: string;
7194
4488
  heading?: {
7195
4489
  text: string;
@@ -7201,8 +4495,8 @@ declare const PageStructureInputSchema: z.ZodObject<{
7201
4495
  }, "strip", z.ZodTypeAny, {
7202
4496
  type: "Experiment";
7203
4497
  properties: {
7204
- experimentId: string;
7205
4498
  experimentName: string;
4499
+ experimentId: string;
7206
4500
  contentJson: string;
7207
4501
  heading?: {
7208
4502
  text: string;
@@ -7214,8 +4508,8 @@ declare const PageStructureInputSchema: z.ZodObject<{
7214
4508
  }, {
7215
4509
  type: "Experiment";
7216
4510
  properties: {
7217
- experimentId: string;
7218
4511
  experimentName: string;
4512
+ experimentId: string;
7219
4513
  contentJson: string;
7220
4514
  heading?: {
7221
4515
  text: string;
@@ -7905,23 +5199,13 @@ declare const PageStructureInputSchema: z.ZodObject<{
7905
5199
  title: string;
7906
5200
  pageId: string;
7907
5201
  publicationId: string;
5202
+ sponsorText?: string | undefined;
5203
+ sponsorImage?: string | undefined;
7908
5204
  conceptId?: string | undefined;
7909
5205
  metaDescription?: string | undefined;
7910
5206
  pageTheme?: string | undefined;
7911
- sponsorText?: string | undefined;
7912
- sponsorImage?: string | undefined;
7913
5207
  };
7914
5208
  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
5209
  type: "Interactive";
7926
5210
  properties: {
7927
5211
  flourishId: string;
@@ -7939,8 +5223,8 @@ declare const PageStructureInputSchema: z.ZodObject<{
7939
5223
  } | {
7940
5224
  type: "Experiment";
7941
5225
  properties: {
7942
- experimentId: string;
7943
5226
  experimentName: string;
5227
+ experimentId: string;
7944
5228
  contentJson: string;
7945
5229
  heading?: {
7946
5230
  text: string;
@@ -8042,23 +5326,13 @@ declare const PageStructureInputSchema: z.ZodObject<{
8042
5326
  title: string;
8043
5327
  pageId: string;
8044
5328
  publicationId: string;
5329
+ sponsorText?: string | undefined;
5330
+ sponsorImage?: string | undefined;
8045
5331
  conceptId?: string | undefined;
8046
5332
  metaDescription?: string | undefined;
8047
5333
  pageTheme?: string | undefined;
8048
- sponsorText?: string | undefined;
8049
- sponsorImage?: string | undefined;
8050
5334
  };
8051
5335
  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
5336
  type: "Interactive";
8063
5337
  properties: {
8064
5338
  flourishId: string;
@@ -8076,8 +5350,8 @@ declare const PageStructureInputSchema: z.ZodObject<{
8076
5350
  } | {
8077
5351
  type: "Experiment";
8078
5352
  properties: {
8079
- experimentId: string;
8080
5353
  experimentName: string;
5354
+ experimentId: string;
8081
5355
  contentJson: string;
8082
5356
  heading?: {
8083
5357
  text: string;
@@ -8202,69 +5476,22 @@ declare const PageStructureOutputSchema: z.ZodObject<{
8202
5476
  title: string;
8203
5477
  pageId: string;
8204
5478
  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
5479
  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<{
5480
+ sponsorImage?: string | undefined;
5481
+ conceptId?: string | undefined;
5482
+ metaDescription?: string | undefined;
5483
+ pageTheme?: string | undefined;
5484
+ }, {
5485
+ title: string;
5486
+ pageId: string;
5487
+ publicationId: string;
5488
+ sponsorText?: string | undefined;
5489
+ sponsorImage?: string | undefined;
5490
+ conceptId?: string | undefined;
5491
+ metaDescription?: string | undefined;
5492
+ pageTheme?: string | undefined;
5493
+ }>;
5494
+ children: z.ZodArray<z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{
8268
5495
  type: z.ZodLiteral<"Interactive">;
8269
5496
  hidden: z.ZodOptional<z.ZodBoolean>;
8270
5497
  properties: z.ZodObject<{
@@ -8356,16 +5583,16 @@ declare const PageStructureOutputSchema: z.ZodObject<{
8356
5583
  experimentName: z.ZodString;
8357
5584
  contentJson: z.ZodEffects<z.ZodString, string, string>;
8358
5585
  }, "strip", z.ZodTypeAny, {
8359
- experimentId: string;
8360
5586
  experimentName: string;
5587
+ experimentId: string;
8361
5588
  contentJson: string;
8362
5589
  heading?: {
8363
5590
  text: string;
8364
5591
  href?: string | undefined;
8365
5592
  } | undefined;
8366
5593
  }, {
8367
- experimentId: string;
8368
5594
  experimentName: string;
5595
+ experimentId: string;
8369
5596
  contentJson: string;
8370
5597
  heading?: {
8371
5598
  text: string;
@@ -8377,8 +5604,8 @@ declare const PageStructureOutputSchema: z.ZodObject<{
8377
5604
  }, "strip", z.ZodTypeAny, {
8378
5605
  type: "Experiment";
8379
5606
  properties: {
8380
- experimentId: string;
8381
5607
  experimentName: string;
5608
+ experimentId: string;
8382
5609
  contentJson: string;
8383
5610
  heading?: {
8384
5611
  text: string;
@@ -8390,8 +5617,8 @@ declare const PageStructureOutputSchema: z.ZodObject<{
8390
5617
  }, {
8391
5618
  type: "Experiment";
8392
5619
  properties: {
8393
- experimentId: string;
8394
5620
  experimentName: string;
5621
+ experimentId: string;
8395
5622
  contentJson: string;
8396
5623
  heading?: {
8397
5624
  text: string;
@@ -9082,23 +6309,13 @@ declare const PageStructureOutputSchema: z.ZodObject<{
9082
6309
  title: string;
9083
6310
  pageId: string;
9084
6311
  publicationId: string;
6312
+ sponsorText?: string | undefined;
6313
+ sponsorImage?: string | undefined;
9085
6314
  conceptId?: string | undefined;
9086
6315
  metaDescription?: string | undefined;
9087
6316
  pageTheme?: string | undefined;
9088
- sponsorText?: string | undefined;
9089
- sponsorImage?: string | undefined;
9090
6317
  };
9091
6318
  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
6319
  type: "Interactive";
9103
6320
  properties: {
9104
6321
  flourishId: string;
@@ -9116,8 +6333,8 @@ declare const PageStructureOutputSchema: z.ZodObject<{
9116
6333
  } | {
9117
6334
  type: "Experiment";
9118
6335
  properties: {
9119
- experimentId: string;
9120
6336
  experimentName: string;
6337
+ experimentId: string;
9121
6338
  contentJson: string;
9122
6339
  heading?: {
9123
6340
  text: string;
@@ -9221,23 +6438,13 @@ declare const PageStructureOutputSchema: z.ZodObject<{
9221
6438
  title: string;
9222
6439
  pageId: string;
9223
6440
  publicationId: string;
6441
+ sponsorText?: string | undefined;
6442
+ sponsorImage?: string | undefined;
9224
6443
  conceptId?: string | undefined;
9225
6444
  metaDescription?: string | undefined;
9226
6445
  pageTheme?: string | undefined;
9227
- sponsorText?: string | undefined;
9228
- sponsorImage?: string | undefined;
9229
6446
  };
9230
6447
  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
6448
  type: "Interactive";
9242
6449
  properties: {
9243
6450
  flourishId: string;
@@ -9255,8 +6462,8 @@ declare const PageStructureOutputSchema: z.ZodObject<{
9255
6462
  } | {
9256
6463
  type: "Experiment";
9257
6464
  properties: {
9258
- experimentId: string;
9259
6465
  experimentName: string;
6466
+ experimentId: string;
9260
6467
  contentJson: string;
9261
6468
  heading?: {
9262
6469
  text: string;
@@ -9432,69 +6639,22 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
9432
6639
  title: string;
9433
6640
  pageId: string;
9434
6641
  publicationId: string;
6642
+ sponsorText?: string | undefined;
6643
+ sponsorImage?: string | undefined;
9435
6644
  conceptId?: string | undefined;
9436
6645
  metaDescription?: string | undefined;
9437
6646
  pageTheme?: string | undefined;
9438
- sponsorText?: string | undefined;
9439
- sponsorImage?: string | undefined;
9440
6647
  }, {
9441
6648
  title: string;
9442
6649
  pageId: string;
9443
6650
  publicationId: string;
6651
+ sponsorText?: string | undefined;
6652
+ sponsorImage?: string | undefined;
9444
6653
  conceptId?: string | undefined;
9445
6654
  metaDescription?: string | undefined;
9446
6655
  pageTheme?: string | undefined;
9447
- sponsorText?: string | undefined;
9448
- sponsorImage?: string | undefined;
9449
6656
  }>;
9450
6657
  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
6658
  type: z.ZodLiteral<"Interactive">;
9499
6659
  hidden: z.ZodOptional<z.ZodBoolean>;
9500
6660
  properties: z.ZodObject<{
@@ -9586,16 +6746,16 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
9586
6746
  experimentName: z.ZodString;
9587
6747
  contentJson: z.ZodEffects<z.ZodString, string, string>;
9588
6748
  }, "strip", z.ZodTypeAny, {
9589
- experimentId: string;
9590
6749
  experimentName: string;
6750
+ experimentId: string;
9591
6751
  contentJson: string;
9592
6752
  heading?: {
9593
6753
  text: string;
9594
6754
  href?: string | undefined;
9595
6755
  } | undefined;
9596
6756
  }, {
9597
- experimentId: string;
9598
6757
  experimentName: string;
6758
+ experimentId: string;
9599
6759
  contentJson: string;
9600
6760
  heading?: {
9601
6761
  text: string;
@@ -9607,8 +6767,8 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
9607
6767
  }, "strip", z.ZodTypeAny, {
9608
6768
  type: "Experiment";
9609
6769
  properties: {
9610
- experimentId: string;
9611
6770
  experimentName: string;
6771
+ experimentId: string;
9612
6772
  contentJson: string;
9613
6773
  heading?: {
9614
6774
  text: string;
@@ -9620,8 +6780,8 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
9620
6780
  }, {
9621
6781
  type: "Experiment";
9622
6782
  properties: {
9623
- experimentId: string;
9624
6783
  experimentName: string;
6784
+ experimentId: string;
9625
6785
  contentJson: string;
9626
6786
  heading?: {
9627
6787
  text: string;
@@ -10311,23 +7471,13 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
10311
7471
  title: string;
10312
7472
  pageId: string;
10313
7473
  publicationId: string;
7474
+ sponsorText?: string | undefined;
7475
+ sponsorImage?: string | undefined;
10314
7476
  conceptId?: string | undefined;
10315
7477
  metaDescription?: string | undefined;
10316
7478
  pageTheme?: string | undefined;
10317
- sponsorText?: string | undefined;
10318
- sponsorImage?: string | undefined;
10319
7479
  };
10320
7480
  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
7481
  type: "Interactive";
10332
7482
  properties: {
10333
7483
  flourishId: string;
@@ -10345,8 +7495,8 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
10345
7495
  } | {
10346
7496
  type: "Experiment";
10347
7497
  properties: {
10348
- experimentId: string;
10349
7498
  experimentName: string;
7499
+ experimentId: string;
10350
7500
  contentJson: string;
10351
7501
  heading?: {
10352
7502
  text: string;
@@ -10448,23 +7598,13 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
10448
7598
  title: string;
10449
7599
  pageId: string;
10450
7600
  publicationId: string;
7601
+ sponsorText?: string | undefined;
7602
+ sponsorImage?: string | undefined;
10451
7603
  conceptId?: string | undefined;
10452
7604
  metaDescription?: string | undefined;
10453
7605
  pageTheme?: string | undefined;
10454
- sponsorText?: string | undefined;
10455
- sponsorImage?: string | undefined;
10456
7606
  };
10457
7607
  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
7608
  type: "Interactive";
10469
7609
  properties: {
10470
7610
  flourishId: string;
@@ -10482,8 +7622,8 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
10482
7622
  } | {
10483
7623
  type: "Experiment";
10484
7624
  properties: {
10485
- experimentId: string;
10486
7625
  experimentName: string;
7626
+ experimentId: string;
10487
7627
  contentJson: string;
10488
7628
  heading?: {
10489
7629
  text: string;
@@ -10600,23 +7740,13 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
10600
7740
  title: string;
10601
7741
  pageId: string;
10602
7742
  publicationId: string;
7743
+ sponsorText?: string | undefined;
7744
+ sponsorImage?: string | undefined;
10603
7745
  conceptId?: string | undefined;
10604
7746
  metaDescription?: string | undefined;
10605
7747
  pageTheme?: string | undefined;
10606
- sponsorText?: string | undefined;
10607
- sponsorImage?: string | undefined;
10608
7748
  };
10609
7749
  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
7750
  type: "Interactive";
10621
7751
  properties: {
10622
7752
  flourishId: string;
@@ -10634,8 +7764,8 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
10634
7764
  } | {
10635
7765
  type: "Experiment";
10636
7766
  properties: {
10637
- experimentId: string;
10638
7767
  experimentName: string;
7768
+ experimentId: string;
10639
7769
  contentJson: string;
10640
7770
  heading?: {
10641
7771
  text: string;
@@ -10744,23 +7874,13 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
10744
7874
  title: string;
10745
7875
  pageId: string;
10746
7876
  publicationId: string;
7877
+ sponsorText?: string | undefined;
7878
+ sponsorImage?: string | undefined;
10747
7879
  conceptId?: string | undefined;
10748
7880
  metaDescription?: string | undefined;
10749
7881
  pageTheme?: string | undefined;
10750
- sponsorText?: string | undefined;
10751
- sponsorImage?: string | undefined;
10752
7882
  };
10753
7883
  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
7884
  type: "Interactive";
10765
7885
  properties: {
10766
7886
  flourishId: string;
@@ -10778,8 +7898,8 @@ declare const PersistPageDraftInputSchema: z.ZodObject<{
10778
7898
  } | {
10779
7899
  type: "Experiment";
10780
7900
  properties: {
10781
- experimentId: string;
10782
7901
  experimentName: string;
7902
+ experimentId: string;
10783
7903
  contentJson: string;
10784
7904
  heading?: {
10785
7905
  text: string;
@@ -11218,53 +8338,6 @@ export { Slice as Slice_alias_1 }
11218
8338
  * This discriminated union allows Zod to pick the correct schema based on the `type` field.
11219
8339
  */
11220
8340
  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
8341
  type: z.ZodLiteral<"Interactive">;
11269
8342
  hidden: z.ZodOptional<z.ZodBoolean>;
11270
8343
  properties: z.ZodObject<{
@@ -11356,16 +8429,16 @@ declare const SliceApiInputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.Z
11356
8429
  experimentName: z.ZodString;
11357
8430
  contentJson: z.ZodEffects<z.ZodString, string, string>;
11358
8431
  }, "strip", z.ZodTypeAny, {
11359
- experimentId: string;
11360
8432
  experimentName: string;
8433
+ experimentId: string;
11361
8434
  contentJson: string;
11362
8435
  heading?: {
11363
8436
  text: string;
11364
8437
  href?: string | undefined;
11365
8438
  } | undefined;
11366
8439
  }, {
11367
- experimentId: string;
11368
8440
  experimentName: string;
8441
+ experimentId: string;
11369
8442
  contentJson: string;
11370
8443
  heading?: {
11371
8444
  text: string;
@@ -11377,8 +8450,8 @@ declare const SliceApiInputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.Z
11377
8450
  }, "strip", z.ZodTypeAny, {
11378
8451
  type: "Experiment";
11379
8452
  properties: {
11380
- experimentId: string;
11381
8453
  experimentName: string;
8454
+ experimentId: string;
11382
8455
  contentJson: string;
11383
8456
  heading?: {
11384
8457
  text: string;
@@ -11390,8 +8463,8 @@ declare const SliceApiInputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.Z
11390
8463
  }, {
11391
8464
  type: "Experiment";
11392
8465
  properties: {
11393
- experimentId: string;
11394
8466
  experimentName: string;
8467
+ experimentId: string;
11395
8468
  contentJson: string;
11396
8469
  heading?: {
11397
8470
  text: string;
@@ -12084,53 +9157,6 @@ export { SliceApiInputSchema as SliceApiInputSchema_alias_1 }
12084
9157
  * The same discriminated union but with each slice requiring `sliceId`.
12085
9158
  */
12086
9159
  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
9160
  type: z.ZodLiteral<"Interactive">;
12135
9161
  hidden: z.ZodOptional<z.ZodBoolean>;
12136
9162
  properties: z.ZodObject<{
@@ -12222,16 +9248,16 @@ declare const SliceApiOutputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.
12222
9248
  experimentName: z.ZodString;
12223
9249
  contentJson: z.ZodEffects<z.ZodString, string, string>;
12224
9250
  }, "strip", z.ZodTypeAny, {
12225
- experimentId: string;
12226
9251
  experimentName: string;
9252
+ experimentId: string;
12227
9253
  contentJson: string;
12228
9254
  heading?: {
12229
9255
  text: string;
12230
9256
  href?: string | undefined;
12231
9257
  } | undefined;
12232
9258
  }, {
12233
- experimentId: string;
12234
9259
  experimentName: string;
9260
+ experimentId: string;
12235
9261
  contentJson: string;
12236
9262
  heading?: {
12237
9263
  text: string;
@@ -12243,8 +9269,8 @@ declare const SliceApiOutputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.
12243
9269
  }, "strip", z.ZodTypeAny, {
12244
9270
  type: "Experiment";
12245
9271
  properties: {
12246
- experimentId: string;
12247
9272
  experimentName: string;
9273
+ experimentId: string;
12248
9274
  contentJson: string;
12249
9275
  heading?: {
12250
9276
  text: string;
@@ -12256,8 +9282,8 @@ declare const SliceApiOutputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.
12256
9282
  }, {
12257
9283
  type: "Experiment";
12258
9284
  properties: {
12259
- experimentId: string;
12260
9285
  experimentName: string;
9286
+ experimentId: string;
12261
9287
  contentJson: string;
12262
9288
  heading?: {
12263
9289
  text: string;