@prismicio/types-internal 2.3.0 → 2.4.0-alpha.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 (201) hide show
  1. package/lib/content/Document.d.ts +10953 -5169
  2. package/lib/content/fields/GroupContent.d.ts +1594 -337
  3. package/lib/content/fields/WidgetContent.d.ts +10285 -4501
  4. package/lib/content/fields/nestable/ImageContent.d.ts +723 -0
  5. package/lib/content/fields/nestable/ImageContent.js +2 -0
  6. package/lib/content/fields/nestable/NestableContent.d.ts +946 -223
  7. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +370 -507
  8. package/lib/content/fields/nestable/RichTextContent/Blocks.js +6 -73
  9. package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +727 -0
  10. package/lib/content/fields/nestable/RichTextContent/TextBlock.js +80 -0
  11. package/lib/content/fields/nestable/RichTextContent/index.d.ts +491 -186
  12. package/lib/content/fields/nestable/RichTextContent/index.js +1 -0
  13. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +1994 -548
  14. package/lib/content/fields/slices/Slice/RepeatableContent.d.ts +638 -104
  15. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +1996 -550
  16. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +2153 -707
  17. package/lib/content/fields/slices/Slice/index.d.ts +4949 -1745
  18. package/lib/content/fields/slices/SliceItem.d.ts +4841 -1637
  19. package/lib/content/fields/slices/SlicesContent.d.ts +7134 -2796
  20. package/lib/customtypes/CustomType.d.ts +14 -0
  21. package/lib/customtypes/Section.d.ts +14 -0
  22. package/lib/customtypes/diff/SharedSlice.d.ts +4 -0
  23. package/lib/customtypes/diff/Variation.d.ts +4 -0
  24. package/lib/customtypes/widgets/Group.d.ts +2 -0
  25. package/lib/customtypes/widgets/Widget.d.ts +16 -0
  26. package/lib/customtypes/widgets/nestable/Image.d.ts +2 -0
  27. package/lib/customtypes/widgets/nestable/Image.js +1 -0
  28. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +1 -0
  29. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +2 -0
  30. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +2 -0
  31. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +4 -0
  32. package/lib/customtypes/widgets/slices/Slices.d.ts +24 -0
  33. package/package.json +3 -3
  34. package/src/content/Document.ts +6 -4
  35. package/src/content/fields/nestable/ImageContent.ts +2 -0
  36. package/src/content/fields/nestable/RichTextContent/Blocks.ts +3 -101
  37. package/src/content/fields/nestable/RichTextContent/TextBlock.ts +118 -0
  38. package/src/content/fields/nestable/RichTextContent/index.ts +1 -0
  39. package/src/customtypes/widgets/nestable/Image.ts +1 -0
  40. package/lib/import/converters/Document.d.ts +0 -4
  41. package/lib/import/converters/Document.js +0 -21
  42. package/lib/import/converters/fields/Group.d.ts +0 -4
  43. package/lib/import/converters/fields/Group.js +0 -14
  44. package/lib/import/converters/fields/RepeatableZone.d.ts +0 -317
  45. package/lib/import/converters/fields/RepeatableZone.js +0 -15
  46. package/lib/import/converters/fields/RepeatableZoneItem.d.ts +0 -11
  47. package/lib/import/converters/fields/RepeatableZoneItem.js +0 -19
  48. package/lib/import/converters/fields/Slices/SharedSlice.d.ts +0 -4
  49. package/lib/import/converters/fields/Slices/SharedSlice.js +0 -19
  50. package/lib/import/converters/fields/Slices/SharedSliceContent.d.ts +0 -10
  51. package/lib/import/converters/fields/Slices/SharedSliceContent.js +0 -23
  52. package/lib/import/converters/fields/Slices/Slices.d.ts +0 -4
  53. package/lib/import/converters/fields/Slices/Slices.js +0 -16
  54. package/lib/import/converters/fields/Slices/index.d.ts +0 -1
  55. package/lib/import/converters/fields/Slices/index.js +0 -4
  56. package/lib/import/converters/fields/UID.d.ts +0 -3
  57. package/lib/import/converters/fields/UID.js +0 -10
  58. package/lib/import/converters/fields/index.d.ts +0 -4
  59. package/lib/import/converters/fields/index.js +0 -7
  60. package/lib/import/converters/fields/nestable/Boolean.d.ts +0 -3
  61. package/lib/import/converters/fields/nestable/Boolean.js +0 -12
  62. package/lib/import/converters/fields/nestable/Color.d.ts +0 -3
  63. package/lib/import/converters/fields/nestable/Color.js +0 -13
  64. package/lib/import/converters/fields/nestable/Date.d.ts +0 -3
  65. package/lib/import/converters/fields/nestable/Date.js +0 -15
  66. package/lib/import/converters/fields/nestable/Embed.d.ts +0 -4
  67. package/lib/import/converters/fields/nestable/Embed.js +0 -32
  68. package/lib/import/converters/fields/nestable/GeoPoint.d.ts +0 -3
  69. package/lib/import/converters/fields/nestable/GeoPoint.js +0 -15
  70. package/lib/import/converters/fields/nestable/Image.d.ts +0 -28
  71. package/lib/import/converters/fields/nestable/Image.js +0 -67
  72. package/lib/import/converters/fields/nestable/Link.d.ts +0 -4
  73. package/lib/import/converters/fields/nestable/Link.js +0 -70
  74. package/lib/import/converters/fields/nestable/Nestable.d.ts +0 -5
  75. package/lib/import/converters/fields/nestable/Nestable.js +0 -35
  76. package/lib/import/converters/fields/nestable/Number.d.ts +0 -3
  77. package/lib/import/converters/fields/nestable/Number.js +0 -13
  78. package/lib/import/converters/fields/nestable/RichText/embedBlock.d.ts +0 -4
  79. package/lib/import/converters/fields/nestable/RichText/embedBlock.js +0 -14
  80. package/lib/import/converters/fields/nestable/RichText/imageBlock.d.ts +0 -4
  81. package/lib/import/converters/fields/nestable/RichText/imageBlock.js +0 -12
  82. package/lib/import/converters/fields/nestable/RichText/index.d.ts +0 -4
  83. package/lib/import/converters/fields/nestable/RichText/index.js +0 -22
  84. package/lib/import/converters/fields/nestable/RichText/textBlock.d.ts +0 -4
  85. package/lib/import/converters/fields/nestable/RichText/textBlock.js +0 -54
  86. package/lib/import/converters/fields/nestable/Select.d.ts +0 -3
  87. package/lib/import/converters/fields/nestable/Select.js +0 -13
  88. package/lib/import/converters/fields/nestable/Text.d.ts +0 -3
  89. package/lib/import/converters/fields/nestable/Text.js +0 -13
  90. package/lib/import/converters/fields/nestable/Timestamp.d.ts +0 -3
  91. package/lib/import/converters/fields/nestable/Timestamp.js +0 -13
  92. package/lib/import/converters/fields/nestable/index.d.ts +0 -13
  93. package/lib/import/converters/fields/nestable/index.js +0 -16
  94. package/lib/import/converters/index.d.ts +0 -2
  95. package/lib/import/converters/index.js +0 -5
  96. package/lib/import/index.d.ts +0 -2
  97. package/lib/import/index.js +0 -5
  98. package/lib/import/validators/Document.d.ts +0 -6
  99. package/lib/import/validators/Document.js +0 -64
  100. package/lib/import/validators/fields/ImportContent.d.ts +0 -5
  101. package/lib/import/validators/fields/ImportContent.js +0 -21
  102. package/lib/import/validators/fields/ImportField.d.ts +0 -141
  103. package/lib/import/validators/fields/ImportField.js +0 -33
  104. package/lib/import/validators/fields/ImportGroup.d.ts +0 -345
  105. package/lib/import/validators/fields/ImportGroup.js +0 -27
  106. package/lib/import/validators/fields/ImportSlices/ImportSlices.d.ts +0 -8
  107. package/lib/import/validators/fields/ImportSlices/ImportSlices.js +0 -30
  108. package/lib/import/validators/fields/ImportSlices/SharedSlice/SharedSlice.d.ts +0 -16
  109. package/lib/import/validators/fields/ImportSlices/SharedSlice/SharedSlice.js +0 -61
  110. package/lib/import/validators/fields/ImportSlices/SharedSlice/errors.d.ts +0 -4
  111. package/lib/import/validators/fields/ImportSlices/SharedSlice/errors.js +0 -7
  112. package/lib/import/validators/fields/ImportSlices/SharedSlice/fields/OptionalSharedSliceId.d.ts +0 -2
  113. package/lib/import/validators/fields/ImportSlices/SharedSlice/fields/OptionalSharedSliceId.js +0 -15
  114. package/lib/import/validators/fields/ImportSlices/SharedSlice/fields/SharedSliceId.d.ts +0 -9
  115. package/lib/import/validators/fields/ImportSlices/SharedSlice/fields/SharedSliceId.js +0 -39
  116. package/lib/import/validators/fields/ImportSlices/SharedSlice/fields/SharedSliceType.d.ts +0 -11
  117. package/lib/import/validators/fields/ImportSlices/SharedSlice/fields/SharedSliceType.js +0 -24
  118. package/lib/import/validators/fields/ImportSlices/SharedSlice/fields/SharedSliceVariation.d.ts +0 -11
  119. package/lib/import/validators/fields/ImportSlices/SharedSlice/fields/SharedSliceVariation.js +0 -24
  120. package/lib/import/validators/fields/ImportSlices/SharedSlice/fields/index.d.ts +0 -4
  121. package/lib/import/validators/fields/ImportSlices/SharedSlice/fields/index.js +0 -7
  122. package/lib/import/validators/fields/ImportSlices/SharedSlice/index.d.ts +0 -3
  123. package/lib/import/validators/fields/ImportSlices/SharedSlice/index.js +0 -6
  124. package/lib/import/validators/fields/ImportSlices/SharedSlice/utils.d.ts +0 -342
  125. package/lib/import/validators/fields/ImportSlices/SharedSlice/utils.js +0 -11
  126. package/lib/import/validators/fields/ImportSlices/index.d.ts +0 -1
  127. package/lib/import/validators/fields/ImportSlices/index.js +0 -4
  128. package/lib/import/validators/fields/ImportSlices/utils.d.ts +0 -4
  129. package/lib/import/validators/fields/ImportSlices/utils.js +0 -35
  130. package/lib/import/validators/fields/RepeatableZone.d.ts +0 -11
  131. package/lib/import/validators/fields/RepeatableZone.js +0 -14
  132. package/lib/import/validators/fields/RepeatableZoneItem.d.ts +0 -11
  133. package/lib/import/validators/fields/RepeatableZoneItem.js +0 -39
  134. package/lib/import/validators/fields/UID.d.ts +0 -6
  135. package/lib/import/validators/fields/UID.js +0 -15
  136. package/lib/import/validators/fields/index.d.ts +0 -4
  137. package/lib/import/validators/fields/index.js +0 -7
  138. package/lib/import/validators/fields/nestable/Boolean.d.ts +0 -6
  139. package/lib/import/validators/fields/nestable/Boolean.js +0 -6
  140. package/lib/import/validators/fields/nestable/Color.d.ts +0 -6
  141. package/lib/import/validators/fields/nestable/Color.js +0 -15
  142. package/lib/import/validators/fields/nestable/Date.d.ts +0 -6
  143. package/lib/import/validators/fields/nestable/Date.js +0 -19
  144. package/lib/import/validators/fields/nestable/Embed.d.ts +0 -13
  145. package/lib/import/validators/fields/nestable/Embed.js +0 -31
  146. package/lib/import/validators/fields/nestable/GeoPoint.d.ts +0 -13
  147. package/lib/import/validators/fields/nestable/GeoPoint.js +0 -13
  148. package/lib/import/validators/fields/nestable/Image/default.d.ts +0 -22
  149. package/lib/import/validators/fields/nestable/Image/default.js +0 -19
  150. package/lib/import/validators/fields/nestable/Image/index.d.ts +0 -26
  151. package/lib/import/validators/fields/nestable/Image/index.js +0 -32
  152. package/lib/import/validators/fields/nestable/Image/merge.d.ts +0 -23
  153. package/lib/import/validators/fields/nestable/Image/merge.js +0 -44
  154. package/lib/import/validators/fields/nestable/Image/model.d.ts +0 -18
  155. package/lib/import/validators/fields/nestable/Image/model.js +0 -2
  156. package/lib/import/validators/fields/nestable/Image/validators.d.ts +0 -132
  157. package/lib/import/validators/fields/nestable/Image/validators.js +0 -43
  158. package/lib/import/validators/fields/nestable/ImportRichText/ImportBlock.d.ts +0 -6
  159. package/lib/import/validators/fields/nestable/ImportRichText/ImportBlock.js +0 -25
  160. package/lib/import/validators/fields/nestable/ImportRichText/ImportRichText.d.ts +0 -24
  161. package/lib/import/validators/fields/nestable/ImportRichText/ImportRichText.js +0 -32
  162. package/lib/import/validators/fields/nestable/ImportRichText/blocks/ImportBlockType.d.ts +0 -6
  163. package/lib/import/validators/fields/nestable/ImportRichText/blocks/ImportBlockType.js +0 -18
  164. package/lib/import/validators/fields/nestable/ImportRichText/blocks/ImportEmbedBlock.d.ts +0 -10
  165. package/lib/import/validators/fields/nestable/ImportRichText/blocks/ImportEmbedBlock.js +0 -11
  166. package/lib/import/validators/fields/nestable/ImportRichText/blocks/ImportImageBlock.d.ts +0 -22
  167. package/lib/import/validators/fields/nestable/ImportRichText/blocks/ImportImageBlock.js +0 -13
  168. package/lib/import/validators/fields/nestable/ImportRichText/blocks/ImportTextBlock.d.ts +0 -78
  169. package/lib/import/validators/fields/nestable/ImportRichText/blocks/ImportTextBlock.js +0 -43
  170. package/lib/import/validators/fields/nestable/ImportRichText/blocks/Span.d.ts +0 -79
  171. package/lib/import/validators/fields/nestable/ImportRichText/blocks/Span.js +0 -27
  172. package/lib/import/validators/fields/nestable/ImportRichText/blocks/index.d.ts +0 -4
  173. package/lib/import/validators/fields/nestable/ImportRichText/blocks/index.js +0 -7
  174. package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/HyperlinkSpan.d.ts +0 -24
  175. package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/HyperlinkSpan.js +0 -18
  176. package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/LabelSpan.d.ts +0 -12
  177. package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/LabelSpan.js +0 -16
  178. package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/SpanLocation.d.ts +0 -5
  179. package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/SpanLocation.js +0 -10
  180. package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/TextSpan.d.ts +0 -15
  181. package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/TextSpan.js +0 -20
  182. package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/index.d.ts +0 -2
  183. package/lib/import/validators/fields/nestable/ImportRichText/blocks/spans/index.js +0 -5
  184. package/lib/import/validators/fields/nestable/ImportRichText/index.d.ts +0 -2
  185. package/lib/import/validators/fields/nestable/ImportRichText/index.js +0 -7
  186. package/lib/import/validators/fields/nestable/Link.d.ts +0 -53
  187. package/lib/import/validators/fields/nestable/Link.js +0 -35
  188. package/lib/import/validators/fields/nestable/Nestable.d.ts +0 -192
  189. package/lib/import/validators/fields/nestable/Nestable.js +0 -71
  190. package/lib/import/validators/fields/nestable/Number.d.ts +0 -17
  191. package/lib/import/validators/fields/nestable/Number.js +0 -17
  192. package/lib/import/validators/fields/nestable/Select.d.ts +0 -16
  193. package/lib/import/validators/fields/nestable/Select.js +0 -19
  194. package/lib/import/validators/fields/nestable/Text.d.ts +0 -6
  195. package/lib/import/validators/fields/nestable/Text.js +0 -6
  196. package/lib/import/validators/fields/nestable/Timestamp.d.ts +0 -7
  197. package/lib/import/validators/fields/nestable/Timestamp.js +0 -19
  198. package/lib/import/validators/fields/nestable/index.d.ts +0 -14
  199. package/lib/import/validators/fields/nestable/index.js +0 -19
  200. package/lib/import/validators/index.d.ts +0 -2
  201. package/lib/import/validators/index.js +0 -5
