@prismicio/types-internal 3.4.0-alpha.8 → 3.5.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 (70) hide show
  1. package/lib/content/Document.d.ts +433 -325
  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 +12 -1
  5. package/lib/content/fields/RepeatableContent.d.ts +123 -51
  6. package/lib/content/fields/RepeatableContent.js +14 -10
  7. package/lib/content/fields/WidgetContent.d.ts +432 -324
  8. package/lib/content/fields/nestable/NestableContent.d.ts +72 -54
  9. package/lib/content/fields/nestable/NestableContent.js +7 -0
  10. package/lib/content/fields/nestable/RepeatableContent.d.ts +2 -2
  11. package/lib/content/fields/nestable/RepeatableContent.js +5 -2
  12. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +112 -0
  13. package/lib/content/fields/nestable/RichTextContent/Blocks.js +5 -5
  14. package/lib/content/fields/nestable/RichTextContent/index.d.ts +9 -641
  15. package/lib/content/fields/nestable/RichTextContent/index.js +4 -8
  16. package/lib/content/fields/nestable/TableContent.d.ts +536 -618
  17. package/lib/content/fields/nestable/TableContent.js +101 -15
  18. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +144 -108
  19. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +24 -18
  20. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +144 -108
  21. package/lib/content/fields/slices/Slice/SharedSliceContent.js +12 -0
  22. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +72 -54
  23. package/lib/content/fields/slices/Slice/SlicePrimaryContent.d.ts +72 -54
  24. package/lib/content/fields/slices/Slice/index.d.ts +240 -180
  25. package/lib/content/fields/slices/SliceItem.d.ts +240 -180
  26. package/lib/content/fields/slices/SlicesContent.d.ts +360 -270
  27. package/lib/customtypes/CustomType.d.ts +108 -0
  28. package/lib/customtypes/Section.d.ts +108 -0
  29. package/lib/customtypes/diff/SharedSlice.d.ts +48 -0
  30. package/lib/customtypes/diff/Variation.d.ts +48 -0
  31. package/lib/customtypes/widgets/Group.d.ts +36 -0
  32. package/lib/customtypes/widgets/Widget.d.ts +126 -0
  33. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +6 -0
  34. package/lib/customtypes/widgets/nestable/NestableWidget.js +2 -0
  35. package/lib/customtypes/widgets/nestable/RichText.d.ts +0 -2
  36. package/lib/customtypes/widgets/nestable/RichText.js +0 -2
  37. package/lib/customtypes/widgets/nestable/Table.d.ts +6 -0
  38. package/lib/customtypes/widgets/nestable/Table.js +13 -1
  39. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +12 -0
  40. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +12 -0
  41. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +48 -0
  42. package/lib/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +36 -0
  43. package/lib/customtypes/widgets/slices/Slices.d.ts +168 -0
  44. package/package.json +1 -1
  45. package/src/content/Document.ts +9 -0
  46. package/src/content/fields/GroupContent.ts +15 -1
  47. package/src/content/fields/nestable/NestableContent.ts +12 -0
  48. package/src/content/fields/nestable/RepeatableContent.ts +6 -2
  49. package/src/content/fields/nestable/RichTextContent/Blocks.ts +238 -0
  50. package/src/content/fields/nestable/RichTextContent/index.ts +3 -7
  51. package/src/content/fields/nestable/TableContent.ts +131 -14
  52. package/src/content/fields/slices/Slice/SharedSliceContent.ts +13 -0
  53. package/src/customtypes/widgets/nestable/NestableWidget.ts +2 -0
  54. package/src/customtypes/widgets/nestable/RichText.ts +0 -2
  55. package/src/customtypes/widgets/nestable/Table.ts +13 -0
  56. package/lib/content/fields/nestable/RichTextContent/Block.d.ts +0 -1036
  57. package/lib/content/fields/nestable/RichTextContent/Block.js +0 -31
  58. package/lib/content/fields/nestable/RichTextContent/EmbedBlock.d.ts +0 -60
  59. package/lib/content/fields/nestable/RichTextContent/EmbedBlock.js +0 -53
  60. package/lib/content/fields/nestable/RichTextContent/ImageBlock.d.ts +0 -203
  61. package/lib/content/fields/nestable/RichTextContent/ImageBlock.js +0 -36
  62. package/lib/content/fields/nestable/RichTextContent/TableBlock.d.ts +0 -500
  63. package/lib/content/fields/nestable/RichTextContent/TableBlock.js +0 -21
  64. package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +0 -590
  65. package/lib/content/fields/nestable/RichTextContent/TextBlock.js +0 -80
  66. package/src/content/fields/nestable/RichTextContent/Block.ts +0 -35
  67. package/src/content/fields/nestable/RichTextContent/EmbedBlock.ts +0 -81
  68. package/src/content/fields/nestable/RichTextContent/ImageBlock.ts +0 -42
  69. package/src/content/fields/nestable/RichTextContent/TableBlock.ts +0 -36
  70. 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,19 @@ 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.ExactC<t.TypeC<{
436
+ __TYPE__: t.LiteralC<"TableContent">;
437
+ content: t.ArrayC<t.ExactC<t.TypeC<{
438
+ type: t.LiteralC<"tableRow">;
439
+ content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
440
+ type: t.LiteralC<"tableHeader">;
441
+ content: t.ExactC<t.TypeC<{
442
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
443
+ value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
444
+ 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
445
  content: t.IntersectionC<[t.TypeC<{
441
446
  text: t.StringC;
442
447
  }>, t.PartialC<{
@@ -546,10 +551,13 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
546
551
  label: t.StringC;
547
552
  direction: t.StringC;
548
553
  }>]>>>;
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>;
554
+ }>>;
555
+ }>>, t.ExactC<t.TypeC<{
556
+ type: t.LiteralC<"tableCell">;
557
+ content: t.ExactC<t.TypeC<{
558
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
559
+ value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
560
+ 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
561
  content: t.IntersectionC<[t.TypeC<{
554
562
  text: t.StringC;
555
563
  }>, t.PartialC<{
@@ -659,11 +667,9 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
659
667
  label: t.StringC;
660
668
  direction: t.StringC;
661
669
  }>]>>>;
662
- }>>]>>;
663
- }>>>;
664
- }>>]>>;
665
- }>>, t.ExactC<t.TypeC<{
666
- __TYPE__: t.LiteralC<"SeparatorContent">;
670
+ }>>;
671
+ }>>]>>;
672
+ }>>>;
667
673
  }>>, t.ExactC<t.TypeC<{
668
674
  __TYPE__: t.LiteralC<"RepeatableContent">;
669
675
  type: t.LiteralC<"Link">;
@@ -1106,7 +1112,7 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
1106
1112
  label?: string | null | undefined;
1107
1113
  direction?: string | null | undefined;
1108
1114
  }) | ({
1109
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1115
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1110
1116
  content: {
1111
1117
  text: string;
1112
1118
  } & {
@@ -1165,14 +1171,19 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
1165
1171
  } & {
1166
1172
  label?: string;
1167
1173
  direction?: string;
1168
- }) | {
1169
- type: "table";
1170
- content: {
1171
- type: "tableRow";
1172
- content: ({
1173
- type: "tableHeader";
1174
- content: ({
1175
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1174
+ }))[];
1175
+ } | {
1176
+ __TYPE__: "SeparatorContent";
1177
+ } | {
1178
+ __TYPE__: "TableContent";
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";
1176
1187
  content: {
1177
1188
  text: string;
1178
1189
  } & {
@@ -1232,10 +1243,13 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
1232
1243
  label?: string;
1233
1244
  direction?: string;
1234
1245
  })[];
1235
- } | {
1236
- type: "tableCell";
1237
- content: ({
1238
- 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";
1239
1253
  content: {
1240
1254
  text: string;
1241
1255
  } & {
@@ -1295,11 +1309,9 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
1295
1309
  label?: string;
1296
1310
  direction?: string;
1297
1311
  })[];
1298
- })[];
1299
- }[];
1300
- })[];
1301
- } | {
1302
- __TYPE__: "SeparatorContent";
1312
+ };
1313
+ })[];
1314
+ }[];
1303
1315
  };
