@prismicio/types-internal 3.4.0-alpha.13 → 3.4.0-alpha.14

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.
Files changed (45) hide show
  1. package/lib/content/Document.d.ts +498 -3366
  2. package/lib/content/fields/GroupContent.d.ts +1 -1
  3. package/lib/content/fields/GroupContent.js +2 -1
  4. package/lib/content/fields/WidgetContent.d.ts +514 -3382
  5. package/lib/content/fields/nestable/NestableContent.d.ts +68 -546
  6. package/lib/content/fields/nestable/NestableContent.js +7 -8
  7. package/lib/content/fields/nestable/RepeatableContent.d.ts +2 -2
  8. package/lib/content/fields/nestable/RepeatableContent.js +5 -2
  9. package/lib/content/fields/nestable/RichTextContent/index.d.ts +9 -641
  10. package/lib/content/fields/nestable/RichTextContent/index.js +4 -8
  11. package/lib/content/fields/nestable/TableContent.d.ts +637 -834
  12. package/lib/content/fields/nestable/TableContent.js +10 -7
  13. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +190 -1146
  14. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +26 -252
  15. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +190 -1146
  16. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +68 -546
  17. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +68 -546
  18. package/lib/content/fields/slices/Slice/index.d.ts +269 -2029
  19. package/lib/content/fields/slices/SliceItem.d.ts +463 -2223
  20. package/lib/content/fields/slices/SlicesContent.d.ts +394 -2784
  21. package/lib/customtypes/widgets/Group.d.ts +36 -36
  22. package/lib/customtypes/widgets/Widget.d.ts +54 -54
  23. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +6 -6
  24. package/lib/customtypes/widgets/nestable/NestableWidget.js +1 -1
  25. package/lib/customtypes/widgets/nestable/RichText.d.ts +0 -2
  26. package/lib/customtypes/widgets/nestable/RichText.js +0 -2
  27. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +12 -12
  28. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +12 -12
  29. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +48 -48
  30. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +18 -18
  31. package/lib/customtypes/widgets/slices/Slices.d.ts +72 -72
  32. package/package.json +1 -1
  33. package/src/content/fields/GroupContent.ts +2 -1
  34. package/src/content/fields/nestable/NestableContent.ts +13 -9
  35. package/src/content/fields/nestable/RepeatableContent.ts +6 -2
  36. package/src/content/fields/nestable/RichTextContent/Blocks.ts +238 -0
  37. package/src/content/fields/nestable/RichTextContent/index.ts +3 -7
  38. package/src/content/fields/nestable/TableContent.ts +10 -7
  39. package/src/customtypes/widgets/nestable/NestableWidget.ts +1 -1
  40. package/src/customtypes/widgets/nestable/RichText.ts +0 -2
  41. package/src/content/fields/nestable/RichTextContent/Block.ts +0 -35
  42. package/src/content/fields/nestable/RichTextContent/EmbedBlock.ts +0 -81
  43. package/src/content/fields/nestable/RichTextContent/ImageBlock.ts +0 -42
  44. package/src/content/fields/nestable/RichTextContent/TableBlock.ts +0 -36
  45. package/src/content/fields/nestable/RichTextContent/TextBlock.ts +0 -108
@@ -366,7 +366,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
366
366
  label?: string | null | undefined;
367
367
  direction?: string | null | undefined;