@@ -77,6 +77,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
77
77
  width?: number | null;
78
78
  height?: number | null;
79
79
  })[];
80
+ allowCaption?: boolean;
80
81
  };
81
82
  }) | ({
82
83
  type: "IntegrationFields";
@@ -243,6 +244,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
243
244
  width?: number | null;
244
245
  height?: number | null;
245
246
  })[];
247
+ allowCaption?: boolean;
246
248
  };
247
249
  }) | ({
248
250
  type: "IntegrationFields";
@@ -416,6 +418,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
416
418
  width?: number | null;
417
419
  height?: number | null;
418
420
  })[];
421
+ allowCaption?: boolean;
419
422
  };
420
423
  }) | ({
421
424
  type: "IntegrationFields";
@@ -582,6 +585,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
582
585
  width?: number | null;
583
586
  height?: number | null;
584
587
  })[];
588
+ allowCaption?: boolean;
585
589
  };
586
590
  }) | ({
587
591
  type: "IntegrationFields";
@@ -749,6 +753,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
749
753
  width?: number | null;
750
754
  height?: number | null;
751
755
  })[];
756
+ allowCaption?: boolean;
752
757
  };
753
758
  }) | ({
754
759
  type: "IntegrationFields";
@@ -908,6 +913,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
908
913
  width?: number | null;
909
914
  height?: number | null;
910
915
  })[];
