@financial-times/content-curation-client 0.4.1 → 0.5.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.
@@ -1071,6 +1071,512 @@ declare const HomepageStructureInputSchema: z.ZodObject<{
1071
1071
  };
1072
1072
  hidden?: boolean | undefined;
1073
1073
  sliceId?: string | undefined;
1074
+ }>, z.ZodObject<{
1075
+ type: z.ZodLiteral<"Topper">;
1076
+ hidden: z.ZodOptional<z.ZodBoolean>;
1077
+ properties: z.ZodObject<{
1078
+ heading: z.ZodOptional<z.ZodObject<{
1079
+ text: z.ZodString;
1080
+ href: z.ZodOptional<z.ZodString>;
1081
+ }, "strip", z.ZodTypeAny, {
1082
+ text: string;
1083
+ href?: string | undefined;
1084
+ }, {
1085
+ text: string;
1086
+ href?: string | undefined;
1087
+ }>>;
1088
+ } & {
1089
+ description: z.ZodObject<{
1090
+ type: z.ZodLiteral<"doc">;
1091
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
1092
+ type: z.ZodLiteral<"paragraph">;
1093
+ content: z.ZodArray<z.ZodObject<{
1094
+ type: z.ZodLiteral<"text">;
1095
+ text: z.ZodString;
1096
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1097
+ type: z.ZodLiteral<"link">;
1098
+ attrs: z.ZodObject<{
1099
+ href: z.ZodEffects<z.ZodString, string, string>;
1100
+ }, "strip", z.ZodTypeAny, {
1101
+ href: string;
1102
+ }, {
1103
+ href: string;
1104
+ }>;
1105
+ }, "strip", z.ZodTypeAny, {
1106
+ type: "link";
1107
+ attrs: {
1108
+ href: string;
1109
+ };
1110
+ }, {
1111
+ type: "link";
1112
+ attrs: {
1113
+ href: string;
1114
+ };
1115
+ }>, z.ZodObject<{
1116
+ type: z.ZodLiteral<"bold">;
1117
+ }, "strip", z.ZodTypeAny, {
1118
+ type: "bold";
1119
+ }, {
1120
+ type: "bold";
1121
+ }>, z.ZodObject<{
1122
+ type: z.ZodLiteral<"italic">;
1123
+ }, "strip", z.ZodTypeAny, {
1124
+ type: "italic";
1125
+ }, {
1126
+ type: "italic";
1127
+ }>, z.ZodObject<{
1128
+ type: z.ZodLiteral<"underline">;
1129
+ }, "strip", z.ZodTypeAny, {
1130
+ type: "underline";
1131
+ }, {
1132
+ type: "underline";
1133
+ }>, z.ZodObject<{
1134
+ type: z.ZodLiteral<"strike">;
1135
+ }, "strip", z.ZodTypeAny, {
1136
+ type: "strike";
1137
+ }, {
1138
+ type: "strike";
1139
+ }>]>, "many">>;
1140
+ }, "strip", z.ZodTypeAny, {
1141
+ text: string;
1142
+ type: "text";
1143
+ marks?: ({
1144
+ type: "link";
1145
+ attrs: {
1146
+ href: string;
1147
+ };
1148
+ } | {
1149
+ type: "bold";
1150
+ } | {
1151
+ type: "italic";
1152
+ } | {
1153
+ type: "underline";
1154
+ } | {
1155
+ type: "strike";
1156
+ })[] | undefined;
1157
+ }, {
1158
+ text: string;
1159
+ type: "text";
1160
+ marks?: ({
1161
+ type: "link";
1162
+ attrs: {
1163
+ href: string;
1164
+ };
1165
+ } | {
1166
+ type: "bold";
1167
+ } | {
1168
+ type: "italic";
1169
+ } | {
1170
+ type: "underline";
1171
+ } | {
1172
+ type: "strike";
1173
+ })[] | undefined;
1174
+ }>, "many">;
1175
+ }, "strip", z.ZodTypeAny, {
1176
+ type: "paragraph";
1177
+ content: {
1178
+ text: string;
1179
+ type: "text";
1180
+ marks?: ({
1181
+ type: "link";
1182
+ attrs: {
1183
+ href: string;
1184
+ };
1185
+ } | {
1186
+ type: "bold";
1187
+ } | {
1188
+ type: "italic";
1189
+ } | {
1190
+ type: "underline";
1191
+ } | {
1192
+ type: "strike";
1193
+ })[] | undefined;
1194
+ }[];
1195
+ }, {
1196
+ type: "paragraph";
1197
+ content: {
1198
+ text: string;
1199
+ type: "text";
1200
+ marks?: ({
1201
+ type: "link";
1202
+ attrs: {
1203
+ href: string;
1204
+ };
1205
+ } | {
1206
+ type: "bold";
1207
+ } | {
1208
+ type: "italic";
1209
+ } | {
1210
+ type: "underline";
1211
+ } | {
1212
+ type: "strike";
1213
+ })[] | undefined;
1214
+ }[];
1215
+ }>, z.ZodObject<{
1216
+ type: z.ZodLiteral<"text">;
1217
+ text: z.ZodString;
1218
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1219
+ type: z.ZodLiteral<"link">;
1220
+ attrs: z.ZodObject<{
1221
+ href: z.ZodEffects<z.ZodString, string, string>;
1222
+ }, "strip", z.ZodTypeAny, {
1223
+ href: string;
1224
+ }, {
1225
+ href: string;
1226
+ }>;
1227
+ }, "strip", z.ZodTypeAny, {
1228
+ type: "link";
1229
+ attrs: {
1230
+ href: string;
1231
+ };
1232
+ }, {
1233
+ type: "link";
1234
+ attrs: {
1235
+ href: string;
1236
+ };
1237
+ }>, z.ZodObject<{
1238
+ type: z.ZodLiteral<"bold">;
1239
+ }, "strip", z.ZodTypeAny, {
1240
+ type: "bold";
1241
+ }, {
1242
+ type: "bold";
1243
+ }>, z.ZodObject<{
1244
+ type: z.ZodLiteral<"italic">;
1245
+ }, "strip", z.ZodTypeAny, {
1246
+ type: "italic";
1247
+ }, {
1248
+ type: "italic";
1249
+ }>, z.ZodObject<{
1250
+ type: z.ZodLiteral<"underline">;
1251
+ }, "strip", z.ZodTypeAny, {
1252
+ type: "underline";
1253
+ }, {
1254
+ type: "underline";
1255
+ }>, z.ZodObject<{
1256
+ type: z.ZodLiteral<"strike">;
1257
+ }, "strip", z.ZodTypeAny, {
1258
+ type: "strike";
1259
+ }, {
1260
+ type: "strike";
1261
+ }>]>, "many">>;
1262
+ }, "strip", z.ZodTypeAny, {
1263
+ text: string;
1264
+ type: "text";
1265
+ marks?: ({
1266
+ type: "link";
1267
+ attrs: {
1268
+ href: string;
1269
+ };
1270
+ } | {
1271
+ type: "bold";
1272
+ } | {
1273
+ type: "italic";
1274
+ } | {
1275
+ type: "underline";
1276
+ } | {
1277
+ type: "strike";
1278
+ })[] | undefined;
1279
+ }, {
1280
+ text: string;
1281
+ type: "text";
1282
+ marks?: ({
1283
+ type: "link";
1284
+ attrs: {
1285
+ href: string;
1286
+ };
1287
+ } | {
1288
+ type: "bold";
1289
+ } | {
1290
+ type: "italic";
1291
+ } | {
1292
+ type: "underline";
1293
+ } | {
1294
+ type: "strike";
1295
+ })[] | undefined;
1296
+ }>]>, "many">;
1297
+ }, "strip", z.ZodTypeAny, {
1298
+ type: "doc";
1299
+ content: ({
1300
+ text: string;
1301
+ type: "text";
1302
+ marks?: ({
1303
+ type: "link";
1304
+ attrs: {
1305
+ href: string;
1306
+ };
1307
+ } | {
1308
+ type: "bold";
1309
+ } | {
1310
+ type: "italic";
1311
+ } | {
1312
+ type: "underline";
1313
+ } | {
1314
+ type: "strike";
1315
+ })[] | undefined;
1316
+ } | {
1317
+ type: "paragraph";
1318
+ content: {
1319
+ text: string;
1320
+ type: "text";
1321
+ marks?: ({
1322
+ type: "link";
1323
+ attrs: {
1324
+ href: string;
1325
+ };
1326
+ } | {
1327
+ type: "bold";
1328
+ } | {
1329
+ type: "italic";
1330
+ } | {
1331
+ type: "underline";
1332
+ } | {
1333
+ type: "strike";
1334
+ })[] | undefined;
1335
+ }[];
1336
+ })[];
1337
+ }, {
1338
+ type: "doc";
1339
+ content: ({
1340
+ text: string;
1341
+ type: "text";
1342
+ marks?: ({
1343
+ type: "link";
1344
+ attrs: {
1345
+ href: string;
1346
+ };
1347
+ } | {
1348
+ type: "bold";
1349
+ } | {
1350
+ type: "italic";
1351
+ } | {
1352
+ type: "underline";
1353
+ } | {
1354
+ type: "strike";
1355
+ })[] | undefined;
1356
+ } | {
1357
+ type: "paragraph";
1358
+ content: {
1359
+ text: string;
1360
+ type: "text";
1361
+ marks?: ({
1362
+ type: "link";
1363
+ attrs: {
1364
+ href: string;
1365
+ };
1366
+ } | {
1367
+ type: "bold";
1368
+ } | {
1369
+ type: "italic";
1370
+ } | {
1371
+ type: "underline";
1372
+ } | {
1373
+ type: "strike";
1374
+ })[] | undefined;
1375
+ }[];
1376
+ })[];
1377
+ }>;
1378
+ strapline: z.ZodOptional<z.ZodString>;
1379
+ }, "strip", z.ZodTypeAny, {
1380
+ description: {
1381
+ type: "doc";
1382
+ content: ({
1383
+ text: string;
1384
+ type: "text";
1385
+ marks?: ({
1386
+ type: "link";
1387
+ attrs: {
1388
+ href: string;
1389
+ };
1390
+ } | {
1391
+ type: "bold";
1392
+ } | {
1393
+ type: "italic";
1394
+ } | {
1395
+ type: "underline";
1396
+ } | {
1397
+ type: "strike";
1398
+ })[] | undefined;
1399
+ } | {
1400
+ type: "paragraph";
1401
+ content: {
1402
+ text: string;
1403
+ type: "text";
1404
+ marks?: ({
1405
+ type: "link";
1406
+ attrs: {
1407
+ href: string;
1408
+ };
1409
+ } | {
1410
+ type: "bold";
1411
+ } | {
1412
+ type: "italic";
1413
+ } | {
1414
+ type: "underline";
1415
+ } | {
1416
+ type: "strike";
1417
+ })[] | undefined;
1418
+ }[];
1419
+ })[];
1420
+ };
1421
+ heading?: {
1422
+ text: string;
1423
+ href?: string | undefined;
1424
+ } | undefined;
1425
+ strapline?: string | undefined;
1426
+ }, {
1427
+ description: {
1428
+ type: "doc";
1429
+ content: ({
1430
+ text: string;
1431
+ type: "text";
1432
+ marks?: ({
1433
+ type: "link";
1434
+ attrs: {
1435
+ href: string;
1436
+ };
1437
+ } | {
1438
+ type: "bold";
1439
+ } | {
1440
+ type: "italic";
1441
+ } | {
1442
+ type: "underline";
1443
+ } | {
1444
+ type: "strike";
1445
+ })[] | undefined;
1446
+ } | {
1447
+ type: "paragraph";
1448
+ content: {
1449
+ text: string;
1450
+ type: "text";
1451
+ marks?: ({
1452
+ type: "link";
1453
+ attrs: {
1454
+ href: string;
1455
+ };
1456
+ } | {
1457
+ type: "bold";
1458
+ } | {
1459
+ type: "italic";
1460
+ } | {
1461
+ type: "underline";
1462
+ } | {
1463
+ type: "strike";
1464
+ })[] | undefined;
1465
+ }[];
1466
+ })[];
1467
+ };
1468
+ heading?: {
1469
+ text: string;
1470
+ href?: string | undefined;
1471
+ } | undefined;
1472
+ strapline?: string | undefined;
1473
+ }>;
1474
+ } & {
1475
+ sliceId: z.ZodOptional<z.ZodString>;
1476
+ }, "strip", z.ZodTypeAny, {
1477
+ type: "Topper";
1478
+ properties: {
1479
+ description: {
1480
+ type: "doc";
1481
+ content: ({
1482
+ text: string;
1483
+ type: "text";
1484
+ marks?: ({
1485
+ type: "link";
1486
+ attrs: {
1487
+ href: string;
1488
+ };
1489
+ } | {
1490
+ type: "bold";
1491
+ } | {
1492
+ type: "italic";
1493
+ } | {
1494
+ type: "underline";
1495
+ } | {
1496
+ type: "strike";
1497
+ })[] | undefined;
1498
+ } | {
1499
+ type: "paragraph";
1500
+ content: {
1501
+ text: string;
1502
+ type: "text";
1503
+ marks?: ({
1504
+ type: "link";
1505
+ attrs: {
1506
+ href: string;
1507
+ };
1508
+ } | {
1509
+ type: "bold";
1510
+ } | {
1511
+ type: "italic";
1512
+ } | {
1513
+ type: "underline";
1514
+ } | {
1515
+ type: "strike";
1516
+ })[] | undefined;
1517
+ }[];
1518
+ })[];
1519
+ };
1520
+ heading?: {
1521
+ text: string;
1522
+ href?: string | undefined;
1523
+ } | undefined;
1524
+ strapline?: string | undefined;
1525
+ };
1526
+ hidden?: boolean | undefined;
1527
+ sliceId?: string | undefined;
1528
+ }, {
1529
+ type: "Topper";
1530
+ properties: {
1531
+ description: {
1532
+ type: "doc";
1533
+ content: ({
1534
+ text: string;
1535
+ type: "text";
1536
+ marks?: ({
1537
+ type: "link";
1538
+ attrs: {
1539
+ href: string;
1540
+ };
1541
+ } | {
1542
+ type: "bold";
1543
+ } | {
1544
+ type: "italic";
1545
+ } | {
1546
+ type: "underline";
1547
+ } | {
1548
+ type: "strike";
1549
+ })[] | undefined;
1550
+ } | {
1551
+ type: "paragraph";
1552
+ content: {
1553
+ text: string;
1554
+ type: "text";
1555
+ marks?: ({
1556
+ type: "link";
1557
+ attrs: {
1558
+ href: string;
1559
+ };
1560
+ } | {
1561
+ type: "bold";
1562
+ } | {
1563
+ type: "italic";
1564
+ } | {
1565
+ type: "underline";
1566
+ } | {
1567
+ type: "strike";
1568
+ })[] | undefined;
1569
+ }[];
1570
+ })[];
1571
+ };
1572
+ heading?: {
1573
+ text: string;
1574
+ href?: string | undefined;
1575
+ } | undefined;
1576
+ strapline?: string | undefined;
1577
+ };
1578
+ hidden?: boolean | undefined;
1579
+ sliceId?: string | undefined;
1074
1580
  }>]>, "many">;
1075
1581
  } & {
1076
1582
  properties: z.ZodObject<{
@@ -1152,6 +1658,58 @@ declare const HomepageStructureInputSchema: z.ZodObject<{
1152
1658
  };
1153
1659
  hidden?: boolean | undefined;
1154
1660
  sliceId?: string | undefined;
1661
+ } | {
1662
+ type: "Topper";
1663
+ properties: {
1664
+ description: {
1665
+ type: "doc";
1666
+ content: ({
1667
+ text: string;
1668
+ type: "text";
1669
+ marks?: ({
1670
+ type: "link";
1671
+ attrs: {
1672
+ href: string;
1673
+ };
1674
+ } | {
1675
+ type: "bold";
1676
+ } | {
1677
+ type: "italic";
1678
+ } | {
1679
+ type: "underline";
1680
+ } | {
1681
+ type: "strike";
1682
+ })[] | undefined;
1683
+ } | {
1684
+ type: "paragraph";
1685
+ content: {
1686
+ text: string;
1687
+ type: "text";
1688
+ marks?: ({
1689
+ type: "link";
1690
+ attrs: {
1691
+ href: string;
1692
+ };
1693
+ } | {
1694
+ type: "bold";
1695
+ } | {
1696
+ type: "italic";
1697
+ } | {
1698
+ type: "underline";
1699
+ } | {
1700
+ type: "strike";
1701
+ })[] | undefined;
1702
+ }[];
1703
+ })[];
1704
+ };
1705
+ heading?: {
1706
+ text: string;
1707
+ href?: string | undefined;
1708
+ } | undefined;
1709
+ strapline?: string | undefined;
1710
+ };
1711
+ hidden?: boolean | undefined;
1712
+ sliceId?: string | undefined;
1155
1713
  })[];
1156
1714
  }, {
1157
1715
  properties: {
@@ -1218,6 +1776,58 @@ declare const HomepageStructureInputSchema: z.ZodObject<{
1218
1776
  };
1219
1777
  hidden?: boolean | undefined;
1220
1778
  sliceId?: string | undefined;
1779
+ } | {
1780
+ type: "Topper";
1781
+ properties: {
1782
+ description: {
1783
+ type: "doc";
1784
+ content: ({
1785
+ text: string;
1786
+ type: "text";
1787
+ marks?: ({
1788
+ type: "link";
1789
+ attrs: {
1790
+ href: string;
1791
+ };
1792
+ } | {
1793
+ type: "bold";
1794
+ } | {
1795
+ type: "italic";
1796
+ } | {
1797
+ type: "underline";
1798
+ } | {
1799
+ type: "strike";
1800
+ })[] | undefined;
1801
+ } | {
1802
+ type: "paragraph";
1803
+ content: {
1804
+ text: string;
1805
+ type: "text";
1806
+ marks?: ({
1807
+ type: "link";
1808
+ attrs: {
1809
+ href: string;
1810
+ };
1811
+ } | {
1812
+ type: "bold";
1813
+ } | {
1814
+ type: "italic";
1815
+ } | {
1816
+ type: "underline";
1817
+ } | {
1818
+ type: "strike";
1819
+ })[] | undefined;
1820
+ }[];
1821
+ })[];
1822
+ };
1823
+ heading?: {
1824
+ text: string;
1825
+ href?: string | undefined;
1826
+ } | undefined;
1827
+ strapline?: string | undefined;
1828
+ };
1829
+ hidden?: boolean | undefined;
1830
+ sliceId?: string | undefined;
1221
1831
  })[];
