@prismicio/types-internal 2.0.0-alpha.1 → 2.0.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 (258) hide show
  1. package/lib/common/WidgetKey.d.ts +1 -1
  2. package/lib/common/WidgetKey.js +1 -1
  3. package/lib/common/index.js +1 -1
  4. package/lib/content/Document.d.ts +4 -4
  5. package/lib/content/Document.js +1 -1
  6. package/lib/content/LegacyContentCtx.d.ts +2 -2
  7. package/lib/content/LegacyContentCtx.js +1 -1
  8. package/lib/content/fields/EmptyContent.d.ts +1 -1
  9. package/lib/content/fields/EmptyContent.js +1 -1
  10. package/lib/content/fields/GroupContent.d.ts +4 -4
  11. package/lib/content/fields/GroupContent.js +1 -1
  12. package/lib/content/fields/UIDContent.d.ts +1 -1
  13. package/lib/content/fields/UIDContent.js +1 -1
  14. package/lib/content/fields/WidgetContent.d.ts +2 -2
  15. package/lib/content/fields/WidgetContent.js +1 -1
  16. package/lib/content/fields/index.js +5 -5
  17. package/lib/content/fields/nestable/BooleanContent.d.ts +1 -1
  18. package/lib/content/fields/nestable/BooleanContent.js +1 -1
  19. package/lib/content/fields/nestable/EmbedContent.d.ts +2 -2
  20. package/lib/content/fields/nestable/EmbedContent.js +1 -1
  21. package/lib/content/fields/nestable/FieldContent/ColorContent.d.ts +1 -1
  22. package/lib/content/fields/nestable/FieldContent/ColorContent.js +2 -2
  23. package/lib/content/fields/nestable/FieldContent/DateContent.d.ts +1 -1
  24. package/lib/content/fields/nestable/FieldContent/DateContent.js +2 -2
  25. package/lib/content/fields/nestable/FieldContent/NumberContent.d.ts +1 -1
  26. package/lib/content/fields/nestable/FieldContent/NumberContent.js +2 -2
  27. package/lib/content/fields/nestable/FieldContent/RangeContent.d.ts +1 -1
  28. package/lib/content/fields/nestable/FieldContent/RangeContent.js +2 -2
  29. package/lib/content/fields/nestable/FieldContent/SelectContent.d.ts +1 -1
  30. package/lib/content/fields/nestable/FieldContent/SelectContent.js +2 -2
  31. package/lib/content/fields/nestable/FieldContent/TextContent.d.ts +1 -1
  32. package/lib/content/fields/nestable/FieldContent/TextContent.js +2 -2
  33. package/lib/content/fields/nestable/FieldContent/TimestampContent.d.ts +1 -1
  34. package/lib/content/fields/nestable/FieldContent/TimestampContent.js +2 -2
  35. package/lib/content/fields/nestable/FieldContent/index.d.ts +2 -2
  36. package/lib/content/fields/nestable/FieldContent/index.js +9 -9
  37. package/lib/content/fields/nestable/GeoPointContent.d.ts +1 -1
  38. package/lib/content/fields/nestable/GeoPointContent.js +1 -1
  39. package/lib/content/fields/nestable/ImageContent.d.ts +2 -2
  40. package/lib/content/fields/nestable/ImageContent.js +1 -1
  41. package/lib/content/fields/nestable/IntegrationFieldContent.d.ts +1 -1
  42. package/lib/content/fields/nestable/IntegrationFieldContent.js +1 -1
  43. package/lib/content/fields/nestable/LinkContent.d.ts +6 -6
  44. package/lib/content/fields/nestable/LinkContent.js +1 -1
  45. package/lib/content/fields/nestable/NestableContent.d.ts +2 -2
  46. package/lib/content/fields/nestable/NestableContent.js +1 -1
  47. package/lib/content/fields/nestable/RichTextContent/Blocks.d.ts +7 -7
  48. package/lib/content/fields/nestable/RichTextContent/Blocks.js +2 -2
  49. package/lib/content/fields/nestable/RichTextContent/index.d.ts +1 -1
  50. package/lib/content/fields/nestable/RichTextContent/index.js +2 -2
  51. package/lib/content/fields/nestable/SeparatorContent.d.ts +1 -1
  52. package/lib/content/fields/nestable/SeparatorContent.js +1 -1
  53. package/lib/content/fields/nestable/index.js +10 -10
  54. package/lib/content/fields/slices/Slice/CompositeSliceContent.d.ts +1 -1
  55. package/lib/content/fields/slices/Slice/CompositeSliceContent.js +1 -1
  56. package/lib/content/fields/slices/Slice/RepeatableContent.js +1 -1
  57. package/lib/content/fields/slices/Slice/SharedSliceContent.d.ts +1 -1
  58. package/lib/content/fields/slices/Slice/SharedSliceContent.js +1 -1
  59. package/lib/content/fields/slices/Slice/SimpleSliceContent.d.ts +1 -1
  60. package/lib/content/fields/slices/Slice/SimpleSliceContent.js +1 -1
  61. package/lib/content/fields/slices/Slice/index.d.ts +1 -1
  62. package/lib/content/fields/slices/Slice/index.js +1 -1
  63. package/lib/content/fields/slices/SliceItem.d.ts +1 -1
  64. package/lib/content/fields/slices/SliceItem.js +1 -1
  65. package/lib/content/fields/slices/SlicesContent.d.ts +2 -2
  66. package/lib/content/fields/slices/SlicesContent.js +1 -1
  67. package/lib/content/fields/slices/index.js +5 -5
  68. package/lib/content/index.js +3 -3
  69. package/lib/content/utils.d.ts +2 -2
  70. package/lib/content/utils.js +2 -4
  71. package/lib/customtypes/CustomType.d.ts +2 -2
  72. package/lib/customtypes/CustomType.js +1 -1
  73. package/lib/customtypes/Section.d.ts +2 -2
  74. package/lib/customtypes/Section.js +1 -1
  75. package/lib/customtypes/diff/Changes.d.ts +4 -4
  76. package/lib/customtypes/diff/SharedSlice.d.ts +3 -671
  77. package/lib/customtypes/diff/Variation.d.ts +3 -657
  78. package/lib/customtypes/diff/index.js +3 -3
  79. package/lib/customtypes/index.js +4 -4
  80. package/lib/customtypes/widgets/Group.d.ts +1 -1
  81. package/lib/customtypes/widgets/Group.js +1 -1
  82. package/lib/customtypes/widgets/UID.d.ts +1 -1
  83. package/lib/customtypes/widgets/UID.js +1 -1
  84. package/lib/customtypes/widgets/Widget.d.ts +3 -3
  85. package/lib/customtypes/widgets/Widget.js +3 -3
  86. package/lib/customtypes/widgets/index.js +6 -6
  87. package/lib/customtypes/widgets/nestable/BooleanField.d.ts +2 -2
  88. package/lib/customtypes/widgets/nestable/BooleanField.js +1 -1
  89. package/lib/customtypes/widgets/nestable/Color.d.ts +2 -2
  90. package/lib/customtypes/widgets/nestable/Color.js +1 -1
  91. package/lib/customtypes/widgets/nestable/Date.d.ts +2 -2
  92. package/lib/customtypes/widgets/nestable/Date.js +1 -1
  93. package/lib/customtypes/widgets/nestable/Embed.d.ts +2 -2
  94. package/lib/customtypes/widgets/nestable/Embed.js +1 -1
  95. package/lib/customtypes/widgets/nestable/GeoPoint.d.ts +2 -2
  96. package/lib/customtypes/widgets/nestable/GeoPoint.js +1 -1
  97. package/lib/customtypes/widgets/nestable/Image.d.ts +3 -3
  98. package/lib/customtypes/widgets/nestable/Image.js +2 -2
  99. package/lib/customtypes/widgets/nestable/IntegrationField.d.ts +2 -2
  100. package/lib/customtypes/widgets/nestable/IntegrationField.js +1 -1
  101. package/lib/customtypes/widgets/nestable/Link.d.ts +2 -2
  102. package/lib/customtypes/widgets/nestable/Link.js +1 -1
  103. package/lib/customtypes/widgets/nestable/NestableWidget.d.ts +2 -2
  104. package/lib/customtypes/widgets/nestable/NestableWidget.js +1 -1
  105. package/lib/customtypes/widgets/nestable/Number.d.ts +2 -2
  106. package/lib/customtypes/widgets/nestable/Number.js +1 -1
  107. package/lib/customtypes/widgets/nestable/Range.d.ts +2 -2
  108. package/lib/customtypes/widgets/nestable/Range.js +1 -1
  109. package/lib/customtypes/widgets/nestable/RichText.d.ts +3 -3
  110. package/lib/customtypes/widgets/nestable/RichText.js +2 -2
  111. package/lib/customtypes/widgets/nestable/Select.d.ts +2 -2
  112. package/lib/customtypes/widgets/nestable/Select.js +1 -1
  113. package/lib/customtypes/widgets/nestable/Separator.d.ts +2 -2
  114. package/lib/customtypes/widgets/nestable/Separator.js +1 -1
  115. package/lib/customtypes/widgets/nestable/Text.d.ts +2 -2
  116. package/lib/customtypes/widgets/nestable/Text.js +1 -1
  117. package/lib/customtypes/widgets/nestable/Timestamp.d.ts +2 -2
  118. package/lib/customtypes/widgets/nestable/Timestamp.js +1 -1
  119. package/lib/customtypes/widgets/nestable/index.js +16 -16
  120. package/lib/customtypes/widgets/shared/ImageConstraint.d.ts +1 -1
  121. package/lib/customtypes/widgets/shared/ImageConstraint.js +1 -1
  122. package/lib/customtypes/widgets/slices/CompositeSlice.d.ts +1 -1
  123. package/lib/customtypes/widgets/slices/CompositeSlice.js +1 -1
  124. package/lib/customtypes/widgets/slices/LegacySlice.d.ts +1 -1
  125. package/lib/customtypes/widgets/slices/LegacySlice.js +2 -2
  126. package/lib/customtypes/widgets/slices/SharedSlice.d.ts +2 -2
  127. package/lib/customtypes/widgets/slices/SharedSlice.js +1 -1
  128. package/lib/customtypes/widgets/slices/SharedSliceRef.d.ts +1 -1
  129. package/lib/customtypes/widgets/slices/SharedSliceRef.js +1 -1
  130. package/lib/customtypes/widgets/slices/Slice.d.ts +2 -2
  131. package/lib/customtypes/widgets/slices/Slices.d.ts +5 -5
  132. package/lib/customtypes/widgets/slices/Slices.js +4 -4
  133. package/lib/customtypes/widgets/slices/SlicesTypes.d.ts +1 -1
  134. package/lib/customtypes/widgets/slices/SlicesTypes.js +1 -1
  135. package/lib/customtypes/widgets/slices/index.js +6 -6
  136. package/lib/utils/index.js +2 -2
  137. package/lib/validators/DateFromString.js +1 -1
  138. package/lib/validators/DateFromStringOrNumber.js +1 -1
  139. package/lib/validators/DateFromTsMs.js +1 -1
  140. package/lib/validators/IntFromNumber.d.ts +2 -2
  141. package/lib/validators/IntFromNumber.js +1 -1
  142. package/lib/validators/IntFromPixels.d.ts +2 -2
  143. package/lib/validators/IntFromPixels.js +1 -1
  144. package/lib/validators/NonEmptyString.js +1 -1
  145. package/lib/validators/NonEmptyStringOrNull.js +1 -1
  146. package/lib/validators/NumberOrNull.js +1 -1
  147. package/lib/validators/StringFromBoolean.d.ts +2 -2
  148. package/lib/validators/StringFromBoolean.js +1 -1
  149. package/lib/validators/StringFromNumber.d.ts +2 -2
  150. package/lib/validators/StringFromNumber.js +1 -1
  151. package/lib/validators/StringOrNull.js +1 -1
  152. package/lib/validators/TrimmedString.d.ts +2 -2
  153. package/lib/validators/TrimmedString.js +1 -1
  154. package/lib/validators/function.js +1 -1
  155. package/lib/validators/index.js +12 -12
  156. package/package.json +1 -1
  157. package/lib/content/CustomType.d.ts +0 -2972
  158. package/lib/content/CustomType.js +0 -15
  159. package/lib/content/fields/nestable/FieldContent.d.ts +0 -32
  160. package/lib/content/fields/nestable/FieldContent.js +0 -37
  161. package/lib/content/fields/nestable/Image.d.ts +0 -103
  162. package/lib/content/fields/nestable/Image.js +0 -13
  163. package/lib/content/fields/nestable/RichTextContent.d.ts +0 -376
  164. package/lib/content/fields/nestable/RichTextContent.js +0 -16
  165. package/lib/content/fields/slices/CompositeSliceContent.d.ts +0 -677
  166. package/lib/content/fields/slices/CompositeSliceContent.js +0 -14
  167. package/lib/content/fields/slices/RepeatableContent.d.ts +0 -338
  168. package/lib/content/fields/slices/RepeatableContent.js +0 -16
  169. package/lib/content/fields/slices/SharedSliceContent.d.ts +0 -678
  170. package/lib/content/fields/slices/SharedSliceContent.js +0 -15
  171. package/lib/content/fields/slices/SimpleSliceContent.d.ts +0 -675
  172. package/lib/content/fields/slices/SimpleSliceContent.js +0 -8
  173. package/lib/customtypes/Comparators/Changes.d.ts +0 -17
  174. package/lib/customtypes/Comparators/Changes.js +0 -9
  175. package/lib/customtypes/Comparators/SharedSlice.d.ts +0 -679
  176. package/lib/customtypes/Comparators/SharedSlice.js +0 -55
  177. package/lib/customtypes/Comparators/Variation.d.ts +0 -662
  178. package/lib/customtypes/Comparators/Variation.js +0 -75
  179. package/lib/customtypes/Comparators/index.d.ts +0 -3
  180. package/lib/customtypes/Comparators/index.js +0 -6
  181. package/lib/customtypes/Format.d.ts +0 -4
  182. package/lib/customtypes/Format.js +0 -8
  183. package/lib/customtypes/comp/Changes.d.ts +0 -17
  184. package/lib/customtypes/comp/Changes.js +0 -9
  185. package/lib/customtypes/comp/SharedSlice.d.ts +0 -679
  186. package/lib/customtypes/comp/SharedSlice.js +0 -55
  187. package/lib/customtypes/comp/Variation.d.ts +0 -662
  188. package/lib/customtypes/comp/Variation.js +0 -76
  189. package/lib/customtypes/comp/index.d.ts +0 -3
  190. package/lib/customtypes/comp/index.js +0 -6
  191. package/lib/customtypes/utils/Comparator.d.ts +0 -1353
  192. package/lib/customtypes/utils/Comparator.js +0 -59
  193. package/lib/customtypes/utils/index.d.ts +0 -1
  194. package/lib/customtypes/utils/index.js +0 -4
  195. package/lib/customtypes/widgets/WidgetTypes.d.ts +0 -22
  196. package/lib/customtypes/widgets/WidgetTypes.js +0 -25
  197. package/lib/documents/DocumentData.d.ts +0 -6
  198. package/lib/documents/DocumentData.js +0 -15
  199. package/lib/documents/index.d.ts +0 -2
  200. package/lib/documents/index.js +0 -7
  201. package/lib/documents/widgets/EmptyContent.d.ts +0 -8
  202. package/lib/documents/widgets/EmptyContent.js +0 -9
  203. package/lib/documents/widgets/GroupContent.d.ts +0 -16
  204. package/lib/documents/widgets/GroupContent.js +0 -60
  205. package/lib/documents/widgets/SimpleWidgetContent.d.ts +0 -20
  206. package/lib/documents/widgets/SimpleWidgetContent.js +0 -75
  207. package/lib/documents/widgets/StaticWidgetContent.d.ts +0 -10
  208. package/lib/documents/widgets/StaticWidgetContent.js +0 -26
  209. package/lib/documents/widgets/UIDContent.d.ts +0 -7
  210. package/lib/documents/widgets/UIDContent.js +0 -10
  211. package/lib/documents/widgets/index.d.ts +0 -38
  212. package/lib/documents/widgets/index.js +0 -40
  213. package/lib/documents/widgets/nestable/BooleanContent.d.ts +0 -8
  214. package/lib/documents/widgets/nestable/BooleanContent.js +0 -11
  215. package/lib/documents/widgets/nestable/EmbedContent.d.ts +0 -42
  216. package/lib/documents/widgets/nestable/EmbedContent.js +0 -35
  217. package/lib/documents/widgets/nestable/FieldContent.d.ts +0 -13
  218. package/lib/documents/widgets/nestable/FieldContent.js +0 -37
  219. package/lib/documents/widgets/nestable/GeoPointContent.d.ts +0 -17
  220. package/lib/documents/widgets/nestable/GeoPointContent.js +0 -13
  221. package/lib/documents/widgets/nestable/ImageContent.d.ts +0 -127
  222. package/lib/documents/widgets/nestable/ImageContent.js +0 -41
  223. package/lib/documents/widgets/nestable/IntegrationFieldsContent.d.ts +0 -8
  224. package/lib/documents/widgets/nestable/IntegrationFieldsContent.js +0 -16
  225. package/lib/documents/widgets/nestable/Link/DocumentLink.d.ts +0 -12
  226. package/lib/documents/widgets/nestable/Link/DocumentLink.js +0 -13
  227. package/lib/documents/widgets/nestable/Link/ExternalLink.d.ts +0 -24
  228. package/lib/documents/widgets/nestable/Link/ExternalLink.js +0 -24
  229. package/lib/documents/widgets/nestable/Link/FileLink.d.ts +0 -22
  230. package/lib/documents/widgets/nestable/Link/FileLink.js +0 -25
  231. package/lib/documents/widgets/nestable/Link/ImageLink.d.ts +0 -28
  232. package/lib/documents/widgets/nestable/Link/ImageLink.js +0 -26
  233. package/lib/documents/widgets/nestable/Link/LinkContent.d.ts +0 -42
  234. package/lib/documents/widgets/nestable/Link/LinkContent.js +0 -17
  235. package/lib/documents/widgets/nestable/Link/index.d.ts +0 -90
  236. package/lib/documents/widgets/nestable/Link/index.js +0 -35
  237. package/lib/documents/widgets/nestable/SeparatorContent.d.ts +0 -11
  238. package/lib/documents/widgets/nestable/SeparatorContent.js +0 -15
  239. package/lib/documents/widgets/nestable/StructuredTextContent/Block.d.ts +0 -314
  240. package/lib/documents/widgets/nestable/StructuredTextContent/Block.js +0 -98
  241. package/lib/documents/widgets/nestable/StructuredTextContent/index.d.ts +0 -9
  242. package/lib/documents/widgets/nestable/StructuredTextContent/index.js +0 -14
  243. package/lib/documents/widgets/nestable/index.d.ts +0 -26
  244. package/lib/documents/widgets/nestable/index.js +0 -39
  245. package/lib/documents/widgets/slices/CompositeSliceContent.d.ts +0 -14
  246. package/lib/documents/widgets/slices/CompositeSliceContent.js +0 -52
  247. package/lib/documents/widgets/slices/SharedSliceContent.d.ts +0 -15
  248. package/lib/documents/widgets/slices/SharedSliceContent.js +0 -63
  249. package/lib/documents/widgets/slices/SimpleSliceContent.d.ts +0 -6
  250. package/lib/documents/widgets/slices/SimpleSliceContent.js +0 -6
  251. package/lib/documents/widgets/slices/SliceWidgetContent.d.ts +0 -8
  252. package/lib/documents/widgets/slices/SliceWidgetContent.js +0 -26
  253. package/lib/documents/widgets/slices/SlicesContent.d.ts +0 -17
  254. package/lib/documents/widgets/slices/SlicesContent.js +0 -52
  255. package/lib/documents/widgets/slices/index.d.ts +0 -5
  256. package/lib/documents/widgets/slices/index.js +0 -8
  257. package/lib/index.d.ts +0 -3
  258. package/lib/index.js +0 -7
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GroupFieldType = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const t = (0, tslib_1.__importStar)(require("io-ts"));
5
+ const t = tslib_1.__importStar(require("io-ts"));
6
6
  const common_1 = require("../../common");
