@prismicio/types-internal 3.4.0-alpha.9 → 3.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/lib/content/Document.d.ts +2958 -5496
  2. package/lib/content/Document.js +8 -0
  3. package/lib/content/fields/GroupContent.d.ts +1 -1
  4. package/lib/content/fields/GroupContent.js +15 -7
  5. package/lib/content/fields/WidgetContent.d.ts +3268 -5806
  6. package/lib/content/fields/nestable/NestableContent.d.ts +399 -822
  7. package/lib/content/fields/nestable/NestableContent.js +7 -8
  8. package/lib/content/fields/nestable/RepeatableContent.d.ts +2 -2
  9. package/lib/content/fields/nestable/RepeatableContent.js +5 -2
  10. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +112 -0
  11. package/lib/content/fields/nestable/RichTextContent/Blocks.js +5 -5
  12. package/lib/content/fields/nestable/RichTextContent/index.d.ts +310 -641
  13. package/lib/content/fields/nestable/RichTextContent/index.js +7 -11
  14. package/lib/content/fields/nestable/TableContent.d.ts +545 -1130
  15. package/lib/content/fields/nestable/TableContent.js +88 -21
  16. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +701 -1547
  17. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +140 -357
  18. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +701 -1547
  19. package/lib/content/fields/slices/Slice/SharedSliceContent.js +12 -0
  20. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +399 -822
  21. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +392 -815
  22. package/lib/content/fields/slices/Slice/index.d.ts +1315 -2915
  23. package/lib/content/fields/slices/SliceItem.d.ts +1364 -2964
  24. package/lib/content/fields/slices/SlicesContent.d.ts +1861 -3976
  25. package/lib/customtypes/CustomType.d.ts +108 -0
  26. package/lib/customtypes/Section.d.ts +108 -0
  27. package/lib/customtypes/diff/SharedSlice.d.ts +48 -0
  28. package/lib/customtypes/diff/Variation.d.ts +48 -0
  29. package/lib/customtypes/widgets/Group.d.ts +36 -0
  30. package/lib/customtypes/widgets/Widget.d.ts +126 -0
  31. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +6 -0
  32. package/lib/customtypes/widgets/nestable/NestableWidget.js +2 -0
  33. package/lib/customtypes/widgets/nestable/RichText.d.ts +0 -2
  34. package/lib/customtypes/widgets/nestable/RichText.js +0 -2
  35. package/lib/customtypes/widgets/nestable/Table.d.ts +6 -0
  36. package/lib/customtypes/widgets/nestable/Table.js +13 -1
  37. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +12 -0
  38. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +12 -0
  39. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +48 -0
  40. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +36 -0
  41. package/lib/customtypes/widgets/slices/Slices.d.ts +168 -0
  42. package/package.json +1 -1
  43. package/src/content/Document.ts +9 -0
  44. package/src/content/fields/GroupContent.ts +17 -11
  45. package/src/content/fields/nestable/NestableContent.ts +13 -9
  46. package/src/content/fields/nestable/RepeatableContent.ts +6 -2
  47. package/src/content/fields/nestable/RichTextContent/Blocks.ts +238 -0
  48. package/src/content/fields/nestable/RichTextContent/index.ts +9 -13
  49. package/src/content/fields/nestable/TableContent.ts +115 -31
  50. package/src/content/fields/slices/Slice/SharedSliceContent.ts +13 -0
  51. package/src/customtypes/widgets/nestable/NestableWidget.ts +2 -0
  52. package/src/customtypes/widgets/nestable/RichText.ts +0 -2
  53. package/src/customtypes/widgets/nestable/Table.ts +13 -0
  54. package/lib/content/fields/nestable/RichTextContent/Block.d.ts +0 -1036
  55. package/lib/content/fields/nestable/RichTextContent/Block.js +0 -31
  56. package/lib/content/fields/nestable/RichTextContent/EmbedBlock.d.ts +0 -60
  57. package/lib/content/fields/nestable/RichTextContent/EmbedBlock.js +0 -53
  58. package/lib/content/fields/nestable/RichTextContent/ImageBlock.d.ts +0 -203
  59. package/lib/content/fields/nestable/RichTextContent/ImageBlock.js +0 -36
  60. package/lib/content/fields/nestable/RichTextContent/TableBlock.d.ts +0 -500
  61. package/lib/content/fields/nestable/RichTextContent/TableBlock.js +0 -21
  62. package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +0 -590
  63. package/lib/content/fields/nestable/RichTextContent/TextBlock.js +0 -80
  64. package/src/content/fields/nestable/RichTextContent/Block.ts +0 -35
  65. package/src/content/fields/nestable/RichTextContent/EmbedBlock.ts +0 -81
  66. package/src/content/fields/nestable/RichTextContent/ImageBlock.ts +0 -42
  67. package/src/content/fields/nestable/RichTextContent/TableBlock.ts +0 -36
  68. package/src/content/fields/nestable/RichTextContent/TextBlock.ts +0 -108
@@ -366,7 +366,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
366
366
  label?: string | null | undefined;
367
367
  direction?: string | null | undefined;
368
368
  }) | ({
369
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
369
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
370
370
  content: {
371
371
  text: string;
372
372
  } & {
@@ -425,77 +425,109 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
425
425
  } & {
426
426
  label?: string;
427
427
  direction?: string;
428
- }) | {
429
- type: "table";
428
+ }))[];
429
+ } | {
430
+ __TYPE__: "SeparatorContent";
431
+ } | {
432
+ __TYPE__: "TableContent";
433
+ content: {
434
+ type: "tableRow";
430
435
  content: {
431
- type: "tableRow";
432
- content: ({
433
- type: "tableHeader";
434
- content: ({
435
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
436
- content: {
437
- text: string;
436
+ type: "tableHeader" | "tableCell";
437
+ content: {
438
+ __TYPE__: "StructuredTextContent";
439
+ value: (({
440
+ type: "image";
441
+ data: {
442
+ origin: {
443
+ id: string;
444
+ url: string;
445
+ width: number;
446
+ height: number;
447
+ };
448
+ width: number;
449
+ height: number;
450
+ edit: {
451
+ zoom: number;
452
+ crop: {
453
+ x: number;
454
+ y: number;
455
+ };
456
+ background: string;
457
+ };
438
458
  } & {
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
- })[];
459
+ url?: string;
460
+ credits?: string | null;
461
+ alt?: string | null;
462
+ provider?: string | null | undefined;
463
+ } & {
464
+ linkTo?: ({
465
+ __TYPE__: "ImageLink";
466
+ } & {
467
+ kind: "image";
468
+ id: string;
469
+ url: string;
470
+ height: string;
471
+ width: string;
472
+ size: string;
473
+ name: string;
474
+ } & {
475
+ date?: string | null | undefined;
476
+ }) | ({
477
+ __TYPE__: "FileLink";
478
+ } & {
479
+ kind: "file";
480
+ id: string;
481
+ url: string;
482
+ name: string;
483
+ size: string;
484
+ } & {
485
+ date?: string | null | undefined;
486
+ }) | ({
487
+ __TYPE__: "DocumentLink";
488
+ } & {
489
+ id: string;
490
+ }) | ({
491
+ __TYPE__: "ExternalLink";
492
+ } & {
493
+ url: string;
494
+ } & {
495
+ kind?: "web";
496
+ target?: string | null | undefined;
497
+ preview?: {
498
+ title?: string;
499
+ } | null | undefined;
500
+ }) | null | undefined;
490
501
  };
491
502
  } & {
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";
503
+ label?: string | null | undefined;
504
+ direction?: string | null | undefined;
505
+ }) | ({
506
+ type: "embed";
507
+ data: {
508
+ embed_url: string;
509
+ type: string;
510
+ } & {
511
+ version?: string | number | null;
512
+ title?: string | null | undefined;
513
+ author_name?: string | null | undefined;
514
+ author_url?: string | null | undefined;
515
+ provider_name?: string | null | undefined;
516
+ provider_url?: string | null | undefined;
517
+ cache_age?: string | number | null;
518
+ thumbnail_url?: string | null | undefined;
519
+ thumbnail_width?: number | null | undefined;
520
+ thumbnail_height?: number | null | undefined;
521
+ html?: string | null | undefined;
522
+ } & {
523
+ __TYPE__: "EmbedContent";
524
+ all: unknown;
525
+ };
526
+ } & {
527
+ label?: string | null | undefined;
528
+ direction?: string | null | undefined;
529
+ }) | ({
530
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
499
531
  content: {
500
532
  text: string;
501
533
  } & {
@@ -554,146 +586,11 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
554
586
  } & {
555
587
  label?: string;
556
588
  direction?: string;
557
- })[];
558
- })[];
589
+ }))[];
590
+ };
559
591
  }[];
560
- })[];
561
- } | {
562
- __TYPE__: "SeparatorContent";
563
- } | ({
564
- content: {
565
- type: "tableRow";
566
- content: ({
567
- type: "tableHeader";
568
- content: ({
569
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
570
- content: {
571
- text: string;
572
- } & {
573
- spans?: ({
574
- data: ({
575
- __TYPE__: "ImageLink";
576
- } & {
577
- kind: "image";
578
- id: string;
579
- url: string;
580
- height: string;
581
- width: string;
582
- size: string;
583
- name: string;
584
- } & {
585
- date?: string | null | undefined;
586
- }) | ({
587
- __TYPE__: "FileLink";
588
- } & {
589
- kind: "file";
590
- id: string;
591
- url: string;
592
- name: string;
593
- size: string;
594
- } & {
595
- date?: string | null | undefined;
596
- }) | ({
597
- __TYPE__: "DocumentLink";
598
- } & {
599
- id: string;
600
- }) | ({
601
- __TYPE__: "ExternalLink";
602
- } & {
603
- url: string;
604
- } & {
605
- kind?: "web";
606
- target?: string | null | undefined;
607
- preview?: {
608
- title?: string;
609
- } | null | undefined;
610
- });
611
- start: number;
612
- end: number;
613
- type: "hyperlink";
614
- } | {
615
- data: string;
616
- start: number;
617
- end: number;
618
- type: "label";
619
- } | {
620
- start: number;
621
- end: number;
622
- type: "strong" | "em" | "list-item";
623
- })[];
624
- };
625
- } & {
626
- label?: string;
627
- direction?: string;
628
- })[];
629
- } | {
630
- type: "tableCell";
631
- content: ({
632
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
633
- content: {
634
- text: string;
635
- } & {
636
- spans?: ({
637
- data: ({
638
- __TYPE__: "ImageLink";
639
- } & {
640
- kind: "image";
641
- id: string;
642
- url: string;
643
- height: string;
644
- width: string;
645
- size: string;
646
- name: string;
647
- } & {
648
- date?: string | null | undefined;
649
- }) | ({
650
- __TYPE__: "FileLink";
651
- } & {
652
- kind: "file";
653
- id: string;
654
- url: string;
655
- name: string;
656
- size: string;
657
- } & {
658
- date?: string | null | undefined;
659
- }) | ({
660
- __TYPE__: "DocumentLink";
661
- } & {
662
- id: string;
663
- }) | ({
664
- __TYPE__: "ExternalLink";
665
- } & {
666
- url: string;
667
- } & {
668
- kind?: "web";
669
- target?: string | null | undefined;
670
- preview?: {
671
- title?: string;
672
- } | null | undefined;
673
- });
674
- start: number;
675
- end: number;
676
- type: "hyperlink";
677
- } | {
678
- data: string;
679
- start: number;
680
- end: number;
681
- type: "label";
682
- } | {
683
- start: number;
684
- end: number;
685
- type: "strong" | "em" | "list-item";
686
- })[];
687
- };
688
- } & {
689
- label?: string;
690
- direction?: string;
691
- })[];
692
- })[];
693
592
  }[];
694
- } & {
695
- __TYPE__: "TableContent";
696
- });
593
+ };
697
594
  };
