@prismicio/types-internal 2.2.0-alpha.1 → 2.2.0-alpha.10

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 (167) hide show
  1. package/lib/common/Asset.d.ts +16 -0
  2. package/lib/common/Asset.js +11 -0
  3. package/lib/common/Embed.d.ts +15 -0
  4. package/lib/common/Embed.js +10 -0
  5. package/lib/common/index.d.ts +2 -0
  6. package/lib/common/index.js +2 -0
  7. package/lib/content/Document.d.ts +40 -40
  8. package/lib/content/fields/GroupContent.d.ts +12 -12
  9. package/lib/content/fields/GroupContent.js +11 -4
  10. package/lib/content/fields/WidgetContent.d.ts +56 -56
  11. package/lib/content/fields/nestable/NestableContent.d.ts +7 -7
  12. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +12 -12
  13. package/lib/content/fields/nestable/RichTextContent/index.d.ts +9 -9
  14. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +14 -14
  15. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +5 -5
  16. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +14 -14
  17. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +14 -14
  18. package/lib/content/fields/slices/Slice/index.d.ts +30 -30
  19. package/lib/content/fields/slices/SliceItem.d.ts +30 -30
  20. package/lib/content/fields/slices/SlicesContent.d.ts +42 -42
  21. package/lib/customtypes/CustomType.d.ts +2 -0
  22. package/lib/customtypes/CustomType.js +8 -1
  23. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +0 -157
  24. package/lib/customtypes/widgets/nestable/NestableWidget.js +1 -17
  25. package/lib/import/converters/Document.d.ts +4 -2
  26. package/lib/import/converters/Document.js +9 -7
  27. package/lib/import/converters/fields/UID.d.ts +3 -0
  28. package/lib/import/converters/fields/UID.js +12 -0
  29. package/lib/import/converters/fields/index.d.ts +1 -0
  30. package/lib/import/converters/fields/index.js +1 -0
  31. package/lib/import/converters/fields/nestable/Boolean.d.ts +3 -0
  32. package/lib/import/converters/fields/nestable/Boolean.js +12 -0
  33. package/lib/import/converters/fields/nestable/Color.js +9 -6
  34. package/lib/import/converters/fields/nestable/Date.d.ts +1 -1
  35. package/lib/import/converters/fields/nestable/Date.js +5 -5
  36. package/lib/import/converters/fields/nestable/Embed.d.ts +4 -0
  37. package/lib/import/converters/fields/nestable/Embed.js +32 -0
  38. package/lib/import/converters/fields/nestable/GeooPoint.d.ts +3 -0
  39. package/lib/import/converters/fields/nestable/GeooPoint.js +15 -0
  40. package/lib/import/converters/fields/nestable/Image.d.ts +4 -0
  41. package/lib/import/converters/fields/nestable/Image.js +55 -0
  42. package/lib/import/converters/fields/nestable/Link.d.ts +4 -0
  43. package/lib/import/converters/fields/nestable/Link.js +70 -0
  44. package/lib/import/converters/fields/nestable/Nestable.d.ts +3 -1
  45. package/lib/import/converters/fields/nestable/Nestable.js +11 -1
  46. package/lib/import/converters/fields/nestable/Number.js +9 -6
  47. package/lib/import/converters/fields/nestable/Select.js +9 -6
  48. package/lib/import/converters/fields/nestable/Text.js +9 -6
  49. package/lib/import/converters/fields/nestable/Timestamp.d.ts +1 -1
  50. package/lib/import/converters/fields/nestable/Timestamp.js +9 -6
  51. package/lib/import/converters/fields/nestable/index.d.ts +5 -0
  52. package/lib/import/converters/fields/nestable/index.js +5 -0
  53. package/lib/import/validators/Document.d.ts +4 -4
  54. package/lib/import/validators/Document.js +38 -46
  55. package/lib/import/validators/fields/ImportContent.d.ts +5 -0
  56. package/lib/import/validators/fields/ImportContent.js +21 -0
  57. package/lib/import/validators/fields/ImportField.d.ts +125 -0
  58. package/lib/import/validators/fields/ImportField.js +24 -0
  59. package/lib/import/validators/fields/UID.d.ts +6 -0
  60. package/lib/import/validators/fields/UID.js +15 -0
  61. package/lib/import/validators/fields/index.d.ts +1 -5
  62. package/lib/import/validators/fields/index.js +1 -0
  63. package/lib/import/validators/fields/nestable/Boolean.d.ts +6 -0
  64. package/lib/import/validators/fields/nestable/Boolean.js +6 -0
  65. package/lib/import/validators/fields/nestable/Color.d.ts +5 -4
  66. package/lib/import/validators/fields/nestable/Color.js +4 -4
  67. package/lib/import/validators/fields/nestable/Date.d.ts +5 -3
  68. package/lib/import/validators/fields/nestable/Date.js +4 -2
  69. package/lib/import/validators/fields/nestable/Embed.d.ts +10 -0
  70. package/lib/import/validators/fields/nestable/Embed.js +36 -0
  71. package/lib/import/validators/fields/nestable/GeoPoint.d.ts +13 -0
  72. package/lib/import/validators/fields/nestable/GeoPoint.js +13 -0
  73. package/lib/import/validators/fields/nestable/Image/Decoder.d.ts +26 -0
  74. package/lib/import/validators/fields/nestable/Image/Decoder.js +40 -0
  75. package/lib/import/validators/fields/nestable/Image/Validator.d.ts +37 -0
  76. package/lib/import/validators/fields/nestable/Image/Validator.js +26 -0
  77. package/lib/import/validators/fields/nestable/Image/index.d.ts +26 -0
  78. package/lib/import/validators/fields/nestable/Image/index.js +28 -0
  79. package/lib/import/validators/fields/nestable/Image/model.d.ts +18 -0
  80. package/lib/import/validators/fields/nestable/Image/model.js +2 -0
  81. package/lib/import/validators/fields/nestable/Image.d.ts +62 -0
  82. package/lib/import/validators/fields/nestable/Image.js +76 -0
  83. package/lib/import/validators/fields/nestable/Link.d.ts +38 -0
  84. package/lib/import/validators/fields/nestable/Link.js +35 -0
  85. package/lib/import/validators/fields/nestable/Nestable.d.ts +120 -4
  86. package/lib/import/validators/fields/nestable/Nestable.js +59 -28
  87. package/lib/import/validators/fields/nestable/Number.d.ts +16 -9
  88. package/lib/import/validators/fields/nestable/Number.js +5 -4
  89. package/lib/import/validators/fields/nestable/Select.d.ts +15 -8
  90. package/lib/import/validators/fields/nestable/Select.js +4 -2
  91. package/lib/import/validators/fields/nestable/Text.d.ts +6 -3
  92. package/lib/import/validators/fields/nestable/Text.js +2 -1
  93. package/lib/import/validators/fields/nestable/Timestamp.d.ts +5 -3
  94. package/lib/import/validators/fields/nestable/Timestamp.js +4 -2
  95. package/lib/import/validators/fields/nestable/index.d.ts +6 -0
  96. package/lib/import/validators/fields/nestable/index.js +6 -0
  97. package/lib/utils/DocumentId.d.ts +1 -0
  98. package/lib/utils/DocumentId.js +7 -0
  99. package/lib/utils/Objects.d.ts +1 -0
  100. package/lib/utils/Objects.js +5 -1
  101. package/lib/validators/BasicTypes.d.ts +8 -0
  102. package/lib/validators/BasicTypes.js +19 -1
  103. package/lib/validators/DefaultOrElse.d.ts +5 -0
  104. package/lib/validators/DefaultOrElse.js +21 -0
  105. package/lib/validators/NumberRange.d.ts +32 -0
  106. package/lib/validators/NumberRange.js +40 -0
  107. package/lib/validators/function.d.ts +20 -0
  108. package/lib/validators/function.js +41 -1
  109. package/lib/validators/index.d.ts +2 -1
  110. package/lib/validators/index.js +4 -2
  111. package/package.json +3 -2
  112. package/src/common/Asset.ts +25 -0
  113. package/src/common/Embed.ts +22 -0
  114. package/src/common/index.ts +2 -0
  115. package/src/content/fields/GroupContent.ts +9 -5
  116. package/src/customtypes/CustomType.ts +13 -0
  117. package/src/customtypes/widgets/nestable/NestableWidget.ts +0 -17
  118. package/src/import/converters/Document.ts +22 -11
  119. package/src/import/converters/fields/UID.ts +13 -0
  120. package/src/import/converters/fields/index.ts +1 -0
  121. package/src/import/converters/fields/nestable/Boolean.ts +13 -0
  122. package/src/import/converters/fields/nestable/Color.ts +7 -5
  123. package/src/import/converters/fields/nestable/Date.ts +12 -13
  124. package/src/import/converters/fields/nestable/Embed.ts +37 -0
  125. package/src/import/converters/fields/nestable/GeooPoint.ts +16 -0
  126. package/src/import/converters/fields/nestable/Image.ts +73 -0
  127. package/src/import/converters/fields/nestable/Link.ts +77 -0
  128. package/src/import/converters/fields/nestable/Nestable.ts +19 -0
  129. package/src/import/converters/fields/nestable/Number.ts +7 -5
  130. package/src/import/converters/fields/nestable/Select.ts +7 -5
  131. package/src/import/converters/fields/nestable/Text.ts +7 -5
  132. package/src/import/converters/fields/nestable/Timestamp.ts +8 -6
  133. package/src/import/converters/fields/nestable/index.ts +5 -0
  134. package/src/import/validators/Document.ts +86 -79
  135. package/src/import/validators/fields/ImportContent.ts +30 -0
  136. package/src/import/validators/fields/ImportField.ts +25 -0
  137. package/src/import/validators/fields/UID.ts +27 -0
  138. package/src/import/validators/fields/index.ts +1 -7
  139. package/src/import/validators/fields/nestable/Boolean.ts +7 -0
  140. package/src/import/validators/fields/nestable/Color.ts +23 -23
  141. package/src/import/validators/fields/nestable/Date.ts +26 -27
  142. package/src/import/validators/fields/nestable/Embed.ts +54 -0
  143. package/src/import/validators/fields/nestable/GeoPoint.ts +21 -0
  144. package/src/import/validators/fields/nestable/Image/Decoder.ts +61 -0
  145. package/src/import/validators/fields/nestable/Image/Validator.ts +35 -0
  146. package/src/import/validators/fields/nestable/Image/index.ts +45 -0
  147. package/src/import/validators/fields/nestable/Image/model.ts +18 -0
  148. package/src/import/validators/fields/nestable/Link.ts +54 -0
  149. package/src/import/validators/fields/nestable/Nestable.ts +65 -26
  150. package/src/import/validators/fields/nestable/Number.ts +32 -30
  151. package/src/import/validators/fields/nestable/Select.ts +32 -30
  152. package/src/import/validators/fields/nestable/Text.ts +6 -6
  153. package/src/import/validators/fields/nestable/Timestamp.ts +29 -26
  154. package/src/import/validators/fields/nestable/index.ts +6 -0
  155. package/src/utils/DocumentId.ts +9 -0
  156. package/src/utils/Objects.ts +10 -0
  157. package/src/validators/BasicTypes.ts +48 -0
  158. package/src/validators/DefaultOrElse.ts +24 -0
  159. package/src/validators/NumberRange.ts +51 -0
  160. package/src/validators/function.ts +44 -0
  161. package/src/validators/index.ts +2 -1
  162. package/lib/import/converters/fields/utils.d.ts +0 -1
  163. package/lib/import/converters/fields/utils.js +0 -10
  164. package/lib/validators/NullOrT.d.ts +0 -2
  165. package/lib/validators/NullOrT.js +0 -13
  166. package/src/import/converters/fields/utils.ts +0 -7
  167. package/src/validators/NullOrT.ts +0 -18