7
7
  const validators_1 = require("../../validators");
8
8
  const NestableWidget_1 = require("./nestable/NestableWidget");
@@ -10,5 +10,5 @@ declare const UID: t.ExactC<t.IntersectionC<[t.TypeC<{
10
10
  placeholder: t.StringC;
11
11
  }>>;
12
12
  }>]>>;
13
- declare type UID = t.TypeOf<typeof UID>;
13
+ type UID = t.TypeOf<typeof UID>;
14
14
  export default UID;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UIDFieldType = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const t = (0, tslib_1.__importStar)(require("io-ts"));
5
+ const t = tslib_1.__importStar(require("io-ts"));
6
6
  const validators_1 = require("../../validators");
7
7
  exports.UIDFieldType = "UID";
8
8
  const UIDConfig = t.exact(t.partial({
@@ -1671,7 +1671,7 @@ export declare const StaticWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1671
1671
  };
1672
1672
  };
1673
1673
  }, unknown, unknown>]>;
1674
- export declare type StaticWidget = t.TypeOf<typeof StaticWidget>;
1674
+ export type StaticWidget = t.TypeOf<typeof StaticWidget>;
1675
1675
  export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
1676
1676
  type: t.LiteralC<"UID">;
1677
1677
  }>, t.PartialC<{
@@ -2677,7 +2677,7 @@ export declare const DynamicWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<
2677
2677
  };