1304
1316
  export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
1305
1317
  decode: ((value: unknown) => import("fp-ts/lib/Either").Left<t.Errors> | import("fp-ts/lib/Either").Right<{
@@ -1661,7 +1673,7 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
1661
1673
  label?: string | null | undefined;
1662
1674
  direction?: string | null | undefined;
1663
1675
  }) | ({
1664
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1676
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1665
1677
  content: {
1666
1678
  text: string;
1667
1679
  } & {
@@ -1720,14 +1732,19 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
1720
1732
  } & {
1721
1733
  label?: string;
1722
1734
  direction?: string;
1723
- }) | {
1724
- type: "table";
1725
- content: {
1726
- type: "tableRow";
1727
- content: ({
1728
- type: "tableHeader";
1729
- content: ({
1730
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1735
+ }))[];
1736
+ }> | import("fp-ts/lib/Either").Right<{
1737
+ __TYPE__: "SeparatorContent";
1738
+ }> | import("fp-ts/lib/Either").Right<{
1739
+ __TYPE__: "TableContent";
1740
+ content: {
1741
+ type: "tableRow";
1742
+ content: ({
1743
+ type: "tableHeader";
1744
+ content: {
1745
+ __TYPE__: "StructuredTextContent";
1746
+ value: ({
1747
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1731
1748
  content: {
1732
1749
  text: string;
1733
1750
  } & {
@@ -1787,10 +1804,13 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
1787
1804
  label?: string;
1788
1805
  direction?: string;
1789
1806
  })[];
1790
- } | {
1791
- type: "tableCell";
1792
- content: ({
1793
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1807
+ };
1808
+ } | {
1809
+ type: "tableCell";
1810
+ content: {
1811
+ __TYPE__: "StructuredTextContent";
1812
+ value: ({
1813
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1794
1814
  content: {
1795
1815
  text: string;
1796
1816
  } & {
@@ -1850,11 +1870,9 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
1850
1870
  label?: string;
1851
1871
  direction?: string;
1852
1872
  })[];
1853
- })[];
1854
- }[];
1855
- })[];
1856
- }> | import("fp-ts/lib/Either").Right<{
1857
- __TYPE__: "SeparatorContent";
1873
+ };
1874
+ })[];
1875
+ }[];
1858
1876
  }> | undefined) | ((i: unknown) => t.Validation<GroupContent>);
1859
1877
  encode: (value: SimpleSliceContent) => import("../../../LegacyContentCtx").WithTypes<unknown> | undefined;
1860
1878
  };