698
595
  repeat: {
699
596
  __TYPE__: "GroupItemContent";
@@ -1056,7 +953,7 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
1056
953
  label?: string | null | undefined;
1057
954
  direction?: string | null | undefined;
1058
955
  }) | ({
1059
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
956
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1060
957
  content: {
1061
958
  text: string;
1062
959
  } & {
@@ -1115,77 +1012,109 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
1115
1012
  } & {
1116
1013
  label?: string;
1117
1014
  direction?: string;
1118
- }) | {
1119
- type: "table";
1015
+ }))[];
1016
+ } | {
1017
+ __TYPE__: "SeparatorContent";
1018
+ } | {
1019
+ __TYPE__: "TableContent";
1020
+ content: {
1021
+ type: "tableRow";
1120
1022
  content: {
1121
- type: "tableRow";
1122
- content: ({
1123
- type: "tableHeader";
1124
- content: ({
1125
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1126
- content: {
1127
- text: string;
1023
+ type: "tableHeader" | "tableCell";
1024
+ content: {
1025
+ __TYPE__: "StructuredTextContent";
1026
+ value: (({
1027
+ type: "image";
1028
+ data: {
1029
+ origin: {
1030
+ id: string;
1031
+ url: string;
1032
+ width: number;
1033
+ height: number;
1034
+ };
1035
+ width: number;
1036
+ height: number;
1037
+ edit: {
1038
+ zoom: number;
1039
+ crop: {
1040
+ x: number;
1041
+ y: number;
1042
+ };
1043
+ background: string;
1044
+ };
1128
1045
  } & {
1129
- spans?: ({
1130
- data: ({
1131
- __TYPE__: "ImageLink";
1132
- } & {
1133
- kind: "image";
1134
- id: string;
1135
- url: string;
1136
- height: string;
1137
- width: string;
1138
- size: string;
1139
- name: string;
1140
- } & {
1141
- date?: string | null | undefined;
1142
- }) | ({
1143
- __TYPE__: "FileLink";
1144
- } & {
1145
- kind: "file";
1146
- id: string;
1147
- url: string;
1148
- name: string;
1149
- size: string;
1150
- } & {
1151
- date?: string | null | undefined;
1152
- }) | ({
1153
- __TYPE__: "DocumentLink";
1154
- } & {
1155
- id: string;
1156
- }) | ({
1157
- __TYPE__: "ExternalLink";
1158
- } & {
1159
- url: string;
1160
- } & {
1161
- kind?: "web";
1162
- target?: string | null | undefined;
1163
- preview?: {
1164
- title?: string;
1165
- } | null | undefined;
1166
- });
1167
- start: number;
1168
- end: number;
1169
- type: "hyperlink";
1170
- } | {
1171
- data: string;
1172
- start: number;
1173
- end: number;
1174
- type: "label";
1175
- } | {
1176
- start: number;
1177
- end: number;
1178
- type: "strong" | "em" | "list-item";
1179
- })[];
1046
+ url?: string;
1047
+ credits?: string | null;
1048
+ alt?: string | null;
1049
+ provider?: string | null | undefined;
1050
+ } & {
1051
+ linkTo?: ({
1052
+ __TYPE__: "ImageLink";
1053
+ } & {
1054
+ kind: "image";
1055
+ id: string;
1056
+ url: string;
1057
+ height: string;
1058
+ width: string;
1059
+ size: string;
1060
+ name: string;
1061
+ } & {
1062
+ date?: string | null | undefined;
1063
+ }) | ({
1064
+ __TYPE__: "FileLink";
1065
+ } & {
1066
+ kind: "file";
1067
+ id: string;
1068
+ url: string;
1069
+ name: string;
1070
+ size: string;
1071
+ } & {
1072
+ date?: string | null | undefined;
1073
+ }) | ({
1074
+ __TYPE__: "DocumentLink";
1075
+ } & {
1076
+ id: string;
1077
+ }) | ({
1078
+ __TYPE__: "ExternalLink";
1079
+ } & {
1080
+ url: string;
1081
+ } & {
1082
+ kind?: "web";
1083
+ target?: string | null | undefined;
1084
+ preview?: {
1085
+ title?: string;
1086
+ } | null | undefined;
1087
+ }) | null | undefined;
1180
1088
  };
1181
1089
  } & {
1182
- label?: string;
1183
- direction?: string;
1184
- })[];
1185
- } | {
1186
- type: "tableCell";
1187
- content: ({
1188
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1090
+ label?: string | null | undefined;
1091
+ direction?: string | null | undefined;
1092
+ }) | ({
1093
+ type: "embed";
1094
+ data: {
1095
+ embed_url: string;
1096
+ type: string;
1097
+ } & {
1098
+ version?: string | number | null;
1099
+ title?: string | null | undefined;
1100
+ author_name?: string | null | undefined;
1101
+ author_url?: string | null | undefined;
1102
+ provider_name?: string | null | undefined;
1103
+ provider_url?: string | null | undefined;
1104
+ cache_age?: string | number | null;
1105
+ thumbnail_url?: string | null | undefined;
1106
+ thumbnail_width?: number | null | undefined;
1107
+ thumbnail_height?: number | null | undefined;
1108
+ html?: string | null | undefined;
1109
+ } & {
1110
+ __TYPE__: "EmbedContent";
1111
+ all: unknown;
1112
+ };
1113
+ } & {
1114
+ label?: string | null | undefined;
1115
+ direction?: string | null | undefined;
1116
+ }) | ({
1117
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1189
1118
  content: {
1190
1119
  text: string;
1191
1120
  } & {
@@ -1244,146 +1173,11 @@ export declare const isCompositeSliceContent: (u: unknown) => u is {
1244
1173
  } & {
1245
1174
  label?: string;
1246
1175
  direction?: string;
1247
- })[];
1248
- })[];
1176
+ }))[];
1177
+ };
1249
1178
  }[];
1250
- })[];
1251
- } | {
1252
- __TYPE__: "SeparatorContent";
1253
- } | ({
1254
- content: {
1255
- type: "tableRow";
1256
- content: ({
1257
- type: "tableHeader";
1258
- content: ({
1259
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1260
- content: {
1261
- text: string;
1262
- } & {
1263
- spans?: ({
1264
- data: ({
1265
- __TYPE__: "ImageLink";
1266
- } & {
1267
- kind: "image";
1268
- id: string;
1269
- url: string;
1270
- height: string;
1271
- width: string;
1272
- size: string;
1273
- name: string;
1274
- } & {
1275
- date?: string | null | undefined;
1276
- }) | ({
1277
- __TYPE__: "FileLink";
1278
- } & {
1279
- kind: "file";
1280
- id: string;
1281
- url: string;
1282
- name: string;
1283
- size: string;
1284
- } & {
1285
- date?: string | null | undefined;
1286
- }) | ({
1287
- __TYPE__: "DocumentLink";
1288
- } & {
1289
- id: string;
1290
- }) | ({
1291
- __TYPE__: "ExternalLink";
1292
- } & {
1293
- url: string;
1294
- } & {
1295
- kind?: "web";
1296
- target?: string | null | undefined;
1297
- preview?: {
1298
- title?: string;
1299
- } | null | undefined;
1300
- });
1301
- start: number;
1302
- end: number;
1303
- type: "hyperlink";
1304
- } | {
1305
- data: string;
1306
- start: number;
1307
- end: number;
1308
- type: "label";
1309
- } | {
1310
- start: number;
1311
- end: number;
1312
- type: "strong" | "em" | "list-item";
1313
- })[];
1314
- };
1315
- } & {
1316
- label?: string;
1317
- direction?: string;
1318
- })[];
1319
- } | {
1320
- type: "tableCell";
1321
- content: ({
1322
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1323
- content: {
1324
- text: string;
1325
- } & {
1326
- spans?: ({
1327
- data: ({
1328
- __TYPE__: "ImageLink";
1329
- } & {
1330
- kind: "image";
1331
- id: string;
1332
- url: string;
1333
- height: string;
1334
- width: string;
1335
- size: string;
1336
- name: string;
1337
- } & {
1338
- date?: string | null | undefined;
1339
- }) | ({
1340
- __TYPE__: "FileLink";
1341
- } & {
1342
- kind: "file";
1343
- id: string;
1344
- url: string;
1345
- name: string;
1346
- size: string;
1347
- } & {
1348
- date?: string | null | undefined;
1349
- }) | ({
1350
- __TYPE__: "DocumentLink";
1351
- } & {
1352
- id: string;
1353
- }) | ({
1354
- __TYPE__: "ExternalLink";
1355
- } & {
1356
- url: string;
1357
- } & {
1358
- kind?: "web";
1359
- target?: string | null | undefined;
1360
- preview?: {
1361
- title?: string;
1362
- } | null | undefined;
1363
- });
1364
- start: number;
1365
- end: number;
1366
- type: "hyperlink";
1367
- } | {
1368
- data: string;
1369
- start: number;
1370
- end: number;
1371
- type: "label";
1372
- } | {
1373
- start: number;
1374
- end: number;
1375
- type: "strong" | "em" | "list-item";
1376
- })[];
1377
- };
1378
- } & {
1379
- label?: string;
1380
- direction?: string;
1381
- })[];
1382
- })[];
1383
1179
  }[];
1384
- } & {
1385
- __TYPE__: "TableContent";
1386
- })][];
1180
+ }][];
1387
1181
  }[];
