@prismicio/types-internal 3.4.0-alpha.13 → 3.4.0-alpha.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/lib/content/Document.d.ts +498 -3366
  2. package/lib/content/fields/GroupContent.d.ts +1 -1
  3. package/lib/content/fields/GroupContent.js +2 -1
  4. package/lib/content/fields/WidgetContent.d.ts +514 -3382
  5. package/lib/content/fields/nestable/NestableContent.d.ts +68 -546
  6. package/lib/content/fields/nestable/NestableContent.js +7 -8
  7. package/lib/content/fields/nestable/RepeatableContent.d.ts +2 -2
  8. package/lib/content/fields/nestable/RepeatableContent.js +5 -2
  9. package/lib/content/fields/nestable/RichTextContent/index.d.ts +9 -641
  10. package/lib/content/fields/nestable/RichTextContent/index.js +4 -8
  11. package/lib/content/fields/nestable/TableContent.d.ts +637 -834
  12. package/lib/content/fields/nestable/TableContent.js +10 -7
  13. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +190 -1146
  14. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +26 -252
  15. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +190 -1146
  16. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +68 -546
  17. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +68 -546
  18. package/lib/content/fields/slices/Slice/index.d.ts +269 -2029
  19. package/lib/content/fields/slices/SliceItem.d.ts +463 -2223
  20. package/lib/content/fields/slices/SlicesContent.d.ts +394 -2784
  21. package/lib/customtypes/widgets/Group.d.ts +36 -36
  22. package/lib/customtypes/widgets/Widget.d.ts +54 -54
  23. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +6 -6
  24. package/lib/customtypes/widgets/nestable/NestableWidget.js +1 -1
  25. package/lib/customtypes/widgets/nestable/RichText.d.ts +0 -2
  26. package/lib/customtypes/widgets/nestable/RichText.js +0 -2
  27. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +12 -12
  28. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +12 -12
  29. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +48 -48
  30. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +18 -18
  31. package/lib/customtypes/widgets/slices/Slices.d.ts +72 -72
  32. package/package.json +1 -1
  33. package/src/content/fields/GroupContent.ts +2 -1
  34. package/src/content/fields/nestable/NestableContent.ts +13 -9
  35. package/src/content/fields/nestable/RepeatableContent.ts +6 -2
  36. package/src/content/fields/nestable/RichTextContent/Blocks.ts +238 -0
  37. package/src/content/fields/nestable/RichTextContent/index.ts +3 -7
  38. package/src/content/fields/nestable/TableContent.ts +10 -7
  39. package/src/customtypes/widgets/nestable/NestableWidget.ts +1 -1
  40. package/src/customtypes/widgets/nestable/RichText.ts +0 -2
  41. package/src/content/fields/nestable/RichTextContent/Block.ts +0 -35
  42. package/src/content/fields/nestable/RichTextContent/EmbedBlock.ts +0 -81
  43. package/src/content/fields/nestable/RichTextContent/ImageBlock.ts +0 -42
  44. package/src/content/fields/nestable/RichTextContent/TableBlock.ts +0 -36
  45. package/src/content/fields/nestable/RichTextContent/TextBlock.ts +0 -108
