@prismicio/types-internal 2.2.0-alpha.2 → 2.2.0-alpha.3

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 (56) hide show
  1. package/lib/common/Asset.d.ts +15 -0
  2. package/lib/common/Asset.js +2 -0
  3. package/lib/common/index.d.ts +1 -0
  4. package/lib/common/index.js +1 -0
  5. package/lib/content/Document.d.ts +40 -40
  6. package/lib/content/fields/GroupContent.d.ts +12 -12
  7. package/lib/content/fields/WidgetContent.d.ts +56 -56
  8. package/lib/content/fields/nestable/NestableContent.d.ts +7 -7
  9. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +12 -12
  10. package/lib/content/fields/nestable/RichTextContent/index.d.ts +9 -9
  11. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +14 -14
  12. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +5 -5
  13. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +14 -14
  14. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +14 -14
  15. package/lib/content/fields/slices/Slice/index.d.ts +30 -30
  16. package/lib/content/fields/slices/SliceItem.d.ts +30 -30
  17. package/lib/content/fields/slices/SlicesContent.d.ts +42 -42
  18. package/lib/import/converters/Document.d.ts +2 -2
  19. package/lib/import/converters/Document.js +4 -4
  20. package/lib/import/converters/fields/nestable/GeooPoint.d.ts +3 -0
  21. package/lib/import/converters/fields/nestable/GeooPoint.js +15 -0
  22. package/lib/import/converters/fields/nestable/Image.d.ts +2 -16
  23. package/lib/import/converters/fields/nestable/Image.js +11 -11
  24. package/lib/import/converters/fields/nestable/Nestable.d.ts +2 -2
  25. package/lib/import/converters/fields/nestable/Nestable.js +4 -2
  26. package/lib/import/converters/fields/nestable/index.d.ts +1 -0
  27. package/lib/import/converters/fields/nestable/index.js +1 -0
  28. package/lib/import/validators/fields/ImportField.d.ts +105 -6
  29. package/lib/import/validators/fields/nestable/GeoPoint.d.ts +13 -0
  30. package/lib/import/validators/fields/nestable/GeoPoint.js +13 -0
  31. package/lib/import/validators/fields/nestable/Image.d.ts +24 -3
  32. package/lib/import/validators/fields/nestable/Nestable.d.ts +108 -8
  33. package/lib/import/validators/fields/nestable/Nestable.js +7 -3
  34. package/lib/import/validators/fields/nestable/index.d.ts +1 -0
  35. package/lib/import/validators/fields/nestable/index.js +1 -0
  36. package/lib/validators/NumberRange.d.ts +32 -0
  37. package/lib/validators/NumberRange.js +40 -0
  38. package/lib/validators/function.d.ts +20 -0
  39. package/lib/validators/function.js +41 -1
  40. package/lib/validators/index.d.ts +1 -0
  41. package/lib/validators/index.js +3 -1
  42. package/package.json +1 -1
  43. package/src/common/Asset.ts +15 -0
  44. package/src/common/index.ts +1 -0
  45. package/src/import/converters/Document.ts +6 -5
  46. package/src/import/converters/fields/nestable/GeooPoint.ts +16 -0
  47. package/src/import/converters/fields/nestable/Image.ts +7 -22
  48. package/src/import/converters/fields/nestable/Nestable.ts +6 -3
  49. package/src/import/converters/fields/nestable/index.ts +1 -0
  50. package/src/import/validators/fields/nestable/GeoPoint.ts +21 -0
  51. package/src/import/validators/fields/nestable/Image.ts +3 -16
  52. package/src/import/validators/fields/nestable/Nestable.ts +6 -1
  53. package/src/import/validators/fields/nestable/index.ts +1 -0
  54. package/src/validators/NumberRange.ts +51 -0
  55. package/src/validators/function.ts +44 -0
  56. package/src/validators/index.ts +1 -0
@@ -276,7 +276,7 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
276
276
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
277
277
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
278
278
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
279
- type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
279
+ 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>;
280
280
  content: t.IntersectionC<[t.TypeC<{
281
281
  text: t.StringC;
282
282
  }>, t.PartialC<{
@@ -285,13 +285,13 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
285
285
  } & {
286
286
  start: number;
287
287
  end: number;
288
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
288
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
289
289
  })[], ({
290
290
  data?: unknown;
291
291
  } & {
292
292
  start: number;
293
293
  end: number;
294
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
294
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
295
295
  })[], unknown>;
296
296
  }>]>;