1388
1182
  };
1389
1183
  export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
@@ -1748,7 +1542,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1748
1542
  label?: string | null | undefined;
1749
1543
  direction?: string | null | undefined;
1750
1544
  }) | ({
1751
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1545
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1752
1546
  content: {
1753
1547
  text: string;
1754
1548
  } & {
@@ -1807,14 +1601,109 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1807
1601
  } & {
1808
1602
  label?: string;
1809
1603
  direction?: string;
1810
- }) | {
1811
- type: "table";
1604
+ }))[];
1605
+ } | {
1606
+ __TYPE__: "SeparatorContent";
1607
+ } | {
1608
+ __TYPE__: "TableContent";
1609
+ content: {
1610
+ type: "tableRow";
1812
1611
  content: {
1813
- type: "tableRow";
1814
- content: ({
1815
- type: "tableHeader";
1816
- content: ({
1817
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1612
+ type: "tableHeader" | "tableCell";
1613
+ content: {
1614
+ __TYPE__: "StructuredTextContent";
1615
+ value: (({
1616
+ type: "image";
1617
+ data: {
1618
+ origin: {
1619
+ id: string;
1620
+ url: string;
1621
+ width: number;
1622
+ height: number;
1623
+ };
1624
+ width: number;
1625
+ height: number;
1626
+ edit: {
1627
+ zoom: number;
1628
+ crop: {
1629
+ x: number;
1630
+ y: number;
1631
+ };
1632
+ background: string;
1633
+ };
1634
+ } & {
1635
+ url?: string;
1636
+ credits?: string | null;
1637
+ alt?: string | null;
1638
+ provider?: string | null | undefined;
1639
+ } & {
1640
+ linkTo?: ({
1641
+ __TYPE__: "ImageLink";
1642
+ } & {
1643
+ kind: "image";
1644
+ id: string;
1645
+ url: string;
1646
+ height: string;
1647
+ width: string;
1648
+ size: string;
1649
+ name: string;
1650
+ } & {
1651
+ date?: string | null | undefined;
1652
+ }) | ({
1653
+ __TYPE__: "FileLink";
1654
+ } & {
1655
+ kind: "file";
1656
+ id: string;
1657
+ url: string;
1658
+ name: string;
1659
+ size: string;
1660
+ } & {
1661
+ date?: string | null | undefined;
1662
+ }) | ({
1663
+ __TYPE__: "DocumentLink";
1664
+ } & {
1665
+ id: string;
1666
+ }) | ({
1667
+ __TYPE__: "ExternalLink";
1668
+ } & {
1669
+ url: string;
1670
+ } & {
1671
+ kind?: "web";
1672
+ target?: string | null | undefined;
1673
+ preview?: {
1674
+ title?: string;
1675
+ } | null | undefined;
1676
+ }) | null | undefined;
1677
+ };
1678
+ } & {
1679
+ label?: string | null | undefined;
1680
+ direction?: string | null | undefined;
1681
+ }) | ({
1682
+ type: "embed";
1683
+ data: {
1684
+ embed_url: string;
1685
+ type: string;
1686
+ } & {
1687
+ version?: string | number | null;
1688
+ title?: string | null | undefined;
1689
+ author_name?: string | null | undefined;
1690
+ author_url?: string | null | undefined;
1691
+ provider_name?: string | null | undefined;
1692
+ provider_url?: string | null | undefined;
1693
+ cache_age?: string | number | null;
1694
+ thumbnail_url?: string | null | undefined;
1695
+ thumbnail_width?: number | null | undefined;
1696
+ thumbnail_height?: number | null | undefined;
1697
+ html?: string | null | undefined;
1698
+ } & {
1699
+ __TYPE__: "EmbedContent";
1700
+ all: unknown;
1701
+ };
1702
+ } & {
1703
+ label?: string | null | undefined;
1704
+ direction?: string | null | undefined;
1705
+ }) | ({
1706
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1818
1707
  content: {
1819
1708
  text: string;
1820
1709
  } & {
@@ -1873,209 +1762,11 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
1873
1762
  } & {
1874
1763
  label?: string;
1875
1764
  direction?: string;
1876
- })[];
1877
- } | {
1878
- type: "tableCell";
1879
- content: ({
1880
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1881
- content: {
1882
- text: string;
1883
- } & {
1884
- spans?: ({
1885
- data: ({
1886
- __TYPE__: "ImageLink";
1887
- } & {
1888
- kind: "image";
1889
- id: string;
1890
- url: string;
1891
- height: string;
1892
- width: string;
1893
- size: string;
1894
- name: string;
1895
- } & {
1896
- date?: string | null | undefined;
1897
- }) | ({
1898
- __TYPE__: "FileLink";
1899
- } & {
1900
- kind: "file";
1901
- id: string;
1902
- url: string;
1903
- name: string;
1904
- size: string;
1905
- } & {
1906
- date?: string | null | undefined;
1907
- }) | ({
1908
- __TYPE__: "DocumentLink";
1909
- } & {
1910
- id: string;
1911
- }) | ({
1912
- __TYPE__: "ExternalLink";
1913
- } & {
1914
- url: string;
1915
- } & {
1916
- kind?: "web";
1917
- target?: string | null | undefined;
1918
- preview?: {
1919
- title?: string;
1920
- } | null | undefined;
1921
- });
1922
- start: number;
1923
- end: number;
1924
- type: "hyperlink";
1925
- } | {
1926
- data: string;
1927
- start: number;
1928
- end: number;
1929
- type: "label";
1930
- } | {
1931
- start: number;
1932
- end: number;
1933
- type: "strong" | "em" | "list-item";
1934
- })[];
1935
- };
1936
- } & {
1937
- label?: string;
1938
- direction?: string;
1939
- })[];
1940
- })[];
1765
+ }))[];
1766
+ };
1941
1767
  }[];
1942
- })[];
1943
- } | {
1944
- __TYPE__: "SeparatorContent";
1945
- } | ({
1946
- content: {
1947
- type: "tableRow";
1948
- content: ({
1949
- type: "tableHeader";
1950
- content: ({
1951
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1952
- content: {
1953
- text: string;
1954
- } & {
1955
- spans?: ({
1956
- data: ({
1957
- __TYPE__: "ImageLink";
1958
- } & {
1959
- kind: "image";
1960
- id: string;
1961
- url: string;
1962
- height: string;
1963
- width: string;
1964
- size: string;
1965
- name: string;
1966
- } & {
1967
- date?: string | null | undefined;
1968
- }) | ({
1969
- __TYPE__: "FileLink";
1970
- } & {
1971
- kind: "file";
1972
- id: string;
1973
- url: string;
1974
- name: string;
1975
- size: string;
1976
- } & {
1977
- date?: string | null | undefined;
1978
- }) | ({
1979
- __TYPE__: "DocumentLink";
1980
- } & {
1981
- id: string;
1982
- }) | ({
1983
- __TYPE__: "ExternalLink";
1984
- } & {
1985
- url: string;
1986
- } & {
1987
- kind?: "web";
1988
- target?: string | null | undefined;
1989
- preview?: {
1990
- title?: string;
1991
- } | null | undefined;
1992
- });
1993
- start: number;
1994
- end: number;
1995
- type: "hyperlink";
1996
- } | {
1997
- data: string;
1998
- start: number;
1999
- end: number;
2000
- type: "label";
2001
- } | {
2002
- start: number;
2003
- end: number;
2004
- type: "strong" | "em" | "list-item";
2005
- })[];
2006
- };
2007
- } & {
2008
- label?: string;
2009
- direction?: string;
2010
- })[];
2011
- } | {
2012
- type: "tableCell";
2013
- content: ({
2014
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2015
- content: {
2016
- text: string;
2017
- } & {
2018
- spans?: ({
2019
- data: ({
2020
- __TYPE__: "ImageLink";
2021
- } & {
2022
- kind: "image";
2023
- id: string;
2024
- url: string;
2025
- height: string;
2026
- width: string;
2027
- size: string;
2028
- name: string;
2029
- } & {
2030
- date?: string | null | undefined;
2031
- }) | ({
2032
- __TYPE__: "FileLink";
2033
- } & {
2034
- kind: "file";
2035
- id: string;
2036
- url: string;
2037
- name: string;
2038
- size: string;
2039
- } & {
2040
- date?: string | null | undefined;
2041
- }) | ({
2042
- __TYPE__: "DocumentLink";
2043
- } & {
2044
- id: string;
2045
- }) | ({
2046
- __TYPE__: "ExternalLink";
2047
- } & {
2048
- url: string;
2049
- } & {
2050
- kind?: "web";
2051
- target?: string | null | undefined;
2052
- preview?: {
2053
- title?: string;
2054
- } | null | undefined;
2055
- });
2056
- start: number;
2057
- end: number;
2058
- type: "hyperlink";
2059
- } | {
2060
- data: string;
2061
- start: number;
2062
- end: number;
2063
- type: "label";
2064
- } | {
2065
- start: number;
2066
- end: number;
2067
- type: "strong" | "em" | "list-item";
2068
- })[];
2069
- };
2070
- } & {
2071
- label?: string;
2072
- direction?: string;
2073
- })[];
2074
- })[];
2075
1768
  }[];
2076
- } & {
2077
- __TYPE__: "TableContent";
2078
- });
1769
+ };
2079
1770
  };