@@ -320,7 +320,7 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
320
320
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
321
321
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
322
322
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
323
- 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>;
323
+ 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>;
324
324
  content: t.IntersectionC<[t.TypeC<{
325
325
  text: t.StringC;
326
326
  }>, t.PartialC<{
@@ -429,14 +429,18 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
429
429
  }>, t.PartialC<{
430
430
  label: t.StringC;
431
431
  direction: t.StringC;
432
- }>]>>, t.ExactC<t.TypeC<{
433
- type: t.LiteralC<"table">;
434
- content: t.ArrayC<t.ExactC<t.TypeC<{
435
- type: t.LiteralC<"tableRow">;
436
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
437
- type: t.LiteralC<"tableHeader">;
438
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
439
- 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>;
432
+ }>]>>]>>;
433
+ }>>, t.ExactC<t.TypeC<{
434
+ __TYPE__: t.LiteralC<"SeparatorContent">;
435
+ }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
436
+ content: t.ArrayC<t.ExactC<t.TypeC<{
437
+ type: t.LiteralC<"tableRow">;
438
+ content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
439
+ type: t.LiteralC<"tableHeader">;
440
+ content: t.ExactC<t.TypeC<{
441
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
442
+ value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
443
+ 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>;
440
444
  content: t.IntersectionC<[t.TypeC<{
441
445
  text: t.StringC;
442
446
  }>, t.PartialC<{
@@ -546,10 +550,13 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
546
550
  label: t.StringC;
547
551
  direction: t.StringC;
548
552
  }>]>>>;
549
- }>>, t.ExactC<t.TypeC<{
550
- type: t.LiteralC<"tableCell">;
551
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
552
- 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>;
553
+ }>>;
554
+ }>>, t.ExactC<t.TypeC<{
555
+ type: t.LiteralC<"tableCell">;
556
+ content: t.ExactC<t.TypeC<{
557
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
558
+ value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
559
+ 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>;
553
560
  content: t.IntersectionC<[t.TypeC<{
554
561
  text: t.StringC;
555
562
  }>, t.PartialC<{
@@ -659,12 +666,12 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
659
666
  label: t.StringC;
660
667
  direction: t.StringC;
661
668
  }>]>>>;
662
- }>>]>>;
663
- }>>>;
664
- }>>]>>;
665
- }>>, t.ExactC<t.TypeC<{
666
- __TYPE__: t.LiteralC<"SeparatorContent">;
669
+ }>>;
670
+ }>>]>>;
671
+ }>>>;
667
672
  }>>, t.ExactC<t.TypeC<{
673
+ __TYPE__: t.LiteralC<"TableContent">;
674
+ }>>]>, t.ExactC<t.TypeC<{
668
675
  __TYPE__: t.LiteralC<"RepeatableContent">;
669
676
  type: t.LiteralC<"Link">;
670
677
  value: t.ArrayC<t.IntersectionC<[t.ExactC<t.TypeC<{
@@ -745,240 +752,7 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
745
752
  variant: t.StringC;
746
753
  }>]>>]>]>;
747
754
  }>>]>>;