@@ -282,7 +282,7 @@ export declare const SliceItemContent: t.TypeC<{
282
282
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
283
283
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
284
284
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
285
- 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>;
285
+ 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>;
286
286
  content: t.IntersectionC<[t.TypeC<{
287
287
  text: t.StringC;
288
288
  }>, t.PartialC<{
@@ -291,13 +291,13 @@ export declare const SliceItemContent: t.TypeC<{
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
  })[], ({
296
296
  data?: unknown;
297
297
  } & {
298
298
  start: number;
299
299
  end: number;
300
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
300
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
301
301
  })[], unknown>;
302
302
  }>]>;
303
303
  }>, t.PartialC<{
@@ -585,7 +585,7 @@ export declare const SliceItemContent: t.TypeC<{
585
585
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
586
586
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
587
587
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
588
- 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>;
588
+ 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>;
589
589
  content: t.IntersectionC<[t.TypeC<{
590
590
  text: t.StringC;
591
591
  }>, t.PartialC<{
@@ -594,13 +594,13 @@ export declare const SliceItemContent: t.TypeC<{
594
594
  } & {
595
595
  start: number;
596
596
  end: number;
597
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
597
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
598
598
  })[], ({
599
599
  data?: unknown;
600
600
  } & {
601
601
  start: number;
602
602
  end: number;
603
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
603
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
604
604
  })[], unknown>;
605
605
  }>]>;
606
606
  }>, t.PartialC<{
@@ -890,7 +890,7 @@ export declare const SliceItemContent: t.TypeC<{
890
890
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
891
891
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
892
892
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
893
- 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>;
893
+ 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>;
894
894
  content: t.IntersectionC<[t.TypeC<{
895
895
  text: t.StringC;
896
896
  }>, t.PartialC<{
@@ -899,13 +899,13 @@ export declare const SliceItemContent: t.TypeC<{
899
899
  } & {
900
900
  start: number;
901
901
  end: number;
902
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
902
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
903
903
  })[], ({
904
904
  data?: unknown;
905
905
  } & {
906
906
  start: number;
907
907
  end: number;
908
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
908
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
909
909
  })[], unknown>;
910
910
  }>]>;
911
911
  }>, t.PartialC<{
@@ -1193,7 +1193,7 @@ export declare const SliceItemContent: t.TypeC<{
1193
1193
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1194
1194
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1195
1195
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1196
- 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>;
1196
+ 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>;
1197
1197
  content: t.IntersectionC<[t.TypeC<{
1198
1198
  text: t.StringC;
1199
1199
  }>, t.PartialC<{
@@ -1202,13 +1202,13 @@ export declare const SliceItemContent: t.TypeC<{
1202
1202
  } & {
1203
1203
  start: number;
1204
1204
  end: number;
1205
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1205
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1206
1206
  })[], ({
1207
1207
  data?: unknown;
1208
1208
  } & {
1209
1209
  start: number;
1210
1210
  end: number;
1211
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1211
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1212
1212
  })[], unknown>;
1213
1213
  }>]>;
1214
1214
  }>, t.PartialC<{
@@ -1495,7 +1495,7 @@ export declare const SliceItemContent: t.TypeC<{
1495
1495
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1496
1496
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1497
1497
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1498
- 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>;
1498
+ 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>;
1499
1499
  content: t.IntersectionC<[t.TypeC<{
1500
1500
  text: t.StringC;
1501
1501
  }>, t.PartialC<{
@@ -1504,13 +1504,13 @@ export declare const SliceItemContent: t.TypeC<{
1504
1504
  } & {
1505
1505
  start: number;
1506
1506
  end: number;
1507
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1507
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1508
1508
  })[], ({
1509
1509
  data?: unknown;
1510
1510
  } & {
1511
1511
  start: number;
1512
1512
  end: number;
1513
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1513
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1514
1514
  })[], unknown>;
1515
1515
  }>]>;
1516
1516
  }>, t.PartialC<{
@@ -1799,7 +1799,7 @@ export declare const SliceItemContent: t.TypeC<{
1799
1799
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1800
1800
  direction: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
1801
1801
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1802
- 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>;
1802
+ 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>;
1803
1803
  content: t.IntersectionC<[t.TypeC<{
1804
1804
  text: t.StringC;
1805
1805
  }>, t.PartialC<{
@@ -1808,13 +1808,13 @@ export declare const SliceItemContent: t.TypeC<{
1808
1808
  } & {
1809
1809
  start: number;
1810
1810
  end: number;
1811
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1811
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1812
1812
  })[], ({
1813
1813
  data?: unknown;
1814
1814
  } & {
1815
1815
  start: number;
1816
1816
  end: number;
1817
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
1817
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
1818
1818
  })[], unknown>;
1819
1819
  }>]>;
1820
1820
  }>, t.PartialC<{
@@ -2080,7 +2080,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
2080
2080
  label?: string | null | undefined;
2081
2081
  direction?: string | null | undefined;
2082
2082
  }) | ({
2083
- type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2083
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2084
2084
  content: {
2085
2085
  text: string;
2086
2086
  } & {
@@ -2089,7 +2089,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
2089
2089
  } & {
2090
2090
  start: number;
2091
2091
  end: number;
2092
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2092
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2093
2093
  })[];
2094
2094
  };