368
368
  }) | ({
369
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
369
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
370
370
  content: {
371
371
  text: string;
372
372
  } & {
@@ -425,14 +425,18 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
425
425
  } & {
426
426
  label?: string;
427
427
  direction?: string;
428
- }) | {
429
- type: "table";
430
- content: {
431
- type: "tableRow";
432
- content: ({
433
- type: "tableHeader";
434
- content: ({
435
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
428
+ }))[];
429
+ } | {
430
+ __TYPE__: "SeparatorContent";
431
+ } | ({
432
+ content: {
433
+ type: "tableRow";
434
+ content: ({
435
+ type: "tableHeader";
436
+ content: {
437
+ __TYPE__: "StructuredTextContent";
438
+ value: ({
439
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
436
440
  content: {
437
441
  text: string;
438
442
  } & {
@@ -492,10 +496,13 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
492
496
  label?: string;
493
497
  direction?: string;
494
498
  })[];
495
- } | {
496
- type: "tableCell";
497
- content: ({
498
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
499
+ };
500
+ } | {
501
+ type: "tableCell";
502
+ content: {
503
+ __TYPE__: "StructuredTextContent";
504
+ value: ({
505
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
499
506
  content: {
500
507
  text: string;
501
508
  } & {
@@ -555,140 +562,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
555
562
  label?: string;
556
563
  direction?: string;
557
564
  })[];
558
- })[];
559
- }[];
560
- })[];
561
- } | {
562
- __TYPE__: "SeparatorContent";
563
- } | ({
564
- content: {
565
- type: "tableRow";
566
- content: ({
567
- type: "tableHeader";
568
- content: ({
569
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
570
- content: {
571
- text: string;
572
- } & {
573
- spans?: ({
574
- data: ({
575
- __TYPE__: "ImageLink";
576
- } & {
577
- kind: "image";
578
- id: string;
579
- url: string;
580
- height: string;
581
- width: string;
582
- size: string;
583
- name: string;
584
- } & {
585
- date?: string | null | undefined;
586
- }) | ({
587
- __TYPE__: "FileLink";
588
- } & {
589
- kind: "file";
590
- id: string;
591
- url: string;
592
- name: string;
593
- size: string;
594
- } & {
595
- date?: string | null | undefined;
596
- }) | ({
597
- __TYPE__: "DocumentLink";
598
- } & {
599
- id: string;
600
- }) | ({
601
- __TYPE__: "ExternalLink";
602
- } & {
603
- url: string;
604
- } & {
605
- kind?: "web";
606
- target?: string | null | undefined;
607
- preview?: {
608
- title?: string;
609
- } | null | undefined;
610
- });
611
- start: number;
612
- end: number;
613
- type: "hyperlink";
614
- } | {
615
- data: string;
616
- start: number;
617
- end: number;
618
- type: "label";
619
- } | {
620
- start: number;
621
- end: number;
622
- type: "strong" | "em" | "list-item";
623
- })[];
624
- };
625
- } & {
626
- label?: string;
627
- direction?: string;
628
- })[];
629
- } | {
630
- type: "tableCell";
631
- content: ({
632
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
633
- content: {
634
- text: string;
635
- } & {
636
- spans?: ({
637
- data: ({
638
- __TYPE__: "ImageLink";
639
- } & {
640
- kind: "image";
641
- id: string;
642
- url: string;
643
- height: string;
644
- width: string;
645
- size: string;
646
- name: string;
647
- } & {
648
- date?: string | null | undefined;
649
- }) | ({
650
- __TYPE__: "FileLink";
651
- } & {
652
- kind: "file";
653
- id: string;
654
- url: string;
655
- name: string;
656
- size: string;
657
- } & {
658
- date?: string | null | undefined;
659
- }) | ({
660
- __TYPE__: "DocumentLink";
661
- } & {
662
- id: string;
663
- }) | ({
664
- __TYPE__: "ExternalLink";
665
- } & {
666
- url: string;
667
- } & {
668
- kind?: "web";
669
- target?: string | null | undefined;
670
- preview?: {
671
- title?: string;
672
- } | null | undefined;
673
- });
674
- start: number;
675
- end: number;
676
- type: "hyperlink";
677
- } | {
678
- data: string;
679
- start: number;
680
- end: number;
681
- type: "label";
682
- } | {
683
- start: number;
684
- end: number;
685
- type: "strong" | "em" | "list-item";
686
- })[];
687
- };
688
- } & {
689
- label?: string;
690
- direction?: string;
691
- })[];
565
+ };
692
566
  })[];
693
567
  }[];
694
568
  } & {
@@ -1056,7 +930,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
1056
930
  label?: string | null | undefined;
1057
931
  direction?: string | null | undefined;
1058
932
  }) | ({
1059
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
933
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1060
934
  content: {
1061
935
  text: string;
1062
936
  } & {
@@ -1115,14 +989,18 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
1115
989
  } & {
1116
990
  label?: string;
1117
991
  direction?: string;
1118
- }) | {
1119
- type: "table";
1120
- content: {
1121
- type: "tableRow";
1122
- content: ({
1123
- type: "tableHeader";
1124
- content: ({
1125
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
992
+ }))[];
993
+ } | {
994
+ __TYPE__: "SeparatorContent";
995
+ } | ({
996
+ content: {
997
+ type: "tableRow";
998
+ content: ({
999
+ type: "tableHeader";
1000
+ content: {
1001
+ __TYPE__: "StructuredTextContent";
1002
+ value: ({
1003
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1126
1004
  content: {
1127
1005
  text: string;
1128
1006
  } & {
@@ -1182,10 +1060,13 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
1182
1060
  label?: string;
1183
1061
  direction?: string;
1184
1062
  })[];
1185
- } | {
1186
- type: "tableCell";
1187
- content: ({
1188
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1063
+ };
1064
+ } | {
1065
+ type: "tableCell";
1066
+ content: {
1067
+ __TYPE__: "StructuredTextContent";
1068
+ value: ({
1069
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1189
1070
  content: {
1190
1071
  text: string;
1191
1072
  } & {
@@ -1245,140 +1126,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
1245
1126
  label?: string;
1246
1127
  direction?: string;
1247
1128
  })[];
1248
- })[];
1249
- }[];
1250
- })[];
1251
- } | {
1252
- __TYPE__: "SeparatorContent";
1253
- } | ({
1254
- content: {
1255
- type: "tableRow";
1256
- content: ({
1257
- type: "tableHeader";
1258
- content: ({
1259
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1260
- content: {
1261
- text: string;
1262
- } & {
1263
- spans?: ({
1264
- data: ({
1265
- __TYPE__: "ImageLink";
1266
- } & {
1267
- kind: "image";
1268
- id: string;
1269
- url: string;
1270
- height: string;
1271
- width: string;
1272
- size: string;
1273
- name: string;
1274
- } & {
1275
- date?: string | null | undefined;
1276
- }) | ({
1277
- __TYPE__: "FileLink";
1278
- } & {
1279
- kind: "file";
1280
- id: string;
1281
- url: string;
1282
- name: string;
1283
- size: string;
1284
- } & {
1285
- date?: string | null | undefined;
1286
- }) | ({
1287
- __TYPE__: "DocumentLink";
1288
- } & {
1289
- id: string;
1290
- }) | ({
1291
- __TYPE__: "ExternalLink";
1292
- } & {
1293
- url: string;
1294
- } & {
1295
- kind?: "web";
1296
- target?: string | null | undefined;
1297
- preview?: {
1298
- title?: string;
1299
- } | null | undefined;
1300
- });
1301
- start: number;
1302
- end: number;
1303
- type: "hyperlink";
1304
- } | {
1305
- data: string;
1306
- start: number;
1307
- end: number;
1308
- type: "label";
1309
- } | {
1310
- start: number;
1311
- end: number;
1312
- type: "strong" | "em" | "list-item";
1313
- })[];
1314
- };
1315
- } & {
1316
- label?: string;
1317
- direction?: string;
1318
- })[];
1319
- } | {
1320
- type: "tableCell";
1321
- content: ({
1322
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1323
- content: {
1324
- text: string;
1325
- } & {
1326
- spans?: ({
1327
- data: ({
1328
- __TYPE__: "ImageLink";
1329
- } & {
1330
- kind: "image";
1331
- id: string;
1332
- url: string;
1333
- height: string;
1334
- width: string;
1335
- size: string;
1336
- name: string;
1337
- } & {
1338
- date?: string | null | undefined;
1339
- }) | ({
1340
- __TYPE__: "FileLink";
1341
- } & {
1342
- kind: "file";
1343
- id: string;
1344
- url: string;
1345
- name: string;
1346
- size: string;
1347
- } & {
1348
- date?: string | null | undefined;
1349
- }) | ({
1350
- __TYPE__: "DocumentLink";
1351
- } & {
1352
- id: string;
1353
- }) | ({
1354
- __TYPE__: "ExternalLink";
1355
- } & {
1356
- url: string;
1357
- } & {
1358
- kind?: "web";
1359
- target?: string | null | undefined;
1360
- preview?: {
1361
- title?: string;
1362
- } | null | undefined;
1363
- });
1364
- start: number;
1365
- end: number;
1366
- type: "hyperlink";
1367
- } | {
1368
- data: string;
1369
- start: number;
1370
- end: number;
1371
- type: "label";
1372
- } | {
1373
- start: number;
1374
- end: number;
1375
- type: "strong" | "em" | "list-item";
1376
- })[];
1377
- };
1378
- } & {
1379
- label?: string;
1380
- direction?: string;
1381
- })[];
1129
+ };
1382
1130
  })[];
1383
1131
  }[];
1384
1132
  } & {
@@ -1748,7 +1496,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1748
1496
  label?: string | null | undefined;
1749
1497
  direction?: string | null | undefined;
1750
1498
  }) | ({
1751
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1499
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1752
1500
  content: {
1753
1501
  text: string;
1754
1502
  } & {
@@ -1807,14 +1555,18 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1807
1555
  } & {
1808
1556
  label?: string;
1809
1557
  direction?: string;
1810
- }) | {
1811
- type: "table";
1812
- content: {
1813
- type: "tableRow";
1814
- content: ({
1815
- type: "tableHeader";
1816
- content: ({
1817
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1558
+ }))[];
1559
+ } | {
1560
+ __TYPE__: "SeparatorContent";
1561
+ } | ({
1562
+ content: {
1563
+ type: "tableRow";
1564
+ content: ({
1565
+ type: "tableHeader";
1566
+ content: {
1567
+ __TYPE__: "StructuredTextContent";
1568
+ value: ({
1569
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1818
1570
  content: {
1819
1571
  text: string;
1820
1572
  } & {
@@ -1874,10 +1626,13 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1874
1626
  label?: string;
1875
1627
  direction?: string;
1876
1628
  })[];
1877
- } | {
1878
- type: "tableCell";
1879
- content: ({
1880
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1629
+ };
1630
+ } | {
1631
+ type: "tableCell";
1632
+ content: {
1633
+ __TYPE__: "StructuredTextContent";
1634
+ value: ({
1635
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1881
1636
  content: {
1882
1637
  text: string;
1883
1638
  } & {
@@ -1891,186 +1646,53 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1891
1646
  height: string;
1892
1647
  width: string;
1893
1648
  size: string;
1894
- name: string;
1895
- } & {
1896
- date?: string | null | undefined;
1897
- }) | ({
1898
- __TYPE__: "FileLink";
1899
- } & {
1900
- kind: "file";
1901
- id: string;
1902
- url: string;
1903
- name: string;
1904
- size: string;
1905
- } & {
1906
- date?: string | null | undefined;
1907
- }) | ({
1908
- __TYPE__: "DocumentLink";
1909
- } & {
1910
- id: string;
1911
- }) | ({
1912
- __TYPE__: "ExternalLink";
1913
- } & {
1914
- url: string;
1915
- } & {
1916
- kind?: "web";
1917
- target?: string | null | undefined;
1918
- preview?: {
1919
- title?: string;
1920
- } | null | undefined;
1921
- });
1922
- start: number;
1923
- end: number;
1924
- type: "hyperlink";
1925
- } | {
1926
- data: string;
1927
- start: number;
1928
- end: number;
1929
- type: "label";
1930
- } | {
1931
- start: number;
1932
- end: number;
1933
- type: "strong" | "em" | "list-item";
1934
- })[];
1935
- };
1936
- } & {
1937
- label?: string;
1938
- direction?: string;
1939
- })[];
1940
- })[];
1941
- }[];
1942
- })[];
1943
- } | {
1944
- __TYPE__: "SeparatorContent";
1945
- } | ({
1946
- content: {
1947
- type: "tableRow";
1948
- content: ({
1949
- type: "tableHeader";
1950
- content: ({
1951
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1952
- content: {
1953
- text: string;
1954
- } & {
1955
- spans?: ({
1956
- data: ({
1957
- __TYPE__: "ImageLink";
1958
- } & {
1959
- kind: "image";
1960
- id: string;
1961
- url: string;
1962
- height: string;
1963
- width: string;
1964
- size: string;
1965
- name: string;
1966
- } & {
1967
- date?: string | null | undefined;
1968
- }) | ({
1969
- __TYPE__: "FileLink";
1970
- } & {
1971
- kind: "file";
1972
- id: string;
1973
- url: string;
1974
- name: string;
1975
- size: string;
1976
- } & {
1977
- date?: string | null | undefined;
1978
- }) | ({
1979
- __TYPE__: "DocumentLink";
1980
- } & {
1981
- id: string;
1982
- }) | ({
1983
- __TYPE__: "ExternalLink";
1984
- } & {
1985
- url: string;
1986
- } & {
1987
- kind?: "web";
1988
- target?: string | null | undefined;
1989
- preview?: {
1990
- title?: string;
1991
- } | null | undefined;
1992
- });
1993
- start: number;
1994
- end: number;
1995
- type: "hyperlink";
1996
- } | {
1997
- data: string;
1998
- start: number;
1999
- end: number;
2000
- type: "label";
2001
- } | {
2002
- start: number;
2003
- end: number;
2004
- type: "strong" | "em" | "list-item";
2005
- })[];
2006
- };
2007
- } & {
2008
- label?: string;
2009
- direction?: string;
2010
- })[];
2011
- } | {
2012
- type: "tableCell";
2013
- content: ({
2014
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2015
- content: {
2016
- text: string;
2017
- } & {
2018
- spans?: ({
2019
- data: ({
2020
- __TYPE__: "ImageLink";
2021
- } & {
2022
- kind: "image";
2023
- id: string;
2024
- url: string;
2025
- height: string;
2026
- width: string;
2027
- size: string;
2028
- name: string;
2029
- } & {
2030
- date?: string | null | undefined;
2031
- }) | ({
2032
- __TYPE__: "FileLink";
2033
- } & {
2034
- kind: "file";
2035
- id: string;
2036
- url: string;
2037
- name: string;
2038
- size: string;
2039
- } & {
2040
- date?: string | null | undefined;
2041
- }) | ({
2042
- __TYPE__: "DocumentLink";
2043
- } & {
2044
- id: string;
2045
- }) | ({
2046
- __TYPE__: "ExternalLink";
2047
- } & {
2048
- url: string;
2049
- } & {
2050
- kind?: "web";
2051
- target?: string | null | undefined;
2052
- preview?: {
2053
- title?: string;
2054
- } | null | undefined;
2055
- });
2056
- start: number;
2057
- end: number;
2058
- type: "hyperlink";
2059
- } | {
2060
- data: string;
2061
- start: number;
2062
- end: number;
2063
- type: "label";
2064
- } | {
2065
- start: number;
2066
- end: number;
2067
- type: "strong" | "em" | "list-item";
2068
- })[];
2069
- };
2070
- } & {
2071
- label?: string;
2072
- direction?: string;
2073
- })[];
1649
+ name: string;
1650
+ } & {
1651
+ date?: string | null | undefined;
1652
+ }) | ({
1653
+ __TYPE__: "FileLink";
1654
+ } & {
1655
+ kind: "file";
1656
+ id: string;
1657
+ url: string;
1658
+ name: string;
1659
+ size: string;
1660
+ } & {
1661
+ date?: string | null | undefined;
1662
+ }) | ({
1663
+ __TYPE__: "DocumentLink";
1664
+ } & {
1665
+ id: string;
1666
+ }) | ({
1667
+ __TYPE__: "ExternalLink";
1668
+ } & {
1669
+ url: string;
1670
+ } & {
1671
+ kind?: "web";
1672
+ target?: string | null | undefined;
1673
+ preview?: {
1674
+ title?: string;
1675
+ } | null | undefined;
1676
+ });
1677
+ start: number;
1678
+ end: number;
1679
+ type: "hyperlink";
1680
+ } | {
1681
+ data: string;
1682
+ start: number;
1683
+ end: number;
1684
+ type: "label";
1685
+ } | {
1686
+ start: number;
1687
+ end: number;
1688
+ type: "strong" | "em" | "list-item";
1689
+ })[];
1690
+ };
1691
+ } & {
1692
+ label?: string;
1693
+ direction?: string;
1694
+ })[];
1695
+ };
2074
1696
  })[];
2075
1697
  }[];
2076
1698
  } & {
@@ -2438,7 +2060,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
2438
2060
  label?: string | null | undefined;
2439
2061
  direction?: string | null | undefined;
2440
2062
  }) | ({
2441
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2063
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2442
2064
  content: {
2443
2065
  text: string;
2444
2066
  } & {
@@ -2497,14 +2119,18 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
2497
2119
  } & {
2498
2120
  label?: string;
2499
2121
  direction?: string;
2500
- }) | {
2501
- type: "table";
2502
- content: {
2503
- type: "tableRow";
2504
- content: ({
2505
- type: "tableHeader";
2506
- content: ({
2507
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2122
+ }))[];
2123
+ } | {
2124
+ __TYPE__: "SeparatorContent";
2125
+ } | ({
2126
+ content: {
2127
+ type: "tableRow";
2128
+ content: ({
2129
+ type: "tableHeader";
2130
+ content: {
2131
+ __TYPE__: "StructuredTextContent";
2132
+ value: ({
2133
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2508
2134
  content: {
2509
2135
  text: string;
2510
2136
  } & {
@@ -2564,10 +2190,13 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
2564
2190
  label?: string;
2565
2191
  direction?: string;
2566
2192
  })[];
2567
- } | {
2568
- type: "tableCell";
2569
- content: ({
2570
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2193
+ };
2194
+ } | {
2195
+ type: "tableCell";
2196
+ content: {
2197
+ __TYPE__: "StructuredTextContent";
2198
+ value: ({
2199
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2571
2200
  content: {
2572
2201
  text: string;
2573
2202
  } & {
@@ -2627,140 +2256,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
2627
2256
  label?: string;
2628
2257
  direction?: string;
2629
2258
  })[];
2630
- })[];
2631
- }[];
2632
- })[];
2633
- } | {
2634
- __TYPE__: "SeparatorContent";
2635
- } | ({
2636
- content: {
2637
- type: "tableRow";
2638
- content: ({
2639
- type: "tableHeader";
2640
- content: ({
2641
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2642
- content: {
2643
- text: string;
2644
- } & {
2645
- spans?: ({
2646
- data: ({
2647
- __TYPE__: "ImageLink";
2648
- } & {
2649
- kind: "image";
2650
- id: string;
2651
- url: string;
2652
- height: string;
2653
- width: string;
2654
- size: string;
2655
- name: string;
2656
- } & {
2657
- date?: string | null | undefined;
2658
- }) | ({
2659
- __TYPE__: "FileLink";
2660
- } & {
2661
- kind: "file";
2662
- id: string;
2663
- url: string;
2664
- name: string;
2665
- size: string;
2666
- } & {
2667
- date?: string | null | undefined;
2668
- }) | ({
2669
- __TYPE__: "DocumentLink";
2670
- } & {
2671
- id: string;
2672
- }) | ({
2673
- __TYPE__: "ExternalLink";
2674
- } & {
2675
- url: string;
2676
- } & {
2677
- kind?: "web";
2678
- target?: string | null | undefined;
2679
- preview?: {
2680
- title?: string;
2681
- } | null | undefined;
2682
- });
2683
- start: number;
2684
- end: number;
2685
- type: "hyperlink";
2686
- } | {
2687
- data: string;
2688
- start: number;
2689
- end: number;
2690
- type: "label";
2691
- } | {
2692
- start: number;
2693
- end: number;
2694
- type: "strong" | "em" | "list-item";
2695
- })[];
2696
- };
2697
- } & {
2698
- label?: string;
2699
- direction?: string;
2700
- })[];
2701
- } | {
2702
- type: "tableCell";
2703
- content: ({
2704
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2705
- content: {
2706
- text: string;
2707
- } & {
2708
- spans?: ({
2709
- data: ({
2710
- __TYPE__: "ImageLink";
2711
- } & {
2712
- kind: "image";
2713
- id: string;
2714
- url: string;
2715
- height: string;
2716
- width: string;
2717
- size: string;
2718
- name: string;
2719
- } & {
2720
- date?: string | null | undefined;
2721
- }) | ({
2722
- __TYPE__: "FileLink";
2723
- } & {
2724
- kind: "file";
2725
- id: string;
2726
- url: string;
2727
- name: string;
2728
- size: string;
2729
- } & {
2730
- date?: string | null | undefined;
2731
- }) | ({
2732
- __TYPE__: "DocumentLink";
2733
- } & {
2734
- id: string;
2735
- }) | ({
2736
- __TYPE__: "ExternalLink";
2737
- } & {
2738
- url: string;
2739
- } & {
2740
- kind?: "web";
2741
- target?: string | null | undefined;
2742
- preview?: {
2743
- title?: string;
2744
- } | null | undefined;
2745
- });
2746
- start: number;
2747
- end: number;
2748
- type: "hyperlink";
2749
- } | {
2750
- data: string;
2751
- start: number;
2752
- end: number;
2753
- type: "label";
2754
- } | {
2755
- start: number;
2756
- end: number;
2757
- type: "strong" | "em" | "list-item";
2758
- })[];
2759
- };
2760
- } & {
2761
- label?: string;
2762
- direction?: string;
2763
- })[];
2259
+ };
2764
2260
  })[];
2765
2261
  }[];
2766
2262
  } & {
@@ -3091,7 +2587,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
3091
2587
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3092
2588
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3093
2589
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3094
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
2590
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
3095
2591
  content: t.IntersectionC<[t.TypeC<{
3096
2592
  text: t.StringC;
3097
2593
  }>, t.PartialC<{
@@ -3200,14 +2696,18 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
3200
2696
  }>, t.PartialC<{
3201
2697
  label: t.StringC;
3202
2698
  direction: t.StringC;
3203
- }>]>>, t.ExactC<t.TypeC<{
3204
- type: t.LiteralC<"table">;
3205
- content: t.ArrayC<t.ExactC<t.TypeC<{
3206
- type: t.LiteralC<"tableRow">;
3207
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
3208
- type: t.LiteralC<"tableHeader">;
3209
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3210
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
2699
+ }>]>>]>>;
2700
+ }>>, t.ExactC<t.TypeC<{
2701
+ __TYPE__: t.LiteralC<"SeparatorContent">;
2702
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
2703
+ content: t.ArrayC<t.ExactC<t.TypeC<{
2704
+ type: t.LiteralC<"tableRow">;
2705
+ content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
2706
+ type: t.LiteralC<"tableHeader">;
2707
+ content: t.ExactC<t.TypeC<{
2708
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
2709
+ value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2710
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
3211
2711
  content: t.IntersectionC<[t.TypeC<{
3212
2712
  text: t.StringC;
3213
2713
  }>, t.PartialC<{
@@ -3317,10 +2817,13 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
3317
2817
  label: t.StringC;
3318
2818
  direction: t.StringC;
3319
2819
  }>]>>>;
3320
- }>>, t.ExactC<t.TypeC<{
3321
- type: t.LiteralC<"tableCell">;
3322
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3323
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
2820
+ }>>;
2821
+ }>>, t.ExactC<t.TypeC<{
2822
+ type: t.LiteralC<"tableCell">;
2823
+ content: t.ExactC<t.TypeC<{
2824
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
2825
+ value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2826
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
3324
2827
  content: t.IntersectionC<[t.TypeC<{
3325
2828
  text: t.StringC;
3326
2829
  }>, t.PartialC<{
@@ -3430,12 +2933,12 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
3430
2933
  label: t.StringC;
3431
2934
  direction: t.StringC;
3432
2935
  }>]>>>;
3433
- }>>]>>;
3434
- }>>>;
3435
- }>>]>>;
3436
- }>>, t.ExactC<t.TypeC<{
3437
- __TYPE__: t.LiteralC<"SeparatorContent">;
2936
+ }>>;
2937
+ }>>]>>;
2938
+ }>>>;
3438
2939
  }>>, t.ExactC<t.TypeC<{
2940
+ __TYPE__: t.LiteralC<"TableContent">;
2941
+ }>>]>, t.ExactC<t.TypeC<{
3439
2942
  __TYPE__: t.LiteralC<"RepeatableContent">;
3440
2943
  type: t.LiteralC<"Link">;
3441
2944
  value: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
@@ -3508,248 +3011,15 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
3508
3011
  text: t.StringC;
3509
3012
  variant: t.StringC;
3510
3013
  }>>]>]>, t.IntersectionC<[t.ExactC<t.TypeC<{
3511
- __TYPE__: t.LiteralC<"AnyLink">;
3512
- }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3513
- kind: t.LiteralC<"any">;
3514
- }>, t.PartialC<{
3515
- text: t.StringC;
3516
- variant: t.StringC;
3517
- }>]>>]>]>;
3518
- }>>]>>;
3519
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
3520
- content: t.ArrayC<t.ExactC<t.TypeC<{
3521
- type: t.LiteralC<"tableRow">;
3522
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
3523
- type: t.LiteralC<"tableHeader">;
3524
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3525
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
3526
- content: t.IntersectionC<[t.TypeC<{
3527
- text: t.StringC;
3528
- }>, t.PartialC<{
3529
- spans: t.Type<({
3530
- data: ({
3531
- __TYPE__: "ImageLink";
3532
- } & {
3533
- kind: "image";
3534
- id: string;
3535
- url: string;
3536
- height: string;
3537
- width: string;
3538
- size: string;
3539
- name: string;
3540
- } & {
3541
- date?: string | null | undefined;
3542
- }) | ({
3543
- __TYPE__: "FileLink";
3544
- } & {
3545
- kind: "file";
3546
- id: string;
3547
- url: string;
3548
- name: string;
3549
- size: string;
3550
- } & {
3551
- date?: string | null | undefined;
3552
- }) | ({
3553
- __TYPE__: "DocumentLink";
3554
- } & {
3555
- id: string;
3556
- }) | ({
3557
- __TYPE__: "ExternalLink";
3558
- } & {
3559
- url: string;
3560
- } & {
3561
- kind?: "web";
3562
- target?: string | null | undefined;
3563
- preview?: {
3564
- title?: string;
3565
- } | null | undefined;
3566
- });
3567
- start: number;
3568
- end: number;
3569
- type: "hyperlink";
3570
- } | {
3571
- data: string;
3572
- start: number;
3573
- end: number;
3574
- type: "label";
3575
- } | {
3576
- start: number;
3577
- end: number;
3578
- type: "strong" | "em" | "list-item";
3579
- })[], ({
3580
- data: ({
3581
- __TYPE__: "ImageLink";
3582
- } & {
3583
- kind: "image";
3584
- id: string;
3585
- url: string;
3586
- height: string;
3587
- width: string;
3588
- size: string;
3589
- name: string;
3590
- } & {
3591
- date?: string | null | undefined;
3592
- }) | ({
3593
- __TYPE__: "FileLink";
3594
- } & {
3595
- kind: "file";
3596
- id: string;
3597
- url: string;
3598
- name: string;
3599
- size: string;
3600
- } & {
3601
- date?: string | null | undefined;
3602
- }) | ({
3603
- __TYPE__: "DocumentLink";
3604
- } & {
3605
- id: string;
3606
- }) | ({
3607
- __TYPE__: "ExternalLink";
3608
- } & {
3609
- url: string;
3610
- } & {
3611
- kind?: "web";
3612
- target?: string | null | undefined;
3613
- preview?: {
3614
- title?: string;
3615
- } | null | undefined;
3616
- });
3617
- start: number;
3618
- end: number;
3619
- type: "hyperlink";
3620
- } | {
3621
- data: string;
3622
- start: number;
3623
- end: number;
3624
- type: "label";
3625
- } | {
3626
- start: number;
3627
- end: number;
3628
- type: "strong" | "em" | "list-item";
3629
- })[], unknown>;
3630
- }>]>;
3631
- }>, t.PartialC<{
3632
- label: t.StringC;
3633
- direction: t.StringC;
3634
- }>]>>>;
3635
- }>>, t.ExactC<t.TypeC<{
3636
- type: t.LiteralC<"tableCell">;
3637
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3638
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
3639
- content: t.IntersectionC<[t.TypeC<{
3640
- text: t.StringC;
3641
- }>, t.PartialC<{
3642
- spans: t.Type<({
3643
- data: ({
3644
- __TYPE__: "ImageLink";
3645
- } & {
3646
- kind: "image";
3647
- id: string;
3648
- url: string;
3649
- height: string;
3650
- width: string;
3651
- size: string;
3652
- name: string;
3653
- } & {
3654
- date?: string | null | undefined;
3655
- }) | ({
3656
- __TYPE__: "FileLink";
3657
- } & {
3658
- kind: "file";
3659
- id: string;
3660
- url: string;
3661
- name: string;
3662
- size: string;
3663
- } & {
3664
- date?: string | null | undefined;
3665
- }) | ({
3666
- __TYPE__: "DocumentLink";
3667
- } & {
3668
- id: string;
3669
- }) | ({
3670
- __TYPE__: "ExternalLink";
3671
- } & {
3672
- url: string;
3673
- } & {
3674
- kind?: "web";
3675
- target?: string | null | undefined;
3676
- preview?: {
3677
- title?: string;
3678
- } | null | undefined;
3679
- });
3680
- start: number;
3681
- end: number;
3682
- type: "hyperlink";
3683
- } | {
3684
- data: string;
3685
- start: number;
3686
- end: number;
3687
- type: "label";
3688
- } | {
3689
- start: number;
3690
- end: number;
3691
- type: "strong" | "em" | "list-item";
3692
- })[], ({
3693
- data: ({
3694
- __TYPE__: "ImageLink";
3695
- } & {
3696
- kind: "image";
3697
- id: string;
3698
- url: string;
3699
- height: string;
3700
- width: string;
3701
- size: string;
3702
- name: string;
3703
- } & {
3704
- date?: string | null | undefined;
3705
- }) | ({
3706
- __TYPE__: "FileLink";
3707
- } & {
3708
- kind: "file";
3709
- id: string;
3710
- url: string;
3711
- name: string;
3712
- size: string;
3713
- } & {
3714
- date?: string | null | undefined;
3715
- }) | ({
3716
- __TYPE__: "DocumentLink";
3717
- } & {
3718
- id: string;
3719
- }) | ({
3720
- __TYPE__: "ExternalLink";
3721
- } & {
3722
- url: string;
3723
- } & {
3724
- kind?: "web";
3725
- target?: string | null | undefined;
3726
- preview?: {
3727
- title?: string;
3728
- } | null | undefined;
3729
- });
3730
- start: number;
3731
- end: number;
3732
- type: "hyperlink";
3733
- } | {
3734
- data: string;
3735
- start: number;
3736
- end: number;
3737
- type: "label";
3738
- } | {
3739
- start: number;
3740
- end: number;
3741
- type: "strong" | "em" | "list-item";
3742
- })[], unknown>;
3743
- }>]>;
3744
- }>, t.PartialC<{
3745
- label: t.StringC;
3746
- direction: t.StringC;
3747
- }>]>>>;
3748
- }>>]>>;
3749
- }>>>;
3750
- }>>, t.ExactC<t.TypeC<{
3751
- __TYPE__: t.LiteralC<"TableContent">;
3752
- }>>]>]>>;
3014
+ __TYPE__: t.LiteralC<"AnyLink">;
3015
+ }>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3016
+ kind: t.LiteralC<"any">;
3017
+ }>, t.PartialC<{
3018
+ text: t.StringC;
3019
+ variant: t.StringC;
3020
+ }>]>>]>]>;
3021
+ }>>]>>;
3022
+ }>>]>>;
3753
3023
  repeat: t.ArrayC<t.ExactC<t.TypeC<{
3754
3024
  __TYPE__: t.LiteralC<"GroupItemContent">;
3755
3025
  value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
@@ -4068,7 +3338,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
4068
3338
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4069
3339
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4070
3340
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4071
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
3341
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
4072
3342
  content: t.IntersectionC<[t.TypeC<{
4073
3343
  text: t.StringC;
4074
3344
  }>, t.PartialC<{
@@ -4177,14 +3447,18 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
4177
3447
  }>, t.PartialC<{
4178
3448
  label: t.StringC;
4179
3449
  direction: t.StringC;
4180
- }>]>>, t.ExactC<t.TypeC<{
4181
- type: t.LiteralC<"table">;
4182
- content: t.ArrayC<t.ExactC<t.TypeC<{
4183
- type: t.LiteralC<"tableRow">;
4184
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
4185
- type: t.LiteralC<"tableHeader">;
4186
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4187
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
3450
+ }>]>>]>>;
3451
+ }>>, t.ExactC<t.TypeC<{
3452
+ __TYPE__: t.LiteralC<"SeparatorContent">;
3453
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
3454
+ content: t.ArrayC<t.ExactC<t.TypeC<{
3455
+ type: t.LiteralC<"tableRow">;
3456
+ content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
3457
+ type: t.LiteralC<"tableHeader">;
3458
+ content: t.ExactC<t.TypeC<{
3459
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
3460
+ value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3461
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
4188
3462
  content: t.IntersectionC<[t.TypeC<{
4189
3463
  text: t.StringC;
4190
3464
  }>, t.PartialC<{
@@ -4294,10 +3568,13 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
4294
3568
  label: t.StringC;
4295
3569
  direction: t.StringC;
4296
3570
  }>]>>>;
4297
- }>>, t.ExactC<t.TypeC<{
4298
- type: t.LiteralC<"tableCell">;
4299
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4300
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
3571
+ }>>;
3572
+ }>>, t.ExactC<t.TypeC<{
3573
+ type: t.LiteralC<"tableCell">;
3574
+ content: t.ExactC<t.TypeC<{
3575
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
3576
+ value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3577
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
4301
3578
  content: t.IntersectionC<[t.TypeC<{
4302
3579
  text: t.StringC;
4303
3580
  }>, t.PartialC<{
@@ -4407,12 +3684,12 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
4407
3684
  label: t.StringC;
4408
3685
  direction: t.StringC;
4409
3686
  }>]>>>;
4410
- }>>]>>;
4411
- }>>>;
4412
- }>>]>>;
4413
- }>>, t.ExactC<t.TypeC<{
4414
- __TYPE__: t.LiteralC<"SeparatorContent">;
3687
+ }>>;
3688
+ }>>]>>;
3689
+ }>>>;
4415
3690
  }>>, t.ExactC<t.TypeC<{
3691
+ __TYPE__: t.LiteralC<"TableContent">;
3692
+ }>>]>, t.ExactC<t.TypeC<{
4416
3693
  __TYPE__: t.LiteralC<"RepeatableContent">;
4417
3694
  type: t.LiteralC<"Link">;
4418
3695
  value: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
@@ -4493,240 +3770,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
4493
3770
  variant: t.StringC;
4494
3771
  }>]>>]>]>;
