@prismicio/types-internal 3.16.0 → 3.16.1-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 (235) hide show
  1. package/lib/content/fields/RepeatableContent.d.ts +51 -123
  2. package/lib/content/fields/RepeatableContent.js +10 -14
  3. package/lib/content/fields/nestable/RichTextContent/Block.d.ts +1036 -0
  4. package/lib/content/fields/nestable/RichTextContent/Block.js +31 -0
  5. package/lib/content/fields/nestable/RichTextContent/EmbedBlock.d.ts +60 -0
  6. package/lib/content/fields/nestable/RichTextContent/EmbedBlock.js +53 -0
  7. package/lib/content/fields/nestable/RichTextContent/ImageBlock.d.ts +203 -0
  8. package/lib/content/fields/nestable/RichTextContent/ImageBlock.js +36 -0
  9. package/lib/content/fields/nestable/RichTextContent/TableBlock.d.ts +500 -0
  10. package/lib/content/fields/nestable/RichTextContent/TableBlock.js +21 -0
  11. package/lib/content/fields/nestable/RichTextContent/TextBlock.d.ts +590 -0
  12. package/lib/content/fields/nestable/RichTextContent/TextBlock.js +80 -0
  13. package/lib/scripts/release.d.ts +1 -0
  14. package/lib/scripts/release.js +34 -0
  15. package/lib/src/_internal/utils.d.ts +36 -0
  16. package/lib/src/_internal/utils.js +20 -0
  17. package/lib/src/common/Asset.d.ts +16 -0
  18. package/lib/src/common/Asset.js +11 -0
  19. package/lib/src/common/Embed.d.ts +15 -0
  20. package/lib/src/common/Embed.js +10 -0
  21. package/lib/src/common/HexaColorCode.d.ts +4 -0
  22. package/lib/src/common/HexaColorCode.js +7 -0
  23. package/lib/src/common/UUID.d.ts +6 -0
  24. package/lib/src/common/UUID.js +8 -0
  25. package/lib/src/common/WidgetKey.d.ts +3 -0
  26. package/lib/src/common/WidgetKey.js +8 -0
  27. package/lib/src/common/index.d.ts +3 -0
  28. package/lib/src/common/index.js +6 -0
  29. package/lib/src/content/Document.d.ts +11803 -0
  30. package/lib/src/content/Document.js +266 -0
  31. package/lib/src/content/LegacyContentCtx.d.ts +64 -0
  32. package/lib/src/content/LegacyContentCtx.js +130 -0
  33. package/lib/src/content/fields/EmptyContent.d.ts +16 -0
  34. package/lib/src/content/fields/EmptyContent.js +30 -0
  35. package/lib/src/content/fields/GroupContent.d.ts +42 -0
  36. package/lib/src/content/fields/GroupContent.js +208 -0
  37. package/lib/src/content/fields/UIDContent.d.ts +16 -0
  38. package/lib/src/content/fields/UIDContent.js +25 -0
  39. package/lib/src/content/fields/WidgetContent.d.ts +11749 -0
  40. package/lib/src/content/fields/WidgetContent.js +57 -0
  41. package/lib/src/content/fields/index.d.ts +6 -0
  42. package/lib/src/content/fields/index.js +9 -0
  43. package/lib/src/content/fields/nestable/BooleanContent.d.ts +18 -0
  44. package/lib/src/content/fields/nestable/BooleanContent.js +35 -0
  45. package/lib/src/content/fields/nestable/EmbedContent.d.ts +78 -0
  46. package/lib/src/content/fields/nestable/EmbedContent.js +56 -0
  47. package/lib/src/content/fields/nestable/FieldContent/ColorContent.d.ts +18 -0
  48. package/lib/src/content/fields/nestable/FieldContent/ColorContent.js +35 -0
  49. package/lib/src/content/fields/nestable/FieldContent/DateContent.d.ts +18 -0
  50. package/lib/src/content/fields/nestable/FieldContent/DateContent.js +35 -0
  51. package/lib/src/content/fields/nestable/FieldContent/NumberContent.d.ts +18 -0
  52. package/lib/src/content/fields/nestable/FieldContent/NumberContent.js +35 -0
  53. package/lib/src/content/fields/nestable/FieldContent/RangeContent.d.ts +18 -0
  54. package/lib/src/content/fields/nestable/FieldContent/RangeContent.js +35 -0
  55. package/lib/src/content/fields/nestable/FieldContent/SelectContent.d.ts +20 -0
  56. package/lib/src/content/fields/nestable/FieldContent/SelectContent.js +46 -0
  57. package/lib/src/content/fields/nestable/FieldContent/TextContent.d.ts +18 -0
  58. package/lib/src/content/fields/nestable/FieldContent/TextContent.js +35 -0
  59. package/lib/src/content/fields/nestable/FieldContent/TimestampContent.d.ts +18 -0
  60. package/lib/src/content/fields/nestable/FieldContent/TimestampContent.js +35 -0
  61. package/lib/src/content/fields/nestable/FieldContent/common.d.ts +1 -0
  62. package/lib/src/content/fields/nestable/FieldContent/common.js +4 -0
  63. package/lib/src/content/fields/nestable/FieldContent/index.d.ts +49 -0
  64. package/lib/src/content/fields/nestable/FieldContent/index.js +38 -0
  65. package/lib/src/content/fields/nestable/GeoPointContent.d.ts +33 -0
  66. package/lib/src/content/fields/nestable/GeoPointContent.js +31 -0
  67. package/lib/src/content/fields/nestable/ImageContent.d.ts +227 -0
  68. package/lib/src/content/fields/nestable/ImageContent.js +73 -0
  69. package/lib/src/content/fields/nestable/IntegrationFieldContent.d.ts +16 -0
  70. package/lib/src/content/fields/nestable/IntegrationFieldContent.js +28 -0
  71. package/lib/src/content/fields/nestable/LinkContent.d.ts +919 -0
  72. package/lib/src/content/fields/nestable/LinkContent.js +399 -0
  73. package/lib/src/content/fields/nestable/NestableContent.d.ts +1953 -0
  74. package/lib/src/content/fields/nestable/NestableContent.js +167 -0
  75. package/lib/src/content/fields/nestable/RepeatableContent.d.ts +176 -0
  76. package/lib/src/content/fields/nestable/RepeatableContent.js +104 -0
  77. package/lib/src/content/fields/nestable/RichTextContent/Blocks.d.ts +1261 -0
  78. package/lib/src/content/fields/nestable/RichTextContent/Blocks.js +170 -0
  79. package/lib/src/content/fields/nestable/RichTextContent/index.d.ts +1004 -0
  80. package/lib/src/content/fields/nestable/RichTextContent/index.js +28 -0
  81. package/lib/src/content/fields/nestable/SeparatorContent.d.ts +13 -0
  82. package/lib/src/content/fields/nestable/SeparatorContent.js +22 -0
  83. package/lib/src/content/fields/nestable/TableContent.d.ts +770 -0
  84. package/lib/src/content/fields/nestable/TableContent.js +121 -0
  85. package/lib/src/content/fields/nestable/index.d.ts +12 -0
  86. package/lib/src/content/fields/nestable/index.js +15 -0
  87. package/lib/src/content/fields/slices/Slice/CompositeSliceContent.d.ts +3934 -0
  88. package/lib/src/content/fields/slices/Slice/CompositeSliceContent.js +195 -0
  89. package/lib/src/content/fields/slices/Slice/RepeatableContent.d.ts +774 -0
  90. package/lib/src/content/fields/slices/Slice/RepeatableContent.js +21 -0
  91. package/lib/src/content/fields/slices/Slice/SharedSliceContent.d.ts +3937 -0
  92. package/lib/src/content/fields/slices/Slice/SharedSliceContent.js +215 -0
  93. package/lib/src/content/fields/slices/Slice/SimpleSliceContent.d.ts +1962 -0
  94. package/lib/src/content/fields/slices/Slice/SimpleSliceContent.js +130 -0
  95. package/lib/src/content/fields/slices/Slice/SlicePrimaryContent.d.ts +1952 -0
  96. package/lib/src/content/fields/slices/Slice/SlicePrimaryContent.js +30 -0
  97. package/lib/src/content/fields/slices/Slice/index.d.ts +6810 -0
  98. package/lib/src/content/fields/slices/Slice/index.js +45 -0
  99. package/lib/src/content/fields/slices/SliceItem.d.ts +6846 -0
  100. package/lib/src/content/fields/slices/SliceItem.js +116 -0
  101. package/lib/src/content/fields/slices/SlicesContent.d.ts +9809 -0
  102. package/lib/src/content/fields/slices/SlicesContent.js +187 -0
  103. package/lib/src/content/fields/slices/index.d.ts +3 -0
  104. package/lib/src/content/fields/slices/index.js +6 -0
  105. package/lib/src/content/fields/withDefaultValues.d.ts +9 -0
  106. package/lib/src/content/fields/withDefaultValues.js +79 -0
  107. package/lib/src/content/index.d.ts +3 -0
  108. package/lib/src/content/index.js +6 -0
  109. package/lib/src/content/utils.d.ts +14 -0
  110. package/lib/src/content/utils.js +33 -0
  111. package/lib/src/customtypes/CustomType.d.ts +3680 -0
  112. package/lib/src/customtypes/CustomType.js +184 -0
  113. package/lib/src/customtypes/Section.d.ts +3635 -0
  114. package/lib/src/customtypes/Section.js +66 -0
  115. package/lib/src/customtypes/diff/Changes.d.ts +17 -0
  116. package/lib/src/customtypes/diff/Changes.js +9 -0
  117. package/lib/src/customtypes/diff/SharedSlice.d.ts +1624 -0
  118. package/lib/src/customtypes/diff/SharedSlice.js +55 -0
  119. package/lib/src/customtypes/diff/Variation.d.ts +1605 -0
  120. package/lib/src/customtypes/diff/Variation.js +113 -0
  121. package/lib/src/customtypes/diff/Widgets.d.ts +11 -0
  122. package/lib/src/customtypes/diff/Widgets.js +2 -0
  123. package/lib/src/customtypes/diff/index.d.ts +4 -0
  124. package/lib/src/customtypes/diff/index.js +7 -0
  125. package/lib/src/customtypes/index.d.ts +4 -0
  126. package/lib/src/customtypes/index.js +7 -0
  127. package/lib/src/customtypes/widgets/Group.d.ts +1352 -0
  128. package/lib/src/customtypes/widgets/Group.js +92 -0
  129. package/lib/src/customtypes/widgets/UID.d.ts +19 -0
  130. package/lib/src/customtypes/widgets/UID.js +21 -0
  131. package/lib/src/customtypes/widgets/Widget.d.ts +4457 -0
  132. package/lib/src/customtypes/widgets/Widget.js +49 -0
  133. package/lib/src/customtypes/widgets/index.d.ts +6 -0
  134. package/lib/src/customtypes/widgets/index.js +9 -0
  135. package/lib/src/customtypes/widgets/nestable/BooleanField.d.ts +20 -0
  136. package/lib/src/customtypes/widgets/nestable/BooleanField.js +21 -0
  137. package/lib/src/customtypes/widgets/nestable/Color.d.ts +17 -0
  138. package/lib/src/customtypes/widgets/nestable/Color.js +20 -0
  139. package/lib/src/customtypes/widgets/nestable/Date.d.ts +19 -0
  140. package/lib/src/customtypes/widgets/nestable/Date.js +21 -0
  141. package/lib/src/customtypes/widgets/nestable/Embed.d.ts +19 -0
  142. package/lib/src/customtypes/widgets/nestable/Embed.js +21 -0
  143. package/lib/src/customtypes/widgets/nestable/GeoPoint.d.ts +15 -0
  144. package/lib/src/customtypes/widgets/nestable/GeoPoint.js +19 -0
  145. package/lib/src/customtypes/widgets/nestable/Image.d.ts +44 -0
  146. package/lib/src/customtypes/widgets/nestable/Image.js +29 -0
  147. package/lib/src/customtypes/widgets/nestable/IntegrationField.d.ts +19 -0
  148. package/lib/src/customtypes/widgets/nestable/IntegrationField.js +21 -0
  149. package/lib/src/customtypes/widgets/nestable/Link.d.ts +196 -0
  150. package/lib/src/customtypes/widgets/nestable/Link.js +167 -0
  151. package/lib/src/customtypes/widgets/nestable/NestableWidget.d.ts +217 -0
  152. package/lib/src/customtypes/widgets/nestable/NestableWidget.js +39 -0
  153. package/lib/src/customtypes/widgets/nestable/Number.d.ts +23 -0
  154. package/lib/src/customtypes/widgets/nestable/Number.js +24 -0
  155. package/lib/src/customtypes/widgets/nestable/Range.d.ts +23 -0
  156. package/lib/src/customtypes/widgets/nestable/Range.js +24 -0
  157. package/lib/src/customtypes/widgets/nestable/RichText.d.ts +73 -0
  158. package/lib/src/customtypes/widgets/nestable/RichText.js +131 -0
  159. package/lib/src/customtypes/widgets/nestable/Select.d.ts +21 -0
  160. package/lib/src/customtypes/widgets/nestable/Select.js +22 -0
  161. package/lib/src/customtypes/widgets/nestable/Separator.d.ts +14 -0
  162. package/lib/src/customtypes/widgets/nestable/Separator.js +18 -0
  163. package/lib/src/customtypes/widgets/nestable/Table.d.ts +21 -0
  164. package/lib/src/customtypes/widgets/nestable/Table.js +30 -0
  165. package/lib/src/customtypes/widgets/nestable/Text.d.ts +19 -0
  166. package/lib/src/customtypes/widgets/nestable/Text.js +21 -0
  167. package/lib/src/customtypes/widgets/nestable/Timestamp.d.ts +19 -0
  168. package/lib/src/customtypes/widgets/nestable/Timestamp.js +21 -0
  169. package/lib/src/customtypes/widgets/nestable/index.d.ts +17 -0
  170. package/lib/src/customtypes/widgets/nestable/index.js +20 -0
  171. package/lib/src/customtypes/widgets/shared/ImageConstraint.d.ts +7 -0
  172. package/lib/src/customtypes/widgets/shared/ImageConstraint.js +31 -0
  173. package/lib/src/customtypes/widgets/shared/index.d.ts +1 -0
  174. package/lib/src/customtypes/widgets/shared/index.js +8 -0
  175. package/lib/src/customtypes/widgets/slices/CompositeSlice.d.ts +455 -0
  176. package/lib/src/customtypes/widgets/slices/CompositeSlice.js +63 -0
  177. package/lib/src/customtypes/widgets/slices/LegacySlice.d.ts +442 -0
  178. package/lib/src/customtypes/widgets/slices/LegacySlice.js +12 -0
  179. package/lib/src/customtypes/widgets/slices/SharedSlice.d.ts +1807 -0
  180. package/lib/src/customtypes/widgets/slices/SharedSlice.js +118 -0
  181. package/lib/src/customtypes/widgets/slices/SharedSliceRef.d.ts +5 -0
  182. package/lib/src/customtypes/widgets/slices/SharedSliceRef.js +9 -0
  183. package/lib/src/customtypes/widgets/slices/Slice.d.ts +6 -0
  184. package/lib/src/customtypes/widgets/slices/Slice.js +2 -0
  185. package/lib/src/customtypes/widgets/slices/SlicePrimaryWidget.d.ts +1259 -0
  186. package/lib/src/customtypes/widgets/slices/SlicePrimaryWidget.js +10 -0
  187. package/lib/src/customtypes/widgets/slices/Slices.d.ts +5917 -0
  188. package/lib/src/customtypes/widgets/slices/Slices.js +146 -0
  189. package/lib/src/customtypes/widgets/slices/SlicesTypes.d.ts +6 -0
  190. package/lib/src/customtypes/widgets/slices/SlicesTypes.js +11 -0
  191. package/lib/src/customtypes/widgets/slices/index.d.ts +8 -0
  192. package/lib/src/customtypes/widgets/slices/index.js +11 -0
  193. package/lib/src/utils/Arrays.d.ts +1 -0
  194. package/lib/src/utils/Arrays.js +13 -0
  195. package/lib/src/utils/DocumentId.d.ts +2 -0
  196. package/lib/src/utils/DocumentId.js +7 -0
  197. package/lib/src/utils/Objects.d.ts +8 -0
  198. package/lib/src/utils/Objects.js +42 -0
  199. package/lib/src/utils/index.d.ts +3 -0
  200. package/lib/src/utils/index.js +7 -0
  201. package/lib/src/validators/BasicTypes.d.ts +10 -0
  202. package/lib/src/validators/BasicTypes.js +25 -0
  203. package/lib/src/validators/DateFromString.d.ts +3 -0
  204. package/lib/src/validators/DateFromString.js +11 -0
  205. package/lib/src/validators/DateFromStringOrNumber.d.ts +3 -0
  206. package/lib/src/validators/DateFromStringOrNumber.js +10 -0
  207. package/lib/src/validators/DateFromTsMs.d.ts +3 -0
  208. package/lib/src/validators/DateFromTsMs.js +10 -0
  209. package/lib/src/validators/DefaultOrElse.d.ts +5 -0
  210. package/lib/src/validators/DefaultOrElse.js +21 -0
  211. package/lib/src/validators/IntFromNumber.d.ts +5 -0
  212. package/lib/src/validators/IntFromNumber.js +14 -0
  213. package/lib/src/validators/IntFromPixels.d.ts +8 -0
  214. package/lib/src/validators/IntFromPixels.js +24 -0
  215. package/lib/src/validators/NonEmptyString.d.ts +3 -0
  216. package/lib/src/validators/NonEmptyString.js +6 -0
  217. package/lib/src/validators/NonEmptyStringOrNull.d.ts +3 -0
  218. package/lib/src/validators/NonEmptyStringOrNull.js +15 -0
  219. package/lib/src/validators/NumberOrNull.d.ts +3 -0
  220. package/lib/src/validators/NumberOrNull.js +6 -0
  221. package/lib/src/validators/NumberRange.d.ts +32 -0
  222. package/lib/src/validators/NumberRange.js +40 -0
  223. package/lib/src/validators/StringFromBoolean.d.ts +5 -0
  224. package/lib/src/validators/StringFromBoolean.js +10 -0
  225. package/lib/src/validators/StringFromNumber.d.ts +5 -0
  226. package/lib/src/validators/StringFromNumber.js +10 -0
  227. package/lib/src/validators/StringOrNull.d.ts +3 -0
  228. package/lib/src/validators/StringOrNull.js +6 -0
  229. package/lib/src/validators/TrimmedString.d.ts +5 -0
  230. package/lib/src/validators/TrimmedString.js +23 -0
  231. package/lib/src/validators/function.d.ts +34 -0
  232. package/lib/src/validators/function.js +100 -0
  233. package/lib/src/validators/index.d.ts +15 -0
  234. package/lib/src/validators/index.js +31 -0
  235. package/package.json +1 -1
