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