916
+ allowCaption?: boolean;
911
917
  };
912
918
  }) | ({
913
919
  type: "IntegrationFields";
@@ -1083,6 +1089,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1083
1089
  width?: number | null;
1084
1090
  height?: number | null;
1085
1091
  })[];
1092
+ allowCaption?: boolean;
1086
1093
  };
1087
1094
  }) | ({
1088
1095
  type: "IntegrationFields";
@@ -1242,6 +1249,7 @@ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1242
1249
  width?: number | null;
1243
1250
  height?: number | null;
1244
1251
  })[];
1252
+ allowCaption?: boolean;
1245
1253
  };
1246
1254
  }) | ({
1247
1255
  type: "IntegrationFields";
@@ -1434,6 +1442,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1434
1442
  width?: number | null;
1435
1443
  height?: number | null;
1436
1444
  })[];
1445
+ allowCaption?: boolean;
1437
1446
  };
1438
1447
  }) | ({
1439
1448
  type: "IntegrationFields";
@@ -1600,6 +1609,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1600
1609
  width?: number | null;
1601
1610
  height?: number | null;
1602
1611
  })[];
1612
+ allowCaption?: boolean;
1603
1613
  };
1604
1614
  }) | ({
1605
1615
  type: "IntegrationFields";
@@ -1773,6 +1783,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1773
1783
  width?: number | null;
1774
1784
  height?: number | null;
1775
1785
  })[];