1222
1832
  }>;
1223
1833
  export { HomepageStructureInputSchema }
@@ -1515,6 +2125,512 @@ declare const HomepageStructureOutputSchema: z.ZodObject<{
1515
2125
  };
1516
2126
  sliceId: string;
1517
2127
  hidden?: boolean | undefined;
2128
+ }>, z.ZodObject<{
2129
+ type: z.ZodLiteral<"Topper">;
2130
+ hidden: z.ZodOptional<z.ZodBoolean>;
2131
+ properties: z.ZodObject<{
2132
+ heading: z.ZodOptional<z.ZodObject<{
2133
+ text: z.ZodString;
2134
+ href: z.ZodOptional<z.ZodString>;
2135
+ }, "strip", z.ZodTypeAny, {
2136
+ text: string;
2137
+ href?: string | undefined;
2138
+ }, {
2139
+ text: string;
2140
+ href?: string | undefined;
2141
+ }>>;
2142
+ } & {
2143
+ description: z.ZodObject<{
2144
+ type: z.ZodLiteral<"doc">;
2145
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2146
+ type: z.ZodLiteral<"paragraph">;
2147
+ content: z.ZodArray<z.ZodObject<{
2148
+ type: z.ZodLiteral<"text">;
2149
+ text: z.ZodString;
2150
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2151
+ type: z.ZodLiteral<"link">;
2152
+ attrs: z.ZodObject<{
2153
+ href: z.ZodEffects<z.ZodString, string, string>;
2154
+ }, "strip", z.ZodTypeAny, {
2155
+ href: string;
2156
+ }, {
2157
+ href: string;
2158
+ }>;
2159
+ }, "strip", z.ZodTypeAny, {
2160
+ type: "link";
2161
+ attrs: {
2162
+ href: string;
2163
+ };
2164
+ }, {
2165
+ type: "link";
2166
+ attrs: {
2167
+ href: string;
2168
+ };
2169
+ }>, z.ZodObject<{
2170
+ type: z.ZodLiteral<"bold">;
2171
+ }, "strip", z.ZodTypeAny, {
2172
+ type: "bold";
2173
+ }, {
2174
+ type: "bold";
2175
+ }>, z.ZodObject<{
2176
+ type: z.ZodLiteral<"italic">;
2177
+ }, "strip", z.ZodTypeAny, {
2178
+ type: "italic";
2179
+ }, {
2180
+ type: "italic";
2181
+ }>, z.ZodObject<{
2182
+ type: z.ZodLiteral<"underline">;
2183
+ }, "strip", z.ZodTypeAny, {
2184
+ type: "underline";
2185
+ }, {
2186
+ type: "underline";
2187
+ }>, z.ZodObject<{
2188
+ type: z.ZodLiteral<"strike">;
2189
+ }, "strip", z.ZodTypeAny, {
2190
+ type: "strike";
2191
+ }, {
2192
+ type: "strike";
2193
+ }>]>, "many">>;
2194
+ }, "strip", z.ZodTypeAny, {
2195
+ text: string;
2196
+ type: "text";
2197
+ marks?: ({
2198
+ type: "link";
2199
+ attrs: {
2200
+ href: string;
2201
+ };
2202
+ } | {
2203
+ type: "bold";
2204
+ } | {
2205
+ type: "italic";
2206
+ } | {
2207
+ type: "underline";
2208
+ } | {
2209
+ type: "strike";
2210
+ })[] | undefined;
2211
+ }, {
2212
+ text: string;
2213
+ type: "text";
2214
+ marks?: ({
2215
+ type: "link";
2216
+ attrs: {
2217
+ href: string;
2218
+ };
2219
+ } | {
2220
+ type: "bold";
2221
+ } | {
2222
+ type: "italic";
2223
+ } | {
2224
+ type: "underline";
2225
+ } | {
2226
+ type: "strike";
2227
+ })[] | undefined;
2228
+ }>, "many">;
2229
+ }, "strip", z.ZodTypeAny, {
2230
+ type: "paragraph";
2231
+ content: {
2232
+ text: string;
2233
+ type: "text";
2234
+ marks?: ({
2235
+ type: "link";
2236
+ attrs: {
2237
+ href: string;
2238
+ };
2239
+ } | {
2240
+ type: "bold";
2241
+ } | {
2242
+ type: "italic";
2243
+ } | {
2244
+ type: "underline";
2245
+ } | {
2246
+ type: "strike";
2247
+ })[] | undefined;
2248
+ }[];
2249
+ }, {
2250
+ type: "paragraph";
2251
+ content: {
2252
+ text: string;
2253
+ type: "text";
2254
+ marks?: ({
2255
+ type: "link";
2256
+ attrs: {
2257
+ href: string;
2258
+ };
2259
+ } | {
2260
+ type: "bold";
2261
+ } | {
2262
+ type: "italic";
2263
+ } | {
2264
+ type: "underline";
2265
+ } | {
2266
+ type: "strike";
2267
+ })[] | undefined;
2268
+ }[];
2269
+ }>, z.ZodObject<{
2270
+ type: z.ZodLiteral<"text">;
2271
+ text: z.ZodString;
2272
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2273
+ type: z.ZodLiteral<"link">;
2274
+ attrs: z.ZodObject<{
2275
+ href: z.ZodEffects<z.ZodString, string, string>;
2276
+ }, "strip", z.ZodTypeAny, {
2277
+ href: string;
2278
+ }, {
2279
+ href: string;
2280
+ }>;
2281
+ }, "strip", z.ZodTypeAny, {
2282
+ type: "link";
2283
+ attrs: {
2284
+ href: string;
2285
+ };
2286
+ }, {
2287
+ type: "link";
2288
+ attrs: {
2289
+ href: string;
2290
+ };
2291
+ }>, z.ZodObject<{
2292
+ type: z.ZodLiteral<"bold">;
2293
+ }, "strip", z.ZodTypeAny, {
2294
+ type: "bold";
2295
+ }, {
2296
+ type: "bold";
2297
+ }>, z.ZodObject<{
2298
+ type: z.ZodLiteral<"italic">;
2299
+ }, "strip", z.ZodTypeAny, {
2300
+ type: "italic";
2301
+ }, {
2302
+ type: "italic";
2303
+ }>, z.ZodObject<{
2304
+ type: z.ZodLiteral<"underline">;
2305
+ }, "strip", z.ZodTypeAny, {
2306
+ type: "underline";
2307
+ }, {
2308
+ type: "underline";
2309
+ }>, z.ZodObject<{
2310
+ type: z.ZodLiteral<"strike">;
2311
+ }, "strip", z.ZodTypeAny, {
2312
+ type: "strike";
2313
+ }, {
2314
+ type: "strike";
2315
+ }>]>, "many">>;
2316
+ }, "strip", z.ZodTypeAny, {
2317
+ text: string;
2318
+ type: "text";
2319
+ marks?: ({
2320
+ type: "link";
2321
+ attrs: {
2322
+ href: string;
2323
+ };
2324
+ } | {
2325
+ type: "bold";
2326
+ } | {
2327
+ type: "italic";
2328
+ } | {
2329
+ type: "underline";
2330
+ } | {
2331
+ type: "strike";
2332
+ })[] | undefined;
2333
+ }, {
2334
+ text: string;
2335
+ type: "text";
2336
+ marks?: ({
2337
+ type: "link";
2338
+ attrs: {
2339
+ href: string;
2340
+ };
2341
+ } | {
2342
+ type: "bold";
2343
+ } | {
2344
+ type: "italic";
2345
+ } | {
2346
+ type: "underline";
2347
+ } | {
2348
+ type: "strike";
2349
+ })[] | undefined;
2350
+ }>]>, "many">;
2351
+ }, "strip", z.ZodTypeAny, {
2352
+ type: "doc";
2353
+ content: ({
2354
+ text: string;
2355
+ type: "text";
2356
+ marks?: ({
2357
+ type: "link";
2358
+ attrs: {
2359
+ href: string;
2360
+ };
2361
+ } | {
2362
+ type: "bold";
2363
+ } | {
2364
+ type: "italic";
2365
+ } | {
2366
+ type: "underline";
2367
+ } | {
2368
+ type: "strike";
2369
+ })[] | undefined;
2370
+ } | {
2371
+ type: "paragraph";
2372
+ content: {
2373
+ text: string;
2374
+ type: "text";
2375
+ marks?: ({
2376
+ type: "link";
2377
+ attrs: {
2378
+ href: string;
2379
+ };
2380
+ } | {
2381
+ type: "bold";
2382
+ } | {
2383
+ type: "italic";
2384
+ } | {
2385
+ type: "underline";
2386
+ } | {
2387
+ type: "strike";
2388
+ })[] | undefined;
2389
+ }[];
2390
+ })[];
2391
+ }, {
2392
+ type: "doc";
2393
+ content: ({
2394
+ text: string;
2395
+ type: "text";
2396
+ marks?: ({
2397
+ type: "link";
2398
+ attrs: {
2399
+ href: string;
2400
+ };
2401
+ } | {
2402
+ type: "bold";
2403
+ } | {
2404
+ type: "italic";
2405
+ } | {
2406
+ type: "underline";
2407
+ } | {
2408
+ type: "strike";
2409
+ })[] | undefined;
2410
+ } | {
2411
+ type: "paragraph";
2412
+ content: {
2413
+ text: string;
2414
+ type: "text";
2415
+ marks?: ({
2416
+ type: "link";
2417
+ attrs: {
2418
+ href: string;
2419
+ };
2420
+ } | {
2421
+ type: "bold";
2422
+ } | {
2423
+ type: "italic";
2424
+ } | {
2425
+ type: "underline";
2426
+ } | {
2427
+ type: "strike";
2428
+ })[] | undefined;
2429
+ }[];
2430
+ })[];
2431
+ }>;
2432
+ strapline: z.ZodOptional<z.ZodString>;
2433
+ }, "strip", z.ZodTypeAny, {
2434
+ description: {
2435
+ type: "doc";
2436
+ content: ({
2437
+ text: string;
2438
+ type: "text";
2439
+ marks?: ({
2440
+ type: "link";
2441
+ attrs: {
2442
+ href: string;
2443
+ };
2444
+ } | {
2445
+ type: "bold";
2446
+ } | {
2447
+ type: "italic";
2448
+ } | {
2449
+ type: "underline";
2450
+ } | {
2451
+ type: "strike";
2452
+ })[] | undefined;
2453
+ } | {
2454
+ type: "paragraph";
2455
+ content: {
2456
+ text: string;
2457
+ type: "text";
2458
+ marks?: ({
2459
+ type: "link";
2460
+ attrs: {
2461
+ href: string;
2462
+ };
2463
+ } | {
2464
+ type: "bold";
2465
+ } | {
2466
+ type: "italic";
2467
+ } | {
2468
+ type: "underline";
2469
+ } | {
2470
+ type: "strike";
2471
+ })[] | undefined;
2472
+ }[];
2473
+ })[];
2474
+ };
2475
+ heading?: {
2476
+ text: string;
2477
+ href?: string | undefined;
2478
+ } | undefined;
2479
+ strapline?: string | undefined;
2480
+ }, {
2481
+ description: {
2482
+ type: "doc";
2483
+ content: ({
2484
+ text: string;
2485
+ type: "text";
2486
+ marks?: ({
2487
+ type: "link";
2488
+ attrs: {
2489
+ href: string;
2490
+ };
2491
+ } | {
2492
+ type: "bold";
2493
+ } | {
2494
+ type: "italic";
2495
+ } | {
2496
+ type: "underline";
2497
+ } | {
2498
+ type: "strike";
2499
+ })[] | undefined;
2500
+ } | {
2501
+ type: "paragraph";
2502
+ content: {
2503
+ text: string;
2504
+ type: "text";
2505
+ marks?: ({
2506
+ type: "link";
2507
+ attrs: {
2508
+ href: string;
2509
+ };
2510
+ } | {
2511
+ type: "bold";
2512
+ } | {
2513
+ type: "italic";
2514
+ } | {
2515
+ type: "underline";
2516
+ } | {
2517
+ type: "strike";
2518
+ })[] | undefined;
2519
+ }[];
2520
+ })[];
2521
+ };
2522
+ heading?: {
2523
+ text: string;
2524
+ href?: string | undefined;
2525
+ } | undefined;
2526
+ strapline?: string | undefined;
2527
+ }>;
2528
+ } & {
2529
+ sliceId: z.ZodString;
2530
+ }, "strip", z.ZodTypeAny, {
2531
+ type: "Topper";
2532
+ properties: {
2533
+ description: {
2534
+ type: "doc";
2535
+ content: ({
2536
+ text: string;
2537
+ type: "text";
2538
+ marks?: ({
2539
+ type: "link";
2540
+ attrs: {
2541
+ href: string;
2542
+ };
2543
+ } | {
2544
+ type: "bold";
2545
+ } | {
2546
+ type: "italic";
2547
+ } | {
2548
+ type: "underline";
2549
+ } | {
2550
+ type: "strike";
2551
+ })[] | undefined;
2552
+ } | {
2553
+ type: "paragraph";
2554
+ content: {
2555
+ text: string;
2556
+ type: "text";
2557
+ marks?: ({
2558
+ type: "link";
2559
+ attrs: {
2560
+ href: string;
2561
+ };
2562
+ } | {
2563
+ type: "bold";
2564
+ } | {
2565
+ type: "italic";
2566
+ } | {
2567
+ type: "underline";
2568
+ } | {
2569
+ type: "strike";
2570
+ })[] | undefined;
2571
+ }[];
2572
+ })[];
2573
+ };
2574
+ heading?: {
2575
+ text: string;
2576
+ href?: string | undefined;
2577
+ } | undefined;
2578
+ strapline?: string | undefined;
2579
+ };
2580
+ sliceId: string;
2581
+ hidden?: boolean | undefined;
2582
+ }, {
2583
+ type: "Topper";
2584
+ properties: {
2585
+ description: {
2586
+ type: "doc";
2587
+ content: ({
2588
+ text: string;
2589
+ type: "text";
2590
+ marks?: ({
2591
+ type: "link";
2592
+ attrs: {
2593
+ href: string;
2594
+ };
2595
+ } | {
2596
+ type: "bold";
2597
+ } | {
2598
+ type: "italic";
2599
+ } | {
2600
+ type: "underline";
2601
+ } | {
2602
+ type: "strike";
2603
+ })[] | undefined;
2604
+ } | {
2605
+ type: "paragraph";
2606
+ content: {
2607
+ text: string;
2608
+ type: "text";
2609
+ marks?: ({
2610
+ type: "link";
2611
+ attrs: {
2612
+ href: string;
2613
+ };
2614
+ } | {
2615
+ type: "bold";
2616
+ } | {
2617
+ type: "italic";
2618
+ } | {
2619
+ type: "underline";
2620
+ } | {
2621
+ type: "strike";
2622
+ })[] | undefined;
2623
+ }[];
2624
+ })[];
2625
+ };
2626
+ heading?: {
2627
+ text: string;
2628
+ href?: string | undefined;
2629
+ } | undefined;
2630
+ strapline?: string | undefined;
2631
+ };
2632
+ sliceId: string;
2633
+ hidden?: boolean | undefined;
1518
2634
  }>]>, "many">;
1519
2635
  } & {
1520
2636
  type: z.ZodLiteral<"Homepage">;
@@ -1598,6 +2714,58 @@ declare const HomepageStructureOutputSchema: z.ZodObject<{
1598
2714
  };
1599
2715
  sliceId: string;
1600
2716
  hidden?: boolean | undefined;
2717
+ } | {
2718
+ type: "Topper";
2719
+ properties: {
2720
+ description: {
2721
+ type: "doc";
2722
+ content: ({
2723
+ text: string;
2724
+ type: "text";
2725
+ marks?: ({
2726
+ type: "link";
2727
+ attrs: {
2728
+ href: string;
2729
+ };
2730
+ } | {
2731
+ type: "bold";
2732
+ } | {
2733
+ type: "italic";
2734
+ } | {
2735
+ type: "underline";
2736
+ } | {
2737
+ type: "strike";
2738
+ })[] | undefined;
2739
+ } | {
2740
+ type: "paragraph";
2741
+ content: {
2742
+ text: string;
2743
+ type: "text";
2744
+ marks?: ({
2745
+ type: "link";
2746
+ attrs: {
2747
+ href: string;
2748
+ };
2749
+ } | {
2750
+ type: "bold";
2751
+ } | {
2752
+ type: "italic";
2753
+ } | {
2754
+ type: "underline";
2755
+ } | {
2756
+ type: "strike";
2757
+ })[] | undefined;
2758
+ }[];
2759
+ })[];
2760
+ };
2761
+ heading?: {
2762
+ text: string;
2763
+ href?: string | undefined;
2764
+ } | undefined;
2765
+ strapline?: string | undefined;
2766
+ };
2767
+ sliceId: string;
2768
+ hidden?: boolean | undefined;
1601
2769
  })[];
1602
2770
  schemaVersion: number;
1603
2771
  }, {
@@ -1666,6 +2834,58 @@ declare const HomepageStructureOutputSchema: z.ZodObject<{
1666
2834
  };
1667
2835
  sliceId: string;
1668
2836
  hidden?: boolean | undefined;
2837
+ } | {
2838
+ type: "Topper";
2839
+ properties: {
2840
+ description: {
2841
+ type: "doc";
2842
+ content: ({
2843
+ text: string;
2844
+ type: "text";
2845
+ marks?: ({
2846
+ type: "link";
2847
+ attrs: {
2848
+ href: string;
2849
+ };
2850
+ } | {
2851
+ type: "bold";
2852
+ } | {
2853
+ type: "italic";
2854
+ } | {
2855
+ type: "underline";
2856
+ } | {
2857
+ type: "strike";
2858
+ })[] | undefined;
2859
+ } | {
2860
+ type: "paragraph";
2861
+ content: {
2862
+ text: string;
2863
+ type: "text";
2864
+ marks?: ({
2865
+ type: "link";
2866
+ attrs: {
2867
+ href: string;
2868
+ };
2869
+ } | {
2870
+ type: "bold";
2871
+ } | {
2872
+ type: "italic";
2873
+ } | {
2874
+ type: "underline";
2875
+ } | {
2876
+ type: "strike";
2877
+ })[] | undefined;
2878
+ }[];
2879
+ })[];
2880
+ };
2881
+ heading?: {
2882
+ text: string;
2883
+ href?: string | undefined;
2884
+ } | undefined;
2885
+ strapline?: string | undefined;
2886
+ };
2887
+ sliceId: string;
2888
+ hidden?: boolean | undefined;
1669
2889
  })[];