2095
2095
  } & {
@@ -2350,7 +2350,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
2350
2350
  label?: string | null | undefined;
2351
2351
  direction?: string | null | undefined;
2352
2352
  }) | ({
2353
- type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2353
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2354
2354
  content: {
2355
2355
  text: string;
2356
2356
  } & {
@@ -2359,7 +2359,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
2359
2359
  } & {
2360
2360
  start: number;
2361
2361
  end: number;
2362
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2362
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2363
2363
  })[];
2364
2364
  };
2365
2365
  } & {
@@ -2621,7 +2621,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
2621
2621
  label?: string | null | undefined;
2622
2622
  direction?: string | null | undefined;
2623
2623
  }) | ({
2624
- type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2624
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2625
2625
  content: {
2626
2626
  text: string;
2627
2627
  } & {
@@ -2630,7 +2630,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
2630
2630
  } & {
2631
2631
  start: number;
2632
2632
  end: number;
2633
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2633
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2634
2634
  })[];
2635
2635
  };
2636
2636
  } & {
@@ -2891,7 +2891,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
2891
2891
  label?: string | null | undefined;
2892
2892
  direction?: string | null | undefined;
2893
2893
  }) | ({
2894
- type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2894
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2895
2895
  content: {
2896
2896
  text: string;
2897
2897
  } & {
@@ -2900,7 +2900,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
2900
2900
  } & {
2901
2901
  start: number;
2902
2902
  end: number;
2903
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
2903
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
2904
2904
  })[];
2905
2905
  };