1786
+ allowCaption?: boolean;
1776
1787
  };
1777
1788
  }) | ({
1778
1789
  type: "IntegrationFields";
@@ -1939,6 +1950,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
1939
1950
  width?: number | null;
1940
1951
  height?: number | null;
1941
1952
  })[];
1953
+ allowCaption?: boolean;
1942
1954
  };
1943
1955
  }) | ({
1944
1956
  type: "IntegrationFields";
@@ -2106,6 +2118,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2106
2118
  width?: number | null;
2107
2119
  height?: number | null;
2108
2120
  })[];
2121
+ allowCaption?: boolean;
2109
2122
  };
2110
2123
  }) | ({
2111
2124
  type: "IntegrationFields";
@@ -2265,6 +2278,7 @@ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2265
2278
  width?: number | null;
2266
2279
  height?: number | null;
2267
2280
  })[];
2281
+ allowCaption?: boolean;
2268
2282
  };
2269
2283
  }) | ({
2270
2284
  type: "IntegrationFields";
@@ -61,6 +61,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
61
61
  width?: number | null;
62
62
  height?: number | null;
63
63
  })[];
64
+ allowCaption?: boolean;
64
65
  };
65
66
  }) | ({
66
67
  type: "IntegrationFields";
@@ -227,6 +228,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
227
228
  width?: number | null;
228
229
  height?: number | null;
229
230
  })[];