1670
2890
  schemaVersion: number;
1671
2891
  }>;
@@ -2522,6 +3742,512 @@ declare const PageStructureInputSchema: z.ZodObject<{
2522
3742
  };
2523
3743
  hidden?: boolean | undefined;
2524
3744
  sliceId?: string | undefined;
3745
+ }>, z.ZodObject<{
3746
+ type: z.ZodLiteral<"Topper">;
3747
+ hidden: z.ZodOptional<z.ZodBoolean>;
3748
+ properties: z.ZodObject<{
3749
+ heading: z.ZodOptional<z.ZodObject<{
3750
+ text: z.ZodString;
3751
+ href: z.ZodOptional<z.ZodString>;
3752
+ }, "strip", z.ZodTypeAny, {
3753
+ text: string;
3754
+ href?: string | undefined;
3755
+ }, {
3756
+ text: string;
3757
+ href?: string | undefined;
3758
+ }>>;
3759
+ } & {
3760
+ description: z.ZodObject<{
3761
+ type: z.ZodLiteral<"doc">;
3762
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
3763
+ type: z.ZodLiteral<"paragraph">;
3764
+ content: z.ZodArray<z.ZodObject<{
3765
+ type: z.ZodLiteral<"text">;
3766
+ text: z.ZodString;
3767
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3768
+ type: z.ZodLiteral<"link">;
3769
+ attrs: z.ZodObject<{
3770
+ href: z.ZodEffects<z.ZodString, string, string>;
3771
+ }, "strip", z.ZodTypeAny, {
3772
+ href: string;
3773
+ }, {
3774
+ href: string;
3775
+ }>;
3776
+ }, "strip", z.ZodTypeAny, {
3777
+ type: "link";
3778
+ attrs: {
3779
+ href: string;
3780
+ };
3781
+ }, {
3782
+ type: "link";
3783
+ attrs: {
3784
+ href: string;
3785
+ };
3786
+ }>, z.ZodObject<{
3787
+ type: z.ZodLiteral<"bold">;
3788
+ }, "strip", z.ZodTypeAny, {
3789
+ type: "bold";
3790
+ }, {
3791
+ type: "bold";
3792
+ }>, z.ZodObject<{
3793
+ type: z.ZodLiteral<"italic">;
3794
+ }, "strip", z.ZodTypeAny, {
3795
+ type: "italic";
3796
+ }, {
3797
+ type: "italic";
3798
+ }>, z.ZodObject<{
3799
+ type: z.ZodLiteral<"underline">;
3800
+ }, "strip", z.ZodTypeAny, {
3801
+ type: "underline";
3802
+ }, {
3803
+ type: "underline";
3804
+ }>, z.ZodObject<{
3805
+ type: z.ZodLiteral<"strike">;
3806
+ }, "strip", z.ZodTypeAny, {
3807
+ type: "strike";
3808
+ }, {
3809
+ type: "strike";
3810
+ }>]>, "many">>;
3811
+ }, "strip", z.ZodTypeAny, {
3812
+ text: string;
3813
+ type: "text";
3814
+ marks?: ({
3815
+ type: "link";
3816
+ attrs: {
3817
+ href: string;
3818
+ };
3819
+ } | {
3820
+ type: "bold";
3821
+ } | {
3822
+ type: "italic";
3823
+ } | {
3824
+ type: "underline";
3825
+ } | {
3826
+ type: "strike";
3827
+ })[] | undefined;
3828
+ }, {
3829
+ text: string;
3830
+ type: "text";
3831
+ marks?: ({
3832
+ type: "link";
3833
+ attrs: {
3834
+ href: string;
3835
+ };
3836
+ } | {
3837
+ type: "bold";
3838
+ } | {
3839
+ type: "italic";
3840
+ } | {
3841
+ type: "underline";
3842
+ } | {
3843
+ type: "strike";
3844
+ })[] | undefined;
3845
+ }>, "many">;
3846
+ }, "strip", z.ZodTypeAny, {
3847
+ type: "paragraph";
3848
+ content: {
3849
+ text: string;
3850
+ type: "text";
3851
+ marks?: ({
3852
+ type: "link";
3853
+ attrs: {
3854
+ href: string;
3855
+ };
3856
+ } | {
3857
+ type: "bold";
3858
+ } | {
3859
+ type: "italic";
3860
+ } | {
3861
+ type: "underline";
3862
+ } | {
3863
+ type: "strike";
3864
+ })[] | undefined;
3865
+ }[];
3866
+ }, {
3867
+ type: "paragraph";
3868
+ content: {
3869
+ text: string;
3870
+ type: "text";
3871
+ marks?: ({
3872
+ type: "link";
3873
+ attrs: {
3874
+ href: string;
3875
+ };
3876
+ } | {
3877
+ type: "bold";
3878
+ } | {
3879
+ type: "italic";
3880
+ } | {
3881
+ type: "underline";
3882
+ } | {
3883
+ type: "strike";
3884
+ })[] | undefined;
3885
+ }[];
3886
+ }>, z.ZodObject<{
3887
+ type: z.ZodLiteral<"text">;
3888
+ text: z.ZodString;
3889
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3890
+ type: z.ZodLiteral<"link">;
3891
+ attrs: z.ZodObject<{
3892
+ href: z.ZodEffects<z.ZodString, string, string>;
3893
+ }, "strip", z.ZodTypeAny, {
3894
+ href: string;
3895
+ }, {
3896
+ href: string;
3897
+ }>;
3898
+ }, "strip", z.ZodTypeAny, {
3899
+ type: "link";
3900
+ attrs: {
3901
+ href: string;
3902
+ };
3903
+ }, {
3904
+ type: "link";
3905
+ attrs: {
3906
+ href: string;
3907
+ };
3908
+ }>, z.ZodObject<{
3909
+ type: z.ZodLiteral<"bold">;
3910
+ }, "strip", z.ZodTypeAny, {
3911
+ type: "bold";
3912
+ }, {
3913
+ type: "bold";
3914
+ }>, z.ZodObject<{
3915
+ type: z.ZodLiteral<"italic">;
3916
+ }, "strip", z.ZodTypeAny, {
3917
+ type: "italic";
3918
+ }, {
3919
+ type: "italic";
3920
+ }>, z.ZodObject<{
3921
+ type: z.ZodLiteral<"underline">;
3922
+ }, "strip", z.ZodTypeAny, {
3923
+ type: "underline";
3924
+ }, {
3925
+ type: "underline";
3926
+ }>, z.ZodObject<{
3927
+ type: z.ZodLiteral<"strike">;
3928
+ }, "strip", z.ZodTypeAny, {
3929
+ type: "strike";
3930
+ }, {
3931
+ type: "strike";
3932
+ }>]>, "many">>;
3933
+ }, "strip", z.ZodTypeAny, {
3934
+ text: string;
3935
+ type: "text";
3936
+ marks?: ({
3937
+ type: "link";
3938
+ attrs: {
3939
+ href: string;
3940
+ };
3941
+ } | {
3942
+ type: "bold";
3943
+ } | {
3944
+ type: "italic";
3945
+ } | {
3946
+ type: "underline";
3947
+ } | {
3948
+ type: "strike";
3949
+ })[] | undefined;
3950
+ }, {
3951
+ text: string;
3952
+ type: "text";
3953
+ marks?: ({
3954
+ type: "link";
3955
+ attrs: {
3956
+ href: string;
3957
+ };
3958
+ } | {
3959
+ type: "bold";
3960
+ } | {
3961
+ type: "italic";
3962
+ } | {
3963
+ type: "underline";
3964
+ } | {
3965
+ type: "strike";
3966
+ })[] | undefined;
3967
+ }>]>, "many">;
3968
+ }, "strip", z.ZodTypeAny, {
3969
+ type: "doc";
3970
+ content: ({
3971
+ text: string;
3972
+ type: "text";
3973
+ marks?: ({
3974
+ type: "link";
3975
+ attrs: {
3976
+ href: string;
3977
+ };
3978
+ } | {
3979
+ type: "bold";
3980
+ } | {
3981
+ type: "italic";
3982
+ } | {
3983
+ type: "underline";
3984
+ } | {
3985
+ type: "strike";
3986
+ })[] | undefined;
3987
+ } | {
3988
+ type: "paragraph";
3989
+ content: {
3990
+ text: string;
3991
+ type: "text";
3992
+ marks?: ({
3993
+ type: "link";
3994
+ attrs: {
3995
+ href: string;
3996
+ };
3997
+ } | {
3998
+ type: "bold";
3999
+ } | {
4000
+ type: "italic";
4001
+ } | {
4002
+ type: "underline";
4003
+ } | {
4004
+ type: "strike";
4005
+ })[] | undefined;
4006
+ }[];
4007
+ })[];
4008
+ }, {
4009
+ type: "doc";
4010
+ content: ({
4011
+ text: string;
4012
+ type: "text";
4013
+ marks?: ({
4014
+ type: "link";
4015
+ attrs: {
4016
+ href: string;
4017
+ };
4018
+ } | {
4019
+ type: "bold";
4020
+ } | {
4021
+ type: "italic";
4022
+ } | {
4023
+ type: "underline";
4024
+ } | {
4025
+ type: "strike";
4026
+ })[] | undefined;
4027
+ } | {
4028
+ type: "paragraph";
4029
+ content: {
4030
+ text: string;
4031
+ type: "text";
4032
+ marks?: ({
4033
+ type: "link";
4034
+ attrs: {
4035
+ href: string;
4036
+ };
4037
+ } | {
4038
+ type: "bold";
4039
+ } | {
4040
+ type: "italic";
4041
+ } | {
4042
+ type: "underline";
4043
+ } | {
4044
+ type: "strike";
4045
+ })[] | undefined;
4046
+ }[];
4047
+ })[];
4048
+ }>;
4049
+ strapline: z.ZodOptional<z.ZodString>;
4050
+ }, "strip", z.ZodTypeAny, {
4051
+ description: {
4052
+ type: "doc";
4053
+ content: ({
4054
+ text: string;
4055
+ type: "text";
4056
+ marks?: ({
4057
+ type: "link";
4058
+ attrs: {
4059
+ href: string;
4060
+ };
4061
+ } | {
4062
+ type: "bold";
4063
+ } | {
4064
+ type: "italic";
4065
+ } | {
4066
+ type: "underline";
4067
+ } | {
4068
+ type: "strike";
4069
+ })[] | undefined;
4070
+ } | {
4071
+ type: "paragraph";
4072
+ content: {
4073
+ text: string;
4074
+ type: "text";
4075
+ marks?: ({
4076
+ type: "link";
4077
+ attrs: {
4078
+ href: string;
4079
+ };
4080
+ } | {
4081
+ type: "bold";
4082
+ } | {
4083
+ type: "italic";
4084
+ } | {
4085
+ type: "underline";
4086
+ } | {
4087
+ type: "strike";
4088
+ })[] | undefined;
4089
+ }[];
4090
+ })[];
4091
+ };
4092
+ heading?: {
4093
+ text: string;
4094
+ href?: string | undefined;
4095
+ } | undefined;
4096
+ strapline?: string | undefined;
4097
+ }, {
4098
+ description: {
4099
+ type: "doc";
4100
+ content: ({
4101
+ text: string;
4102
+ type: "text";
4103
+ marks?: ({
4104
+ type: "link";
4105
+ attrs: {
4106
+ href: string;
4107
+ };
4108
+ } | {
4109
+ type: "bold";
4110
+ } | {
4111
+ type: "italic";
4112
+ } | {
4113
+ type: "underline";
4114
+ } | {
4115
+ type: "strike";
4116
+ })[] | undefined;
4117
+ } | {
4118
+ type: "paragraph";
4119
+ content: {
4120
+ text: string;
4121
+ type: "text";
4122
+ marks?: ({
4123
+ type: "link";
4124
+ attrs: {
4125
+ href: string;
4126
+ };
4127
+ } | {
4128
+ type: "bold";
4129
+ } | {
4130
+ type: "italic";
4131
+ } | {
4132
+ type: "underline";
4133
+ } | {
4134
+ type: "strike";
4135
+ })[] | undefined;
4136
+ }[];
4137
+ })[];
4138
+ };
4139
+ heading?: {
4140
+ text: string;
4141
+ href?: string | undefined;
4142
+ } | undefined;
4143
+ strapline?: string | undefined;
4144
+ }>;
4145
+ } & {
4146
+ sliceId: z.ZodOptional<z.ZodString>;
4147
+ }, "strip", z.ZodTypeAny, {
4148
+ type: "Topper";
4149
+ properties: {
4150
+ description: {
4151
+ type: "doc";
4152
+ content: ({
4153
+ text: string;
4154
+ type: "text";
4155
+ marks?: ({
4156
+ type: "link";
4157
+ attrs: {
4158
+ href: string;
4159
+ };
4160
+ } | {
4161
+ type: "bold";
4162
+ } | {
4163
+ type: "italic";
4164
+ } | {
4165
+ type: "underline";
4166
+ } | {
4167
+ type: "strike";
4168
+ })[] | undefined;
4169
+ } | {
4170
+ type: "paragraph";
4171
+ content: {
4172
+ text: string;
4173
+ type: "text";
4174
+ marks?: ({
4175
+ type: "link";
4176
+ attrs: {
4177
+ href: string;
4178
+ };
4179
+ } | {
4180
+ type: "bold";
4181
+ } | {
4182
+ type: "italic";
4183
+ } | {
4184
+ type: "underline";
4185
+ } | {
4186
+ type: "strike";
4187
+ })[] | undefined;
4188
+ }[];
4189
+ })[];
4190
+ };
4191
+ heading?: {
4192
+ text: string;
4193
+ href?: string | undefined;
4194
+ } | undefined;
4195
+ strapline?: string | undefined;
4196
+ };
4197
+ hidden?: boolean | undefined;
4198
+ sliceId?: string | undefined;
4199
+ }, {
4200
+ type: "Topper";
4201
+ properties: {
4202
+ description: {
4203
+ type: "doc";
4204
+ content: ({
4205
+ text: string;
4206
+ type: "text";
4207
+ marks?: ({
4208
+ type: "link";
4209
+ attrs: {
4210
+ href: string;
4211
+ };
4212
+ } | {
4213
+ type: "bold";
4214
+ } | {
4215
+ type: "italic";
4216
+ } | {
4217
+ type: "underline";
4218
+ } | {
4219
+ type: "strike";
4220
+ })[] | undefined;
4221
+ } | {
4222
+ type: "paragraph";
4223
+ content: {
4224
+ text: string;
4225
+ type: "text";
4226
+ marks?: ({
4227
+ type: "link";
4228
+ attrs: {
4229
+ href: string;
4230
+ };
4231
+ } | {
4232
+ type: "bold";
4233
+ } | {
4234
+ type: "italic";
4235
+ } | {
4236
+ type: "underline";
4237
+ } | {
4238
+ type: "strike";
4239
+ })[] | undefined;
4240
+ }[];
4241
+ })[];
4242
+ };
4243
+ heading?: {
4244
+ text: string;
4245
+ href?: string | undefined;
4246
+ } | undefined;
4247
+ strapline?: string | undefined;
4248
+ };
4249
+ hidden?: boolean | undefined;
4250
+ sliceId?: string | undefined;
2525
4251
  }>]>, "many">;
2526
4252
  }, "strip", z.ZodTypeAny, {
2527
4253
  properties: {
@@ -2587,6 +4313,58 @@ declare const PageStructureInputSchema: z.ZodObject<{
2587
4313
  };
2588
4314
  hidden?: boolean | undefined;
2589
4315
  sliceId?: string | undefined;
4316
+ } | {
4317
+ type: "Topper";
4318
+ properties: {
4319
+ description: {
4320
+ type: "doc";
4321
+ content: ({
4322
+ text: string;
4323
+ type: "text";
4324
+ marks?: ({
4325
+ type: "link";
4326
+ attrs: {
4327
+ href: string;
4328
+ };
4329
+ } | {
4330
+ type: "bold";
4331
+ } | {
4332
+ type: "italic";
4333
+ } | {
4334
+ type: "underline";
4335
+ } | {
4336
+ type: "strike";
4337
+ })[] | undefined;
4338
+ } | {
4339
+ type: "paragraph";
4340
+ content: {
4341
+ text: string;
4342
+ type: "text";
4343
+ marks?: ({
4344
+ type: "link";
4345
+ attrs: {
4346
+ href: string;
4347
+ };
4348
+ } | {
4349
+ type: "bold";
4350
+ } | {
4351
+ type: "italic";
4352
+ } | {
4353
+ type: "underline";
4354
+ } | {
4355
+ type: "strike";
4356
+ })[] | undefined;
4357
+ }[];
4358
+ })[];
4359
+ };
4360
+ heading?: {
4361
+ text: string;
4362
+ href?: string | undefined;
4363
+ } | undefined;
4364
+ strapline?: string | undefined;
4365
+ };
4366
+ hidden?: boolean | undefined;
4367
+ sliceId?: string | undefined;
2590
4368
  })[];