@@ -317,7 +317,7 @@ export declare const SlicePrimaryContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
317
317
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
318
318
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
319
319
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
320
- 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>;
320
+ 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>;
321
321
  content: t.IntersectionC<[t.TypeC<{
322
322
  text: t.StringC;
323
323
  }>, t.PartialC<{
@@ -426,14 +426,19 @@ export declare const SlicePrimaryContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
426
426
  }>, t.PartialC<{
427
427
  label: t.StringC;
428
428
  direction: t.StringC;
429
- }>]>>, t.ExactC<t.TypeC<{
430
- type: t.LiteralC<"table">;
431
- content: t.ArrayC<t.ExactC<t.TypeC<{
432
- type: t.LiteralC<"tableRow">;
433
- content: t.ArrayC<t.UnionC<[t.ExactC<t.TypeC<{
434
- type: t.LiteralC<"tableHeader">;
435
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
436
- 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>;
429
+ }>]>>]>>;
430
+ }>>, t.ExactC<t.TypeC<{
431
+ __TYPE__: t.LiteralC<"SeparatorContent">;
432
+ }>>, t.ExactC<t.TypeC<{
433
+ __TYPE__: t.LiteralC<"TableContent">;
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.ExactC<t.TypeC<{
439
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
440
+ value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
441
+ 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>;
437
442
  content: t.IntersectionC<[t.TypeC<{
438
443
  text: t.StringC;
439
444
  }>, t.PartialC<{
@@ -543,10 +548,13 @@ export declare const SlicePrimaryContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
543
548
  label: t.StringC;
544
549
  direction: t.StringC;
545
550
  }>]>>>;
546
- }>>, t.ExactC<t.TypeC<{
547
- type: t.LiteralC<"tableCell">;
548
- content: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
549
- 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>;
551
+ }>>;
552
+ }>>, t.ExactC<t.TypeC<{
553
+ type: t.LiteralC<"tableCell">;
554
+ content: t.ExactC<t.TypeC<{
555
+ __TYPE__: t.LiteralC<"StructuredTextContent">;
556
+ value: t.ArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
557
+ 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>;
550
558
  content: t.IntersectionC<[t.TypeC<{
551
559
  text: t.StringC;
552
560
  }>, t.PartialC<{
@@ -656,11 +664,9 @@ export declare const SlicePrimaryContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
656
664
  label: t.StringC;
657
665
  direction: t.StringC;
658
666
  }>]>>>;
659
- }>>]>>;
660
- }>>>;
661
- }>>]>>;
662
- }>>, t.ExactC<t.TypeC<{
663
- __TYPE__: t.LiteralC<"SeparatorContent">;
667
+ }>>;
668
+ }>>]>>;
669
+ }>>>;
664
670
  }>>, t.ExactC<t.TypeC<{
665
671
  __TYPE__: t.LiteralC<"RepeatableContent">;
666
672
  type: t.LiteralC<"Link">;
@@ -1105,7 +1111,7 @@ export declare const SlicePrimaryLegacy: (ctx: LegacyContentCtx) => {
1105
1111
  label?: string | null | undefined;
1106
1112
  direction?: string | null | undefined;
1107
1113
  }) | ({
1108
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1114
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1109
1115
  content: {
1110
1116
  text: string;
1111
1117
  } & {
@@ -1164,14 +1170,19 @@ export declare const SlicePrimaryLegacy: (ctx: LegacyContentCtx) => {
1164
1170
  } & {
1165
1171
  label?: string;
1166
1172
  direction?: string;
1167
- }) | {
1168
- type: "table";
1169
- content: {
1170
- type: "tableRow";
1171
- content: ({
1172
- type: "tableHeader";
1173
- content: ({
1174
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1173
+ }))[];
1174
+ }> | import("fp-ts/lib/Either").Right<{
1175
+ __TYPE__: "SeparatorContent";
1176
+ }> | import("fp-ts/lib/Either").Right<{
1177
+ __TYPE__: "TableContent";
1178
+ content: {
1179
+ type: "tableRow";
1180
+ content: ({
1181
+ type: "tableHeader";
1182
+ content: {
1183
+ __TYPE__: "StructuredTextContent";
1184
+ value: ({
1185
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1175
1186
  content: {
1176
1187
  text: string;
1177
1188
  } & {
@@ -1231,10 +1242,13 @@ export declare const SlicePrimaryLegacy: (ctx: LegacyContentCtx) => {
1231
1242
  label?: string;
1232
1243
  direction?: string;
1233
1244
  })[];
1234
- } | {
1235
- type: "tableCell";
1236
- content: ({
1237
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1245
+ };
1246
+ } | {
1247
+ type: "tableCell";
1248
+ content: {
1249
+ __TYPE__: "StructuredTextContent";
1250
+ value: ({
1251
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1238
1252
  content: {
1239
1253
  text: string;
1240
1254
  } & {
@@ -1294,11 +1308,9 @@ export declare const SlicePrimaryLegacy: (ctx: LegacyContentCtx) => {
1294
1308
  label?: string;
1295
1309
  direction?: string;
1296
1310
  })[];
1297
- })[];
1298
- }[];
1299
- })[];
1300
- }> | import("fp-ts/lib/Either").Right<{
1301
- __TYPE__: "SeparatorContent";
1311
+ };
1312
+ })[];
1313
+ }[];
1302
1314
  }> | t.Validation<GroupContent> | undefined;
1303
1315
  encode(value: SlicePrimaryContent): import("../../../LegacyContentCtx").WithTypes<unknown> | undefined;
1304
1316
  };
@@ -1661,7 +1673,7 @@ export declare const isSlicePrimaryContent: (u: unknown) => u is {
1661
1673
  label?: string | null | undefined;
1662
1674
  direction?: string | null | undefined;
1663
1675
  }) | ({
1664
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1676
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1665
1677
  content: {
1666
1678
  text: string;
1667
1679
  } & {
@@ -1720,14 +1732,19 @@ export declare const isSlicePrimaryContent: (u: unknown) => u is {
1720
1732
  } & {
1721
1733
  label?: string;
1722
1734
  direction?: string;
1723
- }) | {
1724
- type: "table";
1725
- content: {
1726
- type: "tableRow";
1727
- content: ({
1728
- type: "tableHeader";
1729
- content: ({
1730
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1735
+ }))[];
1736
+ } | {
1737
+ __TYPE__: "SeparatorContent";
1738
+ } | {
1739
+ __TYPE__: "TableContent";
1740
+ content: {
1741
+ type: "tableRow";
1742
+ content: ({
1743
+ type: "tableHeader";
1744
+ content: {
1745
+ __TYPE__: "StructuredTextContent";
1746
+ value: ({
1747
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1731
1748
  content: {
1732
1749
  text: string;
1733
1750
  } & {
@@ -1787,10 +1804,13 @@ export declare const isSlicePrimaryContent: (u: unknown) => u is {
1787
1804
  label?: string;
1788
1805
  direction?: string;
1789
1806
  })[];
1790
- } | {
1791
- type: "tableCell";
1792
- content: ({
1793
- type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl" | "table";
1807
+ };
1808
+ } | {
1809
+ type: "tableCell";
1810
+ content: {
1811
+ __TYPE__: "StructuredTextContent";
1812
+ value: ({
1813
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1794
1814
  content: {
1795
1815
  text: string;
1796
1816
  } & {
@@ -1850,9 +1870,7 @@ export declare const isSlicePrimaryContent: (u: unknown) => u is {
1850
1870
  label?: string;
1851
1871
  direction?: string;
1852
1872
  })[];
1853
- })[];
1854
- }[];
1855
- })[];
1856
- } | {
1857
- __TYPE__: "SeparatorContent";
1873
+ };
1874
+ })[];
1875
+ }[];
1858
1876
  };