748
- }>>, t.IntersectionC<[t.ExactC<t.TypeC<{
749
- content: t.ArrayC<t.ExactC<t.TypeC<{
750
- type: t.LiteralC<"tableRow">;
751
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
752
- type: t.LiteralC<"tableHeader">;
753
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
754
- 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>;
755
- content: t.IntersectionC<[t.TypeC<{
756
- text: t.StringC;
757
- }>, t.PartialC<{
758
- spans: t.Type<({
759
- data: ({
760
- __TYPE__: "ImageLink";
761
- } & {
762
- kind: "image";
763
- id: string;
764
- url: string;
765
- height: string;
766
- width: string;
767
- size: string;
768
- name: string;
769
- } & {
770
- date?: string | null | undefined;
771
- }) | ({
772
- __TYPE__: "FileLink";
773
- } & {
774
- kind: "file";
775
- id: string;
776
- url: string;
777
- name: string;
778
- size: string;
779
- } & {
780
- date?: string | null | undefined;
781
- }) | ({
782
- __TYPE__: "DocumentLink";
783
- } & {
784
- id: string;
785
- }) | ({
786
- __TYPE__: "ExternalLink";
787
- } & {
788
- url: string;
789
- } & {
790
- kind?: "web";
791
- target?: string | null | undefined;
792
- preview?: {
793
- title?: string;
794
- } | null | undefined;
795
- });
796
- start: number;
797
- end: number;
798
- type: "hyperlink";
799
- } | {
800
- data: string;
801
- start: number;
802
- end: number;
803
- type: "label";
804
- } | {
805
- start: number;
806
- end: number;
807
- type: "strong" | "em" | "list-item";
808
- })[], ({
809
- data: ({
810
- __TYPE__: "ImageLink";
811
- } & {
812
- kind: "image";
813
- id: string;
814
- url: string;
815
- height: string;
816
- width: string;
817
- size: string;
818
- name: string;
819
- } & {
820
- date?: string | null | undefined;
821
- }) | ({
822
- __TYPE__: "FileLink";
823
- } & {
824
- kind: "file";
825
- id: string;
826
- url: string;
827
- name: string;
828
- size: string;
829
- } & {
830
- date?: string | null | undefined;
831
- }) | ({
832
- __TYPE__: "DocumentLink";
833
- } & {
834
- id: string;
835
- }) | ({
836
- __TYPE__: "ExternalLink";
837
- } & {
838
- url: string;
839
- } & {
840
- kind?: "web";
841
- target?: string | null | undefined;
842
- preview?: {
843
- title?: string;
844
- } | null | undefined;
845
- });
846
- start: number;
847
- end: number;
848
- type: "hyperlink";
849
- } | {
850
- data: string;
851
- start: number;
852
- end: number;
853
- type: "label";
854
- } | {
855
- start: number;
856
- end: number;
857
- type: "strong" | "em" | "list-item";
858
- })[], unknown>;
859
- }>]>;
860
- }>, t.PartialC<{
861
- label: t.StringC;
862
- direction: t.StringC;
863
- }>]>>>;
864
- }>>, t.ExactC<t.TypeC<{
865
- type: t.LiteralC<"tableCell">;
866
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
867
- 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>;
868
- content: t.IntersectionC<[t.TypeC<{
869
- text: t.StringC;
870
- }>, t.PartialC<{
871
- spans: t.Type<({
872
- data: ({
873
- __TYPE__: "ImageLink";
874
- } & {
875
- kind: "image";
876
- id: string;
877
- url: string;
878
- height: string;
879
- width: string;
880
- size: string;
881
- name: string;
882
- } & {
883
- date?: string | null | undefined;
884
- }) | ({
885
- __TYPE__: "FileLink";
886
- } & {
887
- kind: "file";
888
- id: string;
889
- url: string;
890
- name: string;
891
- size: string;
892
- } & {
893
- date?: string | null | undefined;
894
- }) | ({
895
- __TYPE__: "DocumentLink";
896
- } & {
897
- id: string;
898
- }) | ({
899
- __TYPE__: "ExternalLink";
900
- } & {
901
- url: string;
902
- } & {
903
- kind?: "web";
904
- target?: string | null | undefined;
905
- preview?: {
906
- title?: string;
907
- } | null | undefined;
908
- });
909
- start: number;
910
- end: number;
911
- type: "hyperlink";
912
- } | {
913
- data: string;
914
- start: number;
915
- end: number;
916
- type: "label";
917
- } | {
918
- start: number;
919
- end: number;
920
- type: "strong" | "em" | "list-item";
921
- })[], ({
922
- data: ({
923
- __TYPE__: "ImageLink";
924
- } & {
925
- kind: "image";
926
- id: string;
927
- url: string;
928
- height: string;
929
- width: string;
930
- size: string;
931
- name: string;
932
- } & {
933
- date?: string | null | undefined;
934
- }) | ({
935
- __TYPE__: "FileLink";
936
- } & {
937
- kind: "file";
938
- id: string;
939
- url: string;
940
- name: string;
941
- size: string;
942
- } & {
943
- date?: string | null | undefined;
944
- }) | ({
945
- __TYPE__: "DocumentLink";
946
- } & {
947
- id: string;
948
- }) | ({
949
- __TYPE__: "ExternalLink";
950
- } & {
951
- url: string;
952
- } & {
953
- kind?: "web";
954
- target?: string | null | undefined;
955
- preview?: {
956
- title?: string;
957
- } | null | undefined;
958
- });
959
- start: number;
960
- end: number;
961
- type: "hyperlink";
962
- } | {
963
- data: string;
964
- start: number;
965
- end: number;
966
- type: "label";
967
- } | {
968
- start: number;
969
- end: number;
970
- type: "strong" | "em" | "list-item";
971
- })[], unknown>;
972
- }>]>;
973
- }>, t.PartialC<{
974
- label: t.StringC;
975
- direction: t.StringC;
976
- }>]>>>;
977
- }>>]>>;
978
- }>>>;
979
- }>>, t.ExactC<t.TypeC<{
980
- __TYPE__: t.LiteralC<"TableContent">;
981
- }>>]>]>, t.Type<GroupContent, GroupContent, unknown>]>;
755
+ }>>]>, t.Type<GroupContent, GroupContent, unknown>]>;
982
756
  export declare type SimpleSliceContent = t.TypeOf<typeof SimpleSliceContent>;