2591
4369
  }, {
2592
4370
  properties: {
@@ -2652,6 +4430,58 @@ declare const PageStructureInputSchema: z.ZodObject<{
2652
4430
  };
2653
4431
  hidden?: boolean | undefined;
2654
4432
  sliceId?: string | undefined;
4433
+ } | {
4434
+ type: "Topper";
4435
+ properties: {
4436
+ description: {
4437
+ type: "doc";
4438
+ content: ({
4439
+ text: string;
4440
+ type: "text";
4441
+ marks?: ({
4442
+ type: "link";
4443
+ attrs: {
4444
+ href: string;
4445
+ };
4446
+ } | {
4447
+ type: "bold";
4448
+ } | {
4449
+ type: "italic";
4450
+ } | {
4451
+ type: "underline";
4452
+ } | {
4453
+ type: "strike";
4454
+ })[] | undefined;
4455
+ } | {
4456
+ type: "paragraph";
4457
+ content: {
4458
+ text: string;
4459
+ type: "text";
4460
+ marks?: ({
4461
+ type: "link";
4462
+ attrs: {
4463
+ href: string;
4464
+ };
4465
+ } | {
4466
+ type: "bold";
4467
+ } | {
4468
+ type: "italic";
4469
+ } | {
4470
+ type: "underline";
4471
+ } | {
4472
+ type: "strike";
4473
+ })[] | undefined;
4474
+ }[];
4475
+ })[];
4476
+ };
4477
+ heading?: {
4478
+ text: string;
4479
+ href?: string | undefined;
4480
+ } | undefined;
4481
+ strapline?: string | undefined;
4482
+ };
4483
+ hidden?: boolean | undefined;
4484
+ sliceId?: string | undefined;
2655
4485
  })[];
2656
4486
  }>;
2657
4487
  export { PageStructureInputSchema }
@@ -2963,33 +4793,539 @@ declare const PageStructureOutputSchema: z.ZodObject<{
2963
4793
  };
2964
4794
  sliceId: string;
2965
4795
  hidden?: boolean | undefined;
2966
- }>]>, "many">;
2967
- }, "strip", z.ZodTypeAny, {
2968
- type: "Page";
2969
- properties: {
2970
- title: string;
2971
- pageId: string;
2972
- };
2973
- children: ({
2974
- type: "HomepageSlice";
2975
- sliceId: string;
2976
- hidden?: boolean | undefined;
2977
- properties?: {
4796
+ }>, z.ZodObject<{
4797
+ type: z.ZodLiteral<"Topper">;
4798
+ hidden: z.ZodOptional<z.ZodBoolean>;
4799
+ properties: z.ZodObject<{
4800
+ heading: z.ZodOptional<z.ZodObject<{
4801
+ text: z.ZodString;
4802
+ href: z.ZodOptional<z.ZodString>;
4803
+ }, "strip", z.ZodTypeAny, {
4804
+ text: string;
4805
+ href?: string | undefined;
4806
+ }, {
4807
+ text: string;
4808
+ href?: string | undefined;
4809
+ }>>;
4810
+ } & {
4811
+ description: z.ZodObject<{
4812
+ type: z.ZodLiteral<"doc">;
4813
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
4814
+ type: z.ZodLiteral<"paragraph">;
4815
+ content: z.ZodArray<z.ZodObject<{
4816
+ type: z.ZodLiteral<"text">;
4817
+ text: z.ZodString;
4818
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4819
+ type: z.ZodLiteral<"link">;
4820
+ attrs: z.ZodObject<{
4821
+ href: z.ZodEffects<z.ZodString, string, string>;
4822
+ }, "strip", z.ZodTypeAny, {
4823
+ href: string;
4824
+ }, {
4825
+ href: string;
4826
+ }>;
4827
+ }, "strip", z.ZodTypeAny, {
4828
+ type: "link";
4829
+ attrs: {
4830
+ href: string;
4831
+ };
4832
+ }, {
4833
+ type: "link";
4834
+ attrs: {
4835
+ href: string;
4836
+ };
4837
+ }>, z.ZodObject<{
4838
+ type: z.ZodLiteral<"bold">;
4839
+ }, "strip", z.ZodTypeAny, {
4840
+ type: "bold";
4841
+ }, {
4842
+ type: "bold";
4843
+ }>, z.ZodObject<{
4844
+ type: z.ZodLiteral<"italic">;
4845
+ }, "strip", z.ZodTypeAny, {
4846
+ type: "italic";
4847
+ }, {
4848
+ type: "italic";
4849
+ }>, z.ZodObject<{
4850
+ type: z.ZodLiteral<"underline">;
4851
+ }, "strip", z.ZodTypeAny, {
4852
+ type: "underline";
4853
+ }, {
4854
+ type: "underline";
4855
+ }>, z.ZodObject<{
4856
+ type: z.ZodLiteral<"strike">;
4857
+ }, "strip", z.ZodTypeAny, {
4858
+ type: "strike";
4859
+ }, {
4860
+ type: "strike";
4861
+ }>]>, "many">>;
4862
+ }, "strip", z.ZodTypeAny, {
4863
+ text: string;
4864
+ type: "text";
4865
+ marks?: ({
4866
+ type: "link";
4867
+ attrs: {
4868
+ href: string;
4869
+ };
4870
+ } | {
4871
+ type: "bold";
4872
+ } | {
4873
+ type: "italic";
4874
+ } | {
4875
+ type: "underline";
4876
+ } | {
4877
+ type: "strike";
4878
+ })[] | undefined;
4879
+ }, {
4880
+ text: string;
4881
+ type: "text";
4882
+ marks?: ({
4883
+ type: "link";
4884
+ attrs: {
4885
+ href: string;
4886
+ };
4887
+ } | {
4888
+ type: "bold";
4889
+ } | {
4890
+ type: "italic";
4891
+ } | {
4892
+ type: "underline";
4893
+ } | {
4894
+ type: "strike";
4895
+ })[] | undefined;
4896
+ }>, "many">;
4897
+ }, "strip", z.ZodTypeAny, {
4898
+ type: "paragraph";
4899
+ content: {
4900
+ text: string;
4901
+ type: "text";
4902
+ marks?: ({
4903
+ type: "link";
4904
+ attrs: {
4905
+ href: string;
4906
+ };
4907
+ } | {
4908
+ type: "bold";
4909
+ } | {
4910
+ type: "italic";
4911
+ } | {
4912
+ type: "underline";
4913
+ } | {
4914
+ type: "strike";
4915
+ })[] | undefined;
4916
+ }[];
4917
+ }, {
4918
+ type: "paragraph";
4919
+ content: {
4920
+ text: string;
4921
+ type: "text";
4922
+ marks?: ({
4923
+ type: "link";
4924
+ attrs: {
4925
+ href: string;
4926
+ };
4927
+ } | {
4928
+ type: "bold";
4929
+ } | {
4930
+ type: "italic";
4931
+ } | {
4932
+ type: "underline";
4933
+ } | {
4934
+ type: "strike";
4935
+ })[] | undefined;
4936
+ }[];
4937
+ }>, z.ZodObject<{
4938
+ type: z.ZodLiteral<"text">;
4939
+ text: z.ZodString;
4940
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4941
+ type: z.ZodLiteral<"link">;
4942
+ attrs: z.ZodObject<{
4943
+ href: z.ZodEffects<z.ZodString, string, string>;
4944
+ }, "strip", z.ZodTypeAny, {
4945
+ href: string;
4946
+ }, {
4947
+ href: string;
4948
+ }>;
4949
+ }, "strip", z.ZodTypeAny, {
4950
+ type: "link";
4951
+ attrs: {
4952
+ href: string;
4953
+ };
4954
+ }, {
4955
+ type: "link";
4956
+ attrs: {
4957
+ href: string;
4958
+ };
4959
+ }>, z.ZodObject<{
4960
+ type: z.ZodLiteral<"bold">;
4961
+ }, "strip", z.ZodTypeAny, {
4962
+ type: "bold";
4963
+ }, {
4964
+ type: "bold";
4965
+ }>, z.ZodObject<{
4966
+ type: z.ZodLiteral<"italic">;
4967
+ }, "strip", z.ZodTypeAny, {
4968
+ type: "italic";
4969
+ }, {
4970
+ type: "italic";
4971
+ }>, z.ZodObject<{
4972
+ type: z.ZodLiteral<"underline">;
4973
+ }, "strip", z.ZodTypeAny, {
4974
+ type: "underline";
4975
+ }, {
4976
+ type: "underline";
4977
+ }>, z.ZodObject<{
4978
+ type: z.ZodLiteral<"strike">;
4979
+ }, "strip", z.ZodTypeAny, {
4980
+ type: "strike";
4981
+ }, {
4982
+ type: "strike";
4983
+ }>]>, "many">>;
4984
+ }, "strip", z.ZodTypeAny, {
4985
+ text: string;
4986
+ type: "text";
4987
+ marks?: ({
4988
+ type: "link";
4989
+ attrs: {
4990
+ href: string;
4991
+ };
4992
+ } | {
4993
+ type: "bold";
4994
+ } | {
4995
+ type: "italic";
4996
+ } | {
4997
+ type: "underline";
4998
+ } | {
4999
+ type: "strike";
5000
+ })[] | undefined;
5001
+ }, {
5002
+ text: string;
5003
+ type: "text";
5004
+ marks?: ({
5005
+ type: "link";
5006
+ attrs: {
5007
+ href: string;
5008
+ };
5009
+ } | {
5010
+ type: "bold";
5011
+ } | {
5012
+ type: "italic";
5013
+ } | {
5014
+ type: "underline";
5015
+ } | {
5016
+ type: "strike";
5017
+ })[] | undefined;
5018
+ }>]>, "many">;
5019
+ }, "strip", z.ZodTypeAny, {
5020
+ type: "doc";
5021
+ content: ({
5022
+ text: string;
5023
+ type: "text";
5024
+ marks?: ({
5025
+ type: "link";
5026
+ attrs: {
5027
+ href: string;
5028
+ };
5029
+ } | {
5030
+ type: "bold";
5031
+ } | {
5032
+ type: "italic";
5033
+ } | {
5034
+ type: "underline";
5035
+ } | {
5036
+ type: "strike";
5037
+ })[] | undefined;
5038
+ } | {
5039
+ type: "paragraph";
5040
+ content: {
5041
+ text: string;
5042
+ type: "text";
5043
+ marks?: ({
5044
+ type: "link";
5045
+ attrs: {
5046
+ href: string;
5047
+ };
5048
+ } | {
5049
+ type: "bold";
5050
+ } | {
5051
+ type: "italic";
5052
+ } | {
5053
+ type: "underline";
5054
+ } | {
5055
+ type: "strike";
5056
+ })[] | undefined;
5057
+ }[];
5058
+ })[];
5059
+ }, {
5060
+ type: "doc";
5061
+ content: ({
5062
+ text: string;
5063
+ type: "text";
5064
+ marks?: ({
5065
+ type: "link";
5066
+ attrs: {
5067
+ href: string;
5068
+ };
5069
+ } | {
5070
+ type: "bold";
5071
+ } | {
5072
+ type: "italic";
5073
+ } | {
5074
+ type: "underline";
5075
+ } | {
5076
+ type: "strike";
5077
+ })[] | undefined;
5078
+ } | {
5079
+ type: "paragraph";
5080
+ content: {
5081
+ text: string;
5082
+ type: "text";
5083
+ marks?: ({
5084
+ type: "link";
5085
+ attrs: {
5086
+ href: string;
5087
+ };
5088
+ } | {
5089
+ type: "bold";
5090
+ } | {
5091
+ type: "italic";
5092
+ } | {
5093
+ type: "underline";
5094
+ } | {
5095
+ type: "strike";
5096
+ })[] | undefined;
5097
+ }[];
5098
+ })[];
5099
+ }>;
5100
+ strapline: z.ZodOptional<z.ZodString>;
5101
+ }, "strip", z.ZodTypeAny, {
5102
+ description: {
5103
+ type: "doc";
5104
+ content: ({
5105
+ text: string;
5106
+ type: "text";
5107
+ marks?: ({
5108
+ type: "link";
5109
+ attrs: {
5110
+ href: string;
5111
+ };
5112
+ } | {
5113
+ type: "bold";
5114
+ } | {
5115
+ type: "italic";
5116
+ } | {
5117
+ type: "underline";
5118
+ } | {
5119
+ type: "strike";
5120
+ })[] | undefined;
5121
+ } | {
5122
+ type: "paragraph";
5123
+ content: {
5124
+ text: string;
5125
+ type: "text";
5126
+ marks?: ({
5127
+ type: "link";
5128
+ attrs: {
5129
+ href: string;
5130
+ };
5131
+ } | {
5132
+ type: "bold";
5133
+ } | {
5134
+ type: "italic";
5135
+ } | {
5136
+ type: "underline";
5137
+ } | {
5138
+ type: "strike";
5139
+ })[] | undefined;
5140
+ }[];
5141
+ })[];
5142
+ };
2978
5143
  heading?: {
2979
5144
  text: string;
2980
5145
  href?: string | undefined;
2981
5146
  } | undefined;
2982
- } | undefined;
2983
- } | {
2984
- type: "FlourishGraphic";
2985
- properties: {
2986
- displayBehaviour: "standalone" | "associated";
2987
- flourishId: string;
5147
+ strapline?: string | undefined;
5148
+ }, {
5149
+ description: {
5150
+ type: "doc";
5151
+ content: ({
5152
+ text: string;
5153
+ type: "text";
5154
+ marks?: ({
5155
+ type: "link";
5156
+ attrs: {
5157
+ href: string;
5158
+ };
5159
+ } | {
5160
+ type: "bold";
5161
+ } | {
5162
+ type: "italic";
5163
+ } | {
5164
+ type: "underline";
5165
+ } | {
5166
+ type: "strike";
5167
+ })[] | undefined;
5168
+ } | {
5169
+ type: "paragraph";
5170
+ content: {
5171
+ text: string;
5172
+ type: "text";
5173
+ marks?: ({
5174
+ type: "link";
5175
+ attrs: {
5176
+ href: string;
5177
+ };
5178
+ } | {
5179
+ type: "bold";
5180
+ } | {
5181
+ type: "italic";
5182
+ } | {
5183
+ type: "underline";
5184
+ } | {
5185
+ type: "strike";
5186
+ })[] | undefined;
5187
+ }[];
5188
+ })[];
5189
+ };
2988
5190
  heading?: {
2989
5191
  text: string;
2990
5192
  href?: string | undefined;
2991
5193
  } | undefined;
2992
- flourishDescription?: string | undefined;
5194
+ strapline?: string | undefined;
5195
+ }>;
5196
+ } & {
5197
+ sliceId: z.ZodString;
5198
+ }, "strip", z.ZodTypeAny, {
5199
+ type: "Topper";
5200
+ properties: {
5201
+ description: {
5202
+ type: "doc";
5203
+ content: ({
5204
+ text: string;
5205
+ type: "text";
5206
+ marks?: ({
5207
+ type: "link";
5208
+ attrs: {
5209
+ href: string;
5210
+ };
5211
+ } | {
5212
+ type: "bold";
5213
+ } | {
5214
+ type: "italic";
5215
+ } | {
5216
+ type: "underline";
5217
+ } | {
5218
+ type: "strike";
5219
+ })[] | undefined;
5220
+ } | {
5221
+ type: "paragraph";
5222
+ content: {
5223
+ text: string;
5224
+ type: "text";
5225
+ marks?: ({
5226
+ type: "link";
5227
+ attrs: {
5228
+ href: string;
5229
+ };
5230
+ } | {
5231
+ type: "bold";
5232
+ } | {
5233
+ type: "italic";
5234
+ } | {
5235
+ type: "underline";
5236
+ } | {
5237
+ type: "strike";
5238
+ })[] | undefined;
5239
+ }[];
5240
+ })[];
5241
+ };
5242
+ heading?: {
5243
+ text: string;
5244
+ href?: string | undefined;
5245
+ } | undefined;
5246
+ strapline?: string | undefined;
5247
+ };
5248
+ sliceId: string;
5249
+ hidden?: boolean | undefined;
5250
+ }, {
5251
+ type: "Topper";
5252
+ properties: {
5253
+ description: {
5254
+ type: "doc";
5255
+ content: ({
5256
+ text: string;
5257
+ type: "text";
5258
+ marks?: ({
5259
+ type: "link";
5260
+ attrs: {
5261
+ href: string;
5262
+ };
5263
+ } | {
5264
+ type: "bold";
5265
+ } | {
5266
+ type: "italic";
5267
+ } | {
5268
+ type: "underline";
5269
+ } | {
5270
+ type: "strike";
5271
+ })[] | undefined;
5272
+ } | {
5273
+ type: "paragraph";
5274
+ content: {
5275
+ text: string;
5276
+ type: "text";
5277
+ marks?: ({
5278
+ type: "link";
5279
+ attrs: {
5280
+ href: string;
5281
+ };
5282
+ } | {
5283
+ type: "bold";
5284
+ } | {
5285
+ type: "italic";
5286
+ } | {
5287
+ type: "underline";
5288
+ } | {
5289
+ type: "strike";
5290
+ })[] | undefined;
5291
+ }[];
5292
+ })[];
5293
+ };
5294
+ heading?: {
5295
+ text: string;
5296
+ href?: string | undefined;
5297
+ } | undefined;
5298
+ strapline?: string | undefined;
5299
+ };
5300
+ sliceId: string;
5301
+ hidden?: boolean | undefined;
5302
+ }>]>, "many">;
5303
+ }, "strip", z.ZodTypeAny, {
5304
+ type: "Page";
5305
+ properties: {
5306
+ title: string;
5307
+ pageId: string;
5308
+ };
5309
+ children: ({
5310
+ type: "HomepageSlice";
5311
+ sliceId: string;
5312
+ hidden?: boolean | undefined;
5313
+ properties?: {
5314
+ heading?: {
5315
+ text: string;
5316
+ href?: string | undefined;
5317
+ } | undefined;
5318
+ } | undefined;
5319
+ } | {
5320
+ type: "FlourishGraphic";
5321
+ properties: {
5322
+ displayBehaviour: "standalone" | "associated";
5323
+ flourishId: string;
5324
+ heading?: {
5325
+ text: string;
5326
+ href?: string | undefined;
5327
+ } | undefined;
5328
+ flourishDescription?: string | undefined;
2993
5329
  };
2994
5330
  sliceId: string;
2995
5331
  hidden?: boolean | undefined;
@@ -3029,6 +5365,58 @@ declare const PageStructureOutputSchema: z.ZodObject<{
3029
5365
  };
3030
5366
  sliceId: string;
3031
5367
  hidden?: boolean | undefined;
5368
+ } | {
5369
+ type: "Topper";
5370
+ properties: {
5371
+ description: {
5372
+ type: "doc";
5373
+ content: ({
5374
+ text: string;
5375
+ type: "text";
5376
+ marks?: ({
5377
+ type: "link";
5378
+ attrs: {
5379
+ href: string;
5380
+ };
5381
+ } | {
5382
+ type: "bold";
5383
+ } | {
5384
+ type: "italic";
5385
+ } | {
5386
+ type: "underline";
5387
+ } | {
5388
+ type: "strike";
5389
+ })[] | undefined;
5390
+ } | {
5391
+ type: "paragraph";
5392
+ content: {
5393
+ text: string;
5394
+ type: "text";
5395
+ marks?: ({
5396
+ type: "link";
5397
+ attrs: {
5398
+ href: string;
5399
+ };
5400
+ } | {
5401
+ type: "bold";
5402
+ } | {
5403
+ type: "italic";
5404
+ } | {
5405
+ type: "underline";
5406
+ } | {
5407
+ type: "strike";
5408
+ })[] | undefined;
5409
+ }[];
5410
+ })[];
5411
+ };
5412
+ heading?: {
5413
+ text: string;
5414
+ href?: string | undefined;
5415
+ } | undefined;
5416
+ strapline?: string | undefined;
5417
+ };
5418
+ sliceId: string;
5419
+ hidden?: boolean | undefined;
3032
5420
  })[];
3033
5421
  schemaVersion: number;
3034
5422
  }, {
@@ -3096,12 +5484,362 @@ declare const PageStructureOutputSchema: z.ZodObject<{
3096
5484
  };
3097
5485
  sliceId: string;
3098
5486
  hidden?: boolean | undefined;
5487
+ } | {
5488
+ type: "Topper";
5489
+ properties: {
5490
+ description: {
5491
+ type: "doc";
5492
+ content: ({
5493
+ text: string;
5494
+ type: "text";
5495
+ marks?: ({
5496
+ type: "link";
5497
+ attrs: {
5498
+ href: string;
5499
+ };
5500
+ } | {
5501
+ type: "bold";
5502
+ } | {
5503
+ type: "italic";
5504
+ } | {
5505
+ type: "underline";
5506
+ } | {
5507
+ type: "strike";
5508
+ })[] | undefined;
5509
+ } | {
5510
+ type: "paragraph";
5511
+ content: {
5512
+ text: string;
5513
+ type: "text";
5514
+ marks?: ({
5515
+ type: "link";
5516
+ attrs: {
5517
+ href: string;
5518
+ };
5519
+ } | {
5520
+ type: "bold";
5521
+ } | {
5522
+ type: "italic";
5523
+ } | {
5524
+ type: "underline";
5525
+ } | {
5526
+ type: "strike";
5527
+ })[] | undefined;
5528
+ }[];
5529
+ })[];
5530
+ };
5531
+ heading?: {
5532
+ text: string;
5533
+ href?: string | undefined;
5534
+ } | undefined;
5535
+ strapline?: string | undefined;
5536
+ };
5537
+ sliceId: string;
5538
+ hidden?: boolean | undefined;
3099
5539
  })[];