297
297
  }>, t.PartialC<{
@@ -580,7 +580,7 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
580
580
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
581
581
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
582
582
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
583
- type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
583
+ 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>;
584
584
  content: t.IntersectionC<[t.TypeC<{
585
585
  text: t.StringC;
586
586
  }>, t.PartialC<{
@@ -589,13 +589,13 @@ export declare const SimpleSliceContent: t.UnionC<[t.UnionC<[t.ExactC<t.TypeC<{
589
589
  } & {
590
590
  start: number;
591
591
  end: number;
592
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
592
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
593
593
  })[], ({
594
594
  data?: unknown;
595
595
  } & {
596
596
  start: number;
597
597
  end: number;
598
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
598
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
599
599
  })[], unknown>;
600
600
  }>]>;
601
601
  }>, t.PartialC<{
@@ -856,7 +856,7 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
856
856
  label?: string | null | undefined;
857
857
  direction?: string | null | undefined;
858
858
  }) | ({
859
- type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
859
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
860
860
  content: {
861
861
  text: string;
862
862
  } & {
@@ -865,7 +865,7 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
865
865
  } & {
866
866
  start: number;
867
867
  end: number;
868
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
868
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
869
869
  })[];
870
870
  };
871
871
  } & {
@@ -1126,7 +1126,7 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
1126
1126
  label?: string | null | undefined;
1127
1127
  direction?: string | null | undefined;
1128
1128
  }) | ({
1129
- type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1129
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1130
1130
  content: {
1131
1131
  text: string;
1132
1132
  } & {
@@ -1135,7 +1135,7 @@ export declare const isSimpleSliceContent: (u: unknown) => u is {
1135
1135
  } & {
1136
1136
  start: number;
1137
1137
  end: number;
1138
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1138
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1139
1139
  })[];
1140
1140
  };
1141
1141
  } & {
@@ -1396,7 +1396,7 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
1396
1396
  label?: string | null | undefined;
1397
1397
  direction?: string | null | undefined;
1398
1398
  }) | ({
1399
- type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1399
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1400
1400
  content: {
1401
1401
  text: string;
1402
1402
  } & {
@@ -1405,7 +1405,7 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
1405
1405
  } & {
1406
1406
  start: number;
1407
1407
  end: number;
1408
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1408
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1409
1409
  })[];
1410
1410
  };
1411
1411
  } & {
@@ -1666,7 +1666,7 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
1666
1666
  label?: string | null | undefined;
1667
1667
  direction?: string | null | undefined;
1668
1668
  }) | ({
1669
- type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1669
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1670
1670
  content: {
1671
1671
  text: string;
1672
1672
  } & {
@@ -1675,7 +1675,7 @@ export declare const SimpleSliceLegacy: (ctx: LegacyContentCtx) => {
1675
1675
  } & {
1676
1676
  start: number;
1677
1677
  end: number;
1678
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1678
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1679
1679
  })[];
1680
1680
  };
1681
1681
  } & {
@@ -249,7 +249,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
249
249
  label?: string | null | undefined;
250
250
  direction?: string | null | undefined;
251
251
  }) | ({
252
- type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
252
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
253
253
  content: {
254
254
  text: string;
255
255
  } & {
@@ -258,7 +258,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
258
258
  } & {
259
259
  start: number;
260
260
  end: number;
261
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
261
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
262
262
  })[];
263
263
  };
264
264
  } & {
@@ -519,7 +519,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
519
519
  label?: string | null | undefined;
520
520
  direction?: string | null | undefined;
521
521
  }) | ({
522
- type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
522
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
523
523
  content: {
524
524
  text: string;
525
525
  } & {
@@ -528,7 +528,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
528
528
  } & {
529
529
  start: number;
530
530
  end: number;
531
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
531
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
532
532
  })[];
533
533
  };
534
534
  } & {
@@ -790,7 +790,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
790
790
  label?: string | null | undefined;
791
791
  direction?: string | null | undefined;
792
792
  }) | ({
793
- type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
793
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
794
794
  content: {
795
795
  text: string;
796
796
  } & {
@@ -799,7 +799,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
799
799
  } & {
800
800
  start: number;
801
801
  end: number;
802
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
802
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
803
803
  })[];
804
804
  };
805
805
  } & {
@@ -1060,7 +1060,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
1060
1060
  label?: string | null | undefined;
1061
1061
  direction?: string | null | undefined;
1062
1062
  }) | ({
1063
- type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1063
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1064
1064
  content: {
1065
1065
  text: string;
1066
1066
  } & {
@@ -1069,7 +1069,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
1069
1069
  } & {
1070
1070
  start: number;
1071
1071
  end: number;
1072
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1072
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1073
1073
  })[];
1074
1074
  };
1075
1075
  } & {
@@ -1332,7 +1332,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
1332
1332
  label?: string | null | undefined;
1333
1333
  direction?: string | null | undefined;
1334
1334
  }) | ({
1335
- type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1335
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1336
1336
  content: {
1337
1337
  text: string;
1338
1338
  } & {
@@ -1341,7 +1341,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
1341
1341
  } & {
1342
1342
  start: number;
1343
1343
  end: number;
1344
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1344
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1345
1345
  })[];
1346
1346
  };