4495
3772
  }>>]>>;
4496
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
4497
- content: t.ArrayC<t.ExactC<t.TypeC<{
4498
- type: t.LiteralC<"tableRow">;
4499
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
4500
- type: t.LiteralC<"tableHeader">;
4501
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4502
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
4503
- content: t.IntersectionC<[t.TypeC<{
4504
- text: t.StringC;
4505
- }>, t.PartialC<{
4506
- spans: t.Type<({
4507
- data: ({
4508
- __TYPE__: "ImageLink";
4509
- } & {
4510
- kind: "image";
4511
- id: string;
4512
- url: string;
4513
- height: string;
4514
- width: string;
4515
- size: string;
4516
- name: string;
4517
- } & {
4518
- date?: string | null | undefined;
4519
- }) | ({
4520
- __TYPE__: "FileLink";
4521
- } & {
4522
- kind: "file";
4523
- id: string;
4524
- url: string;
4525
- name: string;
4526
- size: string;
4527
- } & {
4528
- date?: string | null | undefined;
4529
- }) | ({
4530
- __TYPE__: "DocumentLink";
4531
- } & {
4532
- id: string;
4533
- }) | ({
4534
- __TYPE__: "ExternalLink";
4535
- } & {
4536
- url: string;
4537
- } & {
4538
- kind?: "web";
4539
- target?: string | null | undefined;
4540
- preview?: {
4541
- title?: string;
4542
- } | null | undefined;
4543
- });
4544
- start: number;
4545
- end: number;
4546
- type: "hyperlink";
4547
- } | {
4548
- data: string;
4549
- start: number;
4550
- end: number;
4551
- type: "label";
4552
- } | {
4553
- start: number;
4554
- end: number;
4555
- type: "strong" | "em" | "list-item";
4556
- })[], ({
4557
- data: ({
4558
- __TYPE__: "ImageLink";
4559
- } & {
4560
- kind: "image";
4561
- id: string;
4562
- url: string;
4563
- height: string;
4564
- width: string;
4565
- size: string;
4566
- name: string;
4567
- } & {
4568
- date?: string | null | undefined;
4569
- }) | ({
4570
- __TYPE__: "FileLink";
4571
- } & {
4572
- kind: "file";
4573
- id: string;
4574
- url: string;
4575
- name: string;
4576
- size: string;
4577
- } & {
4578
- date?: string | null | undefined;
4579
- }) | ({
4580
- __TYPE__: "DocumentLink";
4581
- } & {
4582
- id: string;
4583
- }) | ({
4584
- __TYPE__: "ExternalLink";
4585
- } & {
4586
- url: string;
4587
- } & {
4588
- kind?: "web";
4589
- target?: string | null | undefined;
4590
- preview?: {
4591
- title?: string;
4592
- } | null | undefined;
4593
- });
4594
- start: number;
4595
- end: number;
4596
- type: "hyperlink";
4597
- } | {
4598
- data: string;
4599
- start: number;
4600
- end: number;
4601
- type: "label";
4602
- } | {
4603
- start: number;
4604
- end: number;
4605
- type: "strong" | "em" | "list-item";
4606
- })[], unknown>;
4607
- }>]>;
4608
- }>, t.PartialC<{
4609
- label: t.StringC;
4610
- direction: t.StringC;
4611
- }>]>>>;
4612
- }>>, t.ExactC<t.TypeC<{
4613
- type: t.LiteralC<"tableCell">;
4614
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4615
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
4616
- content: t.IntersectionC<[t.TypeC<{
4617
- text: t.StringC;
4618
- }>, t.PartialC<{
4619
- spans: t.Type<({
4620
- data: ({
4621
- __TYPE__: "ImageLink";
4622
- } & {
4623
- kind: "image";
4624
- id: string;
4625
- url: string;
4626
- height: string;
4627
- width: string;
4628
- size: string;
4629
- name: string;
4630
- } & {
4631
- date?: string | null | undefined;
4632
- }) | ({
4633
- __TYPE__: "FileLink";
4634
- } & {
4635
- kind: "file";
4636
- id: string;
4637
- url: string;
4638
- name: string;
4639
- size: string;
4640
- } & {
4641
- date?: string | null | undefined;
4642
- }) | ({
4643
- __TYPE__: "DocumentLink";
4644
- } & {
4645
- id: string;
4646
- }) | ({
4647
- __TYPE__: "ExternalLink";
4648
- } & {
4649
- url: string;
4650
- } & {
4651
- kind?: "web";
4652
- target?: string | null | undefined;
4653
- preview?: {
4654
- title?: string;
4655
- } | null | undefined;
4656
- });
4657
- start: number;
4658
- end: number;
4659
- type: "hyperlink";
4660
- } | {
4661
- data: string;
4662
- start: number;
4663
- end: number;
4664
- type: "label";
4665
- } | {
4666
- start: number;
4667
- end: number;
4668
- type: "strong" | "em" | "list-item";
4669
- })[], ({
4670
- data: ({
4671
- __TYPE__: "ImageLink";
4672
- } & {
4673
- kind: "image";
4674
- id: string;
4675
- url: string;
4676
- height: string;
4677
- width: string;
4678
- size: string;
4679
- name: string;
4680
- } & {
4681
- date?: string | null | undefined;
4682
- }) | ({
4683
- __TYPE__: "FileLink";
4684
- } & {
4685
- kind: "file";
4686
- id: string;
4687
- url: string;
4688
- name: string;
4689
- size: string;
4690
- } & {
4691
- date?: string | null | undefined;
4692
- }) | ({
4693
- __TYPE__: "DocumentLink";
4694
- } & {
4695
- id: string;
4696
- }) | ({
4697
- __TYPE__: "ExternalLink";
4698
- } & {
4699
- url: string;
4700
- } & {
4701
- kind?: "web";
4702
- target?: string | null | undefined;
4703
- preview?: {
4704
- title?: string;
4705
- } | null | undefined;
4706
- });
4707
- start: number;
4708
- end: number;
4709
- type: "hyperlink";
4710
- } | {
4711
- data: string;
4712
- start: number;
4713
- end: number;
4714
- type: "label";
4715
- } | {
4716
- start: number;
4717
- end: number;
4718
- type: "strong" | "em" | "list-item";
4719
- })[], unknown>;
4720
- }>]>;
4721
- }>, t.PartialC<{
4722
- label: t.StringC;
4723
- direction: t.StringC;
4724
- }>]>>>;
4725
- }>>]>>;
4726
- }>>>;
4727
- }>>, t.ExactC<t.TypeC<{
4728
- __TYPE__: t.LiteralC<"TableContent">;
4729
- }>>]>]>, t.Type<import("../../GroupContent").GroupContent, import("../../GroupContent").GroupContent, unknown>]>]>>;
3773
+ }>>]>, t.Type<import("../../GroupContent").GroupContent, import("../../GroupContent").GroupContent, unknown>]>]>>;
4730
3774
  }>>>;
4731
3775
  }>>;
4732
3776
  export declare type CompositeSliceContent = t.TypeOf<typeof CompositeSliceContent>;