2906
2906
  } & {
@@ -3163,7 +3163,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
3163
3163
  label?: string | null | undefined;
3164
3164
  direction?: string | null | undefined;
3165
3165
  }) | ({
3166
- type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
3166
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
3167
3167
  content: {
3168
3168
  text: string;
3169
3169
  } & {
@@ -3172,7 +3172,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
3172
3172
  } & {
3173
3173
  start: number;
3174
3174
  end: number;
3175
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
3175
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
3176
3176
  })[];
3177
3177
  };
3178
3178
  } & {
@@ -3433,7 +3433,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
3433
3433
  label?: string | null | undefined;
3434
3434
  direction?: string | null | undefined;
3435
3435
  }) | ({
3436
- type: "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
3436
+ type: "image" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
3437
3437
  content: {
3438
3438
  text: string;
3439
3439
  } & {
@@ -3442,7 +3442,7 @@ export declare const SlicesItemLegacy: (ctx: LegacyContentCtx) => t.Type<{
3442
3442
  } & {
3443
3443
  start: number;
3444
3444
  end: number;
3445
- type: "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "image" | "embed" | "list-item" | "o-list-item" | "rtl";
3445
+ type: "image" | "label" | "paragraph" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "strong" | "em" | "preformatted" | "hyperlink" | "embed" | "list-item" | "o-list-item" | "rtl";
3446
3446
  })[];
3447
3447
  };
3448
3448
  } & {