3100
5540
  schemaVersion: number;
3101
5541
  }>;
3102
5542
  export { PageStructureOutputSchema }
3103
5543
  export { PageStructureOutputSchema as PageStructureOutputSchema_alias_1 }
3104
5544
 
5545
+ /** Root node of a ProseMirror document - enforcing at least 1 paragraph */
5546
+ declare const ProseMirrorDocSchema: z.ZodObject<{
5547
+ type: z.ZodLiteral<"doc">;
5548
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
5549
+ type: z.ZodLiteral<"paragraph">;
5550
+ content: z.ZodArray<z.ZodObject<{
5551
+ type: z.ZodLiteral<"text">;
5552
+ text: z.ZodString;
5553
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5554
+ type: z.ZodLiteral<"link">;
5555
+ attrs: z.ZodObject<{
5556
+ href: z.ZodEffects<z.ZodString, string, string>;
5557
+ }, "strip", z.ZodTypeAny, {
5558
+ href: string;
5559
+ }, {
5560
+ href: string;
5561
+ }>;
5562
+ }, "strip", z.ZodTypeAny, {
5563
+ type: "link";
5564
+ attrs: {
5565
+ href: string;
5566
+ };
5567
+ }, {
5568
+ type: "link";
5569
+ attrs: {
5570
+ href: string;
5571
+ };
5572
+ }>, z.ZodObject<{
5573
+ type: z.ZodLiteral<"bold">;
5574
+ }, "strip", z.ZodTypeAny, {
5575
+ type: "bold";
5576
+ }, {
5577
+ type: "bold";
5578
+ }>, z.ZodObject<{
5579
+ type: z.ZodLiteral<"italic">;
5580
+ }, "strip", z.ZodTypeAny, {
5581
+ type: "italic";
5582
+ }, {
5583
+ type: "italic";
5584
+ }>, z.ZodObject<{
5585
+ type: z.ZodLiteral<"underline">;
5586
+ }, "strip", z.ZodTypeAny, {
5587
+ type: "underline";
5588
+ }, {
5589
+ type: "underline";
5590
+ }>, z.ZodObject<{
5591
+ type: z.ZodLiteral<"strike">;
5592
+ }, "strip", z.ZodTypeAny, {
5593
+ type: "strike";
5594
+ }, {
5595
+ type: "strike";
5596
+ }>]>, "many">>;
5597
+ }, "strip", z.ZodTypeAny, {
5598
+ text: string;
5599
+ type: "text";
5600
+ marks?: ({
5601
+ type: "link";
5602
+ attrs: {
5603
+ href: string;
5604
+ };
5605
+ } | {
5606
+ type: "bold";
5607
+ } | {
5608
+ type: "italic";
5609
+ } | {
5610
+ type: "underline";
5611
+ } | {
5612
+ type: "strike";
5613
+ })[] | undefined;
5614
+ }, {
5615
+ text: string;
5616
+ type: "text";
5617
+ marks?: ({
5618
+ type: "link";
5619
+ attrs: {
5620
+ href: string;
5621
+ };
5622
+ } | {
5623
+ type: "bold";
5624
+ } | {
5625
+ type: "italic";
5626
+ } | {
5627
+ type: "underline";
5628
+ } | {
5629
+ type: "strike";
5630
+ })[] | undefined;
5631
+ }>, "many">;
5632
+ }, "strip", z.ZodTypeAny, {
5633
+ type: "paragraph";
5634
+ content: {
5635
+ text: string;
5636
+ type: "text";
5637
+ marks?: ({
5638
+ type: "link";
5639
+ attrs: {
5640
+ href: string;
5641
+ };
5642
+ } | {
5643
+ type: "bold";
5644
+ } | {
5645
+ type: "italic";
5646
+ } | {
5647
+ type: "underline";
5648
+ } | {
5649
+ type: "strike";
5650
+ })[] | undefined;
5651
+ }[];
5652
+ }, {
5653
+ type: "paragraph";
5654
+ content: {
5655
+ text: string;
5656
+ type: "text";
5657
+ marks?: ({
5658
+ type: "link";
5659
+ attrs: {
5660
+ href: string;
5661
+ };
5662
+ } | {
5663
+ type: "bold";
5664
+ } | {
5665
+ type: "italic";
5666
+ } | {
5667
+ type: "underline";
5668
+ } | {
5669
+ type: "strike";
5670
+ })[] | undefined;
5671
+ }[];
5672
+ }>, z.ZodObject<{
5673
+ type: z.ZodLiteral<"text">;
5674
+ text: z.ZodString;
5675
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5676
+ type: z.ZodLiteral<"link">;
5677
+ attrs: z.ZodObject<{
5678
+ href: z.ZodEffects<z.ZodString, string, string>;
5679
+ }, "strip", z.ZodTypeAny, {
5680
+ href: string;
5681
+ }, {
5682
+ href: string;
5683
+ }>;
5684
+ }, "strip", z.ZodTypeAny, {
5685
+ type: "link";
5686
+ attrs: {
5687
+ href: string;
5688
+ };
5689
+ }, {
5690
+ type: "link";
5691
+ attrs: {
5692
+ href: string;
5693
+ };
5694
+ }>, z.ZodObject<{
5695
+ type: z.ZodLiteral<"bold">;
5696
+ }, "strip", z.ZodTypeAny, {
5697
+ type: "bold";
5698
+ }, {
5699
+ type: "bold";
5700
+ }>, z.ZodObject<{
5701
+ type: z.ZodLiteral<"italic">;
5702
+ }, "strip", z.ZodTypeAny, {
5703
+ type: "italic";
5704
+ }, {
5705
+ type: "italic";
5706
+ }>, z.ZodObject<{
5707
+ type: z.ZodLiteral<"underline">;
5708
+ }, "strip", z.ZodTypeAny, {
5709
+ type: "underline";
5710
+ }, {
5711
+ type: "underline";
5712
+ }>, z.ZodObject<{
5713
+ type: z.ZodLiteral<"strike">;
5714
+ }, "strip", z.ZodTypeAny, {
5715
+ type: "strike";
5716
+ }, {
5717
+ type: "strike";
5718
+ }>]>, "many">>;
5719
+ }, "strip", z.ZodTypeAny, {
5720
+ text: string;
5721
+ type: "text";
5722
+ marks?: ({
5723
+ type: "link";
5724
+ attrs: {
5725
+ href: string;
5726
+ };
5727
+ } | {
5728
+ type: "bold";
5729
+ } | {
5730
+ type: "italic";
5731
+ } | {
5732
+ type: "underline";
5733
+ } | {
5734
+ type: "strike";
5735
+ })[] | undefined;
5736
+ }, {
5737
+ text: string;
5738
+ type: "text";
5739
+ marks?: ({
5740
+ type: "link";
5741
+ attrs: {
5742
+ href: string;
5743
+ };
5744
+ } | {
5745
+ type: "bold";
5746
+ } | {
5747
+ type: "italic";
5748
+ } | {
5749
+ type: "underline";
5750
+ } | {
5751
+ type: "strike";
5752
+ })[] | undefined;
5753
+ }>]>, "many">;
5754
+ }, "strip", z.ZodTypeAny, {
5755
+ type: "doc";
5756
+ content: ({
5757
+ text: string;
5758
+ type: "text";
5759
+ marks?: ({
5760
+ type: "link";
5761
+ attrs: {
5762
+ href: string;
5763
+ };
5764
+ } | {
5765
+ type: "bold";
5766
+ } | {
5767
+ type: "italic";
5768
+ } | {
5769
+ type: "underline";
5770
+ } | {
5771
+ type: "strike";
5772
+ })[] | undefined;
5773
+ } | {
5774
+ type: "paragraph";
5775
+ content: {
5776
+ text: string;
5777
+ type: "text";
5778
+ marks?: ({
5779
+ type: "link";
5780
+ attrs: {
5781
+ href: string;
5782
+ };
5783
+ } | {
5784
+ type: "bold";
5785
+ } | {
5786
+ type: "italic";
5787
+ } | {
5788
+ type: "underline";
5789
+ } | {
5790
+ type: "strike";
5791
+ })[] | undefined;
5792
+ }[];
5793
+ })[];
5794
+ }, {
5795
+ type: "doc";
5796
+ content: ({
5797
+ text: string;
5798
+ type: "text";
5799
+ marks?: ({
5800
+ type: "link";
5801
+ attrs: {
5802
+ href: string;
5803
+ };
5804
+ } | {
5805
+ type: "bold";
5806
+ } | {
5807
+ type: "italic";
5808
+ } | {
5809
+ type: "underline";
5810
+ } | {
5811
+ type: "strike";
5812
+ })[] | undefined;
5813
+ } | {
5814
+ type: "paragraph";
5815
+ content: {
5816
+ text: string;
5817
+ type: "text";
5818
+ marks?: ({
5819
+ type: "link";
5820
+ attrs: {
5821
+ href: string;
5822
+ };
5823
+ } | {
5824
+ type: "bold";
5825
+ } | {
5826
+ type: "italic";
5827
+ } | {
5828
+ type: "underline";
5829
+ } | {
5830
+ type: "strike";
5831
+ })[] | undefined;
5832
+ }[];
5833
+ })[];
5834
+ }>;
5835
+ export { ProseMirrorDocSchema }
5836
+ export { ProseMirrorDocSchema as ProseMirrorDocSchema_alias_1 }
5837
+
5838
+ /** Rich text editor TS type. */
5839
+ declare type RichTextEditorType = z.infer<typeof ProseMirrorDocSchema>;
5840
+ export { RichTextEditorType }
5841
+ export { RichTextEditorType as RichTextEditorType_alias_1 }
5842
+
3105
5843
  /** Union of all possible slice outputs for type-checking convenience */
3106
5844
  declare type Slice = z.infer<typeof SliceApiOutputSchema>;
3107
5845
  export { Slice }
@@ -3396,6 +6134,512 @@ declare const SliceApiInputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.Z
3396
6134
  };
3397
6135
  hidden?: boolean | undefined;
3398
6136
  sliceId?: string | undefined;