2080
1771
  repeat: {
2081
1772
  __TYPE__: "GroupItemContent";
@@ -2438,7 +2129,7 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
2438
2129
  label?: string | null | undefined;
2439
2130
  direction?: string | null | undefined;
2440
2131
  }) | ({
2441
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2132
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2442
2133
  content: {
2443
2134
  text: string;
2444
2135
  } & {
@@ -2497,14 +2188,109 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
2497
2188
  } & {
2498
2189
  label?: string;
2499
2190
  direction?: string;
2500
- }) | {
2501
- type: "table";
2191
+ }))[];
2192
+ } | {
2193
+ __TYPE__: "SeparatorContent";
2194
+ } | {
2195
+ __TYPE__: "TableContent";
2196
+ content: {
2197
+ type: "tableRow";
2502
2198
  content: {
2503
- type: "tableRow";
2504
- content: ({
2505
- type: "tableHeader";
2506
- content: ({
2507
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2199
+ type: "tableHeader" | "tableCell";
2200
+ content: {
2201
+ __TYPE__: "StructuredTextContent";
2202
+ value: (({
2203
+ type: "image";
2204
+ data: {
2205
+ origin: {
2206
+ id: string;
2207
+ url: string;
2208
+ width: number;
2209
+ height: number;
2210
+ };
2211
+ width: number;
2212
+ height: number;
2213
+ edit: {
2214
+ zoom: number;
2215
+ crop: {
2216
+ x: number;
2217
+ y: number;
2218
+ };
2219
+ background: string;
2220
+ };
2221
+ } & {
2222
+ url?: string;
2223
+ credits?: string | null;
2224
+ alt?: string | null;
2225
+ provider?: string | null | undefined;
2226
+ } & {
2227
+ linkTo?: ({
2228
+ __TYPE__: "ImageLink";
2229
+ } & {
2230
+ kind: "image";
2231
+ id: string;
2232
+ url: string;
2233
+ height: string;
2234
+ width: string;
2235
+ size: string;
2236
+ name: string;
2237
+ } & {
2238
+ date?: string | null | undefined;
2239
+ }) | ({
2240
+ __TYPE__: "FileLink";
2241
+ } & {
2242
+ kind: "file";
2243
+ id: string;
2244
+ url: string;
2245
+ name: string;
2246
+ size: string;
2247
+ } & {
2248
+ date?: string | null | undefined;
2249
+ }) | ({
2250
+ __TYPE__: "DocumentLink";
2251
+ } & {
2252
+ id: string;
2253
+ }) | ({
2254
+ __TYPE__: "ExternalLink";
2255
+ } & {
2256
+ url: string;
2257
+ } & {
2258
+ kind?: "web";
2259
+ target?: string | null | undefined;
2260
+ preview?: {
2261
+ title?: string;
2262
+ } | null | undefined;
2263
+ }) | null | undefined;
2264
+ };
2265
+ } & {
2266
+ label?: string | null | undefined;
2267
+ direction?: string | null | undefined;
2268
+ }) | ({
2269
+ type: "embed";
2270
+ data: {
2271
+ embed_url: string;
2272
+ type: string;
2273
+ } & {
2274
+ version?: string | number | null;
2275
+ title?: string | null | undefined;
2276
+ author_name?: string | null | undefined;
2277
+ author_url?: string | null | undefined;
2278
+ provider_name?: string | null | undefined;
2279
+ provider_url?: string | null | undefined;
2280
+ cache_age?: string | number | null;
2281
+ thumbnail_url?: string | null | undefined;
2282
+ thumbnail_width?: number | null | undefined;
2283
+ thumbnail_height?: number | null | undefined;
2284
+ html?: string | null | undefined;
2285
+ } & {
2286
+ __TYPE__: "EmbedContent";
2287
+ all: unknown;
2288
+ };
2289
+ } & {
2290
+ label?: string | null | undefined;
2291
+ direction?: string | null | undefined;
2292
+ }) | ({
2293
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2508
2294
  content: {
2509
2295
  text: string;
2510
2296
  } & {
@@ -2563,209 +2349,11 @@ export declare const CompositeSliceLegacy: (ctx: LegacyContentCtx) => t.Type<{
2563
2349
  } & {
2564
2350
  label?: string;
2565
2351
  direction?: string;
2566
- })[];
2567
- } | {
2568
- type: "tableCell";
2569
- content: ({
2570
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2571
- content: {
2572
- text: string;
2573
- } & {
2574
- spans?: ({
2575
- data: ({
2576
- __TYPE__: "ImageLink";
2577
- } & {
2578
- kind: "image";
2579
- id: string;
2580
- url: string;
2581
- height: string;
2582
- width: string;
2583
- size: string;
2584
- name: string;
2585
- } & {
2586
- date?: string | null | undefined;
2587
- }) | ({
2588
- __TYPE__: "FileLink";
2589
- } & {
2590
- kind: "file";
2591
- id: string;
2592
- url: string;
2593
- name: string;
2594
- size: string;
2595
- } & {
2596
- date?: string | null | undefined;
2597
- }) | ({
2598
- __TYPE__: "DocumentLink";
2599
- } & {
2600
- id: string;
2601
- }) | ({
2602
- __TYPE__: "ExternalLink";
2603
- } & {
2604
- url: string;
2605
- } & {
2606
- kind?: "web";
2607
- target?: string | null | undefined;
2608
- preview?: {
2609
- title?: string;
2610
- } | null | undefined;
2611
- });
2612
- start: number;
2613
- end: number;
2614
- type: "hyperlink";
2615
- } | {
2616
- data: string;
2617
- start: number;
2618
- end: number;
2619
- type: "label";
2620
- } | {
2621
- start: number;
2622
- end: number;
2623
- type: "strong" | "em" | "list-item";
2624
- })[];
2625
- };
2626
- } & {
2627
- label?: string;
2628
- direction?: string;
2629
- })[];
2630
- })[];
2352
+ }))[];
2353
+ };
2631
2354
  }[];
2632
- })[];
2633
- } | {
2634
- __TYPE__: "SeparatorContent";
2635
- } | ({
2636
- content: {
2637
- type: "tableRow";
2638
- content: ({
2639
- type: "tableHeader";
2640
- content: ({
2641
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2642
- content: {
2643
- text: string;
2644
- } & {
2645
- spans?: ({
2646
- data: ({
2647
- __TYPE__: "ImageLink";
2648
- } & {
2649
- kind: "image";
2650
- id: string;
2651
- url: string;
2652
- height: string;
2653
- width: string;
2654
- size: string;
2655
- name: string;
2656
- } & {
2657
- date?: string | null | undefined;
2658
- }) | ({
2659
- __TYPE__: "FileLink";
2660
- } & {
2661
- kind: "file";
2662
- id: string;
2663
- url: string;
2664
- name: string;
2665
- size: string;
2666
- } & {
2667
- date?: string | null | undefined;
2668
- }) | ({
2669
- __TYPE__: "DocumentLink";
2670
- } & {
2671
- id: string;
2672
- }) | ({
2673
- __TYPE__: "ExternalLink";
2674
- } & {
2675
- url: string;
2676
- } & {
2677
- kind?: "web";
2678
- target?: string | null | undefined;
2679
- preview?: {
2680
- title?: string;
2681
- } | null | undefined;
2682
- });
2683
- start: number;
2684
- end: number;
2685
- type: "hyperlink";
2686
- } | {
2687
- data: string;
2688
- start: number;
2689
- end: number;
2690
- type: "label";
2691
- } | {
2692
- start: number;
2693
- end: number;
2694
- type: "strong" | "em" | "list-item";
2695
- })[];
2696
- };
2697
- } & {
2698
- label?: string;
2699
- direction?: string;
2700
- })[];
2701
- } | {
2702
- type: "tableCell";
2703
- content: ({
2704
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2705
- content: {
2706
- text: string;
2707
- } & {
2708
- spans?: ({
2709
- data: ({
2710
- __TYPE__: "ImageLink";
2711
- } & {
2712
- kind: "image";
2713
- id: string;
2714
- url: string;
2715
- height: string;
2716
- width: string;
2717
- size: string;
2718
- name: string;
2719
- } & {
2720
- date?: string | null | undefined;
2721
- }) | ({
2722
- __TYPE__: "FileLink";
2723
- } & {
2724
- kind: "file";
2725
- id: string;
2726
- url: string;
2727
- name: string;
2728
- size: string;
2729
- } & {
2730
- date?: string | null | undefined;
2731
- }) | ({
2732
- __TYPE__: "DocumentLink";
2733
- } & {
2734
- id: string;
2735
- }) | ({
2736
- __TYPE__: "ExternalLink";
2737
- } & {
2738
- url: string;
2739
- } & {
2740
- kind?: "web";
2741
- target?: string | null | undefined;
2742
- preview?: {
2743
- title?: string;
2744
- } | null | undefined;
2745
- });
2746
- start: number;
2747
- end: number;
2748
- type: "hyperlink";
2749
- } | {
2750
- data: string;
2751
- start: number;
2752
- end: number;
2753
- type: "label";
2754
- } | {
2755
- start: number;
2756
- end: number;
2757
- type: "strong" | "em" | "list-item";
2758
- })[];
2759
- };
2760
- } & {
2761
- label?: string;
2762
- direction?: string;
2763
- })[];
2764
- })[];
2765
2355
  }[];
2766
- } & {
2767
- __TYPE__: "TableContent";
2768
- })][];
2356
+ }][];
2769
2357
  }[];
