@prismicio/types-internal 3.4.0-alpha.2 → 3.4.0-alpha.4

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 (55) hide show
  1. package/lib/content/Document.d.ts +3305 -3323
  2. package/lib/content/fields/RepeatableContent.d.ts +51 -123
  3. package/lib/content/fields/RepeatableContent.js +10 -14
  4. package/lib/content/fields/WidgetContent.d.ts +3046 -3064
  5. package/lib/content/fields/nestable/NestableContent.d.ts +501 -504
  6. package/lib/content/fields/nestable/NestableContent.js +0 -7
  7. package/lib/content/fields/nestable/RichTextContent/Block.d.ts +1036 -0
  8. package/lib/content/fields/nestable/RichTextContent/Block.js +31 -0
  9. package/lib/content/fields/nestable/RichTextContent/EmbedBlock.d.ts +60 -0
  10. package/lib/content/fields/nestable/RichTextContent/EmbedBlock.js +53 -0
  11. package/lib/content/fields/nestable/RichTextContent/ImageBlock.d.ts +203 -0
  12. package/lib/content/fields/nestable/RichTextContent/ImageBlock.js +36 -0
  13. package/lib/content/fields/nestable/RichTextContent/TableBlock.d.ts +500 -0
  14. package/lib/content/fields/nestable/RichTextContent/TableBlock.js +21 -0
  15. package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +590 -0
  16. package/lib/content/fields/nestable/RichTextContent/TextBlock.js +80 -0
  17. package/lib/content/fields/nestable/RichTextContent/index.d.ts +637 -9
  18. package/lib/content/fields/nestable/RichTextContent/index.js +4 -4
  19. package/lib/content/fields/nestable/TableContent.d.ts +245 -12
  20. package/lib/content/fields/nestable/TableContent.js +7 -7
  21. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +1013 -1019
  22. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +234 -235
  23. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +1013 -1019
  24. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +501 -504
  25. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +499 -502
  26. package/lib/content/fields/slices/Slice/index.d.ts +1852 -1862
  27. package/lib/content/fields/slices/SliceItem.d.ts +1957 -1967
  28. package/lib/content/fields/slices/SlicesContent.d.ts +2619 -2634
  29. package/lib/customtypes/CustomType.d.ts +0 -108
  30. package/lib/customtypes/Section.d.ts +0 -108
  31. package/lib/customtypes/diff/SharedSlice.d.ts +0 -48
  32. package/lib/customtypes/diff/Variation.d.ts +0 -48
  33. package/lib/customtypes/widgets/Group.d.ts +0 -36
  34. package/lib/customtypes/widgets/Widget.d.ts +0 -126
  35. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +0 -6
  36. package/lib/customtypes/widgets/nestable/NestableWidget.js +0 -2
  37. package/lib/customtypes/widgets/nestable/RichText.d.ts +2 -0
  38. package/lib/customtypes/widgets/nestable/RichText.js +2 -0
  39. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +0 -12
  40. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +0 -12
  41. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +0 -48
  42. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +0 -36
  43. package/lib/customtypes/widgets/slices/Slices.d.ts +0 -168
  44. package/package.json +1 -1
  45. package/src/content/fields/nestable/NestableContent.ts +0 -12
  46. package/src/content/fields/nestable/RichTextContent/Block.ts +35 -0
  47. package/src/content/fields/nestable/RichTextContent/EmbedBlock.ts +81 -0
  48. package/src/content/fields/nestable/RichTextContent/ImageBlock.ts +42 -0
  49. package/src/content/fields/nestable/RichTextContent/TableBlock.ts +36 -0
  50. package/src/content/fields/nestable/RichTextContent/TextBlock.ts +108 -0
  51. package/src/content/fields/nestable/RichTextContent/index.ts +2 -2
  52. package/src/content/fields/nestable/TableContent.ts +6 -6
  53. package/src/customtypes/widgets/nestable/NestableWidget.ts +0 -2
  54. package/src/customtypes/widgets/nestable/RichText.ts +2 -0
  55. package/src/content/fields/nestable/RichTextContent/Blocks.ts +0 -238
@@ -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";
370
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
371
371
  content: {
372
372
  text: string;
373
373
  } & {
@@ -426,143 +426,142 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
426
426
  } & {
427
427
  label?: string;
428
428
  direction?: string;
429
- }))[];
430
- } | {
431
- __TYPE__: "SeparatorContent";
432
- } | ({
433
- content: {
434
- type: "tableRow";
435
- content: ({
436
- type: "tableHeader";
429
+ }) | {
430
+ type: "table";
431
+ content: {
432
+ type: "tableRow";
437
433
  content: ({
438
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
439
- content: {
440
- text: string;
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";
437
+ content: {
438
+ text: string;
439
+ } & {
440
+ spans?: ({
441
+ data: ({
442
+ __TYPE__: "ImageLink";
443
+ } & {
444
+ kind: "image";
445
+ id: string;
446
+ url: string;
447
+ height: string;
448
+ width: string;
449
+ size: string;
450
+ name: string;
451
+ } & {
452
+ date?: string | null | undefined;
453
+ }) | ({
454
+ __TYPE__: "FileLink";
455
+ } & {
456
+ kind: "file";
457
+ id: string;
458
+ url: string;
459
+ name: string;
460
+ size: string;
461
+ } & {
462
+ date?: string | null | undefined;
463
+ }) | ({
464
+ __TYPE__: "DocumentLink";
465
+ } & {
466
+ id: string;
467
+ }) | ({
468
+ __TYPE__: "ExternalLink";
469
+ } & {
470
+ url: string;
471
+ } & {
472
+ kind?: "web";
473
+ target?: string | null | undefined;
474
+ preview?: {
475
+ title?: string;
476
+ } | null | undefined;
477
+ });
478
+ start: number;
479
+ end: number;
480
+ type: "hyperlink";
481
+ } | {
482
+ data: string;
483
+ start: number;
484
+ end: number;
485
+ type: "label";
486
+ } | {
487
+ start: number;
488
+ end: number;
489
+ type: "strong" | "em" | "list-item";
490
+ })[];
491
+ };
441
492
  } & {
442
- spans?: ({
443
- data: ({
444
- __TYPE__: "ImageLink";
445
- } & {
446
- kind: "image";
447
- id: string;
448
- url: string;
449
- height: string;
450
- width: string;
451
- size: string;
452
- name: string;
453
- } & {
454
- date?: string | null | undefined;
455
- }) | ({
456
- __TYPE__: "FileLink";
457
- } & {
458
- kind: "file";
459
- id: string;
460
- url: string;
461
- name: string;
462
- size: string;
463
- } & {
464
- date?: string | null | undefined;
465
- }) | ({
466
- __TYPE__: "DocumentLink";
467
- } & {
468
- id: string;
469
- }) | ({
470
- __TYPE__: "ExternalLink";
471
- } & {
472
- url: string;
473
- } & {
474
- kind?: "web";
475
- target?: string | null | undefined;
476
- preview?: {
477
- title?: string;
478
- } | null | undefined;
479
- });
480
- start: number;
481
- end: number;
482
- type: "hyperlink";
483
- } | {
484
- data: string;
485
- start: number;
486
- end: number;
487
- type: "label";
488
- } | {
489
- start: number;
490
- end: number;
491
- type: "strong" | "em" | "list-item";
492
- })[];
493
- };
494
- } & {
495
- label?: string;
496
- direction?: string;
497
- })[];
498
- } | {
499
- type: "tableCell";
500
- content: ({
501
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
502
- content: {
503
- text: string;
493
+ label?: string;
494
+ direction?: string;
495
+ })[];
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
+ content: {
501
+ text: string;
502
+ } & {
503
+ spans?: ({
504
+ data: ({
505
+ __TYPE__: "ImageLink";
506
+ } & {
507
+ kind: "image";
508
+ id: string;
509
+ url: string;
510
+ height: string;
511
+ width: string;
512
+ size: string;
513
+ name: string;
514
+ } & {
515
+ date?: string | null | undefined;
516
+ }) | ({
517
+ __TYPE__: "FileLink";
518
+ } & {
519
+ kind: "file";
520
+ id: string;
521
+ url: string;
522
+ name: string;
523
+ size: string;
524
+ } & {
525
+ date?: string | null | undefined;
526
+ }) | ({
527
+ __TYPE__: "DocumentLink";
528
+ } & {
529
+ id: string;
530
+ }) | ({
531
+ __TYPE__: "ExternalLink";
532
+ } & {
533
+ url: string;
534
+ } & {
535
+ kind?: "web";
536
+ target?: string | null | undefined;
537
+ preview?: {
538
+ title?: string;
539
+ } | null | undefined;
540
+ });
541
+ start: number;
542
+ end: number;
543
+ type: "hyperlink";
544
+ } | {
545
+ data: string;
546
+ start: number;
547
+ end: number;
548
+ type: "label";
549
+ } | {
550
+ start: number;
551
+ end: number;
552
+ type: "strong" | "em" | "list-item";
553
+ })[];
554
+ };
504
555
  } & {
505
- spans?: ({
506
- data: ({
507
- __TYPE__: "ImageLink";
508
- } & {
509
- kind: "image";
510
- id: string;
511
- url: string;
512
- height: string;
513
- width: string;
514
- size: string;
515
- name: string;
516
- } & {
517
- date?: string | null | undefined;
518
- }) | ({
519
- __TYPE__: "FileLink";
520
- } & {
521
- kind: "file";
522
- id: string;
523
- url: string;
524
- name: string;
525
- size: string;
526
- } & {
527
- date?: string | null | undefined;
528
- }) | ({
529
- __TYPE__: "DocumentLink";
530
- } & {
531
- id: string;
532
- }) | ({
533
- __TYPE__: "ExternalLink";
534
- } & {
535
- url: string;
536
- } & {
537
- kind?: "web";
538
- target?: string | null | undefined;
539
- preview?: {
540
- title?: string;
541
- } | null | undefined;
542
- });
543
- start: number;
544
- end: number;
545
- type: "hyperlink";
546
- } | {
547
- data: string;
548
- start: number;
549
- end: number;
550
- type: "label";
551
- } | {
552
- start: number;
553
- end: number;
554
- type: "strong" | "em" | "list-item";
555
- })[];
556
- };
557
- } & {
558
- label?: string;
559
- direction?: string;
556
+ label?: string;
557
+ direction?: string;
558
+ })[];
560
559
  })[];
561
- })[];
562
- }[];
563
- } & {
564
- __TYPE__: "TableContent";
565
- });
560
+ }[];
561
+ })[];
562
+ } | {
563
+ __TYPE__: "SeparatorContent";
564
+ };
566
565
  };
