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