2770
2358
  }, WithTypes<{
2771
2359
  repeat?: unknown[];
@@ -3091,7 +2679,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
3091
2679
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3092
2680
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3093
2681
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3094
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
2682
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
3095
2683
  content: t.IntersectionC<[t.TypeC<{
3096
2684
  text: t.StringC;
3097
2685
  }>, t.PartialC<{
@@ -3200,14 +2788,145 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
3200
2788
  }>, t.PartialC<{
3201
2789
  label: t.StringC;
3202
2790
  direction: t.StringC;
3203
- }>]>>, t.ExactC<t.TypeC<{
3204
- type: t.LiteralC<"table">;
2791
+ }>]>>]>>;
2792
+ }>>, t.ExactC<t.TypeC<{
2793
+ __TYPE__: t.LiteralC<"SeparatorContent">;
2794
+ }>>, t.ExactC<t.TypeC<{
2795
+ __TYPE__: t.LiteralC<"TableContent">;
2796
+ content: t.ArrayC<t.ExactC<t.TypeC<{
2797
+ type: t.LiteralC<"tableRow">;
3205
2798
  content: t.ArrayC<t.ExactC<t.TypeC<{
3206
- type: t.LiteralC<"tableRow">;
3207
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
3208
- type: t.LiteralC<"tableHeader">;
3209
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3210
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
2799
+ type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
2800
+ content: t.ExactC<t.TypeC<{
2801
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
2802
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2803
+ type: t.LiteralC<"image">;
2804
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2805
+ origin: t.ExactC<t.TypeC<{
2806
+ id: t.StringC;
2807
+ url: t.StringC;
2808
+ width: t.NumberC;
2809
+ height: t.NumberC;
2810
+ }>>;
2811
+ width: t.NumberC;
2812
+ height: t.NumberC;
2813
+ edit: t.TypeC<{
2814
+ zoom: t.NumberC;
2815
+ crop: t.TypeC<{
2816
+ x: t.NumberC;
2817
+ y: t.NumberC;
2818
+ }>;
2819
+ background: t.StringC;
2820
+ }>;
2821
+ }>, t.PartialC<{
2822
+ url: t.StringC;
2823
+ credits: t.Type<string | null, string | null, unknown>;
2824
+ alt: t.Type<string | null, string | null, unknown>;
2825
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2826
+ }>]>>, t.PartialC<{
2827
+ linkTo: t.UnionC<[t.Type<({
2828
+ __TYPE__: "ImageLink";
2829
+ } & {
2830
+ kind: "image";
2831
+ id: string;
2832
+ url: string;
2833
+ height: string;
2834
+ width: string;
2835
+ size: string;
2836
+ name: string;
2837
+ } & {
2838
+ date?: string | null | undefined;
2839
+ }) | ({
2840
+ __TYPE__: "FileLink";
2841
+ } & {
2842
+ kind: "file";
2843
+ id: string;
2844
+ url: string;
2845
+ name: string;
2846
+ size: string;
2847
+ } & {
2848
+ date?: string | null | undefined;
2849
+ }) | ({
2850
+ __TYPE__: "DocumentLink";
2851
+ } & {
2852
+ id: string;
2853
+ }) | ({
2854
+ __TYPE__: "ExternalLink";
2855
+ } & {
2856
+ url: string;
2857
+ } & {
2858
+ kind?: "web";
2859
+ target?: string | null | undefined;
2860
+ preview?: {
2861
+ title?: string;
2862
+ } | null | undefined;
2863
+ }), ({
2864
+ __TYPE__: "ImageLink";
2865
+ } & {
2866
+ kind: "image";
2867
+ id: string;
2868
+ url: string;
2869
+ height: string;
2870
+ width: string;
2871
+ size: string;
2872
+ name: string;
2873
+ } & {
2874
+ date?: string | null | undefined;
2875
+ }) | ({
2876
+ __TYPE__: "FileLink";
2877
+ } & {
2878
+ kind: "file";
2879
+ id: string;
2880
+ url: string;
2881
+ name: string;
2882
+ size: string;
2883
+ } & {
2884
+ date?: string | null | undefined;
2885
+ }) | ({
2886
+ __TYPE__: "DocumentLink";
2887
+ } & {
2888
+ id: string;
2889
+ }) | ({
2890
+ __TYPE__: "ExternalLink";
2891
+ } & {
2892
+ url: string;
2893
+ } & {
2894
+ kind?: "web";
2895
+ target?: string | null | undefined;
2896
+ preview?: {
2897
+ title?: string;
2898
+ } | null | undefined;
2899
+ }), unknown>, t.NullC, t.UndefinedC]>;
2900
+ }>]>;
2901
+ }>, t.PartialC<{
2902
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2903
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2904
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2905
+ type: t.LiteralC<"embed">;
2906
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
2907
+ embed_url: t.StringC;
2908
+ type: t.StringC;
2909
+ }>, t.PartialC<{
2910
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
2911
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2912
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2913
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2914
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2915
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2916
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
2917
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2918
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
2919
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
2920
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2921
+ }>]>>, t.ExactC<t.TypeC<{
2922
+ __TYPE__: t.LiteralC<"EmbedContent">;
2923
+ all: t.UnknownC;
2924
+ }>>]>;
2925
+ }>, t.PartialC<{
2926
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2927
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2928
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2929
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
3211
2930
  content: t.IntersectionC<[t.TypeC<{
3212
2931
  text: t.StringC;
3213
2932
  }>, t.PartialC<{
@@ -3316,125 +3035,10 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
3316
3035
  }>, t.PartialC<{
3317
3036
  label: t.StringC;
3318
3037
  direction: t.StringC;
3319
- }>]>>>;
3320
- }>>, t.ExactC<t.TypeC<{
3321
- type: t.LiteralC<"tableCell">;
3322
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3323
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
3324
- content: t.IntersectionC<[t.TypeC<{
3325
- text: t.StringC;
3326
- }>, t.PartialC<{
3327
- spans: t.Type<({
3328
- data: ({
3329
- __TYPE__: "ImageLink";
3330
- } & {
3331
- kind: "image";
3332
- id: string;
3333
- url: string;
3334
- height: string;
3335
- width: string;
3336
- size: string;
3337
- name: string;
3338
- } & {
3339
- date?: string | null | undefined;
3340
- }) | ({
3341
- __TYPE__: "FileLink";
3342
- } & {
3343
- kind: "file";
3344
- id: string;
3345
- url: string;
3346
- name: string;
3347
- size: string;
3348
- } & {
3349
- date?: string | null | undefined;
3350
- }) | ({
3351
- __TYPE__: "DocumentLink";
3352
- } & {
3353
- id: string;
3354
- }) | ({
3355
- __TYPE__: "ExternalLink";
3356
- } & {
3357
- url: string;
3358
- } & {
3359
- kind?: "web";
3360
- target?: string | null | undefined;
3361
- preview?: {
3362
- title?: string;
3363
- } | null | undefined;
3364
- });
3365
- start: number;
3366
- end: number;
3367
- type: "hyperlink";
3368
- } | {
3369
- data: string;
3370
- start: number;
3371
- end: number;
3372
- type: "label";
3373
- } | {
3374
- start: number;
3375
- end: number;
3376
- type: "strong" | "em" | "list-item";
3377
- })[], ({
3378
- data: ({
3379
- __TYPE__: "ImageLink";
3380
- } & {
3381
- kind: "image";
3382
- id: string;
3383
- url: string;
3384
- height: string;
3385
- width: string;
3386
- size: string;
3387
- name: string;
3388
- } & {
3389
- date?: string | null | undefined;
3390
- }) | ({
3391
- __TYPE__: "FileLink";
3392
- } & {
3393
- kind: "file";
3394
- id: string;
3395
- url: string;
3396
- name: string;
3397
- size: string;
3398
- } & {
3399
- date?: string | null | undefined;
3400
- }) | ({
3401
- __TYPE__: "DocumentLink";
3402
- } & {
3403
- id: string;
3404
- }) | ({
3405
- __TYPE__: "ExternalLink";
3406
- } & {
3407
- url: string;
3408
- } & {
3409
- kind?: "web";
3410
- target?: string | null | undefined;
3411
- preview?: {
3412
- title?: string;
3413
- } | null | undefined;
3414
- });
3415
- start: number;
3416
- end: number;
3417
- type: "hyperlink";
3418
- } | {
3419
- data: string;
3420
- start: number;
3421
- end: number;
3422
- type: "label";
3423
- } | {
3424
- start: number;
3425
- end: number;
3426
- type: "strong" | "em" | "list-item";
3427
- })[], unknown>;
3428
- }>]>;
3429
- }>, t.PartialC<{
3430
- label: t.StringC;
3431
- direction: t.StringC;
3432
- }>]>>>;
3433
- }>>]>>;
3038
+ }>]>>]>>;
3039
+ }>>;
3434
3040
  }>>>;