567
566
  items: {
568
567
  __TYPE__: "GroupItemContent";
@@ -925,7 +924,7 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
925
924
  label?: string | null | undefined;
926
925
  direction?: string | null | undefined;
927
926
  }) | ({
928
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
927
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
929
928
  content: {
930
929
  text: string;
931
930
  } & {
@@ -984,143 +983,142 @@ export declare const isSharedSliceContent: (u: unknown) => u is {
984
983
  } & {
985
984
  label?: string;
986
985
  direction?: string;
987
- }))[];
988
- } | {
989
- __TYPE__: "SeparatorContent";
990
- } | ({
991
- content: {
992
- type: "tableRow";
993
- content: ({
994
- type: "tableHeader";
986
+ }) | {
987
+ type: "table";
988
+ content: {
989
+ type: "tableRow";
995
990
  content: ({
996
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
997
- content: {
998
- text: string;
991
+ type: "tableHeader";
992
+ content: ({
993
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
994
+ content: {
995
+ text: string;
996
+ } & {
997
+ spans?: ({
998
+ data: ({
999
+ __TYPE__: "ImageLink";
1000
+ } & {
1001
+ kind: "image";
1002
+ id: string;
1003
+ url: string;
1004
+ height: string;
1005
+ width: string;
1006
+ size: string;
1007
+ name: string;
1008
+ } & {
1009
+ date?: string | null | undefined;
1010
+ }) | ({
1011
+ __TYPE__: "FileLink";
1012
+ } & {
1013
+ kind: "file";
1014
+ id: string;
1015
+ url: string;
1016
+ name: string;
1017
+ size: string;
1018
+ } & {
1019
+ date?: string | null | undefined;
1020
+ }) | ({
1021
+ __TYPE__: "DocumentLink";
1022
+ } & {
1023
+ id: string;
1024
+ }) | ({
1025
+ __TYPE__: "ExternalLink";
1026
+ } & {
1027
+ url: string;
1028
+ } & {
1029
+ kind?: "web";
1030
+ target?: string | null | undefined;
1031
+ preview?: {
1032
+ title?: string;
1033
+ } | null | undefined;
1034
+ });
1035
+ start: number;
1036
+ end: number;
1037
+ type: "hyperlink";
1038
+ } | {
1039
+ data: string;
1040
+ start: number;
1041
+ end: number;
1042
+ type: "label";
1043
+ } | {
1044
+ start: number;
1045
+ end: number;
1046
+ type: "strong" | "em" | "list-item";
1047
+ })[];
1048
+ };
999
1049
  } & {
1000
- spans?: ({
1001
- data: ({
1002
- __TYPE__: "ImageLink";
1003
- } & {
1004
- kind: "image";
1005
- id: string;
1006
- url: string;
1007
- height: string;
1008
- width: string;
1009
- size: string;
1010
- name: string;
1011
- } & {
1012
- date?: string | null | undefined;
1013
- }) | ({
1014
- __TYPE__: "FileLink";
1015
- } & {
1016
- kind: "file";
1017
- id: string;
1018
- url: string;
1019
- name: string;
1020
- size: string;
1021
- } & {
1022
- date?: string | null | undefined;
1023
- }) | ({
1024
- __TYPE__: "DocumentLink";
1025
- } & {
1026
- id: string;
1027
- }) | ({
1028
- __TYPE__: "ExternalLink";
1029
- } & {
1030
- url: string;
1031
- } & {
1032
- kind?: "web";
1033
- target?: string | null | undefined;
1034
- preview?: {
1035
- title?: string;
1036
- } | null | undefined;
1037
- });
1038
- start: number;
1039
- end: number;
1040
- type: "hyperlink";
1041
- } | {
1042
- data: string;
1043
- start: number;
1044
- end: number;
1045
- type: "label";
1046
- } | {
1047
- start: number;
1048
- end: number;
1049
- type: "strong" | "em" | "list-item";
1050
- })[];
1051
- };
1052
- } & {
1053
- label?: string;
1054
- direction?: string;
1055
- })[];
1056
- } | {
1057
- type: "tableCell";
1058
- content: ({
1059
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1060
- content: {
1061
- text: string;
1050
+ label?: string;
1051
+ direction?: string;
1052
+ })[];
1053
+ } | {
1054
+ type: "tableCell";
1055
+ content: ({
1056
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1057
+ content: {
1058
+ text: string;
1059
+ } & {
1060
+ spans?: ({
1061
+ data: ({
1062
+ __TYPE__: "ImageLink";
1063
+ } & {
1064
+ kind: "image";
1065
+ id: string;
1066
+ url: string;
1067
+ height: string;
1068
+ width: string;
1069
+ size: string;
1070
+ name: string;
1071
+ } & {
1072
+ date?: string | null | undefined;
1073
+ }) | ({
1074
+ __TYPE__: "FileLink";
1075
+ } & {
1076
+ kind: "file";
1077
+ id: string;
1078
+ url: string;
1079
+ name: string;
1080
+ size: string;
1081
+ } & {
1082
+ date?: string | null | undefined;
1083
+ }) | ({
1084
+ __TYPE__: "DocumentLink";
1085
+ } & {
1086
+ id: string;
1087
+ }) | ({
1088
+ __TYPE__: "ExternalLink";
1089
+ } & {
1090
+ url: string;
1091
+ } & {
1092
+ kind?: "web";
1093
+ target?: string | null | undefined;
1094
+ preview?: {
1095
+ title?: string;
1096
+ } | null | undefined;
1097
+ });
1098
+ start: number;
1099
+ end: number;
1100
+ type: "hyperlink";
1101
+ } | {
1102
+ data: string;
1103
+ start: number;
1104
+ end: number;
1105
+ type: "label";
1106
+ } | {
1107
+ start: number;
1108
+ end: number;
1109
+ type: "strong" | "em" | "list-item";
1110
+ })[];
1111
+ };
1062
1112
  } & {
1063
- spans?: ({
1064
- data: ({
1065
- __TYPE__: "ImageLink";
1066
- } & {
1067
- kind: "image";
1068
- id: string;
1069
- url: string;
1070
- height: string;
1071
- width: string;
1072
- size: string;
1073
- name: string;
1074
- } & {
1075
- date?: string | null | undefined;
1076
- }) | ({
1077
- __TYPE__: "FileLink";
1078
- } & {
1079
- kind: "file";
1080
- id: string;
1081
- url: string;
1082
- name: string;
1083
- size: string;
1084
- } & {
1085
- date?: string | null | undefined;
1086
- }) | ({
1087
- __TYPE__: "DocumentLink";
1088
- } & {
1089
- id: string;
1090
- }) | ({
1091
- __TYPE__: "ExternalLink";
1092
- } & {
1093
- url: string;
1094
- } & {
1095
- kind?: "web";
1096
- target?: string | null | undefined;
1097
- preview?: {
1098
- title?: string;
1099
- } | null | undefined;
1100
- });
1101
- start: number;
1102
- end: number;
1103
- type: "hyperlink";
1104
- } | {
1105
- data: string;
1106
- start: number;
1107
- end: number;
1108
- type: "label";
1109
- } | {
1110
- start: number;
1111
- end: number;
1112
- type: "strong" | "em" | "list-item";
1113
- })[];
1114
- };
1115
- } & {
1116
- label?: string;
1117
- direction?: string;
1113
+ label?: string;
1114
+ direction?: string;
1115
+ })[];
1118
1116
  })[];
1119
- })[];
1120
- }[];
1121
- } & {
1122
- __TYPE__: "TableContent";
1123
- })][];
1117
+ }[];
1118
+ })[];
1119
+ } | {
1120
+ __TYPE__: "SeparatorContent";
1121
+ }][];
1124
1122
  }[];
