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