6137
+ }>, z.ZodObject<{
6138
+ type: z.ZodLiteral<"Topper">;
6139
+ hidden: z.ZodOptional<z.ZodBoolean>;
6140
+ properties: z.ZodObject<{
6141
+ heading: z.ZodOptional<z.ZodObject<{
6142
+ text: z.ZodString;
6143
+ href: z.ZodOptional<z.ZodString>;
6144
+ }, "strip", z.ZodTypeAny, {
6145
+ text: string;
6146
+ href?: string | undefined;
6147
+ }, {
6148
+ text: string;
6149
+ href?: string | undefined;
6150
+ }>>;
6151
+ } & {
6152
+ description: z.ZodObject<{
6153
+ type: z.ZodLiteral<"doc">;
6154
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
6155
+ type: z.ZodLiteral<"paragraph">;
6156
+ content: z.ZodArray<z.ZodObject<{
6157
+ type: z.ZodLiteral<"text">;
6158
+ text: z.ZodString;
6159
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6160
+ type: z.ZodLiteral<"link">;
6161
+ attrs: z.ZodObject<{
6162
+ href: z.ZodEffects<z.ZodString, string, string>;
6163
+ }, "strip", z.ZodTypeAny, {
6164
+ href: string;
6165
+ }, {
6166
+ href: string;
6167
+ }>;
6168
+ }, "strip", z.ZodTypeAny, {
6169
+ type: "link";
6170
+ attrs: {
6171
+ href: string;
6172
+ };
6173
+ }, {
6174
+ type: "link";
6175
+ attrs: {
6176
+ href: string;
6177
+ };
6178
+ }>, z.ZodObject<{
6179
+ type: z.ZodLiteral<"bold">;
6180
+ }, "strip", z.ZodTypeAny, {
6181
+ type: "bold";
6182
+ }, {
6183
+ type: "bold";
6184
+ }>, z.ZodObject<{
6185
+ type: z.ZodLiteral<"italic">;
6186
+ }, "strip", z.ZodTypeAny, {
6187
+ type: "italic";
6188
+ }, {
6189
+ type: "italic";
6190
+ }>, z.ZodObject<{
6191
+ type: z.ZodLiteral<"underline">;
6192
+ }, "strip", z.ZodTypeAny, {
6193
+ type: "underline";
6194
+ }, {
6195
+ type: "underline";
6196
+ }>, z.ZodObject<{
6197
+ type: z.ZodLiteral<"strike">;
6198
+ }, "strip", z.ZodTypeAny, {
6199
+ type: "strike";
6200
+ }, {
6201
+ type: "strike";
6202
+ }>]>, "many">>;
6203
+ }, "strip", z.ZodTypeAny, {
6204
+ text: string;
6205
+ type: "text";
6206
+ marks?: ({
6207
+ type: "link";
6208
+ attrs: {
6209
+ href: string;
6210
+ };
6211
+ } | {
6212
+ type: "bold";
6213
+ } | {
6214
+ type: "italic";
6215
+ } | {
6216
+ type: "underline";
6217
+ } | {
6218
+ type: "strike";
6219
+ })[] | undefined;
6220
+ }, {
6221
+ text: string;
6222
+ type: "text";
6223
+ marks?: ({
6224
+ type: "link";
6225
+ attrs: {
6226
+ href: string;
6227
+ };
6228
+ } | {
6229
+ type: "bold";
6230
+ } | {
6231
+ type: "italic";
6232
+ } | {
6233
+ type: "underline";
6234
+ } | {
6235
+ type: "strike";
6236
+ })[] | undefined;
6237
+ }>, "many">;
6238
+ }, "strip", z.ZodTypeAny, {
6239
+ type: "paragraph";
6240
+ content: {
6241
+ text: string;
6242
+ type: "text";
6243
+ marks?: ({
6244
+ type: "link";
6245
+ attrs: {
6246
+ href: string;
6247
+ };
6248
+ } | {
6249
+ type: "bold";
6250
+ } | {
6251
+ type: "italic";
6252
+ } | {
6253
+ type: "underline";
6254
+ } | {
6255
+ type: "strike";
6256
+ })[] | undefined;
6257
+ }[];
6258
+ }, {
6259
+ type: "paragraph";
6260
+ content: {
6261
+ text: string;
6262
+ type: "text";
6263
+ marks?: ({
6264
+ type: "link";
6265
+ attrs: {
6266
+ href: string;
6267
+ };
6268
+ } | {
6269
+ type: "bold";
6270
+ } | {
6271
+ type: "italic";
6272
+ } | {
6273
+ type: "underline";
6274
+ } | {
6275
+ type: "strike";
6276
+ })[] | undefined;
6277
+ }[];
6278
+ }>, z.ZodObject<{
6279
+ type: z.ZodLiteral<"text">;
6280
+ text: z.ZodString;
6281
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6282
+ type: z.ZodLiteral<"link">;
6283
+ attrs: z.ZodObject<{
6284
+ href: z.ZodEffects<z.ZodString, string, string>;
6285
+ }, "strip", z.ZodTypeAny, {
6286
+ href: string;
6287
+ }, {
6288
+ href: string;
6289
+ }>;
6290
+ }, "strip", z.ZodTypeAny, {
6291
+ type: "link";
6292
+ attrs: {
6293
+ href: string;
6294
+ };
6295
+ }, {
6296
+ type: "link";
6297
+ attrs: {
6298
+ href: string;
6299
+ };
6300
+ }>, z.ZodObject<{
6301
+ type: z.ZodLiteral<"bold">;
6302
+ }, "strip", z.ZodTypeAny, {
6303
+ type: "bold";
6304
+ }, {
6305
+ type: "bold";
6306
+ }>, z.ZodObject<{
6307
+ type: z.ZodLiteral<"italic">;
6308
+ }, "strip", z.ZodTypeAny, {
6309
+ type: "italic";
6310
+ }, {
6311
+ type: "italic";
6312
+ }>, z.ZodObject<{
6313
+ type: z.ZodLiteral<"underline">;
6314
+ }, "strip", z.ZodTypeAny, {
6315
+ type: "underline";
6316
+ }, {
6317
+ type: "underline";
6318
+ }>, z.ZodObject<{
6319
+ type: z.ZodLiteral<"strike">;
6320
+ }, "strip", z.ZodTypeAny, {
6321
+ type: "strike";
6322
+ }, {
6323
+ type: "strike";
6324
+ }>]>, "many">>;
6325
+ }, "strip", z.ZodTypeAny, {
6326
+ text: string;
6327
+ type: "text";
6328
+ marks?: ({
6329
+ type: "link";
6330
+ attrs: {
6331
+ href: string;
6332
+ };
6333
+ } | {
6334
+ type: "bold";
6335
+ } | {
6336
+ type: "italic";
6337
+ } | {
6338
+ type: "underline";
6339
+ } | {
6340
+ type: "strike";
6341
+ })[] | undefined;
6342
+ }, {
6343
+ text: string;
6344
+ type: "text";
6345
+ marks?: ({
6346
+ type: "link";
6347
+ attrs: {
6348
+ href: string;
6349
+ };
6350
+ } | {
6351
+ type: "bold";
6352
+ } | {
6353
+ type: "italic";
6354
+ } | {
6355
+ type: "underline";
6356
+ } | {
6357
+ type: "strike";
6358
+ })[] | undefined;
6359
+ }>]>, "many">;
6360
+ }, "strip", z.ZodTypeAny, {
6361
+ type: "doc";
6362
+ content: ({
6363
+ text: string;
6364
+ type: "text";
6365
+ marks?: ({
6366
+ type: "link";
6367
+ attrs: {
6368
+ href: string;
6369
+ };
6370
+ } | {
6371
+ type: "bold";
6372
+ } | {
6373
+ type: "italic";
6374
+ } | {
6375
+ type: "underline";
6376
+ } | {
6377
+ type: "strike";
6378
+ })[] | undefined;
6379
+ } | {
6380
+ type: "paragraph";
6381
+ content: {
6382
+ text: string;
6383
+ type: "text";
6384
+ marks?: ({
6385
+ type: "link";
6386
+ attrs: {
6387
+ href: string;
6388
+ };
6389
+ } | {
6390
+ type: "bold";
6391
+ } | {
6392
+ type: "italic";
6393
+ } | {
6394
+ type: "underline";
6395
+ } | {
6396
+ type: "strike";
6397
+ })[] | undefined;
6398
+ }[];
6399
+ })[];
6400
+ }, {
6401
+ type: "doc";
6402
+ content: ({
6403
+ text: string;
6404
+ type: "text";
6405
+ marks?: ({
6406
+ type: "link";
6407
+ attrs: {
6408
+ href: string;
6409
+ };
6410
+ } | {
6411
+ type: "bold";
6412
+ } | {
6413
+ type: "italic";
6414
+ } | {
6415
+ type: "underline";
6416
+ } | {
6417
+ type: "strike";
6418
+ })[] | undefined;
6419
+ } | {
6420
+ type: "paragraph";
6421
+ content: {
6422
+ text: string;
6423
+ type: "text";
6424
+ marks?: ({
6425
+ type: "link";
6426
+ attrs: {
6427
+ href: string;
6428
+ };
6429
+ } | {
6430
+ type: "bold";
6431
+ } | {
6432
+ type: "italic";
6433
+ } | {
6434
+ type: "underline";
6435
+ } | {
6436
+ type: "strike";
6437
+ })[] | undefined;
6438
+ }[];
6439
+ })[];
6440
+ }>;
6441
+ strapline: z.ZodOptional<z.ZodString>;
6442
+ }, "strip", z.ZodTypeAny, {
6443
+ description: {
6444
+ type: "doc";
6445
+ content: ({
6446
+ text: string;
6447
+ type: "text";
6448
+ marks?: ({
6449
+ type: "link";
6450
+ attrs: {
6451
+ href: string;
6452
+ };
6453
+ } | {
6454
+ type: "bold";
6455
+ } | {
6456
+ type: "italic";
6457
+ } | {
6458
+ type: "underline";
6459
+ } | {
6460
+ type: "strike";
6461
+ })[] | undefined;
6462
+ } | {
6463
+ type: "paragraph";
6464
+ content: {
6465
+ text: string;
6466
+ type: "text";
6467
+ marks?: ({
6468
+ type: "link";
6469
+ attrs: {
6470
+ href: string;
6471
+ };
6472
+ } | {
6473
+ type: "bold";
6474
+ } | {
6475
+ type: "italic";
6476
+ } | {
6477
+ type: "underline";
6478
+ } | {
6479
+ type: "strike";
6480
+ })[] | undefined;
6481
+ }[];
6482
+ })[];
6483
+ };
6484
+ heading?: {
6485
+ text: string;
6486
+ href?: string | undefined;
6487
+ } | undefined;
6488
+ strapline?: string | undefined;
6489
+ }, {
6490
+ description: {
6491
+ type: "doc";
6492
+ content: ({
6493
+ text: string;
6494
+ type: "text";
6495
+ marks?: ({
6496
+ type: "link";
6497
+ attrs: {
6498
+ href: string;
6499
+ };
6500
+ } | {
6501
+ type: "bold";
6502
+ } | {
6503
+ type: "italic";
6504
+ } | {
6505
+ type: "underline";
6506
+ } | {
6507
+ type: "strike";
6508
+ })[] | undefined;
6509
+ } | {
6510
+ type: "paragraph";
6511
+ content: {
6512
+ text: string;
6513
+ type: "text";
6514
+ marks?: ({
6515
+ type: "link";
6516
+ attrs: {
6517
+ href: string;
6518
+ };
6519
+ } | {
6520
+ type: "bold";
6521
+ } | {
6522
+ type: "italic";
6523
+ } | {
6524
+ type: "underline";
6525
+ } | {
6526
+ type: "strike";
6527
+ })[] | undefined;
6528
+ }[];
6529
+ })[];
6530
+ };
6531
+ heading?: {
6532
+ text: string;
6533
+ href?: string | undefined;
6534
+ } | undefined;
6535
+ strapline?: string | undefined;
6536
+ }>;
6537
+ } & {
6538
+ sliceId: z.ZodOptional<z.ZodString>;
6539
+ }, "strip", z.ZodTypeAny, {
6540
+ type: "Topper";
6541
+ properties: {
6542
+ description: {
6543
+ type: "doc";
6544
+ content: ({
6545
+ text: string;
6546
+ type: "text";
6547
+ marks?: ({
6548
+ type: "link";
6549
+ attrs: {
6550
+ href: string;
6551
+ };
6552
+ } | {
6553
+ type: "bold";
6554
+ } | {
6555
+ type: "italic";
6556
+ } | {
6557
+ type: "underline";
6558
+ } | {
6559
+ type: "strike";
6560
+ })[] | undefined;
6561
+ } | {
6562
+ type: "paragraph";
6563
+ content: {
6564
+ text: string;
6565
+ type: "text";
6566
+ marks?: ({
6567
+ type: "link";
6568
+ attrs: {
6569
+ href: string;
6570
+ };
6571
+ } | {
6572
+ type: "bold";
6573
+ } | {
6574
+ type: "italic";
6575
+ } | {
6576
+ type: "underline";
6577
+ } | {
6578
+ type: "strike";
6579
+ })[] | undefined;
6580
+ }[];
6581
+ })[];
6582
+ };
6583
+ heading?: {
6584
+ text: string;
6585
+ href?: string | undefined;
6586
+ } | undefined;
6587
+ strapline?: string | undefined;
6588
+ };
6589
+ hidden?: boolean | undefined;
6590
+ sliceId?: string | undefined;
6591
+ }, {
6592
+ type: "Topper";
6593
+ properties: {
6594
+ description: {
6595
+ type: "doc";
6596
+ content: ({
6597
+ text: string;
6598
+ type: "text";
6599
+ marks?: ({
6600
+ type: "link";
6601
+ attrs: {
6602
+ href: string;
6603
+ };
6604
+ } | {
6605
+ type: "bold";
6606
+ } | {
6607
+ type: "italic";
6608
+ } | {
6609
+ type: "underline";
6610
+ } | {
6611
+ type: "strike";
6612
+ })[] | undefined;
6613
+ } | {
6614
+ type: "paragraph";
6615
+ content: {
6616
+ text: string;
6617
+ type: "text";
6618
+ marks?: ({
6619
+ type: "link";
6620
+ attrs: {
6621
+ href: string;
6622
+ };
6623
+ } | {
6624
+ type: "bold";
6625
+ } | {
6626
+ type: "italic";
6627
+ } | {
6628
+ type: "underline";
6629
+ } | {
6630
+ type: "strike";
6631
+ })[] | undefined;
6632
+ }[];
6633
+ })[];
6634
+ };
6635
+ heading?: {
6636
+ text: string;
6637
+ href?: string | undefined;
6638
+ } | undefined;
6639
+ strapline?: string | undefined;
6640
+ };
6641
+ hidden?: boolean | undefined;
6642
+ sliceId?: string | undefined;
3399
6643
  }>]>;
3400
6644
  export { SliceApiInputSchema }
3401
6645
  export { SliceApiInputSchema as SliceApiInputSchema_alias_1 }
@@ -3689,6 +6933,512 @@ declare const SliceApiOutputSchema: z.ZodDiscriminatedUnion<"type", readonly [z.
3689
6933
  };
3690
6934
  sliceId: string;
3691
6935
  hidden?: boolean | undefined;
6936
+ }>, z.ZodObject<{
6937
+ type: z.ZodLiteral<"Topper">;
6938
+ hidden: z.ZodOptional<z.ZodBoolean>;
6939
+ properties: z.ZodObject<{
6940
+ heading: z.ZodOptional<z.ZodObject<{
6941
+ text: z.ZodString;
6942
+ href: z.ZodOptional<z.ZodString>;
6943
+ }, "strip", z.ZodTypeAny, {
6944
+ text: string;
6945
+ href?: string | undefined;
6946
+ }, {
6947
+ text: string;
6948
+ href?: string | undefined;
6949
+ }>>;
6950
+ } & {
6951
+ description: z.ZodObject<{
6952
+ type: z.ZodLiteral<"doc">;
6953
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
6954
+ type: z.ZodLiteral<"paragraph">;
6955
+ content: z.ZodArray<z.ZodObject<{
6956
+ type: z.ZodLiteral<"text">;
6957
+ text: z.ZodString;
6958
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6959
+ type: z.ZodLiteral<"link">;
6960
+ attrs: z.ZodObject<{
6961
+ href: z.ZodEffects<z.ZodString, string, string>;
6962
+ }, "strip", z.ZodTypeAny, {
6963
+ href: string;
6964
+ }, {
6965
+ href: string;
6966
+ }>;
6967
+ }, "strip", z.ZodTypeAny, {
6968
+ type: "link";
6969
+ attrs: {
6970
+ href: string;
6971
+ };
6972
+ }, {
6973
+ type: "link";
6974
+ attrs: {
6975
+ href: string;
6976
+ };
6977
+ }>, z.ZodObject<{
6978
+ type: z.ZodLiteral<"bold">;
6979
+ }, "strip", z.ZodTypeAny, {
6980
+ type: "bold";
6981
+ }, {
6982
+ type: "bold";
6983
+ }>, z.ZodObject<{
6984
+ type: z.ZodLiteral<"italic">;
6985
+ }, "strip", z.ZodTypeAny, {
6986
+ type: "italic";
6987
+ }, {
6988
+ type: "italic";
6989
+ }>, z.ZodObject<{
6990
+ type: z.ZodLiteral<"underline">;
6991
+ }, "strip", z.ZodTypeAny, {
6992
+ type: "underline";
6993
+ }, {
6994
+ type: "underline";
6995
+ }>, z.ZodObject<{
6996
+ type: z.ZodLiteral<"strike">;
6997
+ }, "strip", z.ZodTypeAny, {
6998
+ type: "strike";
6999
+ }, {
7000
+ type: "strike";
7001
+ }>]>, "many">>;
7002
+ }, "strip", z.ZodTypeAny, {
7003
+ text: string;
7004
+ type: "text";
7005
+ marks?: ({
7006
+ type: "link";
7007
+ attrs: {
7008
+ href: string;
7009
+ };
7010
+ } | {
7011
+ type: "bold";
7012
+ } | {
7013
+ type: "italic";
7014
+ } | {
7015
+ type: "underline";
7016
+ } | {
7017
+ type: "strike";
7018
+ })[] | undefined;
7019
+ }, {
7020
+ text: string;
7021
+ type: "text";
7022
+ marks?: ({
7023
+ type: "link";
7024
+ attrs: {
7025
+ href: string;
7026
+ };
7027
+ } | {
7028
+ type: "bold";
7029
+ } | {
7030
+ type: "italic";
7031
+ } | {
7032
+ type: "underline";
7033
+ } | {
7034
+ type: "strike";
7035
+ })[] | undefined;
7036
+ }>, "many">;
7037
+ }, "strip", z.ZodTypeAny, {
7038
+ type: "paragraph";
7039
+ content: {
7040
+ text: string;
7041
+ type: "text";
7042
+ marks?: ({
7043
+ type: "link";
7044
+ attrs: {
7045
+ href: string;
7046
+ };
7047
+ } | {
7048
+ type: "bold";
7049
+ } | {
7050
+ type: "italic";
7051
+ } | {
7052
+ type: "underline";
7053
+ } | {
7054
+ type: "strike";
7055
+ })[] | undefined;
7056
+ }[];
7057
+ }, {
7058
+ type: "paragraph";
7059
+ content: {
7060
+ text: string;
7061
+ type: "text";
7062
+ marks?: ({
7063
+ type: "link";
7064
+ attrs: {
7065
+ href: string;
7066
+ };
7067
+ } | {
7068
+ type: "bold";
7069
+ } | {
7070
+ type: "italic";
7071
+ } | {
7072
+ type: "underline";
7073
+ } | {
7074
+ type: "strike";
7075
+ })[] | undefined;
7076
+ }[];
7077
+ }>, z.ZodObject<{
7078
+ type: z.ZodLiteral<"text">;
7079
+ text: z.ZodString;
7080
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7081
+ type: z.ZodLiteral<"link">;
7082
+ attrs: z.ZodObject<{
7083
+ href: z.ZodEffects<z.ZodString, string, string>;
7084
+ }, "strip", z.ZodTypeAny, {
7085
+ href: string;
7086
+ }, {
7087
+ href: string;
7088
+ }>;
7089
+ }, "strip", z.ZodTypeAny, {
7090
+ type: "link";
7091
+ attrs: {
7092
+ href: string;
7093
+ };
7094
+ }, {
7095
+ type: "link";
7096
+ attrs: {
7097
+ href: string;
7098
+ };
7099
+ }>, z.ZodObject<{
7100
+ type: z.ZodLiteral<"bold">;
7101
+ }, "strip", z.ZodTypeAny, {
7102
+ type: "bold";
7103
+ }, {
7104
+ type: "bold";
7105
+ }>, z.ZodObject<{
7106
+ type: z.ZodLiteral<"italic">;
7107
+ }, "strip", z.ZodTypeAny, {
7108
+ type: "italic";
7109
+ }, {
7110
+ type: "italic";
7111
+ }>, z.ZodObject<{
7112
+ type: z.ZodLiteral<"underline">;
7113
+ }, "strip", z.ZodTypeAny, {
7114
+ type: "underline";
7115
+ }, {
7116
+ type: "underline";
7117
+ }>, z.ZodObject<{
7118
+ type: z.ZodLiteral<"strike">;
7119
+ }, "strip", z.ZodTypeAny, {
7120
+ type: "strike";
7121
+ }, {
7122
+ type: "strike";
7123
+ }>]>, "many">>;
7124
+ }, "strip", z.ZodTypeAny, {
7125
+ text: string;
7126
+ type: "text";
7127
+ marks?: ({
7128
+ type: "link";
7129
+ attrs: {
7130
+ href: string;
7131
+ };
7132
+ } | {
7133
+ type: "bold";
7134
+ } | {
7135
+ type: "italic";
7136
+ } | {
7137
+ type: "underline";
7138
+ } | {
7139
+ type: "strike";
7140
+ })[] | undefined;
7141
+ }, {
7142
+ text: string;
7143
+ type: "text";
7144
+ marks?: ({
7145
+ type: "link";
7146
+ attrs: {
7147
+ href: string;
7148
+ };
7149
+ } | {
7150
+ type: "bold";
7151
+ } | {
7152
+ type: "italic";
7153
+ } | {
7154
+ type: "underline";
7155
+ } | {
7156
+ type: "strike";
7157
+ })[] | undefined;
7158
+ }>]>, "many">;
7159
+ }, "strip", z.ZodTypeAny, {
7160
+ type: "doc";
7161
+ content: ({
7162
+ text: string;
7163
+ type: "text";
7164
+ marks?: ({
7165
+ type: "link";
7166
+ attrs: {
7167
+ href: string;
7168
+ };
7169
+ } | {
7170
+ type: "bold";
7171
+ } | {
7172
+ type: "italic";
7173
+ } | {
7174
+ type: "underline";
7175
+ } | {
7176
+ type: "strike";
7177
+ })[] | undefined;
7178
+ } | {
7179
+ type: "paragraph";
7180
+ content: {
7181
+ text: string;
7182
+ type: "text";
7183
+ marks?: ({
7184
+ type: "link";
7185
+ attrs: {
7186
+ href: string;
7187
+ };
7188
+ } | {
7189
+ type: "bold";
7190
+ } | {
7191
+ type: "italic";
7192
+ } | {
7193
+ type: "underline";
7194
+ } | {
7195
+ type: "strike";
7196
+ })[] | undefined;
7197
+ }[];
7198
+ })[];
7199
+ }, {
7200
+ type: "doc";
7201
+ content: ({
7202
+ text: string;
7203
+ type: "text";
7204
+ marks?: ({
7205
+ type: "link";
7206
+ attrs: {
7207
+ href: string;
7208
+ };
7209
+ } | {
7210
+ type: "bold";
7211
+ } | {
7212
+ type: "italic";
7213
+ } | {
7214
+ type: "underline";
7215
+ } | {
7216
+ type: "strike";
7217
+ })[] | undefined;
7218
+ } | {
7219
+ type: "paragraph";
7220
+ content: {
7221
+ text: string;
7222
+ type: "text";
7223
+ marks?: ({
7224
+ type: "link";
7225
+ attrs: {
7226
+ href: string;
7227
+ };
7228
+ } | {
7229
+ type: "bold";
7230
+ } | {
7231
+ type: "italic";
7232
+ } | {
7233
+ type: "underline";
7234
+ } | {
7235
+ type: "strike";
7236
+ })[] | undefined;
7237
+ }[];
7238
+ })[];
7239
+ }>;
7240
+ strapline: z.ZodOptional<z.ZodString>;
7241
+ }, "strip", z.ZodTypeAny, {
7242
+ description: {
7243
+ type: "doc";
7244
+ content: ({
7245
+ text: string;
7246
+ type: "text";
7247
+ marks?: ({
7248
+ type: "link";
7249
+ attrs: {
7250
+ href: string;
7251
+ };
7252
+ } | {
7253
+ type: "bold";
7254
+ } | {
7255
+ type: "italic";
7256
+ } | {
7257
+ type: "underline";
7258
+ } | {
7259
+ type: "strike";
7260
+ })[] | undefined;
7261
+ } | {
7262
+ type: "paragraph";
7263
+ content: {
7264
+ text: string;
7265
+ type: "text";
7266
+ marks?: ({
7267
+ type: "link";
7268
+ attrs: {
7269
+ href: string;
7270
+ };
7271
+ } | {
7272
+ type: "bold";
7273
+ } | {
7274
+ type: "italic";
7275
+ } | {
7276
+ type: "underline";
7277
+ } | {
7278
+ type: "strike";
7279
+ })[] | undefined;
7280
+ }[];
7281
+ })[];
7282
+ };
7283
+ heading?: {
7284
+ text: string;
7285
+ href?: string | undefined;
7286
+ } | undefined;
7287
+ strapline?: string | undefined;
7288
+ }, {
7289
+ description: {
7290
+ type: "doc";
7291
+ content: ({
7292
+ text: string;
7293
+ type: "text";
7294
+ marks?: ({
7295
+ type: "link";
7296
+ attrs: {
7297
+ href: string;
7298
+ };
7299
+ } | {
7300
+ type: "bold";
7301
+ } | {
7302
+ type: "italic";
7303
+ } | {
7304
+ type: "underline";
7305
+ } | {
7306
+ type: "strike";
7307
+ })[] | undefined;
7308
+ } | {
7309
+ type: "paragraph";
7310
+ content: {
7311
+ text: string;
7312
+ type: "text";
7313
+ marks?: ({
7314
+ type: "link";
7315
+ attrs: {
7316
+ href: string;
7317
+ };
7318
+ } | {
7319
+ type: "bold";
7320
+ } | {
7321
+ type: "italic";
7322
+ } | {
7323
+ type: "underline";
7324
+ } | {
7325
+ type: "strike";
7326
+ })[] | undefined;
7327
+ }[];
7328
+ })[];
7329
+ };
7330
+ heading?: {
7331
+ text: string;
7332
+ href?: string | undefined;
7333
+ } | undefined;
7334
+ strapline?: string | undefined;
7335
+ }>;
7336
+ } & {
7337
+ sliceId: z.ZodString;
7338
+ }, "strip", z.ZodTypeAny, {
7339
+ type: "Topper";
7340
+ properties: {
7341
+ description: {
7342
+ type: "doc";
7343
+ content: ({
7344
+ text: string;
7345
+ type: "text";
7346
+ marks?: ({
7347
+ type: "link";
7348
+ attrs: {
7349
+ href: string;
7350
+ };
7351
+ } | {
7352
+ type: "bold";
7353
+ } | {
7354
+ type: "italic";
7355
+ } | {
7356
+ type: "underline";
7357
+ } | {
7358
+ type: "strike";
7359
+ })[] | undefined;
7360
+ } | {
7361
+ type: "paragraph";
7362
+ content: {
7363
+ text: string;
7364
+ type: "text";
7365
+ marks?: ({
7366
+ type: "link";
7367
+ attrs: {
7368
+ href: string;
7369
+ };
7370
+ } | {
7371
+ type: "bold";
7372
+ } | {
7373
+ type: "italic";
7374
+ } | {
7375
+ type: "underline";
7376
+ } | {
7377
+ type: "strike";
7378
+ })[] | undefined;
7379
+ }[];
7380
+ })[];
7381
+ };
7382
+ heading?: {
7383
+ text: string;
7384
+ href?: string | undefined;
7385
+ } | undefined;
7386
+ strapline?: string | undefined;
7387
+ };
7388
+ sliceId: string;
7389
+ hidden?: boolean | undefined;
7390
+ }, {
7391
+ type: "Topper";
7392
+ properties: {
7393
+ description: {
7394
+ type: "doc";
7395
+ content: ({
7396
+ text: string;
7397
+ type: "text";
7398
+ marks?: ({
7399
+ type: "link";
7400
+ attrs: {
7401
+ href: string;
7402
+ };
7403
+ } | {
7404
+ type: "bold";
7405
+ } | {
7406
+ type: "italic";
7407
+ } | {
7408
+ type: "underline";
7409
+ } | {
7410
+ type: "strike";
7411
+ })[] | undefined;
7412
+ } | {
7413
+ type: "paragraph";
7414
+ content: {
7415
+ text: string;
7416
+ type: "text";
7417
+ marks?: ({
7418
+ type: "link";
7419
+ attrs: {
7420
+ href: string;
7421
+ };
7422
+ } | {
7423
+ type: "bold";
7424
+ } | {
7425
+ type: "italic";
7426
+ } | {
7427
+ type: "underline";
7428
+ } | {
7429
+ type: "strike";
7430
+ })[] | undefined;
7431
+ }[];
7432
+ })[];
7433
+ };
7434
+ heading?: {
7435
+ text: string;
7436
+ href?: string | undefined;
7437
+ } | undefined;
7438
+ strapline?: string | undefined;
7439
+ };
7440
+ sliceId: string;
7441
+ hidden?: boolean | undefined;
3692
7442
  }>]>;