3435
- }>>]>>;
3436
- }>>, t.ExactC<t.TypeC<{
3437
- __TYPE__: t.LiteralC<"SeparatorContent">;
3041
+ }>>>;
3438
3042
  }>>, t.ExactC<t.TypeC<{
3439
3043
  __TYPE__: t.LiteralC<"RepeatableContent">;
3440
3044
  type: t.LiteralC<"Link">;
@@ -3516,240 +3120,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
3516
3120
  variant: t.StringC;
3517
3121
  }>]>>]>]>;
3518
3122
  }>>]>>;
3519
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
3520
- content: t.ArrayC<t.ExactC<t.TypeC<{
3521
- type: t.LiteralC<"tableRow">;
3522
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
3523
- type: t.LiteralC<"tableHeader">;
3524
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3525
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
3526
- content: t.IntersectionC<[t.TypeC<{
3527
- text: t.StringC;
3528
- }>, t.PartialC<{
3529
- spans: t.Type<({
3530
- data: ({
3531
- __TYPE__: "ImageLink";
3532
- } & {
3533
- kind: "image";
3534
- id: string;
3535
- url: string;
3536
- height: string;
3537
- width: string;
3538
- size: string;
3539
- name: string;
3540
- } & {
3541
- date?: string | null | undefined;
3542
- }) | ({
3543
- __TYPE__: "FileLink";
3544
- } & {
3545
- kind: "file";
3546
- id: string;
3547
- url: string;
3548
- name: string;
3549
- size: string;
3550
- } & {
3551
- date?: string | null | undefined;
3552
- }) | ({
3553
- __TYPE__: "DocumentLink";
3554
- } & {
3555
- id: string;
3556
- }) | ({
3557
- __TYPE__: "ExternalLink";
3558
- } & {
3559
- url: string;
3560
- } & {
3561
- kind?: "web";
3562
- target?: string | null | undefined;
3563
- preview?: {
3564
- title?: string;
3565
- } | null | undefined;
3566
- });
3567
- start: number;
3568
- end: number;
3569
- type: "hyperlink";
3570
- } | {
3571
- data: string;
3572
- start: number;
3573
- end: number;
3574
- type: "label";
3575
- } | {
3576
- start: number;
3577
- end: number;
3578
- type: "strong" | "em" | "list-item";
3579
- })[], ({
3580
- data: ({
3581
- __TYPE__: "ImageLink";
3582
- } & {
3583
- kind: "image";
3584
- id: string;
3585
- url: string;
3586
- height: string;
3587
- width: string;
3588
- size: string;
3589
- name: string;
3590
- } & {
3591
- date?: string | null | undefined;
3592
- }) | ({
3593
- __TYPE__: "FileLink";
3594
- } & {
3595
- kind: "file";
3596
- id: string;
3597
- url: string;
3598
- name: string;
3599
- size: string;
3600
- } & {
3601
- date?: string | null | undefined;
3602
- }) | ({
3603
- __TYPE__: "DocumentLink";
3604
- } & {
3605
- id: string;
3606
- }) | ({
3607
- __TYPE__: "ExternalLink";
3608
- } & {
3609
- url: string;
3610
- } & {
3611
- kind?: "web";
3612
- target?: string | null | undefined;
3613
- preview?: {
3614
- title?: string;
3615
- } | null | undefined;
3616
- });
3617
- start: number;
3618
- end: number;
3619
- type: "hyperlink";
3620
- } | {
3621
- data: string;
3622
- start: number;
3623
- end: number;
3624
- type: "label";
3625
- } | {
3626
- start: number;
3627
- end: number;
3628
- type: "strong" | "em" | "list-item";
3629
- })[], unknown>;
3630
- }>]>;
3631
- }>, t.PartialC<{
3632
- label: t.StringC;
3633
- direction: t.StringC;
3634
- }>]>>>;
3635
- }>>, t.ExactC<t.TypeC<{
3636
- type: t.LiteralC<"tableCell">;
3637
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
3638
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
3639
- content: t.IntersectionC<[t.TypeC<{
3640
- text: t.StringC;
3641
- }>, t.PartialC<{
3642
- spans: t.Type<({
3643
- data: ({
3644
- __TYPE__: "ImageLink";
3645
- } & {
3646
- kind: "image";
3647
- id: string;
3648
- url: string;
3649
- height: string;
3650
- width: string;
3651
- size: string;
3652
- name: string;
3653
- } & {
3654
- date?: string | null | undefined;
3655
- }) | ({
3656
- __TYPE__: "FileLink";
3657
- } & {
3658
- kind: "file";
3659
- id: string;
3660
- url: string;
3661
- name: string;
3662
- size: string;
3663
- } & {
3664
- date?: string | null | undefined;
3665
- }) | ({
3666
- __TYPE__: "DocumentLink";
3667
- } & {
3668
- id: string;
3669
- }) | ({
3670
- __TYPE__: "ExternalLink";
3671
- } & {
3672
- url: string;
3673
- } & {
3674
- kind?: "web";
3675
- target?: string | null | undefined;
3676
- preview?: {
3677
- title?: string;
3678
- } | null | undefined;
3679
- });
3680
- start: number;
3681
- end: number;
3682
- type: "hyperlink";
3683
- } | {
3684
- data: string;
3685
- start: number;
3686
- end: number;
3687
- type: "label";
3688
- } | {
3689
- start: number;
3690
- end: number;
3691
- type: "strong" | "em" | "list-item";
3692
- })[], ({
3693
- data: ({
3694
- __TYPE__: "ImageLink";
3695
- } & {
3696
- kind: "image";
3697
- id: string;
3698
- url: string;
3699
- height: string;
3700
- width: string;
3701
- size: string;
3702
- name: string;
3703
- } & {
3704
- date?: string | null | undefined;
3705
- }) | ({
3706
- __TYPE__: "FileLink";
3707
- } & {
3708
- kind: "file";
3709
- id: string;
3710
- url: string;
3711
- name: string;
3712
- size: string;
3713
- } & {
3714
- date?: string | null | undefined;
3715
- }) | ({
3716
- __TYPE__: "DocumentLink";
3717
- } & {
3718
- id: string;
3719
- }) | ({
3720
- __TYPE__: "ExternalLink";
3721
- } & {
3722
- url: string;
3723
- } & {
3724
- kind?: "web";
3725
- target?: string | null | undefined;
3726
- preview?: {
3727
- title?: string;
3728
- } | null | undefined;
3729
- });
3730
- start: number;
3731
- end: number;
3732
- type: "hyperlink";
3733
- } | {
3734
- data: string;
3735
- start: number;
3736
- end: number;
3737
- type: "label";
3738
- } | {
3739
- start: number;
3740
- end: number;
3741
- type: "strong" | "em" | "list-item";
3742
- })[], unknown>;
3743
- }>]>;
3744
- }>, t.PartialC<{
3745
- label: t.StringC;
3746
- direction: t.StringC;
3747
- }>]>>>;
3748
- }>>]>>;
3749
- }>>>;
3750
- }>>, t.ExactC<t.TypeC<{
3751
- __TYPE__: t.LiteralC<"TableContent">;
3752
- }>>]>]>>;
3123
+ }>>]>>;
3753
3124
  repeat: t.ArrayC<t.ExactC<t.TypeC<{
3754
3125
  __TYPE__: t.LiteralC<"GroupItemContent">;
3755
3126
  value: t.ArrayC<t.TupleC<[t.StringC, t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
@@ -4068,7 +3439,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
4068
3439
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4069
3440
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
4070
3441
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
4071
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
3442
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
4072
3443
  content: t.IntersectionC<[t.TypeC<{
4073
3444
  text: t.StringC;
4074
3445
  }>, t.PartialC<{
@@ -4177,127 +3548,145 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
4177
3548
  }>, t.PartialC<{
4178
3549
  label: t.StringC;
4179
3550
  direction: t.StringC;
4180
- }>]>>, t.ExactC<t.TypeC<{
4181
- type: t.LiteralC<"table">;
3551
+ }>]>>]>>;
3552
+ }>>, t.ExactC<t.TypeC<{
3553
+ __TYPE__: t.LiteralC<"SeparatorContent">;
3554
+ }>>, t.ExactC<t.TypeC<{
3555
+ __TYPE__: t.LiteralC<"TableContent">;
3556
+ content: t.ArrayC<t.ExactC<t.TypeC<{
3557
+ type: t.LiteralC<"tableRow">;
4182
3558
  content: t.ArrayC<t.ExactC<t.TypeC<{
4183
- type: t.LiteralC<"tableRow">;
4184
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
4185
- type: t.LiteralC<"tableHeader">;
4186
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4187
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
4188
- content: t.IntersectionC<[t.TypeC<{
4189
- text: t.StringC;
3559
+ type: t.UnionC<[t.LiteralC<"tableHeader">, t.LiteralC<"tableCell">]>;
3560
+ content: t.ExactC<t.TypeC<{
3561
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
3562
+ value: t.ArrayC<t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3563
+ type: t.LiteralC<"image">;
3564
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3565
+ origin: t.ExactC<t.TypeC<{
3566
+ id: t.StringC;
3567
+ url: t.StringC;
3568
+ width: t.NumberC;
3569
+ height: t.NumberC;
3570
+ }>>;
3571
+ width: t.NumberC;
3572
+ height: t.NumberC;
3573
+ edit: t.TypeC<{
3574
+ zoom: t.NumberC;
3575
+ crop: t.TypeC<{
3576
+ x: t.NumberC;
3577
+ y: t.NumberC;
3578
+ }>;
3579
+ background: t.StringC;
3580
+ }>;
4190
3581
  }>, t.PartialC<{
4191
- spans: t.Type<({
4192
- data: ({
4193
- __TYPE__: "ImageLink";
4194
- } & {
4195
- kind: "image";
4196
- id: string;
4197
- url: string;
4198
- height: string;
4199
- width: string;
4200
- size: string;
4201
- name: string;
4202
- } & {
4203
- date?: string | null | undefined;
4204
- }) | ({
4205
- __TYPE__: "FileLink";
4206
- } & {
4207
- kind: "file";
4208
- id: string;
4209
- url: string;
4210
- name: string;
4211
- size: string;
4212
- } & {
4213
- date?: string | null | undefined;
4214
- }) | ({
4215
- __TYPE__: "DocumentLink";
4216
- } & {
4217
- id: string;
4218
- }) | ({
4219
- __TYPE__: "ExternalLink";
4220
- } & {
4221
- url: string;
4222
- } & {
4223
- kind?: "web";
4224
- target?: string | null | undefined;
4225
- preview?: {
4226
- title?: string;
4227
- } | null | undefined;
4228
- });
4229
- start: number;
4230
- end: number;
4231
- type: "hyperlink";
4232
- } | {
4233
- data: string;
4234
- start: number;
4235
- end: number;
4236
- type: "label";
4237
- } | {
4238
- start: number;
4239
- end: number;
4240
- type: "strong" | "em" | "list-item";
4241
- })[], ({
4242
- data: ({
4243
- __TYPE__: "ImageLink";
4244
- } & {
4245
- kind: "image";
4246
- id: string;
4247
- url: string;
4248
- height: string;
4249
- width: string;
4250
- size: string;
4251
- name: string;
4252
- } & {
4253
- date?: string | null | undefined;
4254
- }) | ({
4255
- __TYPE__: "FileLink";
4256
- } & {
4257
- kind: "file";
4258
- id: string;
4259
- url: string;
4260
- name: string;
4261
- size: string;
4262
- } & {
4263
- date?: string | null | undefined;
4264
- }) | ({
4265
- __TYPE__: "DocumentLink";
4266
- } & {
4267
- id: string;
4268
- }) | ({
4269
- __TYPE__: "ExternalLink";
4270
- } & {
4271
- url: string;
4272
- } & {
4273
- kind?: "web";
4274
- target?: string | null | undefined;
4275
- preview?: {
4276
- title?: string;
4277
- } | null | undefined;
4278
- });
4279
- start: number;
4280
- end: number;
4281
- type: "hyperlink";
4282
- } | {
4283
- data: string;
4284
- start: number;
4285
- end: number;
4286
- type: "label";
4287
- } | {
4288
- start: number;
4289
- end: number;
4290
- type: "strong" | "em" | "list-item";
4291
- })[], unknown>;
3582
+ url: t.StringC;
3583
+ credits: t.Type<string | null, string | null, unknown>;
3584
+ alt: t.Type<string | null, string | null, unknown>;
3585
+ provider: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3586
+ }>]>>, t.PartialC<{
3587
+ linkTo: t.UnionC<[t.Type<({
3588
+ __TYPE__: "ImageLink";
3589
+ } & {
3590
+ kind: "image";
3591
+ id: string;
3592
+ url: string;
3593
+ height: string;
3594
+ width: string;
3595
+ size: string;
3596
+ name: string;
3597
+ } & {
3598
+ date?: string | null | undefined;
3599
+ }) | ({
3600
+ __TYPE__: "FileLink";
3601
+ } & {
3602
+ kind: "file";
3603
+ id: string;
3604
+ url: string;
3605
+ name: string;
3606
+ size: string;
3607
+ } & {
3608
+ date?: string | null | undefined;
3609
+ }) | ({
3610
+ __TYPE__: "DocumentLink";
3611
+ } & {
3612
+ id: string;
3613
+ }) | ({
3614
+ __TYPE__: "ExternalLink";
3615
+ } & {
3616
+ url: string;
3617
+ } & {
3618
+ kind?: "web";
3619
+ target?: string | null | undefined;
3620
+ preview?: {
3621
+ title?: string;
3622
+ } | null | undefined;
3623
+ }), ({
3624
+ __TYPE__: "ImageLink";
3625
+ } & {
3626
+ kind: "image";
3627
+ id: string;
3628
+ url: string;
3629
+ height: string;
3630
+ width: string;
3631
+ size: string;
3632
+ name: string;
3633
+ } & {
3634
+ date?: string | null | undefined;
3635
+ }) | ({
3636
+ __TYPE__: "FileLink";
3637
+ } & {
3638
+ kind: "file";
3639
+ id: string;
3640
+ url: string;
3641
+ name: string;
3642
+ size: string;
3643
+ } & {
3644
+ date?: string | null | undefined;
3645
+ }) | ({
3646
+ __TYPE__: "DocumentLink";
3647
+ } & {
3648
+ id: string;
3649
+ }) | ({
3650
+ __TYPE__: "ExternalLink";
3651
+ } & {
3652
+ url: string;
3653
+ } & {
3654
+ kind?: "web";
3655
+ target?: string | null | undefined;
3656
+ preview?: {
3657
+ title?: string;
3658
+ } | null | undefined;
3659
+ }), unknown>, t.NullC, t.UndefinedC]>;
4292
3660
  }>]>;
4293
3661
  }>, t.PartialC<{
4294
- label: t.StringC;
4295
- direction: t.StringC;
4296
- }>]>>>;
4297
- }>>, t.ExactC<t.TypeC<{
4298
- type: t.LiteralC<"tableCell">;
4299
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4300
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
3662
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3663
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3664
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3665
+ type: t.LiteralC<"embed">;
3666
+ data: t.IntersectionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3667
+ embed_url: t.StringC;
3668
+ type: t.StringC;
3669
+ }>, t.PartialC<{
3670
+ version: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
3671
+ title: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3672
+ author_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3673
+ author_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3674
+ provider_name: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3675
+ provider_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3676
+ cache_age: t.UnionC<[t.StringC, t.NumberC, t.NullC]>;
3677
+ thumbnail_url: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3678
+ thumbnail_width: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
3679
+ thumbnail_height: t.UnionC<[t.Type<number, number, unknown>, t.NullC, t.UndefinedC]>;
3680
+ html: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3681
+ }>]>>, t.ExactC<t.TypeC<{
3682
+ __TYPE__: t.LiteralC<"EmbedContent">;
3683
+ all: t.UnknownC;
3684
+ }>>]>;
3685
+ }>, t.PartialC<{
3686
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3687
+ direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3688
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3689
+ type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
4301
3690
  content: t.IntersectionC<[t.TypeC<{
4302
3691
  text: t.StringC;
4303
3692
  }>, t.PartialC<{
@@ -4406,12 +3795,10 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
4406
3795
  }>, t.PartialC<{
4407
3796
  label: t.StringC;
4408
3797
  direction: t.StringC;
4409
- }>]>>>;
4410
- }>>]>>;
3798
+ }>]>>]>>;
3799
+ }>>;
4411
3800
  }>>>;