1125
1123
  };
1126
1124
  export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
@@ -1486,7 +1484,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1486
1484
  label?: string | null | undefined;
1487
1485
  direction?: string | null | undefined;
1488
1486
  }) | ({
1489
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1487
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1490
1488
  content: {
1491
1489
  text: string;
1492
1490
  } & {
@@ -1545,152 +1543,151 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1545
1543
  } & {
1546
1544
  label?: string;
1547
1545
  direction?: string;
1548
- }))[];
1546
+ }) | {
1547
+ type: "table";
1548
+ content: {
1549
+ type: "tableRow";
1550
+ content: ({
1551
+ type: "tableHeader";
1552
+ content: ({
1553
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1554
+ content: {
1555
+ text: string;
1556
+ } & {
1557
+ spans?: ({
1558
+ data: ({
1559
+ __TYPE__: "ImageLink";
1560
+ } & {
1561
+ kind: "image";
1562
+ id: string;
1563
+ url: string;
1564
+ height: string;
1565
+ width: string;
1566
+ size: string;
1567
+ name: string;
1568
+ } & {
1569
+ date?: string | null | undefined;
1570
+ }) | ({
1571
+ __TYPE__: "FileLink";
1572
+ } & {
1573
+ kind: "file";
1574
+ id: string;
1575
+ url: string;
1576
+ name: string;
1577
+ size: string;
1578
+ } & {
1579
+ date?: string | null | undefined;
1580
+ }) | ({
1581
+ __TYPE__: "DocumentLink";
1582
+ } & {
1583
+ id: string;
1584
+ }) | ({
1585
+ __TYPE__: "ExternalLink";
1586
+ } & {
1587
+ url: string;
1588
+ } & {
1589
+ kind?: "web";
1590
+ target?: string | null | undefined;
1591
+ preview?: {
1592
+ title?: string;
1593
+ } | null | undefined;
1594
+ });
1595
+ start: number;
1596
+ end: number;
1597
+ type: "hyperlink";
1598
+ } | {
1599
+ data: string;
1600
+ start: number;
1601
+ end: number;
1602
+ type: "label";
1603
+ } | {
1604
+ start: number;
1605
+ end: number;
1606
+ type: "strong" | "em" | "list-item";
1607
+ })[];
1608
+ };
1609
+ } & {
1610
+ label?: string;
1611
+ direction?: string;
1612
+ })[];
1613
+ } | {
1614
+ type: "tableCell";
1615
+ content: ({
1616
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1617
+ content: {
1618
+ text: string;
1619
+ } & {
1620
+ spans?: ({
1621
+ data: ({
1622
+ __TYPE__: "ImageLink";
1623
+ } & {
1624
+ kind: "image";
1625
+ id: string;
1626
+ url: string;
1627
+ height: string;
1628
+ width: string;
1629
+ size: string;
1630
+ name: string;
1631
+ } & {
1632
+ date?: string | null | undefined;
1633
+ }) | ({
1634
+ __TYPE__: "FileLink";
1635
+ } & {
1636
+ kind: "file";
1637
+ id: string;
1638
+ url: string;
1639
+ name: string;
1640
+ size: string;
1641
+ } & {
1642
+ date?: string | null | undefined;
1643
+ }) | ({
1644
+ __TYPE__: "DocumentLink";
1645
+ } & {
1646
+ id: string;
1647
+ }) | ({
1648
+ __TYPE__: "ExternalLink";
1649
+ } & {
1650
+ url: string;
1651
+ } & {
1652
+ kind?: "web";
1653
+ target?: string | null | undefined;
1654
+ preview?: {
1655
+ title?: string;
1656
+ } | null | undefined;
1657
+ });
1658
+ start: number;
1659
+ end: number;
1660
+ type: "hyperlink";
1661
+ } | {
1662
+ data: string;
1663
+ start: number;
1664
+ end: number;
1665
+ type: "label";
1666
+ } | {
1667
+ start: number;
1668
+ end: number;
1669
+ type: "strong" | "em" | "list-item";
1670
+ })[];
1671
+ };
1672
+ } & {
1673
+ label?: string;
1674
+ direction?: string;
1675
+ })[];
1676
+ })[];
1677
+ }[];
1678
+ })[];
1549
1679
  } | {
1550
1680
  __TYPE__: "SeparatorContent";
1551
- } | ({
1552
- content: {
1553
- type: "tableRow";
1554
- content: ({
1555
- type: "tableHeader";
1556
- content: ({
1557
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1558
- content: {
1559
- text: string;
1560
- } & {
1561
- spans?: ({
1562
- data: ({
1563
- __TYPE__: "ImageLink";
1564
- } & {
1565
- kind: "image";
1566
- id: string;
1567
- url: string;
1568
- height: string;
1569
- width: string;
1570
- size: string;
1571
- name: string;
1572
- } & {
1573
- date?: string | null | undefined;
1574
- }) | ({
1575
- __TYPE__: "FileLink";
1576
- } & {
1577
- kind: "file";
1578
- id: string;
1579
- url: string;
1580
- name: string;
1581
- size: string;
1582
- } & {
1583
- date?: string | null | undefined;
1584
- }) | ({
1585
- __TYPE__: "DocumentLink";
1586
- } & {
1587
- id: string;
1588
- }) | ({
1589
- __TYPE__: "ExternalLink";
1590
- } & {
1591
- url: string;
1592
- } & {
1593
- kind?: "web";
1594
- target?: string | null | undefined;
1595
- preview?: {
1596
- title?: string;
1597
- } | null | undefined;
1598
- });
1599
- start: number;
1600
- end: number;
1601
- type: "hyperlink";
1602
- } | {
1603
- data: string;
1604
- start: number;
1605
- end: number;
1606
- type: "label";
1607
- } | {
1608
- start: number;
1609
- end: number;
1610
- type: "strong" | "em" | "list-item";
1611
- })[];
1612
- };
1613
- } & {
1614
- label?: string;
1615
- direction?: string;
1616
- })[];
1617
- } | {
1618
- type: "tableCell";
1619
- content: ({
1620
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1621
- content: {
1622
- text: string;
1623
- } & {
1624
- spans?: ({
1625
- data: ({
1626
- __TYPE__: "ImageLink";
1627
- } & {
1628
- kind: "image";
1629
- id: string;
1630
- url: string;
1631
- height: string;
1632
- width: string;
1633
- size: string;
1634
- name: string;
1635
- } & {
1636
- date?: string | null | undefined;
1637
- }) | ({
1638
- __TYPE__: "FileLink";
1639
- } & {
1640
- kind: "file";
1641
- id: string;
1642
- url: string;
1643
- name: string;
1644
- size: string;
1645
- } & {
1646
- date?: string | null | undefined;
1647
- }) | ({
1648
- __TYPE__: "DocumentLink";
1649
- } & {
1650
- id: string;
1651
- }) | ({
1652
- __TYPE__: "ExternalLink";
1653
- } & {
1654
- url: string;
1655
- } & {
1656
- kind?: "web";
1657
- target?: string | null | undefined;
1658
- preview?: {
1659
- title?: string;
1660
- } | null | undefined;
1661
- });
1662
- start: number;
1663
- end: number;
1664
- type: "hyperlink";
1665
- } | {
1666
- data: string;
1667
- start: number;
1668
- end: number;
1669
- type: "label";
1670
- } | {
1671
- start: number;
1672
- end: number;
1673
- type: "strong" | "em" | "list-item";
1674
- })[];
1675
- };
1676
- } & {
1677
- label?: string;
1678
- direction?: string;
1679
- })[];
1680
- })[];
1681
- }[];
1682
- } & {
1683
- __TYPE__: "TableContent";
1684
- });
1685
- };
1686
- items: {
1687
- __TYPE__: "GroupItemContent";
1688
- value: [string, {
1689
- type: string;
1690
- __TYPE__: "EmptyContent";
1691
- } | {
1692
- __TYPE__: "BooleanContent";
1693
- value: boolean;
1681
+ };
1682
+ };
1683
+ items: {
1684
+ __TYPE__: "GroupItemContent";
1685
+ value: [string, {
1686
+ type: string;
1687
+ __TYPE__: "EmptyContent";
1688
+ } | {
1689
+ __TYPE__: "BooleanContent";
1690
+ value: boolean;
1694
1691
  } | ({
1695
1692
  embed_url: string;
1696
1693
  type: string;
@@ -2044,7 +2041,7 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
2044
2041
  label?: string | null | undefined;
2045
2042
  direction?: string | null | undefined;
2046
2043
  }) | ({
2047
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2044
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2048
2045
  content: {
2049
2046
  text: string;
2050
2047
  } & {
@@ -2103,143 +2100,142 @@ export declare const SharedSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
2103
2100
  } & {
2104
2101
  label?: string;
2105
2102
  direction?: string;
2106
- }))[];
2107
- } | {
2108
- __TYPE__: "SeparatorContent";
2109
- } | ({
2110
- content: {
2111
- type: "tableRow";
2112
- content: ({
2113
- type: "tableHeader";
2103
+ }) | {
2104
+ type: "table";
2105
+ content: {
2106
+ type: "tableRow";
2114
2107
  content: ({
2115
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2116
- content: {
2117
- text: string;
2108
+ type: "tableHeader";
2109
+ content: ({
2110
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2111
+ content: {
2112
+ text: string;
2113
+ } & {
2114
+ spans?: ({
2115
+ data: ({
2116
+ __TYPE__: "ImageLink";
2117
+ } & {
2118
+ kind: "image";
2119
+ id: string;
2120
+ url: string;
2121
+ height: string;
2122
+ width: string;
2123
+ size: string;
2124
+ name: string;
2125
+ } & {
2126
+ date?: string | null | undefined;
2127
+ }) | ({
2128
+ __TYPE__: "FileLink";
2129
+ } & {
2130
+ kind: "file";
2131
+ id: string;
2132
+ url: string;
2133
+ name: string;
2134
+ size: string;
2135
+ } & {
2136
+ date?: string | null | undefined;
2137
+ }) | ({
2138
+ __TYPE__: "DocumentLink";
2139
+ } & {
2140
+ id: string;
2141
+ }) | ({
2142
+ __TYPE__: "ExternalLink";
2143
+ } & {
2144
+ url: string;
2145
+ } & {
2146
+ kind?: "web";
2147
+ target?: string | null | undefined;
2148
+ preview?: {
2149
+ title?: string;
2150
+ } | null | undefined;
2151
+ });
2152
+ start: number;
2153
+ end: number;
2154
+ type: "hyperlink";
2155
+ } | {
2156
+ data: string;
2157
+ start: number;
2158
+ end: number;
2159
+ type: "label";
2160
+ } | {
2161
+ start: number;
2162
+ end: number;
2163
+ type: "strong" | "em" | "list-item";
2164
+ })[];
2165
+ };
2118
2166
  } & {
2119
- spans?: ({
2120
- data: ({
2121
- __TYPE__: "ImageLink";
2122
- } & {
2123
- kind: "image";
2124
- id: string;
2125
- url: string;
2126
- height: string;
2127
- width: string;
2128
- size: string;
2129
- name: string;
2130
- } & {
2131
- date?: string | null | undefined;
2132
- }) | ({
2133
- __TYPE__: "FileLink";
2134
- } & {
2135
- kind: "file";
2136
- id: string;
2137
- url: string;
2138
- name: string;
2139
- size: string;
2140
- } & {
2141
- date?: string | null | undefined;
2142
- }) | ({
2143
- __TYPE__: "DocumentLink";
2144
- } & {
2145
- id: string;
2146
- }) | ({
2147
- __TYPE__: "ExternalLink";
2148
- } & {
2149
- url: string;
2150
- } & {
2151
- kind?: "web";
2152
- target?: string | null | undefined;
2153
- preview?: {
2154
- title?: string;
2155
- } | null | undefined;
2156
- });
2157
- start: number;
2158
- end: number;
2159
- type: "hyperlink";
2160
- } | {
2161
- data: string;
2162
- start: number;
2163
- end: number;
2164
- type: "label";
2165
- } | {
2166
- start: number;
2167
- end: number;
2168
- type: "strong" | "em" | "list-item";
2169
- })[];
2170
- };
2171
- } & {
2172
- label?: string;
2173
- direction?: string;
2174
- })[];
2175
- } | {
2176
- type: "tableCell";
2177
- content: ({
2178
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2179
- content: {
2180
- text: string;
2167
+ label?: string;
2168
+ direction?: string;
2169
+ })[];
2170
+ } | {
2171
+ type: "tableCell";
2172
+ content: ({
2173
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2174
+ content: {
2175
+ text: string;
2176
+ } & {
2177
+ spans?: ({
2178
+ data: ({
2179
+ __TYPE__: "ImageLink";
2180
+ } & {
2181
+ kind: "image";
2182
+ id: string;
2183
+ url: string;
2184
+ height: string;
2185
+ width: string;
2186
+ size: string;
2187
+ name: string;
2188
+ } & {
2189
+ date?: string | null | undefined;
2190
+ }) | ({
2191
+ __TYPE__: "FileLink";
2192
+ } & {
2193
+ kind: "file";
2194
+ id: string;
2195
+ url: string;
2196
+ name: string;
2197
+ size: string;
2198
+ } & {
2199
+ date?: string | null | undefined;
2200
+ }) | ({
2201
+ __TYPE__: "DocumentLink";
2202
+ } & {
2203
+ id: string;
2204
+ }) | ({
2205
+ __TYPE__: "ExternalLink";
2206
+ } & {
2207
+ url: string;
2208
+ } & {
2209
+ kind?: "web";
2210
+ target?: string | null | undefined;
2211
+ preview?: {
2212
+ title?: string;
2213
+ } | null | undefined;
2214
+ });
2215
+ start: number;
2216
+ end: number;
2217
+ type: "hyperlink";
2218
+ } | {
2219
+ data: string;
2220
+ start: number;
2221
+ end: number;
2222
+ type: "label";
2223
+ } | {
2224
+ start: number;
2225
+ end: number;
2226
+ type: "strong" | "em" | "list-item";
2227
+ })[];
2228
+ };
2181
2229
  } & {
2182
- spans?: ({
2183
- data: ({
2184
- __TYPE__: "ImageLink";
2185
- } & {
2186
- kind: "image";
2187
- id: string;
2188
- url: string;
2189
- height: string;
2190
- width: string;
2191
- size: string;
2192
- name: string;
2193
- } & {
2194
- date?: string | null | undefined;
2195
- }) | ({
2196
- __TYPE__: "FileLink";
2197
- } & {
2198
- kind: "file";
2199
- id: string;
2200
- url: string;
2201
- name: string;
2202
- size: string;
2203
- } & {
2204
- date?: string | null | undefined;
2205
- }) | ({
2206
- __TYPE__: "DocumentLink";
2207
- } & {
2208
- id: string;
2209
- }) | ({
2210
- __TYPE__: "ExternalLink";
2211
- } & {
2212
- url: string;
2213
- } & {
2214
- kind?: "web";
2215
- target?: string | null | undefined;
2216
- preview?: {
2217
- title?: string;
2218
- } | null | undefined;
2219
- });
2220
- start: number;
2221
- end: number;
2222
- type: "hyperlink";
2223
- } | {
2224
- data: string;
2225
- start: number;
2226
- end: number;
2227
- type: "label";
2228
- } | {
2229
- start: number;
2230
- end: number;
2231
- type: "strong" | "em" | "list-item";
2232
- })[];
2233
- };
2234
- } & {
2235
- label?: string;
2236
- direction?: string;
2230
+ label?: string;
2231
+ direction?: string;
2232
+ })[];
2237
2233
  })[];
2238
- })[];
2239
- }[];
2240
- } & {
2241
- __TYPE__: "TableContent";
2242
- })][];
2234
+ }[];
2235
+ })[];
2236
+ } | {
2237
+ __TYPE__: "SeparatorContent";
2238
+ }][];
2243
2239
  }[];