3693
7443
  export { SliceApiOutputSchema }
3694
7444
  export { SliceApiOutputSchema as SliceApiOutputSchema_alias_1 }
@@ -3806,4 +7556,1025 @@ declare type SparkListSliceType = z.infer<typeof SparkListSlice.OutputSchema>;
3806
7556
  export { SparkListSliceType }
3807
7557
  export { SparkListSliceType as SparkListSliceType_alias_1 }
3808
7558
 
7559
+ declare const TopperSlice: {
7560
+ InputSchema: z.ZodObject<{
7561
+ type: z.ZodLiteral<"Topper">;
7562
+ hidden: z.ZodOptional<z.ZodBoolean>;
7563
+ properties: z.ZodObject<{
7564
+ heading: z.ZodOptional<z.ZodObject<{
7565
+ text: z.ZodString;
7566
+ href: z.ZodOptional<z.ZodString>;
7567
+ }, "strip", z.ZodTypeAny, {
7568
+ text: string;
7569
+ href?: string | undefined;
7570
+ }, {
7571
+ text: string;
7572
+ href?: string | undefined;
7573
+ }>>;
7574
+ } & {
7575
+ description: z.ZodObject<{
7576
+ type: z.ZodLiteral<"doc">;
7577
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
7578
+ type: z.ZodLiteral<"paragraph">;
7579
+ content: z.ZodArray<z.ZodObject<{
7580
+ type: z.ZodLiteral<"text">;
7581
+ text: z.ZodString;
7582
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7583
+ type: z.ZodLiteral<"link">;
7584
+ attrs: z.ZodObject<{
7585
+ href: z.ZodEffects<z.ZodString, string, string>;
7586
+ }, "strip", z.ZodTypeAny, {
7587
+ href: string;
7588
+ }, {
7589
+ href: string;
7590
+ }>;
7591
+ }, "strip", z.ZodTypeAny, {
7592
+ type: "link";
7593
+ attrs: {
7594
+ href: string;
7595
+ };
7596
+ }, {
7597
+ type: "link";
7598
+ attrs: {
7599
+ href: string;
7600
+ };
7601
+ }>, z.ZodObject<{
7602
+ type: z.ZodLiteral<"bold">;
7603
+ }, "strip", z.ZodTypeAny, {
7604
+ type: "bold";
7605
+ }, {
7606
+ type: "bold";
7607
+ }>, z.ZodObject<{
7608
+ type: z.ZodLiteral<"italic">;
7609
+ }, "strip", z.ZodTypeAny, {
7610
+ type: "italic";
7611
+ }, {
7612
+ type: "italic";
7613
+ }>, z.ZodObject<{
7614
+ type: z.ZodLiteral<"underline">;
7615
+ }, "strip", z.ZodTypeAny, {
7616
+ type: "underline";
7617
+ }, {
7618
+ type: "underline";
7619
+ }>, z.ZodObject<{
7620
+ type: z.ZodLiteral<"strike">;
7621
+ }, "strip", z.ZodTypeAny, {
7622
+ type: "strike";
7623
+ }, {
7624
+ type: "strike";
7625
+ }>]>, "many">>;
7626
+ }, "strip", z.ZodTypeAny, {
7627
+ text: string;
7628
+ type: "text";
7629
+ marks?: ({
7630
+ type: "link";
7631
+ attrs: {
7632
+ href: string;
7633
+ };
7634
+ } | {
7635
+ type: "bold";
7636
+ } | {
7637
+ type: "italic";
7638
+ } | {
7639
+ type: "underline";
7640
+ } | {
7641
+ type: "strike";
7642
+ })[] | undefined;
7643
+ }, {
7644
+ text: string;
7645
+ type: "text";
7646
+ marks?: ({
7647
+ type: "link";
7648
+ attrs: {
7649
+ href: string;
7650
+ };
7651
+ } | {
7652
+ type: "bold";
7653
+ } | {
7654
+ type: "italic";
7655
+ } | {
7656
+ type: "underline";
7657
+ } | {
7658
+ type: "strike";
7659
+ })[] | undefined;
7660
+ }>, "many">;
7661
+ }, "strip", z.ZodTypeAny, {
7662
+ type: "paragraph";
7663
+ content: {
7664
+ text: string;
7665
+ type: "text";
7666
+ marks?: ({
7667
+ type: "link";
7668
+ attrs: {
7669
+ href: string;
7670
+ };
7671
+ } | {
7672
+ type: "bold";
7673
+ } | {
7674
+ type: "italic";
7675
+ } | {
7676
+ type: "underline";
7677
+ } | {
7678
+ type: "strike";
7679
+ })[] | undefined;
7680
+ }[];
7681
+ }, {
7682
+ type: "paragraph";
7683
+ content: {
7684
+ text: string;
7685
+ type: "text";
7686
+ marks?: ({
7687
+ type: "link";
7688
+ attrs: {
7689
+ href: string;
7690
+ };
7691
+ } | {
7692
+ type: "bold";
7693
+ } | {
7694
+ type: "italic";
7695
+ } | {
7696
+ type: "underline";
7697
+ } | {
7698
+ type: "strike";
7699
+ })[] | undefined;
7700
+ }[];
7701
+ }>, z.ZodObject<{
7702
+ type: z.ZodLiteral<"text">;
7703
+ text: z.ZodString;
7704
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7705
+ type: z.ZodLiteral<"link">;
7706
+ attrs: z.ZodObject<{
7707
+ href: z.ZodEffects<z.ZodString, string, string>;
7708
+ }, "strip", z.ZodTypeAny, {
7709
+ href: string;
7710
+ }, {
7711
+ href: string;
7712
+ }>;
7713
+ }, "strip", z.ZodTypeAny, {
7714
+ type: "link";
7715
+ attrs: {
7716
+ href: string;
7717
+ };
7718
+ }, {
7719
+ type: "link";
7720
+ attrs: {
7721
+ href: string;
7722
+ };
7723
+ }>, z.ZodObject<{
7724
+ type: z.ZodLiteral<"bold">;
7725
+ }, "strip", z.ZodTypeAny, {
7726
+ type: "bold";
7727
+ }, {
7728
+ type: "bold";
7729
+ }>, z.ZodObject<{
7730
+ type: z.ZodLiteral<"italic">;
7731
+ }, "strip", z.ZodTypeAny, {
7732
+ type: "italic";
7733
+ }, {
7734
+ type: "italic";
7735
+ }>, z.ZodObject<{
7736
+ type: z.ZodLiteral<"underline">;
7737
+ }, "strip", z.ZodTypeAny, {
7738
+ type: "underline";
7739
+ }, {
7740
+ type: "underline";
7741
+ }>, z.ZodObject<{
7742
+ type: z.ZodLiteral<"strike">;
7743
+ }, "strip", z.ZodTypeAny, {
7744
+ type: "strike";
7745
+ }, {
7746
+ type: "strike";
7747
+ }>]>, "many">>;
7748
+ }, "strip", z.ZodTypeAny, {
7749
+ text: string;
7750
+ type: "text";
7751
+ marks?: ({
7752
+ type: "link";
7753
+ attrs: {
7754
+ href: string;
7755
+ };
7756
+ } | {
7757
+ type: "bold";
7758
+ } | {
7759
+ type: "italic";
7760
+ } | {
7761
+ type: "underline";
7762
+ } | {
7763
+ type: "strike";
7764
+ })[] | undefined;
7765
+ }, {
7766
+ text: string;
7767
+ type: "text";
7768
+ marks?: ({
7769
+ type: "link";
7770
+ attrs: {
7771
+ href: string;
7772
+ };
7773
+ } | {
7774
+ type: "bold";
7775
+ } | {
7776
+ type: "italic";
7777
+ } | {
7778
+ type: "underline";
7779
+ } | {
7780
+ type: "strike";
7781
+ })[] | undefined;
7782
+ }>]>, "many">;
7783
+ }, "strip", z.ZodTypeAny, {
7784
+ type: "doc";
7785
+ content: ({
7786
+ text: string;
7787
+ type: "text";
7788
+ marks?: ({
7789
+ type: "link";
7790
+ attrs: {
7791
+ href: string;
7792
+ };
7793
+ } | {
7794
+ type: "bold";
7795
+ } | {
7796
+ type: "italic";
7797
+ } | {
7798
+ type: "underline";
7799
+ } | {
7800
+ type: "strike";
7801
+ })[] | undefined;
7802
+ } | {
7803
+ type: "paragraph";
7804
+ content: {
7805
+ text: string;
7806
+ type: "text";
7807
+ marks?: ({
7808
+ type: "link";
7809
+ attrs: {
7810
+ href: string;
7811
+ };
7812
+ } | {
7813
+ type: "bold";
7814
+ } | {
7815
+ type: "italic";
7816
+ } | {
7817
+ type: "underline";
7818
+ } | {
7819
+ type: "strike";
7820
+ })[] | undefined;
7821
+ }[];
7822
+ })[];
7823
+ }, {
7824
+ type: "doc";
7825
+ content: ({
7826
+ text: string;
7827
+ type: "text";
7828
+ marks?: ({
7829
+ type: "link";
7830
+ attrs: {
7831
+ href: string;
7832
+ };
7833
+ } | {
7834
+ type: "bold";
7835
+ } | {
7836
+ type: "italic";
7837
+ } | {
7838
+ type: "underline";
7839
+ } | {
7840
+ type: "strike";
7841
+ })[] | undefined;
7842
+ } | {
7843
+ type: "paragraph";
7844
+ content: {
7845
+ text: string;
7846
+ type: "text";
7847
+ marks?: ({
7848
+ type: "link";
7849
+ attrs: {
7850
+ href: string;
7851
+ };
7852
+ } | {
7853
+ type: "bold";
7854
+ } | {
7855
+ type: "italic";
7856
+ } | {
7857
+ type: "underline";
7858
+ } | {
7859
+ type: "strike";
7860
+ })[] | undefined;
7861
+ }[];
7862
+ })[];
7863
+ }>;
7864
+ strapline: z.ZodOptional<z.ZodString>;
7865
+ }, "strip", z.ZodTypeAny, {
7866
+ description: {
7867
+ type: "doc";
7868
+ content: ({
7869
+ text: string;
7870
+ type: "text";
7871
+ marks?: ({
7872
+ type: "link";
7873
+ attrs: {
7874
+ href: string;
7875
+ };
7876
+ } | {
7877
+ type: "bold";
7878
+ } | {
7879
+ type: "italic";
7880
+ } | {
7881
+ type: "underline";
7882
+ } | {
7883
+ type: "strike";
7884
+ })[] | undefined;
7885
+ } | {
7886
+ type: "paragraph";
7887
+ content: {
7888
+ text: string;
7889
+ type: "text";
7890
+ marks?: ({
7891
+ type: "link";
7892
+ attrs: {
7893
+ href: string;
7894
+ };
7895
+ } | {
7896
+ type: "bold";
7897
+ } | {
7898
+ type: "italic";
7899
+ } | {
7900
+ type: "underline";
7901
+ } | {
7902
+ type: "strike";
7903
+ })[] | undefined;
7904
+ }[];
7905
+ })[];
7906
+ };
7907
+ heading?: {
7908
+ text: string;
7909
+ href?: string | undefined;
7910
+ } | undefined;
7911
+ strapline?: string | undefined;
7912
+ }, {
7913
+ description: {
7914
+ type: "doc";
7915
+ content: ({
7916
+ text: string;
7917
+ type: "text";
7918
+ marks?: ({
7919
+ type: "link";
7920
+ attrs: {
7921
+ href: string;
7922
+ };
7923
+ } | {
7924
+ type: "bold";
7925
+ } | {
7926
+ type: "italic";
7927
+ } | {
7928
+ type: "underline";
7929
+ } | {
7930
+ type: "strike";
7931
+ })[] | undefined;
7932
+ } | {
7933
+ type: "paragraph";
7934
+ content: {
7935
+ text: string;
7936
+ type: "text";
7937
+ marks?: ({
7938
+ type: "link";
7939
+ attrs: {
7940
+ href: string;
7941
+ };
7942
+ } | {
7943
+ type: "bold";
7944
+ } | {
7945
+ type: "italic";
7946
+ } | {
7947
+ type: "underline";
7948
+ } | {
7949
+ type: "strike";
7950
+ })[] | undefined;
7951
+ }[];
7952
+ })[];
7953
+ };
7954
+ heading?: {
7955
+ text: string;
7956
+ href?: string | undefined;
7957
+ } | undefined;
7958
+ strapline?: string | undefined;
7959
+ }>;
7960
+ } & {
7961
+ sliceId: z.ZodOptional<z.ZodString>;
7962
+ }, "strip", z.ZodTypeAny, {
7963
+ type: "Topper";
7964
+ properties: {
7965
+ description: {
7966
+ type: "doc";
7967
+ content: ({
7968
+ text: string;
7969
+ type: "text";
7970
+ marks?: ({
7971
+ type: "link";
7972
+ attrs: {
7973
+ href: string;
7974
+ };
7975
+ } | {
7976
+ type: "bold";
7977
+ } | {
7978
+ type: "italic";
7979
+ } | {
7980
+ type: "underline";
7981
+ } | {
7982
+ type: "strike";
7983
+ })[] | undefined;
7984
+ } | {
7985
+ type: "paragraph";
7986
+ content: {
7987
+ text: string;
7988
+ type: "text";
7989
+ marks?: ({
7990
+ type: "link";
7991
+ attrs: {
7992
+ href: string;
7993
+ };
7994
+ } | {
7995
+ type: "bold";
7996
+ } | {
7997
+ type: "italic";
7998
+ } | {
7999
+ type: "underline";
8000
+ } | {
8001
+ type: "strike";
8002
+ })[] | undefined;
8003
+ }[];
8004
+ })[];
8005
+ };
8006
+ heading?: {
8007
+ text: string;
8008
+ href?: string | undefined;
8009
+ } | undefined;
8010
+ strapline?: string | undefined;
8011
+ };
8012
+ hidden?: boolean | undefined;
8013
+ sliceId?: string | undefined;
8014
+ }, {
8015
+ type: "Topper";
8016
+ properties: {
8017
+ description: {
8018
+ type: "doc";
8019
+ content: ({
8020
+ text: string;
8021
+ type: "text";
8022
+ marks?: ({
8023
+ type: "link";
8024
+ attrs: {
8025
+ href: string;
8026
+ };
8027
+ } | {
8028
+ type: "bold";
8029
+ } | {
8030
+ type: "italic";
8031
+ } | {
8032
+ type: "underline";
8033
+ } | {
8034
+ type: "strike";
8035
+ })[] | undefined;
8036
+ } | {
8037
+ type: "paragraph";
8038
+ content: {
8039
+ text: string;
8040
+ type: "text";
8041
+ marks?: ({
8042
+ type: "link";
8043
+ attrs: {
8044
+ href: string;
8045
+ };
8046
+ } | {
8047
+ type: "bold";
8048
+ } | {
8049
+ type: "italic";
8050
+ } | {
8051
+ type: "underline";
8052
+ } | {
8053
+ type: "strike";
8054
+ })[] | undefined;
8055
+ }[];
8056
+ })[];
8057
+ };
8058
+ heading?: {
8059
+ text: string;
8060
+ href?: string | undefined;
8061
+ } | undefined;
8062
+ strapline?: string | undefined;
8063
+ };
8064
+ hidden?: boolean | undefined;
8065
+ sliceId?: string | undefined;
8066
+ }>;
8067
+ OutputSchema: z.ZodObject<{
8068
+ type: z.ZodLiteral<"Topper">;
8069
+ hidden: z.ZodOptional<z.ZodBoolean>;
8070
+ properties: z.ZodObject<{
8071
+ heading: z.ZodOptional<z.ZodObject<{
8072
+ text: z.ZodString;
8073
+ href: z.ZodOptional<z.ZodString>;
8074
+ }, "strip", z.ZodTypeAny, {
8075
+ text: string;
8076
+ href?: string | undefined;
8077
+ }, {
8078
+ text: string;
8079
+ href?: string | undefined;
8080
+ }>>;
8081
+ } & {
8082
+ description: z.ZodObject<{
8083
+ type: z.ZodLiteral<"doc">;
8084
+ content: z.ZodArray<z.ZodUnion<[z.ZodObject<{
8085
+ type: z.ZodLiteral<"paragraph">;
8086
+ content: z.ZodArray<z.ZodObject<{
8087
+ type: z.ZodLiteral<"text">;
8088
+ text: z.ZodString;
8089
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8090
+ type: z.ZodLiteral<"link">;
8091
+ attrs: z.ZodObject<{
8092
+ href: z.ZodEffects<z.ZodString, string, string>;
8093
+ }, "strip", z.ZodTypeAny, {
8094
+ href: string;
8095
+ }, {
8096
+ href: string;
8097
+ }>;
8098
+ }, "strip", z.ZodTypeAny, {
8099
+ type: "link";
8100
+ attrs: {
8101
+ href: string;
8102
+ };
8103
+ }, {
8104
+ type: "link";
8105
+ attrs: {
8106
+ href: string;
8107
+ };
8108
+ }>, z.ZodObject<{
8109
+ type: z.ZodLiteral<"bold">;
8110
+ }, "strip", z.ZodTypeAny, {
8111
+ type: "bold";
8112
+ }, {
8113
+ type: "bold";
8114
+ }>, z.ZodObject<{
8115
+ type: z.ZodLiteral<"italic">;
8116
+ }, "strip", z.ZodTypeAny, {
8117
+ type: "italic";
8118
+ }, {
8119
+ type: "italic";
8120
+ }>, z.ZodObject<{
8121
+ type: z.ZodLiteral<"underline">;
8122
+ }, "strip", z.ZodTypeAny, {
8123
+ type: "underline";
8124
+ }, {
8125
+ type: "underline";
8126
+ }>, z.ZodObject<{
8127
+ type: z.ZodLiteral<"strike">;
8128
+ }, "strip", z.ZodTypeAny, {
8129
+ type: "strike";
8130
+ }, {
8131
+ type: "strike";
8132
+ }>]>, "many">>;
8133
+ }, "strip", z.ZodTypeAny, {
8134
+ text: string;
8135
+ type: "text";
8136
+ marks?: ({
8137
+ type: "link";
8138
+ attrs: {
8139
+ href: string;
8140
+ };
8141
+ } | {
8142
+ type: "bold";
8143
+ } | {
8144
+ type: "italic";
8145
+ } | {
8146
+ type: "underline";
8147
+ } | {
8148
+ type: "strike";
8149
+ })[] | undefined;
8150
+ }, {
8151
+ text: string;
8152
+ type: "text";
8153
+ marks?: ({
8154
+ type: "link";
8155
+ attrs: {
8156
+ href: string;
8157
+ };
8158
+ } | {
8159
+ type: "bold";
8160
+ } | {
8161
+ type: "italic";
8162
+ } | {
8163
+ type: "underline";
8164
+ } | {
8165
+ type: "strike";
8166
+ })[] | undefined;
8167
+ }>, "many">;
8168
+ }, "strip", z.ZodTypeAny, {
8169
+ type: "paragraph";
8170
+ content: {
8171
+ text: string;
8172
+ type: "text";
8173
+ marks?: ({
8174
+ type: "link";
8175
+ attrs: {
8176
+ href: string;
8177
+ };
8178
+ } | {
8179
+ type: "bold";
8180
+ } | {
8181
+ type: "italic";
8182
+ } | {
8183
+ type: "underline";
8184
+ } | {
8185
+ type: "strike";
8186
+ })[] | undefined;
8187
+ }[];
8188
+ }, {
8189
+ type: "paragraph";
8190
+ content: {
8191
+ text: string;
8192
+ type: "text";
8193
+ marks?: ({
8194
+ type: "link";
8195
+ attrs: {
8196
+ href: string;
8197
+ };
8198
+ } | {
8199
+ type: "bold";
8200
+ } | {
8201
+ type: "italic";
8202
+ } | {
8203
+ type: "underline";
8204
+ } | {
8205
+ type: "strike";
8206
+ })[] | undefined;
8207
+ }[];
8208
+ }>, z.ZodObject<{
8209
+ type: z.ZodLiteral<"text">;
8210
+ text: z.ZodString;
8211
+ marks: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
8212
+ type: z.ZodLiteral<"link">;
8213
+ attrs: z.ZodObject<{
8214
+ href: z.ZodEffects<z.ZodString, string, string>;
8215
+ }, "strip", z.ZodTypeAny, {
8216
+ href: string;
8217
+ }, {
8218
+ href: string;
8219
+ }>;
8220
+ }, "strip", z.ZodTypeAny, {
8221
+ type: "link";
8222
+ attrs: {
8223
+ href: string;
8224
+ };
8225
+ }, {
8226
+ type: "link";
8227
+ attrs: {
8228
+ href: string;
8229
+ };
8230
+ }>, z.ZodObject<{
8231
+ type: z.ZodLiteral<"bold">;
8232
+ }, "strip", z.ZodTypeAny, {
8233
+ type: "bold";
8234
+ }, {
8235
+ type: "bold";
8236
+ }>, z.ZodObject<{
8237
+ type: z.ZodLiteral<"italic">;
8238
+ }, "strip", z.ZodTypeAny, {
8239
+ type: "italic";
8240
+ }, {
8241
+ type: "italic";
8242
+ }>, z.ZodObject<{
8243
+ type: z.ZodLiteral<"underline">;
8244
+ }, "strip", z.ZodTypeAny, {
8245
+ type: "underline";
8246
+ }, {
8247
+ type: "underline";
8248
+ }>, z.ZodObject<{
8249
+ type: z.ZodLiteral<"strike">;
8250
+ }, "strip", z.ZodTypeAny, {
8251
+ type: "strike";
8252
+ }, {
8253
+ type: "strike";
8254
+ }>]>, "many">>;
8255
+ }, "strip", z.ZodTypeAny, {
8256
+ text: string;
8257
+ type: "text";
8258
+ marks?: ({
8259
+ type: "link";
8260
+ attrs: {
8261
+ href: string;
8262
+ };
8263
+ } | {
8264
+ type: "bold";
8265
+ } | {
8266
+ type: "italic";
8267
+ } | {
8268
+ type: "underline";
8269
+ } | {
8270
+ type: "strike";
8271
+ })[] | undefined;
8272
+ }, {
8273
+ text: string;
8274
+ type: "text";
8275
+ marks?: ({
8276
+ type: "link";
8277
+ attrs: {
8278
+ href: string;
8279
+ };
8280
+ } | {
8281
+ type: "bold";
8282
+ } | {
8283
+ type: "italic";
8284
+ } | {
8285
+ type: "underline";
8286
+ } | {
8287
+ type: "strike";
8288
+ })[] | undefined;
8289
+ }>]>, "many">;
8290
+ }, "strip", z.ZodTypeAny, {
8291
+ type: "doc";
8292
+ content: ({
8293
+ text: string;
8294
+ type: "text";
8295
+ marks?: ({
8296
+ type: "link";
8297
+ attrs: {
8298
+ href: string;
8299
+ };
8300
+ } | {
8301
+ type: "bold";
8302
+ } | {
8303
+ type: "italic";
8304
+ } | {
8305
+ type: "underline";
8306
+ } | {
8307
+ type: "strike";
8308
+ })[] | undefined;
8309
+ } | {
8310
+ type: "paragraph";
8311
+ content: {
8312
+ text: string;
8313
+ type: "text";
8314
+ marks?: ({
8315
+ type: "link";
8316
+ attrs: {
8317
+ href: string;
8318
+ };
8319
+ } | {
8320
+ type: "bold";
8321
+ } | {
8322
+ type: "italic";
8323
+ } | {
8324
+ type: "underline";
8325
+ } | {
8326
+ type: "strike";
8327
+ })[] | undefined;
8328
+ }[];
8329
+ })[];
8330
+ }, {
8331
+ type: "doc";
8332
+ content: ({
8333
+ text: string;
8334
+ type: "text";
8335
+ marks?: ({
8336
+ type: "link";
8337
+ attrs: {
8338
+ href: string;
8339
+ };
8340
+ } | {
8341
+ type: "bold";
8342
+ } | {
8343
+ type: "italic";
8344
+ } | {
8345
+ type: "underline";
8346
+ } | {
8347
+ type: "strike";
8348
+ })[] | undefined;
8349
+ } | {
8350
+ type: "paragraph";
8351
+ content: {
8352
+ text: string;
8353
+ type: "text";
8354
+ marks?: ({
8355
+ type: "link";
8356
+ attrs: {
8357
+ href: string;
8358
+ };
8359
+ } | {
8360
+ type: "bold";
8361
+ } | {
8362
+ type: "italic";
8363
+ } | {
8364
+ type: "underline";
8365
+ } | {
8366
+ type: "strike";
8367
+ })[] | undefined;
8368
+ }[];
8369
+ })[];
8370
+ }>;
8371
+ strapline: z.ZodOptional<z.ZodString>;
8372
+ }, "strip", z.ZodTypeAny, {
8373
+ description: {
8374
+ type: "doc";
8375
+ content: ({
8376
+ text: string;
8377
+ type: "text";
8378
+ marks?: ({
8379
+ type: "link";
8380
+ attrs: {
8381
+ href: string;
8382
+ };
8383
+ } | {
8384
+ type: "bold";
8385
+ } | {
8386
+ type: "italic";
8387
+ } | {
8388
+ type: "underline";
8389
+ } | {
8390
+ type: "strike";
8391
+ })[] | undefined;
8392
+ } | {
8393
+ type: "paragraph";
8394
+ content: {
8395
+ text: string;
8396
+ type: "text";
8397
+ marks?: ({
8398
+ type: "link";
8399
+ attrs: {
8400
+ href: string;
8401
+ };
8402
+ } | {
8403
+ type: "bold";
8404
+ } | {
8405
+ type: "italic";
8406
+ } | {
8407
+ type: "underline";
8408
+ } | {
8409
+ type: "strike";
8410
+ })[] | undefined;
8411
+ }[];
8412
+ })[];
8413
+ };
8414
+ heading?: {
8415
+ text: string;
8416
+ href?: string | undefined;
8417
+ } | undefined;
8418
+ strapline?: string | undefined;
8419
+ }, {
8420
+ description: {
8421
+ type: "doc";
8422
+ content: ({
8423
+ text: string;
8424
+ type: "text";
8425
+ marks?: ({
8426
+ type: "link";
8427
+ attrs: {
8428
+ href: string;
8429
+ };
8430
+ } | {
8431
+ type: "bold";
8432
+ } | {
8433
+ type: "italic";
8434
+ } | {
8435
+ type: "underline";
8436
+ } | {
8437
+ type: "strike";
8438
+ })[] | undefined;
8439
+ } | {
8440
+ type: "paragraph";
8441
+ content: {
8442
+ text: string;
8443
+ type: "text";
8444
+ marks?: ({
8445
+ type: "link";
8446
+ attrs: {
8447
+ href: string;
8448
+ };
8449
+ } | {
8450
+ type: "bold";
8451
+ } | {
8452
+ type: "italic";
8453
+ } | {
8454
+ type: "underline";
8455
+ } | {
8456
+ type: "strike";
8457
+ })[] | undefined;
8458
+ }[];
8459
+ })[];
8460
+ };
8461
+ heading?: {
8462
+ text: string;
8463
+ href?: string | undefined;
8464
+ } | undefined;
8465
+ strapline?: string | undefined;
8466
+ }>;
8467
+ } & {
8468
+ sliceId: z.ZodString;
8469
+ }, "strip", z.ZodTypeAny, {
8470
+ type: "Topper";
8471
+ properties: {
8472
+ description: {
8473
+ type: "doc";
8474
+ content: ({
8475
+ text: string;
8476
+ type: "text";
8477
+ marks?: ({
8478
+ type: "link";
8479
+ attrs: {
8480
+ href: string;
8481
+ };
8482
+ } | {
8483
+ type: "bold";
8484
+ } | {
8485
+ type: "italic";
8486
+ } | {
8487
+ type: "underline";
8488
+ } | {
8489
+ type: "strike";
8490
+ })[] | undefined;
8491
+ } | {
8492
+ type: "paragraph";
8493
+ content: {
8494
+ text: string;
8495
+ type: "text";
8496
+ marks?: ({
8497
+ type: "link";
8498
+ attrs: {
8499
+ href: string;
8500
+ };
8501
+ } | {
8502
+ type: "bold";
8503
+ } | {
8504
+ type: "italic";
8505
+ } | {
8506
+ type: "underline";
8507
+ } | {
8508
+ type: "strike";
8509
+ })[] | undefined;
8510
+ }[];
8511
+ })[];
8512
+ };
8513
+ heading?: {
8514
+ text: string;
8515
+ href?: string | undefined;
8516
+ } | undefined;
8517
+ strapline?: string | undefined;
8518
+ };
8519
+ sliceId: string;
8520
+ hidden?: boolean | undefined;
8521
+ }, {
8522
+ type: "Topper";
8523
+ properties: {
8524
+ description: {
8525
+ type: "doc";
8526
+ content: ({
8527
+ text: string;
8528
+ type: "text";
8529
+ marks?: ({
8530
+ type: "link";
8531
+ attrs: {
8532
+ href: string;
8533
+ };
8534
+ } | {
8535
+ type: "bold";
8536
+ } | {
8537
+ type: "italic";
8538
+ } | {
8539
+ type: "underline";
8540
+ } | {
8541
+ type: "strike";
8542
+ })[] | undefined;
8543
+ } | {
8544
+ type: "paragraph";
8545
+ content: {
8546
+ text: string;
8547
+ type: "text";
8548
+ marks?: ({
8549
+ type: "link";
8550
+ attrs: {
8551
+ href: string;
8552
+ };
8553
+ } | {
8554
+ type: "bold";
8555
+ } | {
8556
+ type: "italic";
8557
+ } | {
8558
+ type: "underline";
8559
+ } | {
8560
+ type: "strike";
8561
+ })[] | undefined;
8562
+ }[];
8563
+ })[];
8564
+ };
8565
+ heading?: {
8566
+ text: string;
8567
+ href?: string | undefined;
8568
+ } | undefined;
8569
+ strapline?: string | undefined;
8570
+ };
8571
+ sliceId: string;
8572
+ hidden?: boolean | undefined;
8573
+ }>;
8574
+ };
8575
+
8576
+ declare type TopperSliceType = z.infer<typeof TopperSlice.OutputSchema>;
8577
+ export { TopperSliceType }
8578
+ export { TopperSliceType as TopperSliceType_alias_1 }
8579
+
3809
8580
  export { }