@@ -0,0 +1,1259 @@
1
+ import * as t from "io-ts";
2
+ export declare const SlicePrimaryWidget: t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
3
+ type: t.LiteralC<"Color">;
4
+ }>, t.PartialC<{
5
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
6
+ config: t.ExactC<t.PartialC<{
7
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
8
+ placeholder: t.StringC;
9
+ }>>;
10
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
11
+ type: t.LiteralC<"Boolean">;
12
+ }>, t.PartialC<{
13
+ config: t.ExactC<t.PartialC<{
14
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
15
+ default_value: t.BooleanC;
16
+ placeholder_true: t.StringC;
17
+ placeholder_false: t.StringC;
18
+ }>>;
19
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
20
+ type: t.LiteralC<"Embed">;
21
+ }>, t.PartialC<{
22
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
23
+ config: t.ExactC<t.PartialC<{
24
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
25
+ placeholder: t.StringC;
26
+ useAsTitle: t.BooleanC;
27
+ }>>;
28
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
29
+ type: t.LiteralC<"GeoPoint">;
30
+ }>, t.PartialC<{
31
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
32
+ config: t.ExactC<t.PartialC<{
33
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
34
+ }>>;
35
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
36
+ type: t.LiteralC<"Date">;
37
+ }>, t.PartialC<{
38
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
39
+ config: t.ExactC<t.PartialC<{
40
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
41
+ placeholder: t.StringC;
42
+ default: t.StringC;
43
+ }>>;
44
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
45
+ type: t.LiteralC<"Number">;
46
+ }>, t.PartialC<{
47
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
48
+ config: t.ExactC<t.PartialC<{
49
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
50
+ placeholder: t.StringC;
51
+ min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
52
+ max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
53
+ step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
54
+ }>>;
55
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
56
+ type: t.LiteralC<"Range">;
57
+ }>, t.PartialC<{
58
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
59
+ config: t.ExactC<t.PartialC<{
60
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
61
+ placeholder: t.StringC;
62
+ min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
63
+ max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
64
+ step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
65
+ }>>;
66
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
67
+ type: t.LiteralC<"StructuredText">;
68
+ }>, t.PartialC<{
69
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
70
+ config: t.ExactC<t.PartialC<{
71
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
72
+ placeholder: t.StringC;
73
+ useAsTitle: t.BooleanC;
74
+ single: t.Type<string, string, unknown>;
75
+ multi: t.Type<string, string, unknown>;
76
+ imageConstraint: t.PartialC<{
77
+ width: t.Type<number | null, unknown, unknown>;
78
+ height: t.Type<number | null, unknown, unknown>;
79
+ }>;
80
+ labels: t.Type<readonly string[], object, unknown>;
81
+ allowTargetBlank: t.BooleanC;
82
+ }>>;
83
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
84
+ type: t.LiteralC<"Select">;
85
+ }>, t.PartialC<{
86
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
87
+ config: t.ExactC<t.PartialC<{
88
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
89
+ placeholder: t.StringC;
90
+ default_value: t.StringC;
91
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
92
+ }>>;
93
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
94
+ type: t.LiteralC<"Separator">;
95
+ }>, t.PartialC<{
96
+ config: t.ExactC<t.PartialC<{
97
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
98
+ }>>;
99
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
100
+ type: t.LiteralC<"Table">;
101
+ }>, t.PartialC<{
102
+ config: t.ExactC<t.PartialC<{
103
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
104
+ }>>;
105
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
106
+ type: t.LiteralC<"Text">;
107
+ }>, t.PartialC<{
108
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
109
+ config: t.ExactC<t.PartialC<{
110
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
111
+ useAsTitle: t.BooleanC;
112
+ placeholder: t.StringC;
113
+ }>>;
114
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
115
+ type: t.LiteralC<"Timestamp">;
116
+ }>, t.PartialC<{
117
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
118
+ config: t.ExactC<t.PartialC<{
119
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
120
+ placeholder: t.StringC;
121
+ default: t.StringC;
122
+ }>>;
123
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
124
+ type: t.LiteralC<"Link">;
125
+ }>, t.PartialC<{
126
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
127
+ config: t.ExactC<t.PartialC<{
128
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
129
+ useAsTitle: t.BooleanC;
130
+ placeholder: t.StringC;
131
+ select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
132
+ customtypes: t.Type<readonly (string | {
133
+ id: string;
134
+ fields: readonly (string | {
135
+ id: string;
136
+ customtypes: readonly (string | {
137
+ id: string;
138
+ fields: readonly (string | {
139
+ id: string;
140
+ fields: readonly string[];
141
+ })[];
142
+ })[];
143
+ } | {
144
+ id: string;
145
+ fields: readonly (string | {
146
+ id: string;
147
+ customtypes: readonly (string | {
148
+ id: string;
149
+ fields: readonly (string | {
150
+ id: string;
151
+ fields: readonly string[];
152
+ })[];
153
+ })[];
154
+ })[];
155
+ })[];
156
+ })[], readonly (string | {
157
+ id: string;
158
+ fields: readonly (string | {
159
+ id: string;
160
+ customtypes: readonly (string | {
161
+ id: string;
162
+ fields: readonly (string | {
163
+ id: string;
164
+ fields: readonly string[];
165
+ })[];
166
+ })[];
167
+ } | {
168
+ id: string;
169
+ fields: readonly (string | {
170
+ id: string;
171
+ customtypes: readonly (string | {
172
+ id: string;
173
+ fields: readonly (string | {
174
+ id: string;
175
+ fields: readonly string[];
176
+ })[];
177
+ })[];
178
+ })[];
179
+ })[];
180
+ })[], unknown>;
181
+ masks: t.Type<readonly string[], object, unknown>;
182
+ tags: t.Type<readonly string[], object, unknown>;
183
+ allowTargetBlank: t.BooleanC;
184
+ allowText: t.BooleanC;
185
+ repeat: t.BooleanC;
186
+ variants: t.ArrayC<t.StringC>;
187
+ }>>;
188
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
189
+ type: t.LiteralC<"Image">;
190
+ }>, t.PartialC<{
191
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
192
+ config: t.ExactC<t.PartialC<{
193
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
194
+ placeholder: t.StringC;
195
+ constraint: t.PartialC<{
196
+ width: t.Type<number | null, unknown, unknown>;
197
+ height: t.Type<number | null, unknown, unknown>;
198
+ }>;
199
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
200
+ name: t.StringC;
201
+ }>, t.PartialC<{
202
+ width: t.Type<number | null, unknown, unknown>;
203
+ height: t.Type<number | null, unknown, unknown>;
204
+ }>]>>>;
205
+ }>>;
206
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
207
+ type: t.LiteralC<"IntegrationFields">;
208
+ }>, t.PartialC<{
209
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
210
+ config: t.ExactC<t.PartialC<{
211
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
212
+ placeholder: t.StringC;
213
+ catalog: t.StringC;
214
+ }>>;
215
+ }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
216
+ type: t.LiteralC<"Group">;
217
+ }>, t.PartialC<{
218
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
219
+ icon: t.StringC;
220
+ description: t.StringC;
221
+ config: t.ExactC<t.PartialC<{
222
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
223
+ repeat: t.BooleanC;
224
+ fields: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
225
+ type: t.LiteralC<"Color">;
226
+ }>, t.PartialC<{
227
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
228
+ config: t.ExactC<t.PartialC<{
229
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
230
+ placeholder: t.StringC;
231
+ }>>;
232
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
233
+ type: t.LiteralC<"Boolean">;
234
+ }>, t.PartialC<{
235
+ config: t.ExactC<t.PartialC<{
236
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
237
+ default_value: t.BooleanC;
238
+ placeholder_true: t.StringC;
239
+ placeholder_false: t.StringC;
240
+ }>>;
241
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
242
+ type: t.LiteralC<"Embed">;
243
+ }>, t.PartialC<{
244
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
245
+ config: t.ExactC<t.PartialC<{
246
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
247
+ placeholder: t.StringC;
248
+ useAsTitle: t.BooleanC;
249
+ }>>;
250
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
251
+ type: t.LiteralC<"GeoPoint">;
252
+ }>, t.PartialC<{
253
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
254
+ config: t.ExactC<t.PartialC<{
255
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
256
+ }>>;
257
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
258
+ type: t.LiteralC<"Date">;
259
+ }>, t.PartialC<{
260
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
261
+ config: t.ExactC<t.PartialC<{
262
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
263
+ placeholder: t.StringC;
264
+ default: t.StringC;
265
+ }>>;
266
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
267
+ type: t.LiteralC<"Number">;
268
+ }>, t.PartialC<{
269
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
270
+ config: t.ExactC<t.PartialC<{
271
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
272
+ placeholder: t.StringC;
273
+ min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
274
+ max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
275
+ step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
276
+ }>>;
277
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
278
+ type: t.LiteralC<"Range">;
279
+ }>, t.PartialC<{
280
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
281
+ config: t.ExactC<t.PartialC<{
282
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
283
+ placeholder: t.StringC;
284
+ min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
285
+ max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
286
+ step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
287
+ }>>;
288
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
289
+ type: t.LiteralC<"StructuredText">;
290
+ }>, t.PartialC<{
291
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
292
+ config: t.ExactC<t.PartialC<{
293
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
294
+ placeholder: t.StringC;
295
+ useAsTitle: t.BooleanC;
296
+ single: t.Type<string, string, unknown>;
297
+ multi: t.Type<string, string, unknown>;
298
+ imageConstraint: t.PartialC<{
299
+ width: t.Type<number | null, unknown, unknown>;
300
+ height: t.Type<number | null, unknown, unknown>;
301
+ }>;
302
+ labels: t.Type<readonly string[], object, unknown>;
303
+ allowTargetBlank: t.BooleanC;
304
+ }>>;
305
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
306
+ type: t.LiteralC<"Select">;
307
+ }>, t.PartialC<{
308
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
309
+ config: t.ExactC<t.PartialC<{
310
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
311
+ placeholder: t.StringC;
312
+ default_value: t.StringC;
313
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
314
+ }>>;
315
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
316
+ type: t.LiteralC<"Separator">;
317
+ }>, t.PartialC<{
318
+ config: t.ExactC<t.PartialC<{
319
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
320
+ }>>;
321
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
322
+ type: t.LiteralC<"Table">;
323
+ }>, t.PartialC<{
324
+ config: t.ExactC<t.PartialC<{
325
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
326
+ }>>;
327
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
328
+ type: t.LiteralC<"Text">;
329
+ }>, t.PartialC<{
330
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
331
+ config: t.ExactC<t.PartialC<{
332
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
333
+ useAsTitle: t.BooleanC;
334
+ placeholder: t.StringC;
335
+ }>>;
336
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
337
+ type: t.LiteralC<"Timestamp">;
338
+ }>, t.PartialC<{
339
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
340
+ config: t.ExactC<t.PartialC<{
341
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
342
+ placeholder: t.StringC;
343
+ default: t.StringC;
344
+ }>>;
345
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
346
+ type: t.LiteralC<"Link">;
347
+ }>, t.PartialC<{
348
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
349
+ config: t.ExactC<t.PartialC<{
350
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
351
+ useAsTitle: t.BooleanC;
352
+ placeholder: t.StringC;
353
+ select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
354
+ customtypes: t.Type<readonly (string | {
355
+ id: string;
356
+ fields: readonly (string | {
357
+ id: string;
358
+ customtypes: readonly (string | {
359
+ id: string;
360
+ fields: readonly (string | {
361
+ id: string;
362
+ fields: readonly string[];
363
+ })[];
364
+ })[];
365
+ } | {
366
+ id: string;
367
+ fields: readonly (string | {
368
+ id: string;
369
+ customtypes: readonly (string | {
370
+ id: string;
371
+ fields: readonly (string | {
372
+ id: string;
373
+ fields: readonly string[];
374
+ })[];
375
+ })[];
376
+ })[];
377
+ })[];
378
+ })[], readonly (string | {
379
+ id: string;
380
+ fields: readonly (string | {
381
+ id: string;
382
+ customtypes: readonly (string | {
383
+ id: string;
384
+ fields: readonly (string | {
385
+ id: string;
386
+ fields: readonly string[];
387
+ })[];
388
+ })[];
389
+ } | {
390
+ id: string;
391
+ fields: readonly (string | {
392
+ id: string;
393
+ customtypes: readonly (string | {
394
+ id: string;
395
+ fields: readonly (string | {
396
+ id: string;
397
+ fields: readonly string[];
398
+ })[];
399
+ })[];
400
+ })[];
401
+ })[];
402
+ })[], unknown>;
403
+ masks: t.Type<readonly string[], object, unknown>;
404
+ tags: t.Type<readonly string[], object, unknown>;
405
+ allowTargetBlank: t.BooleanC;
406
+ allowText: t.BooleanC;
407
+ repeat: t.BooleanC;
408
+ variants: t.ArrayC<t.StringC>;
409
+ }>>;
410
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
411
+ type: t.LiteralC<"Image">;
412
+ }>, t.PartialC<{
413
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
414
+ config: t.ExactC<t.PartialC<{
415
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
416
+ placeholder: t.StringC;
417
+ constraint: t.PartialC<{
418
+ width: t.Type<number | null, unknown, unknown>;
419
+ height: t.Type<number | null, unknown, unknown>;
420
+ }>;
421
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
422
+ name: t.StringC;
423
+ }>, t.PartialC<{
424
+ width: t.Type<number | null, unknown, unknown>;
425
+ height: t.Type<number | null, unknown, unknown>;
426
+ }>]>>>;
427
+ }>>;
428
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
429
+ type: t.LiteralC<"IntegrationFields">;
430
+ }>, t.PartialC<{
431
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
432
+ config: t.ExactC<t.PartialC<{
433
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
434
+ placeholder: t.StringC;
435
+ catalog: t.StringC;
436
+ }>>;
437
+ }>]>>]>, t.ExactC<t.IntersectionC<[t.TypeC<{
438
+ type: t.LiteralC<"Group">;
439
+ }>, t.PartialC<{
440
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
441
+ icon: t.StringC;
442
+ description: t.StringC;
443
+ config: t.ExactC<t.PartialC<{
444
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
445
+ repeat: t.BooleanC;
446
+ fields: t.RecordC<t.Type<string, string, unknown>, t.UnionC<[t.ExactC<t.IntersectionC<[t.TypeC<{
447
+ type: t.LiteralC<"Color">;
448
+ }>, t.PartialC<{
449
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
450
+ config: t.ExactC<t.PartialC<{
451
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
452
+ placeholder: t.StringC;
453
+ }>>;
454
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
455
+ type: t.LiteralC<"Boolean">;
456
+ }>, t.PartialC<{
457
+ config: t.ExactC<t.PartialC<{
458
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
459
+ default_value: t.BooleanC;
460
+ placeholder_true: t.StringC;
461
+ placeholder_false: t.StringC;
462
+ }>>;
463
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
464
+ type: t.LiteralC<"Embed">;
465
+ }>, t.PartialC<{
466
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
467
+ config: t.ExactC<t.PartialC<{
468
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
469
+ placeholder: t.StringC;
470
+ useAsTitle: t.BooleanC;
471
+ }>>;
472
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
473
+ type: t.LiteralC<"GeoPoint">;
474
+ }>, t.PartialC<{
475
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
476
+ config: t.ExactC<t.PartialC<{
477
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
478
+ }>>;
479
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
480
+ type: t.LiteralC<"Date">;
481
+ }>, t.PartialC<{
482
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
483
+ config: t.ExactC<t.PartialC<{
484
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
485
+ placeholder: t.StringC;
486
+ default: t.StringC;
487
+ }>>;
488
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
489
+ type: t.LiteralC<"Number">;
490
+ }>, t.PartialC<{
491
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
492
+ config: t.ExactC<t.PartialC<{
493
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
494
+ placeholder: t.StringC;
495
+ min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
496
+ max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
497
+ step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
498
+ }>>;
499
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
500
+ type: t.LiteralC<"Range">;
501
+ }>, t.PartialC<{
502
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
503
+ config: t.ExactC<t.PartialC<{
504
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
505
+ placeholder: t.StringC;
506
+ min: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
507
+ max: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
508
+ step: t.UnionC<[t.NumberC, import("io-ts-types").NumberFromStringC]>;
509
+ }>>;
510
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
511
+ type: t.LiteralC<"StructuredText">;
512
+ }>, t.PartialC<{
513
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
514
+ config: t.ExactC<t.PartialC<{
515
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
516
+ placeholder: t.StringC;
517
+ useAsTitle: t.BooleanC;
518
+ single: t.Type<string, string, unknown>;
519
+ multi: t.Type<string, string, unknown>;
520
+ imageConstraint: t.PartialC<{
521
+ width: t.Type<number | null, unknown, unknown>;
522
+ height: t.Type<number | null, unknown, unknown>;
523
+ }>;
524
+ labels: t.Type<readonly string[], object, unknown>;
525
+ allowTargetBlank: t.BooleanC;
526
+ }>>;
527
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
528
+ type: t.LiteralC<"Select">;
529
+ }>, t.PartialC<{
530
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
531
+ config: t.ExactC<t.PartialC<{
532
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
533
+ placeholder: t.StringC;
534
+ default_value: t.StringC;
535
+ options: t.ReadonlyArrayC<t.UnionC<[t.StringC, t.Type<string, string, unknown>, t.Type<string, string, unknown>]>>;
536
+ }>>;
537
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
538
+ type: t.LiteralC<"Separator">;
539
+ }>, t.PartialC<{
540
+ config: t.ExactC<t.PartialC<{
541
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
542
+ }>>;
543
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
544
+ type: t.LiteralC<"Table">;
545
+ }>, t.PartialC<{
546
+ config: t.ExactC<t.PartialC<{
547
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
548
+ }>>;
549
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
550
+ type: t.LiteralC<"Text">;
551
+ }>, t.PartialC<{
552
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
553
+ config: t.ExactC<t.PartialC<{
554
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
555
+ useAsTitle: t.BooleanC;
556
+ placeholder: t.StringC;
557
+ }>>;
558
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
559
+ type: t.LiteralC<"Timestamp">;
560
+ }>, t.PartialC<{
561
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
562
+ config: t.ExactC<t.PartialC<{
563
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
564
+ placeholder: t.StringC;
565
+ default: t.StringC;
566
+ }>>;
567
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
568
+ type: t.LiteralC<"Link">;
569
+ }>, t.PartialC<{
570
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
571
+ config: t.ExactC<t.PartialC<{
572
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
573
+ useAsTitle: t.BooleanC;
574
+ placeholder: t.StringC;
575
+ select: t.UnionC<[t.LiteralC<"media">, t.LiteralC<"document">, t.LiteralC<"web">, t.NullC]>;
576
+ customtypes: t.Type<readonly (string | {
577
+ id: string;
578
+ fields: readonly (string | {
579
+ id: string;
580
+ customtypes: readonly (string | {
581
+ id: string;
582
+ fields: readonly (string | {
583
+ id: string;
584
+ fields: readonly string[];
585
+ })[];
586
+ })[];
587
+ } | {
588
+ id: string;
589
+ fields: readonly (string | {
590
+ id: string;
591
+ customtypes: readonly (string | {
592
+ id: string;
593
+ fields: readonly (string | {
594
+ id: string;
595
+ fields: readonly string[];
596
+ })[];
597
+ })[];
598
+ })[];
599
+ })[];
600
+ })[], readonly (string | {
601
+ id: string;
602
+ fields: readonly (string | {
603
+ id: string;
604
+ customtypes: readonly (string | {
605
+ id: string;
606
+ fields: readonly (string | {
607
+ id: string;
608
+ fields: readonly string[];
609
+ })[];
610
+ })[];
611
+ } | {
612
+ id: string;
613
+ fields: readonly (string | {
614
+ id: string;
615
+ customtypes: readonly (string | {
616
+ id: string;
617
+ fields: readonly (string | {
618
+ id: string;
619
+ fields: readonly string[];
620
+ })[];
621
+ })[];
622
+ })[];
623
+ })[];
624
+ })[], unknown>;
625
+ masks: t.Type<readonly string[], object, unknown>;
626
+ tags: t.Type<readonly string[], object, unknown>;
627
+ allowTargetBlank: t.BooleanC;
628
+ allowText: t.BooleanC;
629
+ repeat: t.BooleanC;
630
+ variants: t.ArrayC<t.StringC>;
631
+ }>>;
632
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
633
+ type: t.LiteralC<"Image">;
634
+ }>, t.PartialC<{
635
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
636
+ config: t.ExactC<t.PartialC<{
637
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
638
+ placeholder: t.StringC;
639
+ constraint: t.PartialC<{
640
+ width: t.Type<number | null, unknown, unknown>;
641
+ height: t.Type<number | null, unknown, unknown>;
642
+ }>;
643
+ thumbnails: t.ReadonlyArrayC<t.ExactC<t.IntersectionC<[t.TypeC<{
644
+ name: t.StringC;
645
+ }>, t.PartialC<{
646
+ width: t.Type<number | null, unknown, unknown>;
647
+ height: t.Type<number | null, unknown, unknown>;
648
+ }>]>>>;
649
+ }>>;
650
+ }>]>>, t.ExactC<t.IntersectionC<[t.TypeC<{
651
+ type: t.LiteralC<"IntegrationFields">;
652
+ }>, t.PartialC<{
653
+ fieldset: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
654
+ config: t.ExactC<t.PartialC<{
655
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
656
+ placeholder: t.StringC;
657
+ catalog: t.StringC;
658
+ }>>;
659
+ }>]>>]>>;
660
+ }>>;
661
+ }>]>>]>>;
662
+ }>>;
663
+ }>]>>]>;
664
+ export declare type SlicePrimaryWidget = t.TypeOf<typeof SlicePrimaryWidget>;
665
+ export declare type SlicePrimaryFieldTypes = SlicePrimaryWidget["type"];
666
+ export declare const isSlicePrimaryWidget: (u: unknown) => u is ({
667
+ type: "Boolean";
668
+ } & {
669
+ config?: {
670
+ label?: string | null | undefined;
671
+ default_value?: boolean;
672
+ placeholder_true?: string;
673
+ placeholder_false?: string;
674
+ };
675
+ }) | ({
676
+ type: "Color";
677
+ } & {
678
+ fieldset?: string | null | undefined;
679
+ config?: {
680
+ label?: string | null | undefined;
681
+ placeholder?: string;
682
+ };
683
+ }) | ({
684
+ type: "Date";
685
+ } & {
686
+ fieldset?: string | null | undefined;
687
+ config?: {
688
+ label?: string | null | undefined;
689
+ placeholder?: string;
690
+ default?: string;
691
+ };
692
+ }) | ({
693
+ type: "Embed";
694
+ } & {
695
+ fieldset?: string | null | undefined;
696
+ config?: {
697
+ label?: string | null | undefined;
698
+ placeholder?: string;
699
+ useAsTitle?: boolean;
700
+ };
701
+ }) | ({
702
+ type: "GeoPoint";
703
+ } & {
704
+ fieldset?: string | null | undefined;
705
+ config?: {
706
+ label?: string | null | undefined;
707
+ };
708
+ }) | ({
709
+ type: "Image";
710
+ } & {
711
+ fieldset?: string | null | undefined;
712
+ config?: {
713
+ label?: string | null | undefined;
714
+ placeholder?: string;
715
+ constraint?: {
716
+ width?: number | null;
717
+ height?: number | null;
718
+ };
719
+ thumbnails?: readonly ({
720
+ name: string;
721
+ } & {
722
+ width?: number | null;
723
+ height?: number | null;
724
+ })[];
725
+ };
726
+ }) | ({
727
+ type: "IntegrationFields";
728
+ } & {
729
+ fieldset?: string | null | undefined;
730
+ config?: {
731
+ label?: string | null | undefined;
732
+ placeholder?: string;
733
+ catalog?: string;
734
+ };
735
+ }) | ({
736
+ type: "Link";
737
+ } & {
738
+ fieldset?: string | null | undefined;
739
+ config?: {
740
+ label?: string | null | undefined;
741
+ useAsTitle?: boolean;
742
+ placeholder?: string;
743
+ select?: "media" | "document" | "web" | null;
744
+ customtypes?: readonly (string | {
745
+ id: string;
746
+ fields: readonly (string | {
747
+ id: string;
748
+ customtypes: readonly (string | {
749
+ id: string;
750
+ fields: readonly (string | {
751
+ id: string;
752
+ fields: readonly string[];
753
+ })[];
754
+ })[];
755
+ } | {
756
+ id: string;
757
+ fields: readonly (string | {
758
+ id: string;
759
+ customtypes: readonly (string | {
760
+ id: string;
761
+ fields: readonly (string | {
762
+ id: string;
763
+ fields: readonly string[];
764
+ })[];
765
+ })[];
766
+ })[];
767
+ })[];
768
+ })[];
769
+ masks?: readonly string[];
770
+ tags?: readonly string[];
771
+ allowTargetBlank?: boolean;
772
+ allowText?: boolean;
773
+ repeat?: boolean;
774
+ variants?: string[];
775
+ };
776
+ }) | ({
777
+ type: "Number";
778
+ } & {
779
+ fieldset?: string | null | undefined;
780
+ config?: {
781
+ label?: string | null | undefined;
782
+ placeholder?: string;
783
+ min?: number;
784
+ max?: number;
785
+ step?: number;
786
+ };
787
+ }) | ({
788
+ type: "Range";
789
+ } & {
790
+ fieldset?: string | null | undefined;
791
+ config?: {
792
+ label?: string | null | undefined;
793
+ placeholder?: string;
794
+ min?: number;
795
+ max?: number;
796
+ step?: number;
797
+ };
798
+ }) | ({
799
+ type: "StructuredText";
800
+ } & {
801
+ fieldset?: string | null | undefined;
802
+ config?: {
803
+ label?: string | null | undefined;
804
+ placeholder?: string;
805
+ useAsTitle?: boolean;
806
+ single?: string;
807
+ multi?: string;
808
+ imageConstraint?: {
809
+ width?: number | null;
810
+ height?: number | null;
811
+ };
812
+ labels?: readonly string[];
813
+ allowTargetBlank?: boolean;
814
+ };
815
+ }) | ({
816
+ type: "Select";
817
+ } & {
818
+ fieldset?: string | null | undefined;
819
+ config?: {
820
+ label?: string | null | undefined;
821
+ placeholder?: string;
822
+ default_value?: string;
823
+ options?: readonly string[];
824
+ };
825
+ }) | ({
826
+ type: "Separator";
827
+ } & {
828
+ config?: {
829
+ label?: string | null | undefined;
830
+ };
831
+ }) | ({
832
+ type: "Table";
833
+ } & {
834
+ config?: {
835
+ label?: string | null | undefined;
836
+ };
837
+ }) | ({
838
+ type: "Text";
839
+ } & {
840
+ fieldset?: string | null | undefined;
841
+ config?: {
842
+ label?: string | null | undefined;
843
+ useAsTitle?: boolean;
844
+ placeholder?: string;
845
+ };
846
+ }) | ({
847
+ type: "Timestamp";
848
+ } & {
849
+ fieldset?: string | null | undefined;
850
+ config?: {
851
+ label?: string | null | undefined;
852
+ placeholder?: string;
853
+ default?: string;
854
+ };
855
+ }) | ({
856
+ type: "Group";
857
+ } & {
858
+ fieldset?: string | null | undefined;
859
+ icon?: string;
860
+ description?: string;
861
+ config?: {
862
+ label?: string | null | undefined;
863
+ repeat?: boolean;
864
+ fields?: {
865
+ [x: string]: ({
866
+ type: "Boolean";
867
+ } & {
868
+ config?: {
869
+ label?: string | null | undefined;
870
+ default_value?: boolean;
871
+ placeholder_true?: string;
872
+ placeholder_false?: string;
873
+ };
874
+ }) | ({
875
+ type: "Color";
876
+ } & {
877
+ fieldset?: string | null | undefined;
878
+ config?: {
879
+ label?: string | null | undefined;
880
+ placeholder?: string;
881
+ };
882
+ }) | ({
883
+ type: "Date";
884
+ } & {
885
+ fieldset?: string | null | undefined;
886
+ config?: {
887
+ label?: string | null | undefined;
888
+ placeholder?: string;
889
+ default?: string;
890
+ };
891
+ }) | ({
892
+ type: "Embed";
893
+ } & {
894
+ fieldset?: string | null | undefined;
895
+ config?: {
896
+ label?: string | null | undefined;
897
+ placeholder?: string;
898
+ useAsTitle?: boolean;
899
+ };
900
+ }) | ({
901
+ type: "GeoPoint";
902
+ } & {
903
+ fieldset?: string | null | undefined;
904
+ config?: {
905
+ label?: string | null | undefined;
906
+ };
907
+ }) | ({
908
+ type: "Image";
909
+ } & {
910
+ fieldset?: string | null | undefined;
911
+ config?: {
912
+ label?: string | null | undefined;
913
+ placeholder?: string;
914
+ constraint?: {
915
+ width?: number | null;
916
+ height?: number | null;
917
+ };
918
+ thumbnails?: readonly ({
919
+ name: string;
920
+ } & {
921
+ width?: number | null;
922
+ height?: number | null;
923
+ })[];
924
+ };
925
+ }) | ({
926
+ type: "IntegrationFields";
927
+ } & {
928
+ fieldset?: string | null | undefined;
929
+ config?: {
930
+ label?: string | null | undefined;
931
+ placeholder?: string;
932
+ catalog?: string;
933
+ };
934
+ }) | ({
935
+ type: "Link";
936
+ } & {
937
+ fieldset?: string | null | undefined;
938
+ config?: {
939
+ label?: string | null | undefined;
940
+ useAsTitle?: boolean;
941
+ placeholder?: string;
942
+ select?: "media" | "document" | "web" | null;
943
+ customtypes?: readonly (string | {
944
+ id: string;
945
+ fields: readonly (string | {
946
+ id: string;
947
+ customtypes: readonly (string | {
948
+ id: string;
949
+ fields: readonly (string | {
950
+ id: string;
951
+ fields: readonly string[];
952
+ })[];
953
+ })[];
954
+ } | {
955
+ id: string;
956
+ fields: readonly (string | {
957
+ id: string;
958
+ customtypes: readonly (string | {
959
+ id: string;
960
+ fields: readonly (string | {
961
+ id: string;
962
+ fields: readonly string[];
963
+ })[];
964
+ })[];
965
+ })[];
966
+ })[];
967
+ })[];
968
+ masks?: readonly string[];
969
+ tags?: readonly string[];
970
+ allowTargetBlank?: boolean;
971
+ allowText?: boolean;
972
+ repeat?: boolean;
973
+ variants?: string[];
974
+ };
975
+ }) | ({
976
+ type: "Number";
977
+ } & {
978
+ fieldset?: string | null | undefined;
979
+ config?: {
980
+ label?: string | null | undefined;
981
+ placeholder?: string;
982
+ min?: number;
983
+ max?: number;
984
+ step?: number;
985
+ };
986
+ }) | ({
987
+ type: "Range";
988
+ } & {
989
+ fieldset?: string | null | undefined;
990
+ config?: {
991
+ label?: string | null | undefined;
992
+ placeholder?: string;
993
+ min?: number;
994
+ max?: number;
995
+ step?: number;
996
+ };
997
+ }) | ({
998
+ type: "StructuredText";
999
+ } & {
1000
+ fieldset?: string | null | undefined;
1001
+ config?: {
1002
+ label?: string | null | undefined;
1003
+ placeholder?: string;
1004
+ useAsTitle?: boolean;
1005
+ single?: string;
1006
+ multi?: string;
1007
+ imageConstraint?: {
1008
+ width?: number | null;
1009
+ height?: number | null;
1010
+ };
1011
+ labels?: readonly string[];
1012
+ allowTargetBlank?: boolean;
1013
+ };
1014
+ }) | ({
1015
+ type: "Select";
1016
+ } & {
1017
+ fieldset?: string | null | undefined;
1018
+ config?: {
1019
+ label?: string | null | undefined;
1020
+ placeholder?: string;
1021
+ default_value?: string;
1022
+ options?: readonly string[];
1023
+ };
1024
+ }) | ({
1025
+ type: "Separator";
1026
+ } & {
1027
+ config?: {
1028
+ label?: string | null | undefined;
1029
+ };
1030
+ }) | ({
1031
+ type: "Table";
1032
+ } & {
1033
+ config?: {
1034
+ label?: string | null | undefined;
1035
+ };
1036
+ }) | ({
1037
+ type: "Text";
1038
+ } & {
1039
+ fieldset?: string | null | undefined;
1040
+ config?: {
1041
+ label?: string | null | undefined;
1042
+ useAsTitle?: boolean;
1043
+ placeholder?: string;
1044
+ };
1045
+ }) | ({
1046
+ type: "Timestamp";
1047
+ } & {
1048
+ fieldset?: string | null | undefined;
1049
+ config?: {
1050
+ label?: string | null | undefined;
1051
+ placeholder?: string;
1052
+ default?: string;
1053
+ };
1054
+ }) | ({
1055
+ type: "Group";
1056
+ } & {
1057
+ fieldset?: string | null | undefined;
1058
+ icon?: string;
1059
+ description?: string;
1060
+ config?: {
1061
+ label?: string | null | undefined;
1062
+ repeat?: boolean;
1063
+ fields?: {
1064
+ [x: string]: ({
1065
+ type: "Boolean";
1066
+ } & {
1067
+ config?: {
1068
+ label?: string | null | undefined;
1069
+ default_value?: boolean;
1070
+ placeholder_true?: string;
1071
+ placeholder_false?: string;
1072
+ };
1073
+ }) | ({
1074
+ type: "Color";
1075
+ } & {
1076
+ fieldset?: string | null | undefined;
1077
+ config?: {
1078
+ label?: string | null | undefined;
1079
+ placeholder?: string;
1080
+ };
1081
+ }) | ({
1082
+ type: "Date";
1083
+ } & {
1084
+ fieldset?: string | null | undefined;
1085
+ config?: {
1086
+ label?: string | null | undefined;
1087
+ placeholder?: string;
1088
+ default?: string;
1089
+ };
1090
+ }) | ({
1091
+ type: "Embed";
1092
+ } & {
1093
+ fieldset?: string | null | undefined;
1094
+ config?: {
1095
+ label?: string | null | undefined;
1096
+ placeholder?: string;
1097
+ useAsTitle?: boolean;
1098
+ };
1099
+ }) | ({
1100
+ type: "GeoPoint";
1101
+ } & {
1102
+ fieldset?: string | null | undefined;
1103
+ config?: {
1104
+ label?: string | null | undefined;
1105
+ };
1106
+ }) | ({
1107
+ type: "Image";
1108
+ } & {
1109
+ fieldset?: string | null | undefined;
1110
+ config?: {
1111
+ label?: string | null | undefined;
1112
+ placeholder?: string;
1113
+ constraint?: {
1114
+ width?: number | null;
1115
+ height?: number | null;
1116
+ };
1117
+ thumbnails?: readonly ({
1118
+ name: string;
1119
+ } & {
1120
+ width?: number | null;
1121
+ height?: number | null;
1122
+ })[];
1123
+ };
1124
+ }) | ({
1125
+ type: "IntegrationFields";
1126
+ } & {
1127
+ fieldset?: string | null | undefined;
1128
+ config?: {
1129
+ label?: string | null | undefined;
1130
+ placeholder?: string;
1131
+ catalog?: string;
1132
+ };
1133
+ }) | ({
1134
+ type: "Link";
1135
+ } & {
1136
+ fieldset?: string | null | undefined;
1137
+ config?: {
1138
+ label?: string | null | undefined;
1139
+ useAsTitle?: boolean;
1140
+ placeholder?: string;
1141
+ select?: "media" | "document" | "web" | null;
1142
+ customtypes?: readonly (string | {
1143
+ id: string;
1144
+ fields: readonly (string | {
1145
+ id: string;
1146
+ customtypes: readonly (string | {
1147
+ id: string;
1148
+ fields: readonly (string | {
1149
+ id: string;
1150
+ fields: readonly string[];
1151
+ })[];
1152
+ })[];
1153
+ } | {
1154
+ id: string;
1155
+ fields: readonly (string | {
1156
+ id: string;
1157
+ customtypes: readonly (string | {
1158
+ id: string;
1159
+ fields: readonly (string | {
1160
+ id: string;
1161
+ fields: readonly string[];
1162
+ })[];
1163
+ })[];
1164
+ })[];
1165
+ })[];
1166
+ })[];
1167
+ masks?: readonly string[];
1168
+ tags?: readonly string[];
1169
+ allowTargetBlank?: boolean;
1170
+ allowText?: boolean;
1171
+ repeat?: boolean;
1172
+ variants?: string[];
1173
+ };
1174
+ }) | ({
1175
+ type: "Number";
1176
+ } & {
1177
+ fieldset?: string | null | undefined;
1178
+ config?: {
1179
+ label?: string | null | undefined;
1180
+ placeholder?: string;
1181
+ min?: number;
1182
+ max?: number;
1183
+ step?: number;
1184
+ };
1185
+ }) | ({
1186
+ type: "Range";
1187
+ } & {
1188
+ fieldset?: string | null | undefined;
1189
+ config?: {
1190
+ label?: string | null | undefined;
1191
+ placeholder?: string;
1192
+ min?: number;
1193
+ max?: number;
1194
+ step?: number;
1195
+ };
1196
+ }) | ({
1197
+ type: "StructuredText";
1198
+ } & {
1199
+ fieldset?: string | null | undefined;
1200
+ config?: {
1201
+ label?: string | null | undefined;
1202
+ placeholder?: string;
1203
+ useAsTitle?: boolean;
1204
+ single?: string;
1205
+ multi?: string;
1206
+ imageConstraint?: {
1207
+ width?: number | null;
1208
+ height?: number | null;
1209
+ };
1210
+ labels?: readonly string[];
1211
+ allowTargetBlank?: boolean;
1212
+ };
1213
+ }) | ({
1214
+ type: "Select";
1215
+ } & {
1216
+ fieldset?: string | null | undefined;
1217
+ config?: {
1218
+ label?: string | null | undefined;
1219
+ placeholder?: string;
1220
+ default_value?: string;
1221
+ options?: readonly string[];
1222
+ };
1223
+ }) | ({
1224
+ type: "Separator";
1225
+ } & {
1226
+ config?: {
1227
+ label?: string | null | undefined;
1228
+ };
1229
+ }) | ({
1230
+ type: "Table";
1231
+ } & {
1232
+ config?: {
1233
+ label?: string | null | undefined;
1234
+ };
1235
+ }) | ({
1236
+ type: "Text";
1237
+ } & {
1238
+ fieldset?: string | null | undefined;
1239
+ config?: {
1240
+ label?: string | null | undefined;
1241
+ useAsTitle?: boolean;
1242
+ placeholder?: string;
1243
+ };
1244
+ }) | ({
1245
+ type: "Timestamp";
1246
+ } & {
1247
+ fieldset?: string | null | undefined;
1248
+ config?: {
1249
+ label?: string | null | undefined;
1250
+ placeholder?: string;
1251
+ default?: string;
1252
+ };
1253
+ });
1254
+ };
1255
+ };
1256
+ });
1257
+ };
1258
+ };
1259
+ });