1347
1347
  } & {
@@ -1602,7 +1602,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
1602
1602
  label?: string | null | undefined;
1603
1603
  direction?: string | null | undefined;
1604
1604
  }) | ({
1605
- type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1605
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1606
1606
  content: {
1607
1607
  text: string;
1608
1608
  } & {
@@ -1611,7 +1611,7 @@ export declare const SliceLegacy: (ctx: LegacyContentCtx) => {
1611
1611
  } & {
1612
1612
  start: number;
1613
1613
  end: number;
1614
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1614
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1615
1615
  })[];
1616
1616
  };
1617
1617
  } & {
@@ -1903,7 +1903,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
1903
1903
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1904
1904
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1905
1905
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1906
- type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
1906
+ 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>;
1907
1907
  content: t.IntersectionC<[t.TypeC<{
1908
1908
  text: t.StringC;
1909
1909
  }>, t.PartialC<{
@@ -1912,13 +1912,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
1912
1912
  } & {
1913
1913
  start: number;
1914
1914
  end: number;
1915
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1915
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1916
1916
  })[], ({
1917
1917
  data?: unknown;
1918
1918
  } & {
1919
1919
  start: number;
1920
1920
  end: number;
1921
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1921
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1922
1922
  })[], unknown>;
1923
1923
  }>]>;
1924
1924
  }>, t.PartialC<{
@@ -2206,7 +2206,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
2206
2206
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2207
2207
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2208
2208
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2209
- type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
2209
+ 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>;
2210
2210
  content: t.IntersectionC<[t.TypeC<{
2211
2211
  text: t.StringC;
2212
2212
  }>, t.PartialC<{
@@ -2215,13 +2215,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
2215
2215
  } & {
2216
2216
  start: number;
2217
2217
  end: number;
2218
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2218
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2219
2219
  })[], ({
2220
2220
  data?: unknown;
2221
2221
  } & {
2222
2222
  start: number;
2223
2223
  end: number;
2224
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2224
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2225
2225
  })[], unknown>;
2226
2226
  }>]>;
2227
2227
  }>, t.PartialC<{
@@ -2511,7 +2511,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
2511
2511
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2512
2512
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2513
2513
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2514
- type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
2514
+ 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>;
2515
2515
  content: t.IntersectionC<[t.TypeC<{
2516
2516
  text: t.StringC;
2517
2517
  }>, t.PartialC<{
@@ -2520,13 +2520,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
2520
2520
  } & {
2521
2521
  start: number;
2522
2522
  end: number;
2523
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2523
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2524
2524
  })[], ({
2525
2525
  data?: unknown;
2526
2526
  } & {
2527
2527
  start: number;
2528
2528
  end: number;
2529
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2529
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2530
2530
  })[], unknown>;
2531
2531
  }>]>;
2532
2532
  }>, t.PartialC<{
@@ -2814,7 +2814,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
2814
2814
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2815
2815
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2816
2816
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2817
- type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
2817
+ 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>;
2818
2818
  content: t.IntersectionC<[t.TypeC<{
2819
2819
  text: t.StringC;
2820
2820
  }>, t.PartialC<{
@@ -2823,13 +2823,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
2823
2823
  } & {
2824
2824
  start: number;
2825
2825
  end: number;
2826
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2826
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2827
2827
  })[], ({
2828
2828
  data?: unknown;
2829
2829
  } & {
2830
2830
  start: number;
2831
2831
  end: number;
2832
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2832
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2833
2833
  })[], unknown>;
2834
2834
  }>]>;
2835
2835
  }>, t.PartialC<{
@@ -3116,7 +3116,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
3116
3116
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3117
3117
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3118
3118
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3119
- type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
3119
+ 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>;
3120
3120
  content: t.IntersectionC<[t.TypeC<{
3121
3121
  text: t.StringC;
3122
3122
  }>, t.PartialC<{
@@ -3125,13 +3125,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
3125
3125
  } & {
3126
3126
  start: number;
3127
3127
  end: number;
3128
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
3128
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
3129
3129
  })[], ({
3130
3130
  data?: unknown;
3131
3131
  } & {
3132
3132
  start: number;
3133
3133
  end: number;
3134
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
3134
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
3135
3135
  })[], unknown>;
3136
3136
  }>]>;
3137
3137
  }>, t.PartialC<{
@@ -3420,7 +3420,7 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
3420
3420
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3421
3421
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
3422
3422
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
3423
- type: t.Type<"paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl", unknown>;
3423
+ 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>;
3424
3424
  content: t.IntersectionC<[t.TypeC<{
3425
3425
  text: t.StringC;
3426
3426
  }>, t.PartialC<{
@@ -3429,13 +3429,13 @@ export declare const SliceContent: t.UnionC<[t.ExactC<t.TypeC<{
3429
3429
  } & {
3430
3430
  start: number;
3431
3431
  end: number;
3432
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
3432
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
3433
3433
  })[], ({
3434
3434
  data?: unknown;
3435
3435
  } & {
3436
3436
  start: number;
3437
3437
  end: number;
3438
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
3438
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
3439
3439
  })[], unknown>;
3440
3440
  }>]>;
3441
3441
  }>, t.PartialC<{