231
+ allowCaption?: boolean;
230
232
  };
231
233
  }) | ({
232
234
  type: "IntegrationFields";
@@ -400,6 +402,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
400
402
  width?: number | null;
401
403
  height?: number | null;
402
404
  })[];
405
+ allowCaption?: boolean;
403
406
  };
404
407
  }) | ({
405
408
  type: "IntegrationFields";
@@ -566,6 +569,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
566
569
  width?: number | null;
567
570
  height?: number | null;
568
571
  })[];
572
+ allowCaption?: boolean;
569
573
  };
570
574
  }) | ({
571
575
  type: "IntegrationFields";
@@ -733,6 +737,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
733
737
  width?: number | null;
734
738
  height?: number | null;
735
739
  })[];
740
+ allowCaption?: boolean;
736
741
  };
737
742
  }) | ({
738
743
  type: "IntegrationFields";
@@ -892,6 +897,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
892
897
  width?: number | null;
893
898
  height?: number | null;
894
899
  })[];
900
+ allowCaption?: boolean;
895
901
  };
896
902
  }) | ({
897
903
  type: "IntegrationFields";
@@ -1067,6 +1073,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
1067
1073
  width?: number | null;
1068
1074
  height?: number | null;
1069
1075
  })[];
1076
+ allowCaption?: boolean;
1070
1077
  };
1071
1078
  }) | ({
1072
1079
  type: "IntegrationFields";
@@ -1226,6 +1233,7 @@ export declare const StaticSection: t.RecordC<t.Type<string, string, unknown>, t
1226
1233
  width?: number | null;
1227
1234
  height?: number | null;
1228
1235
  })[];
1236
+ allowCaption?: boolean;
1229
1237
  };
1230
1238
  }) | ({
1231
1239
  type: "IntegrationFields";
@@ -1404,6 +1412,7 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1404
1412
  width?: number | null;
1405
1413
  height?: number | null;
1406
1414
  })[];
1415
+ allowCaption?: boolean;
1407
1416
  };
1408
1417
  }) | ({
1409
1418
  type: "IntegrationFields";
@@ -1570,6 +1579,7 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1570
1579
  width?: number | null;
1571
1580
  height?: number | null;
1572
1581
  })[];
1582
+ allowCaption?: boolean;
1573
1583
  };
1574
1584
  }) | ({
1575
1585
  type: "IntegrationFields";
@@ -1743,6 +1753,7 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1743
1753
  width?: number | null;
1744
1754
  height?: number | null;
1745
1755
  })[];
1756
+ allowCaption?: boolean;
1746
1757
  };