983
757
  export declare const isSimpleSliceContent: (u: unknown) => u is {
984
758
  type: string;
@@ -1339,7 +1113,7 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
1339
1113
  label?: string | null | undefined;
1340
1114
  direction?: string | null | undefined;
1341
1115
  }) | ({
1342
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1116
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1343
1117
  content: {
1344
1118
  text: string;
1345
1119
  } & {
@@ -1398,14 +1172,18 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
1398
1172
  } & {
1399
1173
  label?: string;
1400
1174
  direction?: string;
1401
- }) | {
1402
- type: "table";
1403
- content: {
1404
- type: "tableRow";
1405
- content: ({
1406
- type: "tableHeader";
1407
- content: ({
1408
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1175
+ }))[];
1176
+ } | {
1177
+ __TYPE__: "SeparatorContent";
1178
+ } | ({
1179
+ content: {
1180
+ type: "tableRow";
1181
+ content: ({
1182
+ type: "tableHeader";
1183
+ content: {
1184
+ __TYPE__: "StructuredTextContent";
1185
+ value: ({
1186
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1409
1187
  content: {
1410
1188
  text: string;
1411
1189
  } & {
@@ -1465,10 +1243,13 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
1465
1243
  label?: string;
1466
1244
  direction?: string;
1467
1245
  })[];
1468
- } | {
1469
- type: "tableCell";
1470
- content: ({
1471
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1246
+ };
1247
+ } | {
1248
+ type: "tableCell";
1249
+ content: {
1250
+ __TYPE__: "StructuredTextContent";
1251
+ value: ({
1252
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1472
1253
  content: {
1473
1254
  text: string;
1474
1255
  } & {
@@ -1528,140 +1309,7 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
1528
1309
  label?: string;
1529
1310
  direction?: string;
1530
1311
  })[];
1531
- })[];
1532
- }[];
1533
- })[];
1534
- } | {
1535
- __TYPE__: "SeparatorContent";
1536
- } | ({
1537
- content: {
1538
- type: "tableRow";
1539
- content: ({
1540
- type: "tableHeader";
1541
- content: ({
1542
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1543
- content: {
1544
- text: string;
1545
- } & {
1546
- spans?: ({
1547
- data: ({
1548
- __TYPE__: "ImageLink";
1549
- } & {
1550
- kind: "image";
1551
- id: string;
1552
- url: string;
1553
- height: string;
1554
- width: string;
1555
- size: string;
1556
- name: string;
1557
- } & {
1558
- date?: string | null | undefined;
1559
- }) | ({
1560
- __TYPE__: "FileLink";
1561
- } & {
1562
- kind: "file";
1563
- id: string;
1564
- url: string;
1565
- name: string;
1566
- size: string;
1567
- } & {
1568
- date?: string | null | undefined;
1569
- }) | ({
1570
- __TYPE__: "DocumentLink";
1571
- } & {
1572
- id: string;
1573
- }) | ({
1574
- __TYPE__: "ExternalLink";
1575
- } & {
1576
- url: string;
1577
- } & {
1578
- kind?: "web";
1579
- target?: string | null | undefined;
1580
- preview?: {
1581
- title?: string;
1582
- } | null | undefined;
1583
- });
1584
- start: number;
1585
- end: number;
1586
- type: "hyperlink";
1587
- } | {
1588
- data: string;
1589
- start: number;
1590
- end: number;
1591
- type: "label";
1592
- } | {
1593
- start: number;
1594
- end: number;
1595
- type: "strong" | "em" | "list-item";
1596
- })[];
1597
- };
1598
- } & {
1599
- label?: string;
1600
- direction?: string;
1601
- })[];
1602
- } | {
1603
- type: "tableCell";
1604
- content: ({
1605
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1606
- content: {
1607
- text: string;
1608
- } & {
1609
- spans?: ({
1610
- data: ({
1611
- __TYPE__: "ImageLink";
1612
- } & {
1613
- kind: "image";
1614
- id: string;
1615
- url: string;
1616
- height: string;
1617
- width: string;
1618
- size: string;
1619
- name: string;
1620
- } & {
1621
- date?: string | null | undefined;
1622
- }) | ({
1623
- __TYPE__: "FileLink";
1624
- } & {
1625
- kind: "file";
1626
- id: string;
1627
- url: string;
1628
- name: string;
1629
- size: string;
1630
- } & {
1631
- date?: string | null | undefined;
1632
- }) | ({
1633
- __TYPE__: "DocumentLink";
1634
- } & {
1635
- id: string;
1636
- }) | ({
1637
- __TYPE__: "ExternalLink";
1638
- } & {
1639
- url: string;
1640
- } & {
1641
- kind?: "web";
1642
- target?: string | null | undefined;
1643
- preview?: {
1644
- title?: string;
1645
- } | null | undefined;
1646
- });
1647
- start: number;
1648
- end: number;
1649
- type: "hyperlink";
1650
- } | {
1651
- data: string;
1652
- start: number;
1653
- end: number;
1654
- type: "label";
1655
- } | {
1656
- start: number;
1657
- end: number;
1658
- type: "strong" | "em" | "list-item";
1659
- })[];
1660
- };
1661
- } & {
1662
- label?: string;
1663
- direction?: string;
1664
- })[];
1312
+ };
1665
1313
  })[];
1666
1314
  }[];
1667
1315
  } & {
@@ -2027,7 +1675,7 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
2027
1675
  label?: string | null | undefined;
2028
1676
  direction?: string | null | undefined;
2029
1677
  }) | ({
2030
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1678
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2031
1679
  content: {
2032
1680
  text: string;
2033
1681
  } & {
@@ -2086,14 +1734,18 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
2086
1734
  } & {
2087
1735
  label?: string;
2088
1736
  direction?: string;
2089
- }) | {
2090
- type: "table";
2091
- content: {
2092
- type: "tableRow";
2093
- content: ({
2094
- type: "tableHeader";
2095
- content: ({
2096
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1737
+ }))[];
1738
+ }> | import("fp-ts/lib/Either").Right<{
1739
+ __TYPE__: "SeparatorContent";
1740
+ }> | import("fp-ts/lib/Either").Right<{
1741
+ content: {
1742
+ type: "tableRow";
1743
+ content: ({
1744
+ type: "tableHeader";
1745
+ content: {
1746
+ __TYPE__: "StructuredTextContent";
1747
+ value: ({
1748
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2097
1749
  content: {
2098
1750
  text: string;
2099
1751
  } & {
@@ -2153,10 +1805,13 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
2153
1805
  label?: string;
2154
1806
  direction?: string;
2155
1807
  })[];
2156
- } | {
2157
- type: "tableCell";
2158
- content: ({
2159
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1808
+ };
1809
+ } | {
1810
+ type: "tableCell";
1811
+ content: {
1812
+ __TYPE__: "StructuredTextContent";
1813
+ value: ({
1814
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2160
1815
  content: {
2161
1816
  text: string;
2162
1817
  } & {
@@ -2216,140 +1871,7 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
2216
1871
  label?: string;
2217
1872
  direction?: string;
2218
1873
  })[];
2219
- })[];
2220
- }[];
2221
- })[];
2222
- }> | import("fp-ts/lib/Either").Right<{
2223
- __TYPE__: "SeparatorContent";
2224
- }> | import("fp-ts/lib/Either").Right<{
2225
- content: {
2226
- type: "tableRow";
2227
- content: ({
2228
- type: "tableHeader";
2229
- content: ({
2230
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2231
- content: {
2232
- text: string;
2233
- } & {
2234
- spans?: ({
2235
- data: ({
2236
- __TYPE__: "ImageLink";
2237
- } & {
2238
- kind: "image";
2239
- id: string;
2240
- url: string;
2241
- height: string;
2242
- width: string;
2243
- size: string;
2244
- name: string;
2245
- } & {
2246
- date?: string | null | undefined;
2247
- }) | ({
2248
- __TYPE__: "FileLink";
2249
- } & {
2250
- kind: "file";
2251
- id: string;
2252
- url: string;
2253
- name: string;
2254
- size: string;
2255
- } & {
2256
- date?: string | null | undefined;
2257
- }) | ({
2258
- __TYPE__: "DocumentLink";
2259
- } & {
2260
- id: string;
2261
- }) | ({
2262
- __TYPE__: "ExternalLink";
2263
- } & {
2264
- url: string;
2265
- } & {
2266
- kind?: "web";
2267
- target?: string | null | undefined;
2268
- preview?: {
2269
- title?: string;
2270
- } | null | undefined;
2271
- });
2272
- start: number;
2273
- end: number;
2274
- type: "hyperlink";
2275
- } | {
2276
- data: string;
2277
- start: number;
2278
- end: number;
2279
- type: "label";
2280
- } | {
2281
- start: number;
2282
- end: number;
2283
- type: "strong" | "em" | "list-item";
2284
- })[];
2285
- };
2286
- } & {
2287
- label?: string;
2288
- direction?: string;
2289
- })[];
2290
- } | {
2291
- type: "tableCell";
2292
- content: ({
2293
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
2294
- content: {
2295
- text: string;
2296
- } & {
2297
- spans?: ({
2298
- data: ({
2299
- __TYPE__: "ImageLink";
2300
- } & {
2301
- kind: "image";
2302
- id: string;
2303
- url: string;
2304
- height: string;
2305
- width: string;
2306
- size: string;
2307
- name: string;
2308
- } & {
2309
- date?: string | null | undefined;
2310
- }) | ({
2311
- __TYPE__: "FileLink";
2312
- } & {
2313
- kind: "file";
2314
- id: string;
2315
- url: string;
2316
- name: string;
2317
- size: string;
2318
- } & {
2319
- date?: string | null | undefined;
2320
- }) | ({
2321
- __TYPE__: "DocumentLink";
2322
- } & {
2323
- id: string;
2324
- }) | ({
2325
- __TYPE__: "ExternalLink";
2326
- } & {
2327
- url: string;
2328
- } & {
2329
- kind?: "web";
2330
- target?: string | null | undefined;
2331
- preview?: {
2332
- title?: string;
2333
- } | null | undefined;
2334
- });
2335
- start: number;
2336
- end: number;
2337
- type: "hyperlink";
2338
- } | {
2339
- data: string;
2340
- start: number;
2341
- end: number;
2342
- type: "label";
2343
- } | {
2344
- start: number;
2345
- end: number;
2346
- type: "strong" | "em" | "list-item";
2347
- })[];
2348
- };
2349
- } & {
2350
- label?: string;
2351
- direction?: string;
2352
- })[];
1874
+ };
2353
1875
  })[];
2354
1876
  }[];
2355
1877
  } & {