2678
2678
  };
2679
2679
  }, unknown, unknown>]>;
2680
- export declare type DynamicWidget = t.TypeOf<typeof DynamicWidget>;
2680
+ export type DynamicWidget = t.TypeOf<typeof DynamicWidget>;
2681
2681
  export declare const FieldTypes: t.KeyofC<{
2682
2682
  Color: null;
2683
2683
  Boolean: null;
@@ -2699,7 +2699,7 @@ export declare const FieldTypes: t.KeyofC<{
2699
2699
  Slices: null;
2700
2700
  Choice: null;
2701
2701
  }>;
2702
- export declare type FieldTypes = t.TypeOf<typeof FieldTypes>;
2702
+ export type FieldTypes = t.TypeOf<typeof FieldTypes>;
2703
2703
  export declare const Widgets: {
2704
2704
  toStatic(widget: DynamicWidget, sharedSlices: Map<string, SharedSlice>): StaticWidget;
2705
2705
  };
@@ -2,12 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Widgets = exports.FieldTypes = exports.DynamicWidget = exports.StaticWidget = exports.widgetReader = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const t = (0, tslib_1.__importStar)(require("io-ts"));
6
- const Group_1 = (0, tslib_1.__importStar)(require("./Group"));
5
+ const t = tslib_1.__importStar(require("io-ts"));
6
+ const Group_1 = tslib_1.__importStar(require("./Group"));
7
7
  const nestable_1 = require("./nestable");
8
8
  const NestableWidget_1 = require("./nestable/NestableWidget");
9
9
  const Slices_1 = require("./slices/Slices");
10
- const UID_1 = (0, tslib_1.__importStar)(require("./UID"));
10
+ const UID_1 = tslib_1.__importStar(require("./UID"));
11
11
  function widgetReader(codec) {
12
12
  return t.union([UID_1.default, NestableWidget_1.NestableWidget, Group_1.default, codec]);
13
13
  }
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- (0, tslib_1.__exportStar)(require("./Group"), exports);
5
- (0, tslib_1.__exportStar)(require("./nestable"), exports);
6
- (0, tslib_1.__exportStar)(require("./shared"), exports);
7
- (0, tslib_1.__exportStar)(require("./slices"), exports);
8
- (0, tslib_1.__exportStar)(require("./UID"), exports);
9
- (0, tslib_1.__exportStar)(require("./Widget"), exports);
4
+ tslib_1.__exportStar(require("./Group"), exports);
5
+ tslib_1.__exportStar(require("./nestable"), exports);
6
+ tslib_1.__exportStar(require("./shared"), exports);
7
+ tslib_1.__exportStar(require("./slices"), exports);
8
+ tslib_1.__exportStar(require("./UID"), exports);
9
+ tslib_1.__exportStar(require("./Widget"), exports);
@@ -6,7 +6,7 @@ export declare const BooleanConfig: t.ExactC<t.PartialC<{
6
6
  placeholder_true: t.StringC;
7
7
  placeholder_false: t.StringC;
8
8
  }>>;
9
- export declare type BooleanConfig = t.TypeOf<typeof BooleanConfig>;
9
+ export type BooleanConfig = t.TypeOf<typeof BooleanConfig>;
10
10
  export declare const BooleanField: t.ExactC<t.IntersectionC<[t.TypeC<{
11
11
  type: t.LiteralC<"Boolean">;
12
12
  }>, t.PartialC<{
@@ -17,4 +17,4 @@ export declare const BooleanField: t.ExactC<t.IntersectionC<[t.TypeC<{
17
17
  placeholder_false: t.StringC;
18
18
  }>>;
19
19
  }>]>>;
20
- export declare type BooleanField = t.TypeOf<typeof BooleanField>;
20
+ export type BooleanField = t.TypeOf<typeof BooleanField>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BooleanField = exports.BooleanConfig = exports.BooleanFieldType = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const t = (0, tslib_1.__importStar)(require("io-ts"));
5
+ const t = tslib_1.__importStar(require("io-ts"));
6
6
  const validators_1 = require("../../../validators");
7
7
  exports.BooleanFieldType = "Boolean";
8
8
  exports.BooleanConfig = t.exact(t.partial({
@@ -4,7 +4,7 @@ export declare const ColorConfig: t.ExactC<t.PartialC<{
4
4
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5
5
  placeholder: t.StringC;
6
6
  }>>;
7
- export declare type ColorConfig = t.TypeOf<typeof ColorConfig>;
7
+ export type ColorConfig = t.TypeOf<typeof ColorConfig>;
8
8
  export declare const Color: t.ExactC<t.IntersectionC<[t.TypeC<{
9
9
  type: t.LiteralC<"Color">;
10
10
  }>, t.PartialC<{
@@ -14,4 +14,4 @@ export declare const Color: t.ExactC<t.IntersectionC<[t.TypeC<{
14
14
  placeholder: t.StringC;
15
15
  }>>;
16
16
  }>]>>;
17
- export declare type Color = t.TypeOf<typeof Color>;
17
+ export type Color = t.TypeOf<typeof Color>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Color = exports.ColorConfig = exports.ColorFieldType = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const t = (0, tslib_1.__importStar)(require("io-ts"));
5
+ const t = tslib_1.__importStar(require("io-ts"));
6
6
  const validators_1 = require("../../../validators");
7
7
  exports.ColorFieldType = "Color";
8
8
  exports.ColorConfig = t.exact(t.partial({
@@ -5,7 +5,7 @@ export declare const DateConfig: t.ExactC<t.PartialC<{
5
5
  placeholder: t.StringC;
6
6
  default: t.StringC;
7
7
  }>>;
8
- export declare type DateConfig = t.TypeOf<typeof DateConfig>;
8
+ export type DateConfig = t.TypeOf<typeof DateConfig>;
9
9
  export declare const Date: t.ExactC<t.IntersectionC<[t.TypeC<{
10
10
  type: t.LiteralC<"Date">;
11
11
  }>, t.PartialC<{
@@ -16,4 +16,4 @@ export declare const Date: t.ExactC<t.IntersectionC<[t.TypeC<{
16
16
  default: t.StringC;
17
17
  }>>;
18
18
  }>]>>;
19
- export declare type Date = t.TypeOf<typeof Date>;
19
+ export type Date = t.TypeOf<typeof Date>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Date = exports.DateConfig = exports.DateFieldType = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const t = (0, tslib_1.__importStar)(require("io-ts"));
5
+ const t = tslib_1.__importStar(require("io-ts"));
6
6
  const validators_1 = require("../../../validators");
7
7
  exports.DateFieldType = "Date";
8
8
  exports.DateConfig = t.exact(t.partial({
@@ -5,7 +5,7 @@ export declare const EmbedConfig: t.ExactC<t.PartialC<{
5
5
  placeholder: t.StringC;
6
6
  useAsTitle: t.BooleanC;
7
7
  }>>;
8
- export declare type EmbedConfig = t.TypeOf<typeof EmbedConfig>;
8
+ export type EmbedConfig = t.TypeOf<typeof EmbedConfig>;
9
9
  export declare const Embed: t.ExactC<t.IntersectionC<[t.TypeC<{
10
10
  type: t.LiteralC<"Embed">;
11
11
  }>, t.PartialC<{
@@ -16,4 +16,4 @@ export declare const Embed: t.ExactC<t.IntersectionC<[t.TypeC<{
16
16
  useAsTitle: t.BooleanC;
17
17
  }>>;
18
18
  }>]>>;
19
- export declare type Embed = t.TypeOf<typeof Embed>;
19
+ export type Embed = t.TypeOf<typeof Embed>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Embed = exports.EmbedConfig = exports.EmbedFieldType = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const t = (0, tslib_1.__importStar)(require("io-ts"));
5
+ const t = tslib_1.__importStar(require("io-ts"));
6
6
  const validators_1 = require("../../../validators");
7
7
  exports.EmbedFieldType = "Embed";
8
8
  exports.EmbedConfig = t.exact(t.partial({
@@ -3,7 +3,7 @@ export declare const GeoPointFieldType = "GeoPoint";
3
3
  export declare const GeoPointConfig: t.ExactC<t.PartialC<{
4
4
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5
5
  }>>;
6
- export declare type GeoPointConfig = t.TypeOf<typeof GeoPointConfig>;
6
+ export type GeoPointConfig = t.TypeOf<typeof GeoPointConfig>;
7
7
  export declare const GeoPoint: t.ExactC<t.IntersectionC<[t.TypeC<{
8
8
  type: t.LiteralC<"GeoPoint">;
9
9
  }>, t.PartialC<{
@@ -12,4 +12,4 @@ export declare const GeoPoint: t.ExactC<t.IntersectionC<[t.TypeC<{
12
12
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
13
13
  }>>;
14
14
  }>]>>;
15
- export declare type GeoPoint = t.TypeOf<typeof GeoPoint>;
15
+ export type GeoPoint = t.TypeOf<typeof GeoPoint>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GeoPoint = exports.GeoPointConfig = exports.GeoPointFieldType = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const t = (0, tslib_1.__importStar)(require("io-ts"));
5
+ const t = tslib_1.__importStar(require("io-ts"));
6
6
  const validators_1 = require("../../../validators");
7
7
  exports.GeoPointFieldType = "GeoPoint";
8
8
  exports.GeoPointConfig = t.exact(t.partial({
@@ -6,7 +6,7 @@ export declare const Thumbnail: t.ExactC<t.IntersectionC<[t.TypeC<{
6
6
  width: t.Type<number | null, unknown, unknown>;
7
7
  height: t.Type<number | null, unknown, unknown>;
8
8
  }>]>>;
9
- export declare type Thumbnail = t.TypeOf<typeof Thumbnail>;
9
+ export type Thumbnail = t.TypeOf<typeof Thumbnail>;
10
10
  export declare const ImageConfig: t.ExactC<t.PartialC<{
11
11
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
12
12
  placeholder: t.StringC;
@@ -21,7 +21,7 @@ export declare const ImageConfig: t.ExactC<t.PartialC<{
21
21
  height: t.Type<number | null, unknown, unknown>;
22
22
  }>]>>>;
23
23
  }>>;
24
- export declare type ImageConfig = t.TypeOf<typeof ImageConfig>;
24
+ export type ImageConfig = t.TypeOf<typeof ImageConfig>;
25
25
  export declare const Image: t.ExactC<t.IntersectionC<[t.TypeC<{
26
26
  type: t.LiteralC<"Image">;
27
27
  }>, t.PartialC<{
@@ -41,4 +41,4 @@ export declare const Image: t.ExactC<t.IntersectionC<[t.TypeC<{
41
41
  }>]>>>;
42
42
  }>>;
43
43
  }>]>>;
44
- export declare type Image = t.TypeOf<typeof Image>;
44
+ export type Image = t.TypeOf<typeof Image>;
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Image = exports.ImageConfig = exports.Thumbnail = exports.ImageFieldType = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const t = (0, tslib_1.__importStar)(require("io-ts"));
5
+ const t = tslib_1.__importStar(require("io-ts"));
6
6
  const validators_1 = require("../../../validators");
7
- const ImageConstraint_1 = (0, tslib_1.__importDefault)(require("../shared/ImageConstraint"));
7
+ const ImageConstraint_1 = tslib_1.__importDefault(require("../shared/ImageConstraint"));
8
8
  exports.ImageFieldType = "Image";
9
9
  exports.Thumbnail = t.exact(t.intersection([
10
10
  t.type({
@@ -5,7 +5,7 @@ export declare const IntegrationFieldConfig: t.ExactC<t.PartialC<{
5
5
  placeholder: t.StringC;
6
6
  catalog: t.StringC;
7
7
  }>>;
8
- export declare type IntegrationFieldConfig = t.TypeOf<typeof IntegrationFieldConfig>;
8
+ export type IntegrationFieldConfig = t.TypeOf<typeof IntegrationFieldConfig>;
9
9
  export declare const IntegrationField: t.ExactC<t.IntersectionC<[t.TypeC<{
10
10
  type: t.LiteralC<"IntegrationFields">;
11
11
  }>, t.PartialC<{
@@ -16,4 +16,4 @@ export declare const IntegrationField: t.ExactC<t.IntersectionC<[t.TypeC<{
16
16
  catalog: t.StringC;
17
17
  }>>;
18
18
  }>]>>;
19
- export declare type IntegrationField = t.TypeOf<typeof IntegrationField>;
19
+ export type IntegrationField = t.TypeOf<typeof IntegrationField>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IntegrationField = exports.IntegrationFieldConfig = exports.IntegrationFieldType = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const t = (0, tslib_1.__importStar)(require("io-ts"));
5
+ const t = tslib_1.__importStar(require("io-ts"));
6
6
  const validators_1 = require("../../../validators");
7
7
  exports.IntegrationFieldType = "IntegrationFields";
8
8
  exports.IntegrationFieldConfig = t.exact(t.partial({
@@ -10,7 +10,7 @@ export declare const LinkConfig: t.ExactC<t.PartialC<{
10
10
  tags: t.Type<readonly string[], object, unknown>;
11
11
  allowTargetBlank: t.BooleanC;
12
12
  }>>;
13
- export declare type LinkConfig = t.TypeOf<typeof LinkConfig>;
13
+ export type LinkConfig = t.TypeOf<typeof LinkConfig>;
14
14
  export declare const Link: t.ExactC<t.IntersectionC<[t.TypeC<{
15
15
  type: t.LiteralC<"Link">;
16
16
  }>, t.PartialC<{
@@ -26,5 +26,5 @@ export declare const Link: t.ExactC<t.IntersectionC<[t.TypeC<{
26
26
  allowTargetBlank: t.BooleanC;
27
27
  }>>;
28
28
  }>]>>;
29
- export declare type Link = t.TypeOf<typeof Link>;
29
+ export type Link = t.TypeOf<typeof Link>;
30
30
  export default Link;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Link = exports.LinkConfig = exports.LinkFieldType = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const Either_1 = require("fp-ts/lib/Either");
6
- const t = (0, tslib_1.__importStar)(require("io-ts"));
6
+ const t = tslib_1.__importStar(require("io-ts"));
7
7
  const withFallback_1 = require("io-ts-types/lib/withFallback");
8
8
  const validators_1 = require("../../../validators");
9
9
  const arrayString = (entries) => {
@@ -156,5 +156,5 @@ export declare const NestableWidget: t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC
156
156
  catalog: t.StringC;
157
157
  }>>;
158
158
  }>]>>]>;
159
- export declare type NestableWidget = t.TypeOf<typeof NestableWidget>;
160
- export declare type NestableFieldTypes = NestableWidget["type"];
159
+ export type NestableWidget = t.TypeOf<typeof NestableWidget>;
160
+ export type NestableFieldTypes = NestableWidget["type"];
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NestableWidget = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const t = (0, tslib_1.__importStar)(require("io-ts"));
5
+ const t = tslib_1.__importStar(require("io-ts"));
6
6
  const BooleanField_1 = require("./BooleanField");
7
7
  const Color_1 = require("./Color");
8
8
  const Date_1 = require("./Date");
@@ -7,7 +7,7 @@ export declare const NumberConfig: t.ExactC<t.PartialC<{
7
7
  max: t.UnionC<[t.NumberC, import("io-ts-types/lib/NumberFromString").NumberFromStringC]>;
8
8
  step: t.UnionC<[t.NumberC, import("io-ts-types/lib/NumberFromString").NumberFromStringC]>;
9
9
  }>>;
10
- export declare type NumberConfig = t.TypeOf<typeof NumberConfig>;
10
+ export type NumberConfig = t.TypeOf<typeof NumberConfig>;
11
11
  export declare const Number: t.ExactC<t.IntersectionC<[t.TypeC<{
12
12
  type: t.LiteralC<"Number">;
13
13
  }>, t.PartialC<{
@@ -20,4 +20,4 @@ export declare const Number: t.ExactC<t.IntersectionC<[t.TypeC<{
20
20
  step: t.UnionC<[t.NumberC, import("io-ts-types/lib/NumberFromString").NumberFromStringC]>;
21
21
  }>>;
22
22
  }>]>>;
23
- export declare type Number = t.TypeOf<typeof Number>;
23
+ export type Number = t.TypeOf<typeof Number>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Number = exports.NumberConfig = exports.NumberFieldType = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const t = (0, tslib_1.__importStar)(require("io-ts"));
5
+ const t = tslib_1.__importStar(require("io-ts"));
6
6
  const NumberFromString_1 = require("io-ts-types/lib/NumberFromString");
7
7
  const validators_1 = require("../../../validators");
8
8
  exports.NumberFieldType = "Number";
@@ -7,7 +7,7 @@ export declare const RangeConfig: t.ExactC<t.PartialC<{
7
7
  max: t.UnionC<[t.NumberC, import("io-ts-types/lib/NumberFromString").NumberFromStringC]>;
8
8
  step: t.UnionC<[t.NumberC, import("io-ts-types/lib/NumberFromString").NumberFromStringC]>;
9
9
  }>>;
10
- export declare type RangeConfig = t.TypeOf<typeof RangeConfig>;
10
+ export type RangeConfig = t.TypeOf<typeof RangeConfig>;
11
11
  export declare const Range: t.ExactC<t.IntersectionC<[t.TypeC<{
12
12
  type: t.LiteralC<"Range">;
13
13
  }>, t.PartialC<{
@@ -20,4 +20,4 @@ export declare const Range: t.ExactC<t.IntersectionC<[t.TypeC<{
20
20
  step: t.UnionC<[t.NumberC, import("io-ts-types/lib/NumberFromString").NumberFromStringC]>;
21
21
  }>>;
22
22
  }>]>>;
23
- export declare type Range = t.TypeOf<typeof Range>;
23
+ export type Range = t.TypeOf<typeof Range>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Range = exports.RangeConfig = exports.RangeFieldType = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const t = (0, tslib_1.__importStar)(require("io-ts"));
5
+ const t = tslib_1.__importStar(require("io-ts"));
6
6
  const NumberFromString_1 = require("io-ts-types/lib/NumberFromString");
7
7
  const validators_1 = require("../../../validators");
8
8
  exports.RangeFieldType = "Range";
@@ -1,7 +1,7 @@
1
1
  import * as t from "io-ts";
2
2
  export declare const RichTextFieldType = "StructuredText";
3
3
  export declare const DEFAULT_OPTION = "paragraph";
4
- export declare type RichTextNodeType = typeof RichTextNodeType[keyof typeof RichTextNodeType];
4
+ export type RichTextNodeType = typeof RichTextNodeType[keyof typeof RichTextNodeType];
5
5
  export declare const RichTextNodeType: {
6
6
  readonly heading1: "heading1";
7
7
  readonly heading2: "heading2";
@@ -51,7 +51,7 @@ export declare const RichTextConfig: t.ExactC<t.PartialC<{
51
51
  labels: t.Type<readonly string[], object, unknown>;
52
52
  allowTargetBlank: t.BooleanC;
53
53
  }>>;
54
- export declare type RichTextConfig = t.TypeOf<typeof RichTextConfig>;
54
+ export type RichTextConfig = t.TypeOf<typeof RichTextConfig>;
55
55
  export declare const RichText: t.ExactC<t.IntersectionC<[t.TypeC<{
56
56
  type: t.LiteralC<"StructuredText">;
57
57
  }>, t.PartialC<{
@@ -70,4 +70,4 @@ export declare const RichText: t.ExactC<t.IntersectionC<[t.TypeC<{
70
70
  allowTargetBlank: t.BooleanC;
71
71
  }>>;
72
72
  }>]>>;
73
- export declare type RichText = t.TypeOf<typeof RichText>;
73
+ export type RichText = t.TypeOf<typeof RichText>;
@@ -3,9 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RichText = exports.RichTextConfig = exports.RichTextNodeTypeCodec = exports.RichTextNodeType = exports.DEFAULT_OPTION = exports.RichTextFieldType = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const Either_1 = require("fp-ts/lib/Either");
6
- const t = (0, tslib_1.__importStar)(require("io-ts"));
6
+ const t = tslib_1.__importStar(require("io-ts"));
7
7
  const validators_1 = require("../../../validators");
8
- const ImageConstraint_1 = (0, tslib_1.__importDefault)(require("../shared/ImageConstraint"));
8
+ const ImageConstraint_1 = tslib_1.__importDefault(require("../shared/ImageConstraint"));
9
9
  exports.RichTextFieldType = "StructuredText";
10
10
  exports.DEFAULT_OPTION = "paragraph";
11
11
  exports.RichTextNodeType = {
@@ -6,7 +6,7 @@ export declare const SelectConfig: t.ExactC<t.PartialC<{
6
6
  default_value: t.StringC;
7
7
  options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
8
8
  }>>;
9
- export declare type SelectConfig = t.TypeOf<typeof SelectConfig>;
9
+ export type SelectConfig = t.TypeOf<typeof SelectConfig>;
10
10
  export declare const Select: t.ExactC<t.IntersectionC<[t.TypeC<{
11
11
  type: t.LiteralC<"Select">;
12
12
  }>, t.PartialC<{
@@ -18,4 +18,4 @@ export declare const Select: t.ExactC<t.IntersectionC<[t.TypeC<{
18
18
  options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
19
19
  }>>;
20
20
  }>]>>;
21
- export declare type Select = t.TypeOf<typeof Select>;
21
+ export type Select = t.TypeOf<typeof Select>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Select = exports.SelectConfig = exports.SelectFieldType = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const t = (0, tslib_1.__importStar)(require("io-ts"));
5
+ const t = tslib_1.__importStar(require("io-ts"));
6
6
  const validators_1 = require("../../../validators");
7
7
  exports.SelectFieldType = "Select";
8
8
  exports.SelectConfig = t.exact(t.partial({
@@ -3,7 +3,7 @@ export declare const SeparatorFieldType = "Separator";
3
3
  export declare const SeparatorConfig: t.ExactC<t.PartialC<{
4
4
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
5
5
  }>>;
6
- export declare type SeparatorConfig = t.TypeOf<typeof SeparatorConfig>;
6
+ export type SeparatorConfig = t.TypeOf<typeof SeparatorConfig>;
7
7
  export declare const Separator: t.ExactC<t.IntersectionC<[t.TypeC<{
8
8
  type: t.LiteralC<"Separator">;
9
9
  }>, t.PartialC<{
@@ -11,4 +11,4 @@ export declare const Separator: t.ExactC<t.IntersectionC<[t.TypeC<{
11
11
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
12
12
  }>>;
13
13
  }>]>>;
14
- export declare type Separator = t.TypeOf<typeof Separator>;
14
+ export type Separator = t.TypeOf<typeof Separator>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Separator = exports.SeparatorConfig = exports.SeparatorFieldType = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const t = (0, tslib_1.__importStar)(require("io-ts"));
5
+ const t = tslib_1.__importStar(require("io-ts"));
6
6
  const validators_1 = require("../../../validators");
7
7
  exports.SeparatorFieldType = "Separator";
8
8
  exports.SeparatorConfig = t.exact(t.partial({
@@ -5,7 +5,7 @@ export declare const TextConfig: t.ExactC<t.PartialC<{
5
5
  useAsTitle: t.BooleanC;
6
6
  placeholder: t.StringC;
7
7
  }>>;
8
- export declare type TextConfig = t.TypeOf<typeof TextConfig>;
8
+ export type TextConfig = t.TypeOf<typeof TextConfig>;
9
9
  export declare const Text: t.ExactC<t.IntersectionC<[t.TypeC<{
10
10
  type: t.LiteralC<"Text">;
11
11
  }>, t.PartialC<{
@@ -16,5 +16,5 @@ export declare const Text: t.ExactC<t.IntersectionC<[t.TypeC<{
16
16
  placeholder: t.StringC;
17
17
  }>>;
18
18
  }>]>>;
19
- export declare type Text = t.TypeOf<typeof Text>;
19
+ export type Text = t.TypeOf<typeof Text>;
20
20
  export default Text;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Text = exports.TextConfig = exports.TextFieldType = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const t = (0, tslib_1.__importStar)(require("io-ts"));
5
+ const t = tslib_1.__importStar(require("io-ts"));
6
6
  const validators_1 = require("../../../validators");
7
7
  exports.TextFieldType = "Text";
8
8
  exports.TextConfig = t.exact(t.partial({
@@ -5,7 +5,7 @@ export declare const TimestampConfig: t.ExactC<t.PartialC<{
5
5
  placeholder: t.StringC;
6
6
  default: t.StringC;
7
7
  }>>;
8
- export declare type TimestampConfig = t.TypeOf<typeof TimestampConfig>;
8
+ export type TimestampConfig = t.TypeOf<typeof TimestampConfig>;
9
9
  export declare const Timestamp: t.ExactC<t.IntersectionC<[t.TypeC<{
10
10
  type: t.LiteralC<"Timestamp">;
11
11
  }>, t.PartialC<{
@@ -16,4 +16,4 @@ export declare const Timestamp: t.ExactC<t.IntersectionC<[t.TypeC<{
16
16
  default: t.StringC;
17
17
  }>>;
18
18
  }>]>>;
19
- export declare type Timestamp = t.TypeOf<typeof Timestamp>;
19
+ export type Timestamp = t.TypeOf<typeof Timestamp>;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Timestamp = exports.TimestampConfig = exports.TimestampFieldType = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const t = (0, tslib_1.__importStar)(require("io-ts"));
5
+ const t = tslib_1.__importStar(require("io-ts"));
6
6
  const validators_1 = require("../../../validators");
7
7
  exports.TimestampFieldType = "Timestamp";
8
8
  exports.TimestampConfig = t.exact(t.partial({
@@ -1,19 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- (0, tslib_1.__exportStar)(require("./BooleanField"), exports);
5
- (0, tslib_1.__exportStar)(require("./Color"), exports);
6
- (0, tslib_1.__exportStar)(require("./Date"), exports);
7
- (0, tslib_1.__exportStar)(require("./Embed"), exports);
8
- (0, tslib_1.__exportStar)(require("./GeoPoint"), exports);
9
- (0, tslib_1.__exportStar)(require("./Image"), exports);
10
- (0, tslib_1.__exportStar)(require("./IntegrationField"), exports);
11
- (0, tslib_1.__exportStar)(require("./Link"), exports);
12
- (0, tslib_1.__exportStar)(require("./NestableWidget"), exports);
13
- (0, tslib_1.__exportStar)(require("./Number"), exports);
14
- (0, tslib_1.__exportStar)(require("./Range"), exports);
15
- (0, tslib_1.__exportStar)(require("./RichText"), exports);
16
- (0, tslib_1.__exportStar)(require("./Select"), exports);
17
- (0, tslib_1.__exportStar)(require("./Separator"), exports);
18
- (0, tslib_1.__exportStar)(require("./Text"), exports);
19
- (0, tslib_1.__exportStar)(require("./Timestamp"), exports);
4
+ tslib_1.__exportStar(require("./BooleanField"), exports);
5
+ tslib_1.__exportStar(require("./Color"), exports);
6
+ tslib_1.__exportStar(require("./Date"), exports);
7
+ tslib_1.__exportStar(require("./Embed"), exports);
8
+ tslib_1.__exportStar(require("./GeoPoint"), exports);
9
+ tslib_1.__exportStar(require("./Image"), exports);
10
+ tslib_1.__exportStar(require("./IntegrationField"), exports);
11
+ tslib_1.__exportStar(require("./Link"), exports);
12
+ tslib_1.__exportStar(require("./NestableWidget"), exports);
13
+ tslib_1.__exportStar(require("./Number"), exports);
14
+ tslib_1.__exportStar(require("./Range"), exports);
15
+ tslib_1.__exportStar(require("./RichText"), exports);
16
+ tslib_1.__exportStar(require("./Select"), exports);
17
+ tslib_1.__exportStar(require("./Separator"), exports);
18
+ tslib_1.__exportStar(require("./Text"), exports);
19
+ tslib_1.__exportStar(require("./Timestamp"), exports);
@@ -3,5 +3,5 @@ declare const ImageConstraint: t.PartialC<{
3
3
  width: t.Type<number | null, unknown, unknown>;
4
4
  height: t.Type<number | null, unknown, unknown>;
5
5
  }>;
6
- declare type ImageConstraint = t.TypeOf<typeof ImageConstraint>;
6
+ type ImageConstraint = t.TypeOf<typeof ImageConstraint>;
7
7
  export default ImageConstraint;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  const Either_1 = require("fp-ts/lib/Either");
5
- const t = (0, tslib_1.__importStar)(require("io-ts"));
5
+ const t = tslib_1.__importStar(require("io-ts"));
6
6
  const IntFromString_1 = require("io-ts-types/lib/IntFromString");
7
7
  const validators_1 = require("../../../validators");
8
8
  const SideConstraint = new t.Type("SideConstraints", (u) => {
@@ -325,5 +325,5 @@ declare const CompositeSlice: t.ExactC<t.IntersectionC<[t.TypeC<{
325
325
  label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
326
326
  }>>;
327
327
  }>]>>;
328
- declare type CompositeSlice = t.TypeOf<typeof CompositeSlice>;
328
+ type CompositeSlice = t.TypeOf<typeof CompositeSlice>;
329
329
  export default CompositeSlice;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CompositeSliceType = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const t = (0, tslib_1.__importStar)(require("io-ts"));
5
+ const t = tslib_1.__importStar(require("io-ts"));
6
6
  const common_1 = require("../../../common");
7
7
  const validators_1 = require("../../../validators");
8
8
  const NestableWidget_1 = require("../nestable/NestableWidget");
@@ -323,5 +323,5 @@ declare const LegacySlice: t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC
323
323
  }>]>>]>>;
324
324
  }>>;
325
325
  }>]>>]>;
326
- declare type LegacySlice = t.TypeOf<typeof LegacySlice>;
326
+ type LegacySlice = t.TypeOf<typeof LegacySlice>;
327
327
  export default LegacySlice;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- const t = (0, tslib_1.__importStar)(require("io-ts"));
5
- const Group_1 = (0, tslib_1.__importDefault)(require("../Group"));
4
+ const t = tslib_1.__importStar(require("io-ts"));
5
+ const Group_1 = tslib_1.__importDefault(require("../Group"));
6
6
  const NestableWidget_1 = require("../nestable/NestableWidget");
7
7
  const LegacySlice = t.union([NestableWidget_1.NestableWidget, Group_1.default]);
8
8
  exports.default = LegacySlice;