1747
1758
  }) | ({
1748
1759
  type: "IntegrationFields";
@@ -1909,6 +1920,7 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
1909
1920
  width?: number | null;
1910
1921
  height?: number | null;
1911
1922
  })[];
1923
+ allowCaption?: boolean;
1912
1924
  };
1913
1925
  }) | ({
1914
1926
  type: "IntegrationFields";
@@ -2076,6 +2088,7 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2076
2088
  width?: number | null;
2077
2089
  height?: number | null;
2078
2090
  })[];
2091
+ allowCaption?: boolean;
2079
2092
  };
2080
2093
  }) | ({
2081
2094
  type: "IntegrationFields";
@@ -2235,6 +2248,7 @@ export declare const DynamicSection: t.RecordC<t.Type<string, string, unknown>,
2235
2248
  width?: number | null;
2236
2249
  height?: number | null;
2237
2250
  })[];
2251
+ allowCaption?: boolean;
2238
2252
  };
2239
2253
  }) | ({
2240
2254
  type: "IntegrationFields";
@@ -79,6 +79,7 @@ export declare const SliceComparator: {
79
79
  width?: number | null;
80
80
  height?: number | null;
81
81
  })[];
82
+ allowCaption?: boolean;
82
83
  };
83
84
  }) | ({
84
85
  type: "IntegrationFields";
@@ -238,6 +239,7 @@ export declare const SliceComparator: {
238
239
  width?: number | null;
239
240
  height?: number | null;
240
241
  })[];
242
+ allowCaption?: boolean;
241
243
  };
242
244
  }) | ({
243
245
  type: "IntegrationFields";
@@ -416,6 +418,7 @@ export declare const SliceComparator: {
416
418
  width?: number | null;
417
419
  height?: number | null;
418
420
  })[];
421
+ allowCaption?: boolean;
419
422
  };
420
423
  }) | ({
421
424
  type: "IntegrationFields";
@@ -575,6 +578,7 @@ export declare const SliceComparator: {
575
578
  width?: number | null;
576
579
  height?: number | null;
577
580
  })[];
581
+ allowCaption?: boolean;
578
582
  };
579
583
  }) | ({
580
584
  type: "IntegrationFields";
@@ -76,6 +76,7 @@ export declare const VariationComparator: {
76
76
  width?: number | null;
77
77
  height?: number | null;
78
78
  })[];
79
+ allowCaption?: boolean;
79
80
  };
80
81
  }) | ({
81
82
  type: "IntegrationFields";
@@ -235,6 +236,7 @@ export declare const VariationComparator: {
235
236
  width?: number | null;
236
237
  height?: number | null;
237
238
  })[];
239
+ allowCaption?: boolean;
238
240
  };
239
241
  }) | ({
240
242
  type: "IntegrationFields";
@@ -403,6 +405,7 @@ export declare const VariationComparator: {
403
405
  width?: number | null;
404
406
  height?: number | null;
405
407
  })[];
408
+ allowCaption?: boolean;
406
409
  };
407
410
  }) | ({
408
411
  type: "IntegrationFields";
@@ -562,6 +565,7 @@ export declare const VariationComparator: {
562
565
  width?: number | null;
563
566
  height?: number | null;
564
567
  })[];
568
+ allowCaption?: boolean;
565
569
  };
566
570
  }) | ({
567
571
  type: "IntegrationFields";
@@ -149,6 +149,7 @@ export declare const GroupConfig: t.ExactC<t.PartialC<{
149
149
  width: t.Type<number | null, unknown, unknown>;
150
150
  height: t.Type<number | null, unknown, unknown>;
151
151
  }>]>>>;
152
+ allowCaption: t.BooleanC;
152
153
  }>>;
153
154
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
154
155
  type: t.LiteralC<"IntegrationFields">;
@@ -317,6 +318,7 @@ export declare const Group: t.ExactC<t.IntersectionC<[t.TypeC<{
317
318
  width: t.Type<number | null, unknown, unknown>;
318
319
  height: t.Type<number | null, unknown, unknown>;
319
320
  }>]>>>;
321
+ allowCaption: t.BooleanC;
320
322
  }>>;
321
323
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
322
324
  type: t.LiteralC<"IntegrationFields">;
@@ -156,6 +156,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
156
156
  width: t.Type<number | null, unknown, unknown>;
157
157
  height: t.Type<number | null, unknown, unknown>;
158
158
  }>]>>>;
159
+ allowCaption: t.BooleanC;
159
160
  }>>;
160
161
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
161
162
  type: t.LiteralC<"IntegrationFields">;
@@ -321,6 +322,7 @@ export declare function widgetReader<T extends StaticSlices | DynamicSlices>(cod
321
322
  width: t.Type<number | null, unknown, unknown>;
322
323
  height: t.Type<number | null, unknown, unknown>;
323
324
  }>]>>>;