2244
2240
  }, WithTypes<{
2245
2241
  variation: string;
@@ -2567,7 +2563,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2567
2563
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2568
2564
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2569
2565
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2570
- 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>;
2566
+ 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>;
2571
2567
  content: t.IntersectionC<[t.TypeC<{
2572
2568
  text: t.StringC;
2573
2569
  }>, t.PartialC<{
@@ -2676,243 +2672,242 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
2676
2672
  }>, t.PartialC<{
2677
2673
  label: t.StringC;
2678
2674
  direction: t.StringC;
2679
- }>]>>]>>;
2680
- }>>, t.ExactC<t.TypeC<{
2681
- __TYPE__: t.LiteralC<"SeparatorContent">;
2682
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
2683
- content: t.ArrayC<t.ExactC<t.TypeC<{
2684
- type: t.LiteralC<"tableRow">;
2685
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
2686
- type: t.LiteralC<"tableHeader">;
2687
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2688
- 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>;
2689
- content: t.IntersectionC<[t.TypeC<{
2690
- text: t.StringC;
2691
- }>, t.PartialC<{
2692
- spans: t.Type<({
2693
- data: ({
2694
- __TYPE__: "ImageLink";
2695
- } & {
2696
- kind: "image";
2697
- id: string;
2698
- url: string;
2699
- height: string;
2700
- width: string;
2701
- size: string;
2702
- name: string;
2703
- } & {
2704
- date?: string | null | undefined;
2705
- }) | ({
2706
- __TYPE__: "FileLink";
2707
- } & {
2708
- kind: "file";
2709
- id: string;
2710
- url: string;
2711
- name: string;
2712
- size: string;
2713
- } & {
2714
- date?: string | null | undefined;
2715
- }) | ({
2716
- __TYPE__: "DocumentLink";
2717
- } & {
2718
- id: string;
2719
- }) | ({
2720
- __TYPE__: "ExternalLink";
2721
- } & {
2722
- url: string;
2723
- } & {
2724
- kind?: "web";
2725
- target?: string | null | undefined;
2726
- preview?: {
2727
- title?: string;
2728
- } | null | undefined;
2729
- });
2730
- start: number;
2731
- end: number;
2732
- type: "hyperlink";
2733
- } | {
2734
- data: string;
2735
- start: number;
2736
- end: number;
2737
- type: "label";
2738
- } | {
2739
- start: number;
2740
- end: number;
2741
- type: "strong" | "em" | "list-item";
2742
- })[], ({
2743
- data: ({
2744
- __TYPE__: "ImageLink";
2745
- } & {
2746
- kind: "image";
2747
- id: string;
2748
- url: string;
2749
- height: string;
2750
- width: string;
2751
- size: string;
2752
- name: string;
2753
- } & {
2754
- date?: string | null | undefined;
2755
- }) | ({
2756
- __TYPE__: "FileLink";
2757
- } & {
2758
- kind: "file";
2759
- id: string;
2760
- url: string;
2761
- name: string;
2762
- size: string;
2763
- } & {
2764
- date?: string | null | undefined;
2765
- }) | ({
2766
- __TYPE__: "DocumentLink";
2767
- } & {
2768
- id: string;
2769
- }) | ({
2770
- __TYPE__: "ExternalLink";
2771
- } & {
2772
- url: string;
2773
- } & {
2774
- kind?: "web";
2775
- target?: string | null | undefined;
2776
- preview?: {
2777
- title?: string;
2778
- } | null | undefined;
2779
- });
2780
- start: number;
2781
- end: number;
2782
- type: "hyperlink";
2783
- } | {
2784
- data: string;
2785
- start: number;
2786
- end: number;
2787
- type: "label";
2788
- } | {
2789
- start: number;
2790
- end: number;
2791
- type: "strong" | "em" | "list-item";
2792
- })[], unknown>;
2793
- }>]>;
2794
- }>, t.PartialC<{
2795
- label: t.StringC;
2796
- direction: t.StringC;
2797
- }>]>>>;
2798
- }>>, t.ExactC<t.TypeC<{
2799
- type: t.LiteralC<"tableCell">;
2800
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2801
- 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>;
2802
- content: t.IntersectionC<[t.TypeC<{
2803
- text: t.StringC;
2804
- }>, t.PartialC<{
2805
- spans: t.Type<({
2806
- data: ({
2807
- __TYPE__: "ImageLink";
2808
- } & {
2809
- kind: "image";
2810
- id: string;
2811
- url: string;
2812
- height: string;
2813
- width: string;
2814
- size: string;
2815
- name: string;
2816
- } & {
2817
- date?: string | null | undefined;
2818
- }) | ({
2819
- __TYPE__: "FileLink";
2820
- } & {
2821
- kind: "file";
2822
- id: string;
2823
- url: string;
2824
- name: string;
2825
- size: string;
2826
- } & {
2827
- date?: string | null | undefined;
2828
- }) | ({
2829
- __TYPE__: "DocumentLink";
2830
- } & {
2831
- id: string;
2832
- }) | ({
2833
- __TYPE__: "ExternalLink";
2834
- } & {
2835
- url: string;
2836
- } & {
2837
- kind?: "web";
2838
- target?: string | null | undefined;
2839
- preview?: {
2840
- title?: string;
2841
- } | null | undefined;
2842
- });
2843
- start: number;
2844
- end: number;
2845
- type: "hyperlink";
2846
- } | {
2847
- data: string;
2848
- start: number;
2849
- end: number;
2850
- type: "label";
2851
- } | {
2852
- start: number;
2853
- end: number;
2854
- type: "strong" | "em" | "list-item";
2855
- })[], ({
2856
- data: ({
2857
- __TYPE__: "ImageLink";
2858
- } & {
2859
- kind: "image";
2860
- id: string;
2861
- url: string;
2862
- height: string;
2863
- width: string;
2864
- size: string;
2865
- name: string;
2866
- } & {
2867
- date?: string | null | undefined;
2868
- }) | ({
2869
- __TYPE__: "FileLink";
2870
- } & {
2871
- kind: "file";
2872
- id: string;
2873
- url: string;
2874
- name: string;
2875
- size: string;
2876
- } & {
2877
- date?: string | null | undefined;
2878
- }) | ({
2879
- __TYPE__: "DocumentLink";
2880
- } & {
2881
- id: string;
2882
- }) | ({
2883
- __TYPE__: "ExternalLink";
2884
- } & {
2885
- url: string;
2886
- } & {
2887
- kind?: "web";
2888
- target?: string | null | undefined;
2889
- preview?: {
2890
- title?: string;
2891
- } | null | undefined;
2892
- });
2893
- start: number;
2894
- end: number;
2895
- type: "hyperlink";
2896
- } | {
2897
- data: string;
2898
- start: number;
2899
- end: number;
2900
- type: "label";
2901
- } | {
2902
- start: number;
2903
- end: number;
2904
- type: "strong" | "em" | "list-item";
2905
- })[], unknown>;
2906
- }>]>;
2907
- }>, t.PartialC<{
2908
- label: t.StringC;
2909
- direction: t.StringC;
2910
- }>]>>>;
2911
- }>>]>>;
2912
- }>>>;
2675
+ }>]>>, t.ExactC<t.TypeC<{
2676
+ type: t.LiteralC<"table">;
2677
+ content: t.ArrayC<t.ExactC<t.TypeC<{
2678
+ type: t.LiteralC<"tableRow">;
2679
+ content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
2680
+ type: t.LiteralC<"tableHeader">;
2681
+ content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2682
+ 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>;
2683
+ content: t.IntersectionC<[t.TypeC<{
2684
+ text: t.StringC;
2685
+ }>, t.PartialC<{
2686
+ spans: t.Type<({
2687
+ data: ({
2688
+ __TYPE__: "ImageLink";
2689
+ } & {
2690
+ kind: "image";
2691
+ id: string;
2692
+ url: string;
2693
+ height: string;
2694
+ width: string;
2695
+ size: string;
2696
+ name: string;
2697
+ } & {
2698
+ date?: string | null | undefined;
2699
+ }) | ({
2700
+ __TYPE__: "FileLink";
2701
+ } & {
2702
+ kind: "file";
2703
+ id: string;
2704
+ url: string;
2705
+ name: string;
2706
+ size: string;
2707
+ } & {
2708
+ date?: string | null | undefined;
2709
+ }) | ({
2710
+ __TYPE__: "DocumentLink";
2711
+ } & {
2712
+ id: string;
2713
+ }) | ({
2714
+ __TYPE__: "ExternalLink";
2715
+ } & {
2716
+ url: string;
2717
+ } & {
2718
+ kind?: "web";
2719
+ target?: string | null | undefined;
2720
+ preview?: {
2721
+ title?: string;
2722
+ } | null | undefined;
2723
+ });
2724
+ start: number;
2725
+ end: number;
2726
+ type: "hyperlink";
2727
+ } | {
2728
+ data: string;
2729
+ start: number;
2730
+ end: number;
2731
+ type: "label";
2732
+ } | {
2733
+ start: number;
2734
+ end: number;
2735
+ type: "strong" | "em" | "list-item";
2736
+ })[], ({
2737
+ data: ({
2738
+ __TYPE__: "ImageLink";
2739
+ } & {
2740
+ kind: "image";
2741
+ id: string;
2742
+ url: string;
2743
+ height: string;
2744
+ width: string;
2745
+ size: string;
2746
+ name: string;
2747
+ } & {
2748
+ date?: string | null | undefined;
2749
+ }) | ({
2750
+ __TYPE__: "FileLink";
2751
+ } & {
2752
+ kind: "file";
2753
+ id: string;
2754
+ url: string;
2755
+ name: string;
2756
+ size: string;
2757
+ } & {
2758
+ date?: string | null | undefined;
2759
+ }) | ({
2760
+ __TYPE__: "DocumentLink";
2761
+ } & {
2762
+ id: string;
2763
+ }) | ({
2764
+ __TYPE__: "ExternalLink";
2765
+ } & {
2766
+ url: string;
2767
+ } & {
2768
+ kind?: "web";
2769
+ target?: string | null | undefined;
2770
+ preview?: {
2771
+ title?: string;
2772
+ } | null | undefined;
2773
+ });
2774
+ start: number;
2775
+ end: number;
2776
+ type: "hyperlink";
2777
+ } | {
2778
+ data: string;
2779
+ start: number;
2780
+ end: number;
2781
+ type: "label";
2782
+ } | {
2783
+ start: number;
2784
+ end: number;
2785
+ type: "strong" | "em" | "list-item";
2786
+ })[], unknown>;
2787
+ }>]>;
2788
+ }>, t.PartialC<{
2789
+ label: t.StringC;
2790
+ direction: t.StringC;
2791
+ }>]>>>;
2792
+ }>>, t.ExactC<t.TypeC<{
2793
+ type: t.LiteralC<"tableCell">;
2794
+ content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
2795
+ 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>;
2796
+ content: t.IntersectionC<[t.TypeC<{
2797
+ text: t.StringC;
2798
+ }>, t.PartialC<{
2799
+ spans: t.Type<({
2800
+ data: ({
2801
+ __TYPE__: "ImageLink";
2802
+ } & {
2803
+ kind: "image";
2804
+ id: string;
2805
+ url: string;
2806
+ height: string;
2807
+ width: string;
2808
+ size: string;
2809
+ name: string;
2810
+ } & {
2811
+ date?: string | null | undefined;
2812
+ }) | ({
2813
+ __TYPE__: "FileLink";
2814
+ } & {
2815
+ kind: "file";
2816
+ id: string;
2817
+ url: string;
2818
+ name: string;
2819
+ size: string;
2820
+ } & {
2821
+ date?: string | null | undefined;
2822
+ }) | ({
2823
+ __TYPE__: "DocumentLink";
2824
+ } & {
2825
+ id: string;
2826
+ }) | ({
2827
+ __TYPE__: "ExternalLink";
2828
+ } & {
2829
+ url: string;
2830
+ } & {
2831
+ kind?: "web";
2832
+ target?: string | null | undefined;
2833
+ preview?: {
2834
+ title?: string;
2835
+ } | null | undefined;
2836
+ });
2837
+ start: number;
2838
+ end: number;
2839
+ type: "hyperlink";
2840
+ } | {
2841
+ data: string;
2842
+ start: number;
2843
+ end: number;
2844
+ type: "label";
2845
+ } | {
2846
+ start: number;
2847
+ end: number;
2848
+ type: "strong" | "em" | "list-item";
2849
+ })[], ({
2850
+ data: ({
2851
+ __TYPE__: "ImageLink";
2852
+ } & {
2853
+ kind: "image";
2854
+ id: string;
2855
+ url: string;
2856
+ height: string;
2857
+ width: string;
2858
+ size: string;
2859
+ name: string;
2860
+ } & {
2861
+ date?: string | null | undefined;
2862
+ }) | ({
2863
+ __TYPE__: "FileLink";
2864
+ } & {
2865
+ kind: "file";
2866
+ id: string;
2867
+ url: string;
2868
+ name: string;
2869
+ size: string;
2870
+ } & {
2871
+ date?: string | null | undefined;
2872
+ }) | ({
2873
+ __TYPE__: "DocumentLink";
2874
+ } & {
2875
+ id: string;
2876
+ }) | ({
2877
+ __TYPE__: "ExternalLink";
2878
+ } & {
2879
+ url: string;
2880
+ } & {
2881
+ kind?: "web";
2882
+ target?: string | null | undefined;
2883
+ preview?: {
2884
+ title?: string;
2885
+ } | null | undefined;
2886
+ });
2887
+ start: number;
2888
+ end: number;
2889
+ type: "hyperlink";
2890
+ } | {
2891
+ data: string;
2892
+ start: number;
2893
+ end: number;
2894
+ type: "label";
2895
+ } | {
2896
+ start: number;
2897
+ end: number;
2898
+ type: "strong" | "em" | "list-item";
2899
+ })[], unknown>;
2900
+ }>]>;
2901
+ }>, t.PartialC<{
2902
+ label: t.StringC;
2903
+ direction: t.StringC;
2904
+ }>]>>>;
2905
+ }>>]>>;
2906
+ }>>>;
2907
+ }>>]>>;
2908
+ }>>, t.ExactC<t.TypeC<{
2909
+ __TYPE__: t.LiteralC<"SeparatorContent">;
2913
2910
  }>>, t.ExactC<t.TypeC<{
2914
- __TYPE__: t.LiteralC<"TableContent">;
2915
- }>>]>, t.ExactC<t.TypeC<{
2916
2911
  __TYPE__: t.LiteralC<"RepeatableContent">;
2917
2912
  type: t.LiteralC<"Link">;
2918
2913
  value: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
@@ -3312,7 +3307,7 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
3312
3307
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3313
3308
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3314
3309
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3315
- 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>;
3310
+ 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>;
3316
3311
  content: t.IntersectionC<[t.TypeC<{
3317
3312
  text: t.StringC;
3318
3313
  }>, t.PartialC<{
@@ -3421,243 +3416,242 @@ export declare const SharedSliceContent: t.ExactC<t.TypeC<{
3421
3416
  }>, t.PartialC<{
3422
3417
  label: t.StringC;
3423
3418
  direction: t.StringC;
3424
- }>]>>]>>;
3425
- }>>, t.ExactC<t.TypeC<{
3426
- __TYPE__: t.LiteralC<"SeparatorContent">;
3427
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
3428
- content: t.ArrayC<t.ExactC<t.TypeC<{
3429
- type: t.LiteralC<"tableRow">;
3430
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
3431
- type: t.LiteralC<"tableHeader">;
3432
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3433
- 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>;
3434
- content: t.IntersectionC<[t.TypeC<{
3435
- text: t.StringC;
3419
+ }>]>>, t.ExactC<t.TypeC<{
3420
+ type: t.LiteralC<"table">;
3421
+ content: t.ArrayC<t.ExactC<t.TypeC<{
3422
+ type: t.LiteralC<"tableRow">;
3423
+ content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
3424
+ type: t.LiteralC<"tableHeader">;
3425
+ content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3426
+ 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>;
3427
+ content: t.IntersectionC<[t.TypeC<{
3428
+ text: t.StringC;
3429
+ }>, t.PartialC<{
3430
+ spans: t.Type<({
3431
+ data: ({
3432
+ __TYPE__: "ImageLink";
3433
+ } & {
3434
+ kind: "image";
3435
+ id: string;
3436
+ url: string;
3437
+ height: string;
3438
+ width: string;
3439
+ size: string;
3440
+ name: string;
3441
+ } & {
3442
+ date?: string | null | undefined;
3443
+ }) | ({
3444
+ __TYPE__: "FileLink";
3445
+ } & {
3446
+ kind: "file";
3447
+ id: string;
3448
+ url: string;
3449
+ name: string;
3450
+ size: string;
3451
+ } & {
3452
+ date?: string | null | undefined;
3453
+ }) | ({
3454
+ __TYPE__: "DocumentLink";
3455
+ } & {
3456
+ id: string;
3457
+ }) | ({
3458
+ __TYPE__: "ExternalLink";
3459
+ } & {
3460
+ url: string;
3461
+ } & {
3462
+ kind?: "web";
3463
+ target?: string | null | undefined;
3464
+ preview?: {
3465
+ title?: string;
3466
+ } | null | undefined;
3467
+ });
3468
+ start: number;
3469
+ end: number;
3470
+ type: "hyperlink";
3471
+ } | {
3472
+ data: string;
3473
+ start: number;
3474
+ end: number;
3475
+ type: "label";
3476
+ } | {
3477
+ start: number;
3478
+ end: number;
3479
+ type: "strong" | "em" | "list-item";
3480
+ })[], ({
3481
+ data: ({
3482
+ __TYPE__: "ImageLink";
3483
+ } & {
3484
+ kind: "image";
3485
+ id: string;
3486
+ url: string;
3487
+ height: string;
3488
+ width: string;
3489
+ size: string;
3490
+ name: string;
3491
+ } & {
3492
+ date?: string | null | undefined;
3493
+ }) | ({
3494
+ __TYPE__: "FileLink";
3495
+ } & {
3496
+ kind: "file";
3497
+ id: string;
3498
+ url: string;
3499
+ name: string;
3500
+ size: string;
3501
+ } & {
3502
+ date?: string | null | undefined;
3503
+ }) | ({
3504
+ __TYPE__: "DocumentLink";
3505
+ } & {
3506
+ id: string;
3507
+ }) | ({
3508
+ __TYPE__: "ExternalLink";
3509
+ } & {
3510
+ url: string;
3511
+ } & {
3512
+ kind?: "web";
3513
+ target?: string | null | undefined;
3514
+ preview?: {
3515
+ title?: string;
3516
+ } | null | undefined;
3517
+ });
3518
+ start: number;
3519
+ end: number;
3520
+ type: "hyperlink";
3521
+ } | {
3522
+ data: string;
3523
+ start: number;
3524
+ end: number;
3525
+ type: "label";
3526
+ } | {
3527
+ start: number;
3528
+ end: number;
3529
+ type: "strong" | "em" | "list-item";
3530
+ })[], unknown>;
3531
+ }>]>;
3436
3532
  }>, t.PartialC<{
3437
- spans: t.Type<({
3438
- data: ({
3439
- __TYPE__: "ImageLink";
3440
- } & {
3441
- kind: "image";
3442
- id: string;
3443
- url: string;
3444
- height: string;
3445
- width: string;
3446
- size: string;
3447
- name: string;
3448
- } & {
3449
- date?: string | null | undefined;
3450
- }) | ({
3451
- __TYPE__: "FileLink";
3452
- } & {
3453
- kind: "file";
3454
- id: string;
3455
- url: string;
3456
- name: string;
3457
- size: string;
3458
- } & {
3459
- date?: string | null | undefined;
3460
- }) | ({
3461
- __TYPE__: "DocumentLink";
3462
- } & {
3463
- id: string;
3464
- }) | ({
3465
- __TYPE__: "ExternalLink";
3466
- } & {
3467
- url: string;
3468
- } & {
3469
- kind?: "web";
3470
- target?: string | null | undefined;
3471
- preview?: {
3472
- title?: string;
3473
- } | null | undefined;
3474
- });
3475
- start: number;
3476
- end: number;
3477
- type: "hyperlink";
3478
- } | {
3479
- data: string;
3480
- start: number;
3481
- end: number;
3482
- type: "label";
3483
- } | {
3484
- start: number;
3485
- end: number;
3486
- type: "strong" | "em" | "list-item";
3487
- })[], ({
3488
- data: ({
3489
- __TYPE__: "ImageLink";
3490
- } & {
3491
- kind: "image";
3492
- id: string;
3493
- url: string;
3494
- height: string;
3495
- width: string;
3496
- size: string;
3497
- name: string;
3498
- } & {
3499
- date?: string | null | undefined;
3500
- }) | ({
3501
- __TYPE__: "FileLink";
3502
- } & {
3503
- kind: "file";
3504
- id: string;
3505
- url: string;
3506
- name: string;
3507
- size: string;
3508
- } & {
3509
- date?: string | null | undefined;
3510
- }) | ({
3511
- __TYPE__: "DocumentLink";
3512
- } & {
3513
- id: string;
3514
- }) | ({
3515
- __TYPE__: "ExternalLink";
3516
- } & {
3517
- url: string;
3518
- } & {
3519
- kind?: "web";
3520
- target?: string | null | undefined;
3521
- preview?: {
3522
- title?: string;
3523
- } | null | undefined;
3524
- });
3525
- start: number;
3526
- end: number;
3527
- type: "hyperlink";
3528
- } | {
3529
- data: string;
3530
- start: number;
3531
- end: number;
3532
- type: "label";
3533
- } | {
3534
- start: number;
3535
- end: number;
3536
- type: "strong" | "em" | "list-item";
3537
- })[], unknown>;
3538
- }>]>;
3539
- }>, t.PartialC<{
3540
- label: t.StringC;
3541
- direction: t.StringC;
3542
- }>]>>>;
3543
- }>>, t.ExactC<t.TypeC<{
3544
- type: t.LiteralC<"tableCell">;
3545
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3546
- 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>;
3547
- content: t.IntersectionC<[t.TypeC<{
3548
- text: t.StringC;
3533
+ label: t.StringC;
3534
+ direction: t.StringC;
3535
+ }>]>>>;
3536
+ }>>, t.ExactC<t.TypeC<{
3537
+ type: t.LiteralC<"tableCell">;
3538
+ content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3539
+ 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>;
3540
+ content: t.IntersectionC<[t.TypeC<{
3541
+ text: t.StringC;
3542
+ }>, t.PartialC<{
3543
+ spans: t.Type<({
3544
+ data: ({
3545
+ __TYPE__: "ImageLink";
3546
+ } & {
3547
+ kind: "image";
3548
+ id: string;
3549
+ url: string;
3550
+ height: string;
3551
+ width: string;
3552
+ size: string;
3553
+ name: string;
3554
+ } & {
3555
+ date?: string | null | undefined;
3556
+ }) | ({
3557
+ __TYPE__: "FileLink";
3558
+ } & {
3559
+ kind: "file";
3560
+ id: string;
3561
+ url: string;
3562
+ name: string;
3563
+ size: string;
3564
+ } & {
3565
+ date?: string | null | undefined;
3566
+ }) | ({
3567
+ __TYPE__: "DocumentLink";
3568
+ } & {
3569
+ id: string;
3570
+ }) | ({
3571
+ __TYPE__: "ExternalLink";
3572
+ } & {
3573
+ url: string;
3574
+ } & {
3575
+ kind?: "web";
3576
+ target?: string | null | undefined;
3577
+ preview?: {
3578
+ title?: string;
3579
+ } | null | undefined;
3580
+ });
3581
+ start: number;
3582
+ end: number;
3583
+ type: "hyperlink";
3584
+ } | {
3585
+ data: string;
3586
+ start: number;
3587
+ end: number;
3588
+ type: "label";
3589
+ } | {
3590
+ start: number;
3591
+ end: number;
3592
+ type: "strong" | "em" | "list-item";
3593
+ })[], ({
3594
+ data: ({
3595
+ __TYPE__: "ImageLink";
3596
+ } & {
3597
+ kind: "image";
3598
+ id: string;
3599
+ url: string;
3600
+ height: string;
3601
+ width: string;
3602
+ size: string;
3603
+ name: string;
3604
+ } & {
3605
+ date?: string | null | undefined;
3606
+ }) | ({
3607
+ __TYPE__: "FileLink";
3608
+ } & {
3609
+ kind: "file";
3610
+ id: string;
3611
+ url: string;
3612
+ name: string;
3613
+ size: string;
3614
+ } & {
3615
+ date?: string | null | undefined;
3616
+ }) | ({
3617
+ __TYPE__: "DocumentLink";
3618
+ } & {
3619
+ id: string;
3620
+ }) | ({
3621
+ __TYPE__: "ExternalLink";
3622
+ } & {
3623
+ url: string;
3624
+ } & {
3625
+ kind?: "web";
3626
+ target?: string | null | undefined;
3627
+ preview?: {
3628
+ title?: string;
3629
+ } | null | undefined;
3630
+ });
3631
+ start: number;
3632
+ end: number;
3633
+ type: "hyperlink";
3634
+ } | {
3635
+ data: string;
3636
+ start: number;
3637
+ end: number;
3638
+ type: "label";
3639
+ } | {
3640
+ start: number;
3641
+ end: number;
3642
+ type: "strong" | "em" | "list-item";
3643
+ })[], unknown>;
3644
+ }>]>;
3549
3645
  }>, t.PartialC<{
3550
- spans: t.Type<({
3551
- data: ({
3552
- __TYPE__: "ImageLink";
3553
- } & {
3554
- kind: "image";
3555
- id: string;
3556
- url: string;
3557
- height: string;
3558
- width: string;
3559
- size: string;
3560
- name: string;
3561
- } & {
3562
- date?: string | null | undefined;
3563
- }) | ({
3564
- __TYPE__: "FileLink";
3565
- } & {
3566
- kind: "file";
3567
- id: string;
3568
- url: string;
3569
- name: string;
3570
- size: string;
3571
- } & {
3572
- date?: string | null | undefined;
3573
- }) | ({
3574
- __TYPE__: "DocumentLink";
3575
- } & {
3576
- id: string;
3577
- }) | ({
3578
- __TYPE__: "ExternalLink";
3579
- } & {
3580
- url: string;
3581
- } & {
3582
- kind?: "web";
3583
- target?: string | null | undefined;
3584
- preview?: {
3585
- title?: string;
3586
- } | null | undefined;
3587
- });
3588
- start: number;
3589
- end: number;
3590
- type: "hyperlink";
3591
- } | {
3592
- data: string;
3593
- start: number;
3594
- end: number;
3595
- type: "label";
3596
- } | {
3597
- start: number;
3598
- end: number;
3599
- type: "strong" | "em" | "list-item";
3600
- })[], ({
3601
- data: ({
3602
- __TYPE__: "ImageLink";
3603
- } & {
3604
- kind: "image";
3605
- id: string;
3606
- url: string;
3607
- height: string;
3608
- width: string;
3609
- size: string;
3610
- name: string;
3611
- } & {
3612
- date?: string | null | undefined;
3613
- }) | ({
3614
- __TYPE__: "FileLink";
3615
- } & {
3616
- kind: "file";
3617
- id: string;
3618
- url: string;
3619
- name: string;
3620
- size: string;
3621
- } & {
3622
- date?: string | null | undefined;
3623
- }) | ({
3624
- __TYPE__: "DocumentLink";
3625
- } & {
3626
- id: string;
3627
- }) | ({
3628
- __TYPE__: "ExternalLink";
3629
- } & {
3630
- url: string;
3631
- } & {
3632
- kind?: "web";
3633
- target?: string | null | undefined;
3634
- preview?: {
3635
- title?: string;
3636
- } | null | undefined;
3637
- });
3638
- start: number;
3639
- end: number;
3640
- type: "hyperlink";
3641
- } | {
3642
- data: string;
3643
- start: number;
3644
- end: number;
3645
- type: "label";
3646
- } | {
3647
- start: number;
3648
- end: number;
3649
- type: "strong" | "em" | "list-item";
3650
- })[], unknown>;
3651
- }>]>;
3652
- }>, t.PartialC<{
3653
- label: t.StringC;
3654
- direction: t.StringC;
3655
- }>]>>>;
3656
- }>>]>>;
3657
- }>>>;
3646
+ label: t.StringC;
3647
+ direction: t.StringC;
3648
+ }>]>>>;
3649
+ }>>]>>;
3650
+ }>>>;
3651
+ }>>]>>;
3652
+ }>>, t.ExactC<t.TypeC<{
3653
+ __TYPE__: t.LiteralC<"SeparatorContent">;
3658
3654
  }>>, t.ExactC<t.TypeC<{
3659
- __TYPE__: t.LiteralC<"TableContent">;
3660
- }>>]>, t.ExactC<t.TypeC<{
3661
3655
  __TYPE__: t.LiteralC<"RepeatableContent">;
3662
3656
  type: t.LiteralC<"Link">;
3663
3657
  value: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{