4412
- }>>]>>;
4413
- }>>, t.ExactC<t.TypeC<{
4414
- __TYPE__: t.LiteralC<"SeparatorContent">;
3801
+ }>>>;
4415
3802
  }>>, t.ExactC<t.TypeC<{
4416
3803
  __TYPE__: t.LiteralC<"RepeatableContent">;
4417
3804
  type: t.LiteralC<"Link">;
@@ -4493,240 +3880,7 @@ export declare const CompositeSliceContent: t.ExactC<t.TypeC<{
4493
3880
  variant: t.StringC;
4494
3881
  }>]>>]>]>;
4495
3882
  }>>]>>;
4496
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
4497
- content: t.ArrayC<t.ExactC<t.TypeC<{
4498
- type: t.LiteralC<"tableRow">;
4499
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
4500
- type: t.LiteralC<"tableHeader">;
4501
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4502
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
4503
- content: t.IntersectionC<[t.TypeC<{
4504
- text: t.StringC;
4505
- }>, t.PartialC<{
4506
- spans: t.Type<({
4507
- data: ({
4508
- __TYPE__: "ImageLink";
4509
- } & {
4510
- kind: "image";
4511
- id: string;
4512
- url: string;
4513
- height: string;
4514
- width: string;
4515
- size: string;
4516
- name: string;
4517
- } & {
4518
- date?: string | null | undefined;
4519
- }) | ({
4520
- __TYPE__: "FileLink";
4521
- } & {
4522
- kind: "file";
4523
- id: string;
4524
- url: string;
4525
- name: string;
4526
- size: string;
4527
- } & {
4528
- date?: string | null | undefined;
4529
- }) | ({
4530
- __TYPE__: "DocumentLink";
4531
- } & {
4532
- id: string;
4533
- }) | ({
4534
- __TYPE__: "ExternalLink";
4535
- } & {
4536
- url: string;
4537
- } & {
4538
- kind?: "web";
4539
- target?: string | null | undefined;
4540
- preview?: {
4541
- title?: string;
4542
- } | null | undefined;
4543
- });
4544
- start: number;
4545
- end: number;
4546
- type: "hyperlink";
4547
- } | {
4548
- data: string;
4549
- start: number;
4550
- end: number;
4551
- type: "label";
4552
- } | {
4553
- start: number;
4554
- end: number;
4555
- type: "strong" | "em" | "list-item";
4556
- })[], ({
4557
- data: ({
4558
- __TYPE__: "ImageLink";
4559
- } & {
4560
- kind: "image";
4561
- id: string;
4562
- url: string;
4563
- height: string;
4564
- width: string;
4565
- size: string;
4566
- name: string;
4567
- } & {
4568
- date?: string | null | undefined;
4569
- }) | ({
4570
- __TYPE__: "FileLink";
4571
- } & {
4572
- kind: "file";
4573
- id: string;
4574
- url: string;
4575
- name: string;
4576
- size: string;
4577
- } & {
4578
- date?: string | null | undefined;
4579
- }) | ({
4580
- __TYPE__: "DocumentLink";
4581
- } & {
4582
- id: string;
4583
- }) | ({
4584
- __TYPE__: "ExternalLink";
4585
- } & {
4586
- url: string;
4587
- } & {
4588
- kind?: "web";
4589
- target?: string | null | undefined;
4590
- preview?: {
4591
- title?: string;
4592
- } | null | undefined;
4593
- });
4594
- start: number;
4595
- end: number;
4596
- type: "hyperlink";
4597
- } | {
4598
- data: string;
4599
- start: number;
4600
- end: number;
4601
- type: "label";
4602
- } | {
4603
- start: number;
4604
- end: number;
4605
- type: "strong" | "em" | "list-item";
4606
- })[], unknown>;
4607
- }>]>;
4608
- }>, t.PartialC<{
4609
- label: t.StringC;
4610
- direction: t.StringC;
4611
- }>]>>>;
4612
- }>>, t.ExactC<t.TypeC<{
4613
- type: t.LiteralC<"tableCell">;
4614
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
4615
- type: t.Type<"image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table", unknown>;
4616
- content: t.IntersectionC<[t.TypeC<{
4617
- text: t.StringC;
4618
- }>, t.PartialC<{
4619
- spans: t.Type<({
4620
- data: ({
4621
- __TYPE__: "ImageLink";
4622
- } & {
4623
- kind: "image";
4624
- id: string;
4625
- url: string;
4626
- height: string;
4627
- width: string;
4628
- size: string;
4629
- name: string;
4630
- } & {
4631
- date?: string | null | undefined;
4632
- }) | ({
4633
- __TYPE__: "FileLink";
4634
- } & {
4635
- kind: "file";
4636
- id: string;
4637
- url: string;
4638
- name: string;
4639
- size: string;
4640
- } & {
4641
- date?: string | null | undefined;
4642
- }) | ({
4643
- __TYPE__: "DocumentLink";
4644
- } & {
4645
- id: string;
4646
- }) | ({
4647
- __TYPE__: "ExternalLink";
4648
- } & {
4649
- url: string;
4650
- } & {
4651
- kind?: "web";
4652
- target?: string | null | undefined;
4653
- preview?: {
4654
- title?: string;
4655
- } | null | undefined;
4656
- });
4657
- start: number;
4658
- end: number;
4659
- type: "hyperlink";
4660
- } | {
4661
- data: string;
4662
- start: number;
4663
- end: number;
4664
- type: "label";
4665
- } | {
4666
- start: number;
4667
- end: number;
4668
- type: "strong" | "em" | "list-item";
4669
- })[], ({
4670
- data: ({
4671
- __TYPE__: "ImageLink";
4672
- } & {
4673
- kind: "image";
4674
- id: string;
4675
- url: string;
4676
- height: string;
4677
- width: string;
4678
- size: string;
4679
- name: string;
4680
- } & {
4681
- date?: string | null | undefined;
4682
- }) | ({
4683
- __TYPE__: "FileLink";
4684
- } & {
4685
- kind: "file";
4686
- id: string;
4687
- url: string;
4688
- name: string;
4689
- size: string;
4690
- } & {
4691
- date?: string | null | undefined;
4692
- }) | ({
4693
- __TYPE__: "DocumentLink";
4694
- } & {
4695
- id: string;
4696
- }) | ({
4697
- __TYPE__: "ExternalLink";
4698
- } & {
4699
- url: string;
4700
- } & {
4701
- kind?: "web";
4702
- target?: string | null | undefined;
4703
- preview?: {
4704
- title?: string;
4705
- } | null | undefined;
4706
- });
4707
- start: number;
4708
- end: number;
4709
- type: "hyperlink";
4710
- } | {
4711
- data: string;
4712
- start: number;
4713
- end: number;
4714
- type: "label";
4715
- } | {
4716
- start: number;
4717
- end: number;
4718
- type: "strong" | "em" | "list-item";
4719
- })[], unknown>;
4720
- }>]>;
4721
- }>, t.PartialC<{
4722
- label: t.StringC;
4723
- direction: t.StringC;
4724
- }>]>>>;
4725
- }>>]>>;
4726
- }>>>;
4727
- }>>, t.ExactC<t.TypeC<{
4728
- __TYPE__: t.LiteralC<"TableContent">;
4729
- }>>]>]>, t.Type<import("../../GroupContent").GroupContent, import("../../GroupContent").GroupContent, unknown>]>]>>;
3883
+ }>>]>, t.Type<import("../../GroupContent").GroupContent, import("../../GroupContent").GroupContent, unknown>]>]>>;
4730
3884
  }>>>;
4731
3885
  }>>;
4732
3886
  export declare type CompositeSliceContent = t.TypeOf<typeof CompositeSliceContent>;