325
+ allowCaption: t.BooleanC;
324
326
  }>>;
325
327
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
326
328
  type: t.LiteralC<"IntegrationFields">;
@@ -489,6 +491,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
489
491
  width: t.Type<number | null, unknown, unknown>;
490
492
  height: t.Type<number | null, unknown, unknown>;
491
493
  }>]>>>;
494
+ allowCaption: t.BooleanC;
492
495
  }>>;
493
496
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
494
497
  type: t.LiteralC<"IntegrationFields">;
@@ -654,6 +657,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
654
657
  width: t.Type<number | null, unknown, unknown>;
655
658
  height: t.Type<number | null, unknown, unknown>;
656
659
  }>]>>>;
660
+ allowCaption: t.BooleanC;
657
661
  }>>;
658
662
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
659
663
  type: t.LiteralC<"IntegrationFields">;
@@ -739,6 +743,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
739
743
  width?: number | null;
740
744
  height?: number | null;
741
745
  })[];
746
+ allowCaption?: boolean;
742
747
  };
743
748
  }) | ({
744
749
  type: "IntegrationFields";
@@ -905,6 +910,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
905
910
  width?: number | null;
906
911
  height?: number | null;
907
912
  })[];
913
+ allowCaption?: boolean;
908
914
  };
909
915
  }) | ({
910
916
  type: "IntegrationFields";
@@ -1072,6 +1078,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1072
1078
  width?: number | null;
1073
1079
  height?: number | null;
1074
1080
  })[];
1081
+ allowCaption?: boolean;
1075
1082
  };
1076
1083
  }) | ({
1077
1084
  type: "IntegrationFields";
@@ -1231,6 +1238,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1231
1238
  width?: number | null;
1232
1239
  height?: number | null;
1233
1240
  })[];
1241
+ allowCaption?: boolean;
1234
1242
  };
1235
1243
  }) | ({
1236
1244
  type: "IntegrationFields";
@@ -1406,6 +1414,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1406
1414
  width?: number | null;
1407
1415
  height?: number | null;
1408
1416
  })[];
1417
+ allowCaption?: boolean;
1409
1418
  };
1410
1419
  }) | ({
1411
1420
  type: "IntegrationFields";
@@ -1565,6 +1574,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1565
1574
  width?: number | null;
1566
1575
  height?: number | null;
1567
1576
  })[];
1577
+ allowCaption?: boolean;
1568
1578
  };
1569
1579
  }) | ({
1570
1580
  type: "IntegrationFields";
@@ -1830,6 +1840,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1830
1840
  width: t.Type<number | null, unknown, unknown>;
1831
1841
  height: t.Type<number | null, unknown, unknown>;
1832
1842
  }>]>>>;
1843
+ allowCaption: t.BooleanC;
1833
1844
  }>>;
1834
1845
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
1835
1846
  type: t.LiteralC<"IntegrationFields">;
@@ -1995,6 +2006,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
1995
2006
  width: t.Type<number | null, unknown, unknown>;
1996
2007
  height: t.Type<number | null, unknown, unknown>;
1997
2008
  }>]>>>;
2009
+ allowCaption: t.BooleanC;
1998
2010
  }>>;
1999
2011
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
2000
2012
  type: t.LiteralC<"IntegrationFields">;
@@ -2080,6 +2092,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2080
2092
  width?: number | null;
2081
2093
  height?: number | null;
2082
2094
  })[];
2095
+ allowCaption?: boolean;
2083
2096
  };
2084
2097
  }) | ({
2085
2098
  type: "IntegrationFields";
@@ -2246,6 +2259,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2246
2259
  width?: number | null;
2247
2260
  height?: number | null;
2248
2261
  })[];
2262
+ allowCaption?: boolean;
2249
2263
  };
2250
2264
  }) | ({
2251
2265
  type: "IntegrationFields";
@@ -2413,6 +2427,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2413
2427
  width?: number | null;
2414
2428
  height?: number | null;
2415
2429
  })[];
2430
+ allowCaption?: boolean;
2416
2431
  };
2417
2432
  }) | ({
2418
2433
  type: "IntegrationFields";
@@ -2572,6 +2587,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2572
2587
  width?: number | null;
2573
2588
  height?: number | null;
2574
2589
  })[];
2590
+ allowCaption?: boolean;
2575
2591
  };
2576
2592
  }) | ({
2577
2593
  type: "IntegrationFields";
@@ -20,6 +20,7 @@ export declare const ImageConfig: t.ExactC<t.PartialC<{
20
20
  width: t.Type<number | null, unknown, unknown>;
21
21
  height: t.Type<number | null, unknown, unknown>;
22
22
  }>]>>>;
23
+ allowCaption: t.BooleanC;
23
24
  }>>;
24
25
  export declare type ImageConfig = t.TypeOf<typeof ImageConfig>;
25
26
  export declare const Image: t.ExactC<t.IntersectionC<[t.TypeC<{
@@ -39,6 +40,7 @@ export declare const Image: t.ExactC<t.IntersectionC<[t.TypeC<{
39
40
  width: t.Type<number | null, unknown, unknown>;
40
41
  height: t.Type<number | null, unknown, unknown>;
41
42
  }>]>>>;
43
+ allowCaption: t.BooleanC;
42
44
  }>>;
43
45
  }>]>>;
44
46
  export declare type Image = t.TypeOf<typeof Image>;
@@ -17,6 +17,7 @@ exports.ImageConfig = t.exact(t.partial({
17
17
  placeholder: t.string,
18
18
  constraint: ImageConstraint_1.default,
19
19
  thumbnails: t.readonlyArray(exports.Thumbnail),
20
+ allowCaption: t.boolean,
20
21
  }));
21
22
  exports.Image = t.exact(t.intersection([
22
23
  t.type({
@@ -145,6 +145,7 @@ export declare const NestableWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC
145
145
  width: t.Type<number | null, unknown, unknown>;
146
146
  height: t.Type<number | null, unknown, unknown>;
147
147
  }>]>>>;
148
+ allowCaption: t.BooleanC;
148
149
  }>>;
149
150
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
150
151
  type: t.LiteralC<"IntegrationFields">;
@@ -158,6 +158,7 @@ export declare const CompositeSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
158
158
  width: t.Type<number | null, unknown, unknown>;
159
159
  height: t.Type<number | null, unknown, unknown>;
160
160
  }>]>>>;
161
+ allowCaption: t.BooleanC;
161
162
  }>>;
162
163
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
163
164
  type: t.LiteralC<"IntegrationFields">;
@@ -315,6 +316,7 @@ export declare const CompositeSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
315
316
  width: t.Type<number | null, unknown, unknown>;
316
317
  height: t.Type<number | null, unknown, unknown>;
317
318
  }>]>>>;
319
+ allowCaption: t.BooleanC;
318
320
  }>>;
319
321
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
320
322
  type: t.LiteralC<"IntegrationFields">;
@@ -146,6 +146,7 @@ export declare const LegacySlice: t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[
146
146
  width: t.Type<number | null, unknown, unknown>;
147
147
  height: t.Type<number | null, unknown, unknown>;
148
148
  }>]>>>;
149
+ allowCaption: t.BooleanC;
149
150
  }>>;
150
151
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
151
152
  type: t.LiteralC<"IntegrationFields">;
@@ -311,6 +312,7 @@ export declare const LegacySlice: t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[
311
312
  width: t.Type<number | null, unknown, unknown>;
312
313
  height: t.Type<number | null, unknown, unknown>;
313
314
  }>]>>>;
315
+ allowCaption: t.BooleanC;
314
316
  }>>;
315
317
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
316
318
  type: t.LiteralC<"IntegrationFields">;
@@ -156,6 +156,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
156
156
  width: t.Type<number | null, unknown, unknown>;
157
157
  height: t.Type<number | null, unknown, unknown>;
158
158
  }>]>>>;
159
+ allowCaption: t.BooleanC;
159
160
  }>>;
160
161
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
161
162
  type: t.LiteralC<"IntegrationFields">;
@@ -313,6 +314,7 @@ export declare const Variation: t.ExactC<t.IntersectionC<[t.TypeC<{
313
314
  width: t.Type<number | null, unknown, unknown>;
314
315
  height: t.Type<number | null, unknown, unknown>;
315
316
  }>]>>>;
317
+ allowCaption: t.BooleanC;
316
318
  }>>;
317
319
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
318
320
  type: t.LiteralC<"IntegrationFields">;
@@ -492,6 +494,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
492
494
  width: t.Type<number | null, unknown, unknown>;
493
495
  height: t.Type<number | null, unknown, unknown>;
494
496
  }>]>>>;
497
+ allowCaption: t.BooleanC;
495
498
  }>>;
496
499
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
497
500
  type: t.LiteralC<"IntegrationFields">;
@@ -649,6 +652,7 @@ export declare const SharedSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
649
652
  width: t.Type<number | null, unknown, unknown>;
650
653
  height: t.Type<number | null, unknown, unknown>;
651
654
  }>]>>>;
655
+ allowCaption: t.BooleanC;
652
656
  }>>;
653
657
  }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
654
658
  type: t.LiteralC<"IntegrationFields">;