@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,3680 @@
1
+ import { Either } from "fp-ts/lib/Either";
2
+ import * as t from "io-ts";
3
+ import type { OnFieldFn } from "../_internal/utils";
4
+ import type { Group, NestableWidget, NestedGroup, UID } from "./widgets";
5
+ import type { SharedSlice } from "./widgets/slices/SharedSlice";
6
+ import type { DynamicWidget } from "./widgets/Widget";
7
+ import type { StaticWidget } from "./widgets/Widget";
8
+ export declare const CustomTypeFormat: {
9
+ page: string;
10
+ custom: string;
11
+ };
12
+ declare class CustomTypeSlicesError extends Error {
13
+ slices: Array<string>;
14
+ message: string;
15
+ constructor(slices: Array<string>);
16
+ _formatError(slicesRefs: Array<string>): string;
17
+ }
18
+ export declare const StaticCustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
19
+ id: t.StringC;
20
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
21
+ repeatable: t.BooleanC;
22
+ json: t.RecordC<t.StringC, t.Type<{
23
+ [x: string]: ({
24
+ type: "Boolean";
25
+ } & {
26
+ config?: {
27
+ label?: string | null | undefined;
28
+ default_value?: boolean;
29
+ placeholder_true?: string;
30
+ placeholder_false?: string;
31
+ };
32
+ }) | ({
33
+ type: "Color";
34
+ } & {
35
+ fieldset?: string | null | undefined;
36
+ config?: {
37
+ label?: string | null | undefined;
38
+ placeholder?: string;
39
+ };
40
+ }) | ({
41
+ type: "Date";
42
+ } & {
43
+ fieldset?: string | null | undefined;
44
+ config?: {
45
+ label?: string | null | undefined;
46
+ placeholder?: string;
47
+ default?: string;
48
+ };
49
+ }) | ({
50
+ type: "Embed";
51
+ } & {
52
+ fieldset?: string | null | undefined;
53
+ config?: {
54
+ label?: string | null | undefined;
55
+ placeholder?: string;
56
+ useAsTitle?: boolean;
57
+ };
58
+ }) | ({
59
+ type: "GeoPoint";
60
+ } & {
61
+ fieldset?: string | null | undefined;
62
+ config?: {
63
+ label?: string | null | undefined;
64
+ };
65
+ }) | ({
66
+ type: "Image";
67
+ } & {
68
+ fieldset?: string | null | undefined;
69
+ config?: {
70
+ label?: string | null | undefined;
71
+ placeholder?: string;
72
+ constraint?: {
73
+ width?: number | null;
74
+ height?: number | null;
75
+ };
76
+ thumbnails?: readonly ({
77
+ name: string;
78
+ } & {
79
+ width?: number | null;
80
+ height?: number | null;
81
+ })[];
82
+ };
83
+ }) | ({
84
+ type: "IntegrationFields";
85
+ } & {
86
+ fieldset?: string | null | undefined;
87
+ config?: {
88
+ label?: string | null | undefined;
89
+ placeholder?: string;
90
+ catalog?: string;
91
+ };
92
+ }) | ({
93
+ type: "Link";
94
+ } & {
95
+ fieldset?: string | null | undefined;
96
+ config?: {
97
+ label?: string | null | undefined;
98
+ useAsTitle?: boolean;
99
+ placeholder?: string;
100
+ select?: "media" | "document" | "web" | null;
101
+ customtypes?: readonly (string | {
102
+ id: string;
103
+ fields: readonly (string | {
104
+ id: string;
105
+ customtypes: readonly (string | {
106
+ id: string;
107
+ fields: readonly (string | {
108
+ id: string;
109
+ fields: readonly string[];
110
+ })[];
111
+ })[];
112
+ } | {
113
+ id: string;
114
+ fields: readonly (string | {
115
+ id: string;
116
+ customtypes: readonly (string | {
117
+ id: string;
118
+ fields: readonly (string | {
119
+ id: string;
120
+ fields: readonly string[];
121
+ })[];
122
+ })[];
123
+ })[];
124
+ })[];
125
+ })[];
126
+ masks?: readonly string[];
127
+ tags?: readonly string[];
128
+ allowTargetBlank?: boolean;
129
+ allowText?: boolean;
130
+ repeat?: boolean;
131
+ variants?: string[];
132
+ };
133
+ }) | ({
134
+ type: "Number";
135
+ } & {
136
+ fieldset?: string | null | undefined;
137
+ config?: {
138
+ label?: string | null | undefined;
139
+ placeholder?: string;
140
+ min?: number;
141
+ max?: number;
142
+ step?: number;
143
+ };
144
+ }) | ({
145
+ type: "Range";
146
+ } & {
147
+ fieldset?: string | null | undefined;
148
+ config?: {
149
+ label?: string | null | undefined;
150
+ placeholder?: string;
151
+ min?: number;
152
+ max?: number;
153
+ step?: number;
154
+ };
155
+ }) | ({
156
+ type: "StructuredText";
157
+ } & {
158
+ fieldset?: string | null | undefined;
159
+ config?: {
160
+ label?: string | null | undefined;
161
+ placeholder?: string;
162
+ useAsTitle?: boolean;
163
+ single?: string;
164
+ multi?: string;
165
+ imageConstraint?: {
166
+ width?: number | null;
167
+ height?: number | null;
168
+ };
169
+ labels?: readonly string[];
170
+ allowTargetBlank?: boolean;
171
+ };
172
+ }) | ({
173
+ type: "Select";
174
+ } & {
175
+ fieldset?: string | null | undefined;
176
+ config?: {
177
+ label?: string | null | undefined;
178
+ placeholder?: string;
179
+ default_value?: string;
180
+ options?: readonly string[];
181
+ };
182
+ }) | ({
183
+ type: "Separator";
184
+ } & {
185
+ config?: {
186
+ label?: string | null | undefined;
187
+ };
188
+ }) | ({
189
+ type: "Table";
190
+ } & {
191
+ config?: {
192
+ label?: string | null | undefined;
193
+ };
194
+ }) | ({
195
+ type: "Text";
196
+ } & {
197
+ fieldset?: string | null | undefined;
198
+ config?: {
199
+ label?: string | null | undefined;
200
+ useAsTitle?: boolean;
201
+ placeholder?: string;
202
+ };
203
+ }) | ({
204
+ type: "Timestamp";
205
+ } & {
206
+ fieldset?: string | null | undefined;
207
+ config?: {
208
+ label?: string | null | undefined;
209
+ placeholder?: string;
210
+ default?: string;
211
+ };
212
+ }) | ({
213
+ type: "Group";
214
+ } & {
215
+ fieldset?: string | null | undefined;
216
+ icon?: string;
217
+ description?: string;
218
+ config?: {
219
+ label?: string | null | undefined;
220
+ repeat?: boolean;
221
+ fields?: {
222
+ [x: string]: ({
223
+ type: "Boolean";
224
+ } & {
225
+ config?: {
226
+ label?: string | null | undefined;
227
+ default_value?: boolean;
228
+ placeholder_true?: string;
229
+ placeholder_false?: string;
230
+ };
231
+ }) | ({
232
+ type: "Color";
233
+ } & {
234
+ fieldset?: string | null | undefined;
235
+ config?: {
236
+ label?: string | null | undefined;
237
+ placeholder?: string;
238
+ };
239
+ }) | ({
240
+ type: "Date";
241
+ } & {
242
+ fieldset?: string | null | undefined;
243
+ config?: {
244
+ label?: string | null | undefined;
245
+ placeholder?: string;
246
+ default?: string;
247
+ };
248
+ }) | ({
249
+ type: "Embed";
250
+ } & {
251
+ fieldset?: string | null | undefined;
252
+ config?: {
253
+ label?: string | null | undefined;
254
+ placeholder?: string;
255
+ useAsTitle?: boolean;
256
+ };
257
+ }) | ({
258
+ type: "GeoPoint";
259
+ } & {
260
+ fieldset?: string | null | undefined;
261
+ config?: {
262
+ label?: string | null | undefined;
263
+ };
264
+ }) | ({
265
+ type: "Image";
266
+ } & {
267
+ fieldset?: string | null | undefined;
268
+ config?: {
269
+ label?: string | null | undefined;
270
+ placeholder?: string;
271
+ constraint?: {
272
+ width?: number | null;
273
+ height?: number | null;
274
+ };
275
+ thumbnails?: readonly ({
276
+ name: string;
277
+ } & {
278
+ width?: number | null;
279
+ height?: number | null;
280
+ })[];
281
+ };
282
+ }) | ({
283
+ type: "IntegrationFields";
284
+ } & {
285
+ fieldset?: string | null | undefined;
286
+ config?: {
287
+ label?: string | null | undefined;
288
+ placeholder?: string;
289
+ catalog?: string;
290
+ };
291
+ }) | ({
292
+ type: "Link";
293
+ } & {
294
+ fieldset?: string | null | undefined;
295
+ config?: {
296
+ label?: string | null | undefined;
297
+ useAsTitle?: boolean;
298
+ placeholder?: string;
299
+ select?: "media" | "document" | "web" | null;
300
+ customtypes?: readonly (string | {
301
+ id: string;
302
+ fields: readonly (string | {
303
+ id: string;
304
+ customtypes: readonly (string | {
305
+ id: string;
306
+ fields: readonly (string | {
307
+ id: string;
308
+ fields: readonly string[];
309
+ })[];
310
+ })[];
311
+ } | {
312
+ id: string;
313
+ fields: readonly (string | {
314
+ id: string;
315
+ customtypes: readonly (string | {
316
+ id: string;
317
+ fields: readonly (string | {
318
+ id: string;
319
+ fields: readonly string[];
320
+ })[];
321
+ })[];
322
+ })[];
323
+ })[];
324
+ })[];
325
+ masks?: readonly string[];
326
+ tags?: readonly string[];
327
+ allowTargetBlank?: boolean;
328
+ allowText?: boolean;
329
+ repeat?: boolean;
330
+ variants?: string[];
331
+ };
332
+ }) | ({
333
+ type: "Number";
334
+ } & {
335
+ fieldset?: string | null | undefined;
336
+ config?: {
337
+ label?: string | null | undefined;
338
+ placeholder?: string;
339
+ min?: number;
340
+ max?: number;
341
+ step?: number;
342
+ };
343
+ }) | ({
344
+ type: "Range";
345
+ } & {
346
+ fieldset?: string | null | undefined;
347
+ config?: {
348
+ label?: string | null | undefined;
349
+ placeholder?: string;
350
+ min?: number;
351
+ max?: number;
352
+ step?: number;
353
+ };
354
+ }) | ({
355
+ type: "StructuredText";
356
+ } & {
357
+ fieldset?: string | null | undefined;
358
+ config?: {
359
+ label?: string | null | undefined;
360
+ placeholder?: string;
361
+ useAsTitle?: boolean;
362
+ single?: string;
363
+ multi?: string;
364
+ imageConstraint?: {
365
+ width?: number | null;
366
+ height?: number | null;
367
+ };
368
+ labels?: readonly string[];
369
+ allowTargetBlank?: boolean;
370
+ };
371
+ }) | ({
372
+ type: "Select";
373
+ } & {
374
+ fieldset?: string | null | undefined;
375
+ config?: {
376
+ label?: string | null | undefined;
377
+ placeholder?: string;
378
+ default_value?: string;
379
+ options?: readonly string[];
380
+ };
381
+ }) | ({
382
+ type: "Separator";
383
+ } & {
384
+ config?: {
385
+ label?: string | null | undefined;
386
+ };
387
+ }) | ({
388
+ type: "Table";
389
+ } & {
390
+ config?: {
391
+ label?: string | null | undefined;
392
+ };
393
+ }) | ({
394
+ type: "Text";
395
+ } & {
396
+ fieldset?: string | null | undefined;
397
+ config?: {
398
+ label?: string | null | undefined;
399
+ useAsTitle?: boolean;
400
+ placeholder?: string;
401
+ };
402
+ }) | ({
403
+ type: "Timestamp";
404
+ } & {
405
+ fieldset?: string | null | undefined;
406
+ config?: {
407
+ label?: string | null | undefined;
408
+ placeholder?: string;
409
+ default?: string;
410
+ };
411
+ }) | ({
412
+ type: "Group";
413
+ } & {
414
+ fieldset?: string | null | undefined;
415
+ icon?: string;
416
+ description?: string;
417
+ config?: {
418
+ label?: string | null | undefined;
419
+ repeat?: boolean;
420
+ fields?: {
421
+ [x: string]: ({
422
+ type: "Boolean";
423
+ } & {
424
+ config?: {
425
+ label?: string | null | undefined;
426
+ default_value?: boolean;
427
+ placeholder_true?: string;
428
+ placeholder_false?: string;
429
+ };
430
+ }) | ({
431
+ type: "Color";
432
+ } & {
433
+ fieldset?: string | null | undefined;
434
+ config?: {
435
+ label?: string | null | undefined;
436
+ placeholder?: string;
437
+ };
438
+ }) | ({
439
+ type: "Date";
440
+ } & {
441
+ fieldset?: string | null | undefined;
442
+ config?: {
443
+ label?: string | null | undefined;
444
+ placeholder?: string;
445
+ default?: string;
446
+ };
447
+ }) | ({
448
+ type: "Embed";
449
+ } & {
450
+ fieldset?: string | null | undefined;
451
+ config?: {
452
+ label?: string | null | undefined;
453
+ placeholder?: string;
454
+ useAsTitle?: boolean;
455
+ };
456
+ }) | ({
457
+ type: "GeoPoint";
458
+ } & {
459
+ fieldset?: string | null | undefined;
460
+ config?: {
461
+ label?: string | null | undefined;
462
+ };
463
+ }) | ({
464
+ type: "Image";
465
+ } & {
466
+ fieldset?: string | null | undefined;
467
+ config?: {
468
+ label?: string | null | undefined;
469
+ placeholder?: string;
470
+ constraint?: {
471
+ width?: number | null;
472
+ height?: number | null;
473
+ };
474
+ thumbnails?: readonly ({
475
+ name: string;
476
+ } & {
477
+ width?: number | null;
478
+ height?: number | null;
479
+ })[];
480
+ };
481
+ }) | ({
482
+ type: "IntegrationFields";
483
+ } & {
484
+ fieldset?: string | null | undefined;
485
+ config?: {
486
+ label?: string | null | undefined;
487
+ placeholder?: string;
488
+ catalog?: string;
489
+ };
490
+ }) | ({
491
+ type: "Link";
492
+ } & {
493
+ fieldset?: string | null | undefined;
494
+ config?: {
495
+ label?: string | null | undefined;
496
+ useAsTitle?: boolean;
497
+ placeholder?: string;
498
+ select?: "media" | "document" | "web" | null;
499
+ customtypes?: readonly (string | {
500
+ id: string;
501
+ fields: readonly (string | {
502
+ id: string;
503
+ customtypes: readonly (string | {
504
+ id: string;
505
+ fields: readonly (string | {
506
+ id: string;
507
+ fields: readonly string[];
508
+ })[];
509
+ })[];
510
+ } | {
511
+ id: string;
512
+ fields: readonly (string | {
513
+ id: string;
514
+ customtypes: readonly (string | {
515
+ id: string;
516
+ fields: readonly (string | {
517
+ id: string;
518
+ fields: readonly string[];
519
+ })[];
520
+ })[];
521
+ })[];
522
+ })[];
523
+ })[];
524
+ masks?: readonly string[];
525
+ tags?: readonly string[];
526
+ allowTargetBlank?: boolean;
527
+ allowText?: boolean;
528
+ repeat?: boolean;
529
+ variants?: string[];
530
+ };
531
+ }) | ({
532
+ type: "Number";
533
+ } & {
534
+ fieldset?: string | null | undefined;
535
+ config?: {
536
+ label?: string | null | undefined;
537
+ placeholder?: string;
538
+ min?: number;
539
+ max?: number;
540
+ step?: number;
541
+ };
542
+ }) | ({
543
+ type: "Range";
544
+ } & {
545
+ fieldset?: string | null | undefined;
546
+ config?: {
547
+ label?: string | null | undefined;
548
+ placeholder?: string;
549
+ min?: number;
550
+ max?: number;
551
+ step?: number;
552
+ };
553
+ }) | ({
554
+ type: "StructuredText";
555
+ } & {
556
+ fieldset?: string | null | undefined;
557
+ config?: {
558
+ label?: string | null | undefined;
559
+ placeholder?: string;
560
+ useAsTitle?: boolean;
561
+ single?: string;
562
+ multi?: string;
563
+ imageConstraint?: {
564
+ width?: number | null;
565
+ height?: number | null;
566
+ };
567
+ labels?: readonly string[];
568
+ allowTargetBlank?: boolean;
569
+ };
570
+ }) | ({
571
+ type: "Select";
572
+ } & {
573
+ fieldset?: string | null | undefined;
574
+ config?: {
575
+ label?: string | null | undefined;
576
+ placeholder?: string;
577
+ default_value?: string;
578
+ options?: readonly string[];
579
+ };
580
+ }) | ({
581
+ type: "Separator";
582
+ } & {
583
+ config?: {
584
+ label?: string | null | undefined;
585
+ };
586
+ }) | ({
587
+ type: "Table";
588
+ } & {
589
+ config?: {
590
+ label?: string | null | undefined;
591
+ };
592
+ }) | ({
593
+ type: "Text";
594
+ } & {
595
+ fieldset?: string | null | undefined;
596
+ config?: {
597
+ label?: string | null | undefined;
598
+ useAsTitle?: boolean;
599
+ placeholder?: string;
600
+ };
601
+ }) | ({
602
+ type: "Timestamp";
603
+ } & {
604
+ fieldset?: string | null | undefined;
605
+ config?: {
606
+ label?: string | null | undefined;
607
+ placeholder?: string;
608
+ default?: string;
609
+ };
610
+ });
611
+ };
612
+ };
613
+ });
614
+ };
615
+ };
616
+ }) | ({
617
+ type: "UID";
618
+ } & {
619
+ fieldset?: string | null | undefined;
620
+ config?: {
621
+ label?: string | null | undefined;
622
+ useAsTitle?: boolean;
623
+ placeholder?: string;
624
+ };
625
+ }) | ({
626
+ type: "Choice" | "Slices";
627
+ } & {
628
+ fieldset?: string | null | undefined;
629
+ config?: {
630
+ label?: string | null | undefined;
631
+ labels?: {
632
+ [x: string]: readonly ({
633
+ name: string;
634
+ } & {
635
+ display?: string;
636
+ })[];
637
+ } | null;
638
+ choices?: {
639
+ [x: string]: ({
640
+ type: "Boolean";
641
+ } & {
642
+ config?: {
643
+ label?: string | null | undefined;
644
+ default_value?: boolean;
645
+ placeholder_true?: string;
646
+ placeholder_false?: string;
647
+ };
648
+ }) | ({
649
+ type: "Color";
650
+ } & {
651
+ fieldset?: string | null | undefined;
652
+ config?: {
653
+ label?: string | null | undefined;
654
+ placeholder?: string;
655
+ };
656
+ }) | ({
657
+ type: "Date";
658
+ } & {
659
+ fieldset?: string | null | undefined;
660
+ config?: {
661
+ label?: string | null | undefined;
662
+ placeholder?: string;
663
+ default?: string;
664
+ };
665
+ }) | ({
666
+ type: "Embed";
667
+ } & {
668
+ fieldset?: string | null | undefined;
669
+ config?: {
670
+ label?: string | null | undefined;
671
+ placeholder?: string;
672
+ useAsTitle?: boolean;
673
+ };
674
+ }) | ({
675
+ type: "GeoPoint";
676
+ } & {
677
+ fieldset?: string | null | undefined;
678
+ config?: {
679
+ label?: string | null | undefined;
680
+ };
681
+ }) | ({
682
+ type: "Image";
683
+ } & {
684
+ fieldset?: string | null | undefined;
685
+ config?: {
686
+ label?: string | null | undefined;
687
+ placeholder?: string;
688
+ constraint?: {
689
+ width?: number | null;
690
+ height?: number | null;
691
+ };
692
+ thumbnails?: readonly ({
693
+ name: string;
694
+ } & {
695
+ width?: number | null;
696
+ height?: number | null;
697
+ })[];
698
+ };
699
+ }) | ({
700
+ type: "IntegrationFields";
701
+ } & {
702
+ fieldset?: string | null | undefined;
703
+ config?: {
704
+ label?: string | null | undefined;
705
+ placeholder?: string;
706
+ catalog?: string;
707
+ };
708
+ }) | ({
709
+ type: "Link";
710
+ } & {
711
+ fieldset?: string | null | undefined;
712
+ config?: {
713
+ label?: string | null | undefined;
714
+ useAsTitle?: boolean;
715
+ placeholder?: string;
716
+ select?: "media" | "document" | "web" | null;
717
+ customtypes?: readonly (string | {
718
+ id: string;
719
+ fields: readonly (string | {
720
+ id: string;
721
+ customtypes: readonly (string | {
722
+ id: string;
723
+ fields: readonly (string | {
724
+ id: string;
725
+ fields: readonly string[];
726
+ })[];
727
+ })[];
728
+ } | {
729
+ id: string;
730
+ fields: readonly (string | {
731
+ id: string;
732
+ customtypes: readonly (string | {
733
+ id: string;
734
+ fields: readonly (string | {
735
+ id: string;
736
+ fields: readonly string[];
737
+ })[];
738
+ })[];
739
+ })[];
740
+ })[];
741
+ })[];
742
+ masks?: readonly string[];
743
+ tags?: readonly string[];
744
+ allowTargetBlank?: boolean;
745
+ allowText?: boolean;
746
+ repeat?: boolean;
747
+ variants?: string[];
748
+ };
749
+ }) | ({
750
+ type: "Number";
751
+ } & {
752
+ fieldset?: string | null | undefined;
753
+ config?: {
754
+ label?: string | null | undefined;
755
+ placeholder?: string;
756
+ min?: number;
757
+ max?: number;
758
+ step?: number;
759
+ };
760
+ }) | ({
761
+ type: "Range";
762
+ } & {
763
+ fieldset?: string | null | undefined;
764
+ config?: {
765
+ label?: string | null | undefined;
766
+ placeholder?: string;
767
+ min?: number;
768
+ max?: number;
769
+ step?: number;
770
+ };
771
+ }) | ({
772
+ type: "StructuredText";
773
+ } & {
774
+ fieldset?: string | null | undefined;
775
+ config?: {
776
+ label?: string | null | undefined;
777
+ placeholder?: string;
778
+ useAsTitle?: boolean;
779
+ single?: string;
780
+ multi?: string;
781
+ imageConstraint?: {
782
+ width?: number | null;
783
+ height?: number | null;
784
+ };
785
+ labels?: readonly string[];
786
+ allowTargetBlank?: boolean;
787
+ };
788
+ }) | ({
789
+ type: "Select";
790
+ } & {
791
+ fieldset?: string | null | undefined;
792
+ config?: {
793
+ label?: string | null | undefined;
794
+ placeholder?: string;
795
+ default_value?: string;
796
+ options?: readonly string[];
797
+ };
798
+ }) | ({
799
+ type: "Separator";
800
+ } & {
801
+ config?: {
802
+ label?: string | null | undefined;
803
+ };
804
+ }) | ({
805
+ type: "Table";
806
+ } & {
807
+ config?: {
808
+ label?: string | null | undefined;
809
+ };
810
+ }) | ({
811
+ type: "Text";
812
+ } & {
813
+ fieldset?: string | null | undefined;
814
+ config?: {
815
+ label?: string | null | undefined;
816
+ useAsTitle?: boolean;
817
+ placeholder?: string;
818
+ };
819
+ }) | ({
820
+ type: "Timestamp";
821
+ } & {
822
+ fieldset?: string | null | undefined;
823
+ config?: {
824
+ label?: string | null | undefined;
825
+ placeholder?: string;
826
+ default?: string;
827
+ };
828
+ }) | ({
829
+ type: "Group";
830
+ } & {
831
+ fieldset?: string | null | undefined;
832
+ icon?: string;
833
+ description?: string;
834
+ config?: {
835
+ label?: string | null | undefined;
836
+ repeat?: boolean;
837
+ fields?: {
838
+ [x: string]: ({
839
+ type: "Boolean";
840
+ } & {
841
+ config?: {
842
+ label?: string | null | undefined;
843
+ default_value?: boolean;
844
+ placeholder_true?: string;
845
+ placeholder_false?: string;
846
+ };
847
+ }) | ({
848
+ type: "Color";
849
+ } & {
850
+ fieldset?: string | null | undefined;
851
+ config?: {
852
+ label?: string | null | undefined;
853
+ placeholder?: string;
854
+ };
855
+ }) | ({
856
+ type: "Date";
857
+ } & {
858
+ fieldset?: string | null | undefined;
859
+ config?: {
860
+ label?: string | null | undefined;
861
+ placeholder?: string;
862
+ default?: string;
863
+ };
864
+ }) | ({
865
+ type: "Embed";
866
+ } & {
867
+ fieldset?: string | null | undefined;
868
+ config?: {
869
+ label?: string | null | undefined;
870
+ placeholder?: string;
871
+ useAsTitle?: boolean;
872
+ };
873
+ }) | ({
874
+ type: "GeoPoint";
875
+ } & {
876
+ fieldset?: string | null | undefined;
877
+ config?: {
878
+ label?: string | null | undefined;
879
+ };
880
+ }) | ({
881
+ type: "Image";
882
+ } & {
883
+ fieldset?: string | null | undefined;
884
+ config?: {
885
+ label?: string | null | undefined;
886
+ placeholder?: string;
887
+ constraint?: {
888
+ width?: number | null;
889
+ height?: number | null;
890
+ };
891
+ thumbnails?: readonly ({
892
+ name: string;
893
+ } & {
894
+ width?: number | null;
895
+ height?: number | null;
896
+ })[];
897
+ };
898
+ }) | ({
899
+ type: "IntegrationFields";
900
+ } & {
901
+ fieldset?: string | null | undefined;
902
+ config?: {
903
+ label?: string | null | undefined;
904
+ placeholder?: string;
905
+ catalog?: string;
906
+ };
907
+ }) | ({
908
+ type: "Link";
909
+ } & {
910
+ fieldset?: string | null | undefined;
911
+ config?: {
912
+ label?: string | null | undefined;
913
+ useAsTitle?: boolean;
914
+ placeholder?: string;
915
+ select?: "media" | "document" | "web" | null;
916
+ customtypes?: readonly (string | {
917
+ id: string;
918
+ fields: readonly (string | {
919
+ id: string;
920
+ customtypes: readonly (string | {
921
+ id: string;
922
+ fields: readonly (string | {
923
+ id: string;
924
+ fields: readonly string[];
925
+ })[];
926
+ })[];
927
+ } | {
928
+ id: string;
929
+ fields: readonly (string | {
930
+ id: string;
931
+ customtypes: readonly (string | {
932
+ id: string;
933
+ fields: readonly (string | {
934
+ id: string;
935
+ fields: readonly string[];
936
+ })[];
937
+ })[];
938
+ })[];
939
+ })[];
940
+ })[];
941
+ masks?: readonly string[];
942
+ tags?: readonly string[];
943
+ allowTargetBlank?: boolean;
944
+ allowText?: boolean;
945
+ repeat?: boolean;
946
+ variants?: string[];
947
+ };
948
+ }) | ({
949
+ type: "Number";
950
+ } & {
951
+ fieldset?: string | null | undefined;
952
+ config?: {
953
+ label?: string | null | undefined;
954
+ placeholder?: string;
955
+ min?: number;
956
+ max?: number;
957
+ step?: number;
958
+ };
959
+ }) | ({
960
+ type: "Range";
961
+ } & {
962
+ fieldset?: string | null | undefined;
963
+ config?: {
964
+ label?: string | null | undefined;
965
+ placeholder?: string;
966
+ min?: number;
967
+ max?: number;
968
+ step?: number;
969
+ };
970
+ }) | ({
971
+ type: "StructuredText";
972
+ } & {
973
+ fieldset?: string | null | undefined;
974
+ config?: {
975
+ label?: string | null | undefined;
976
+ placeholder?: string;
977
+ useAsTitle?: boolean;
978
+ single?: string;
979
+ multi?: string;
980
+ imageConstraint?: {
981
+ width?: number | null;
982
+ height?: number | null;
983
+ };
984
+ labels?: readonly string[];
985
+ allowTargetBlank?: boolean;
986
+ };
987
+ }) | ({
988
+ type: "Select";
989
+ } & {
990
+ fieldset?: string | null | undefined;
991
+ config?: {
992
+ label?: string | null | undefined;
993
+ placeholder?: string;
994
+ default_value?: string;
995
+ options?: readonly string[];
996
+ };
997
+ }) | ({
998
+ type: "Separator";
999
+ } & {
1000
+ config?: {
1001
+ label?: string | null | undefined;
1002
+ };
1003
+ }) | ({
1004
+ type: "Table";
1005
+ } & {
1006
+ config?: {
1007
+ label?: string | null | undefined;
1008
+ };
1009
+ }) | ({
1010
+ type: "Text";
1011
+ } & {
1012
+ fieldset?: string | null | undefined;
1013
+ config?: {
1014
+ label?: string | null | undefined;
1015
+ useAsTitle?: boolean;
1016
+ placeholder?: string;
1017
+ };
1018
+ }) | ({
1019
+ type: "Timestamp";
1020
+ } & {
1021
+ fieldset?: string | null | undefined;
1022
+ config?: {
1023
+ label?: string | null | undefined;
1024
+ placeholder?: string;
1025
+ default?: string;
1026
+ };
1027
+ });
1028
+ };
1029
+ };
1030
+ }) | ({
1031
+ type: "Slice";
1032
+ } & {
1033
+ fieldset?: string | null | undefined;
1034
+ description?: string;
1035
+ icon?: string;
1036
+ display?: string;
1037
+ "non-repeat"?: {
1038
+ [x: string]: ({
1039
+ type: "Boolean";
1040
+ } & {
1041
+ config?: {
1042
+ label?: string | null | undefined;
1043
+ default_value?: boolean;
1044
+ placeholder_true?: string;
1045
+ placeholder_false?: string;
1046
+ };
1047
+ }) | ({
1048
+ type: "Color";
1049
+ } & {
1050
+ fieldset?: string | null | undefined;
1051
+ config?: {
1052
+ label?: string | null | undefined;
1053
+ placeholder?: string;
1054
+ };
1055
+ }) | ({
1056
+ type: "Date";
1057
+ } & {
1058
+ fieldset?: string | null | undefined;
1059
+ config?: {
1060
+ label?: string | null | undefined;
1061
+ placeholder?: string;
1062
+ default?: string;
1063
+ };
1064
+ }) | ({
1065
+ type: "Embed";
1066
+ } & {
1067
+ fieldset?: string | null | undefined;
1068
+ config?: {
1069
+ label?: string | null | undefined;
1070
+ placeholder?: string;
1071
+ useAsTitle?: boolean;
1072
+ };
1073
+ }) | ({
1074
+ type: "GeoPoint";
1075
+ } & {
1076
+ fieldset?: string | null | undefined;
1077
+ config?: {
1078
+ label?: string | null | undefined;
1079
+ };
1080
+ }) | ({
1081
+ type: "Image";
1082
+ } & {
1083
+ fieldset?: string | null | undefined;
1084
+ config?: {
1085
+ label?: string | null | undefined;
1086
+ placeholder?: string;
1087
+ constraint?: {
1088
+ width?: number | null;
1089
+ height?: number | null;
1090
+ };
1091
+ thumbnails?: readonly ({
1092
+ name: string;
1093
+ } & {
1094
+ width?: number | null;
1095
+ height?: number | null;
1096
+ })[];
1097
+ };
1098
+ }) | ({
1099
+ type: "IntegrationFields";
1100
+ } & {
1101
+ fieldset?: string | null | undefined;
1102
+ config?: {
1103
+ label?: string | null | undefined;
1104
+ placeholder?: string;
1105
+ catalog?: string;
1106
+ };
1107
+ }) | ({
1108
+ type: "Link";
1109
+ } & {
1110
+ fieldset?: string | null | undefined;
1111
+ config?: {
1112
+ label?: string | null | undefined;
1113
+ useAsTitle?: boolean;
1114
+ placeholder?: string;
1115
+ select?: "media" | "document" | "web" | null;
1116
+ customtypes?: readonly (string | {
1117
+ id: string;
1118
+ fields: readonly (string | {
1119
+ id: string;
1120
+ customtypes: readonly (string | {
1121
+ id: string;
1122
+ fields: readonly (string | {
1123
+ id: string;
1124
+ fields: readonly string[];
1125
+ })[];
1126
+ })[];
1127
+ } | {
1128
+ id: string;
1129
+ fields: readonly (string | {
1130
+ id: string;
1131
+ customtypes: readonly (string | {
1132
+ id: string;
1133
+ fields: readonly (string | {
1134
+ id: string;
1135
+ fields: readonly string[];
1136
+ })[];
1137
+ })[];
1138
+ })[];
1139
+ })[];
1140
+ })[];
1141
+ masks?: readonly string[];
1142
+ tags?: readonly string[];
1143
+ allowTargetBlank?: boolean;
1144
+ allowText?: boolean;
1145
+ repeat?: boolean;
1146
+ variants?: string[];
1147
+ };
1148
+ }) | ({
1149
+ type: "Number";
1150
+ } & {
1151
+ fieldset?: string | null | undefined;
1152
+ config?: {
1153
+ label?: string | null | undefined;
1154
+ placeholder?: string;
1155
+ min?: number;
1156
+ max?: number;
1157
+ step?: number;
1158
+ };
1159
+ }) | ({
1160
+ type: "Range";
1161
+ } & {
1162
+ fieldset?: string | null | undefined;
1163
+ config?: {
1164
+ label?: string | null | undefined;
1165
+ placeholder?: string;
1166
+ min?: number;
1167
+ max?: number;
1168
+ step?: number;
1169
+ };
1170
+ }) | ({
1171
+ type: "StructuredText";
1172
+ } & {
1173
+ fieldset?: string | null | undefined;
1174
+ config?: {
1175
+ label?: string | null | undefined;
1176
+ placeholder?: string;
1177
+ useAsTitle?: boolean;
1178
+ single?: string;
1179
+ multi?: string;
1180
+ imageConstraint?: {
1181
+ width?: number | null;
1182
+ height?: number | null;
1183
+ };
1184
+ labels?: readonly string[];
1185
+ allowTargetBlank?: boolean;
1186
+ };
1187
+ }) | ({
1188
+ type: "Select";
1189
+ } & {
1190
+ fieldset?: string | null | undefined;
1191
+ config?: {
1192
+ label?: string | null | undefined;
1193
+ placeholder?: string;
1194
+ default_value?: string;
1195
+ options?: readonly string[];
1196
+ };
1197
+ }) | ({
1198
+ type: "Separator";
1199
+ } & {
1200
+ config?: {
1201
+ label?: string | null | undefined;
1202
+ };
1203
+ }) | ({
1204
+ type: "Table";
1205
+ } & {
1206
+ config?: {
1207
+ label?: string | null | undefined;
1208
+ };
1209
+ }) | ({
1210
+ type: "Text";
1211
+ } & {
1212
+ fieldset?: string | null | undefined;
1213
+ config?: {
1214
+ label?: string | null | undefined;
1215
+ useAsTitle?: boolean;
1216
+ placeholder?: string;
1217
+ };
1218
+ }) | ({
1219
+ type: "Timestamp";
1220
+ } & {
1221
+ fieldset?: string | null | undefined;
1222
+ config?: {
1223
+ label?: string | null | undefined;
1224
+ placeholder?: string;
1225
+ default?: string;
1226
+ };
1227
+ });
1228
+ };
1229
+ repeat?: {
1230
+ [x: string]: ({
1231
+ type: "Boolean";
1232
+ } & {
1233
+ config?: {
1234
+ label?: string | null | undefined;
1235
+ default_value?: boolean;
1236
+ placeholder_true?: string;
1237
+ placeholder_false?: string;
1238
+ };
1239
+ }) | ({
1240
+ type: "Color";
1241
+ } & {
1242
+ fieldset?: string | null | undefined;
1243
+ config?: {
1244
+ label?: string | null | undefined;
1245
+ placeholder?: string;
1246
+ };
1247
+ }) | ({
1248
+ type: "Date";
1249
+ } & {
1250
+ fieldset?: string | null | undefined;
1251
+ config?: {
1252
+ label?: string | null | undefined;
1253
+ placeholder?: string;
1254
+ default?: string;
1255
+ };
1256
+ }) | ({
1257
+ type: "Embed";
1258
+ } & {
1259
+ fieldset?: string | null | undefined;
1260
+ config?: {
1261
+ label?: string | null | undefined;
1262
+ placeholder?: string;
1263
+ useAsTitle?: boolean;
1264
+ };
1265
+ }) | ({
1266
+ type: "GeoPoint";
1267
+ } & {
1268
+ fieldset?: string | null | undefined;
1269
+ config?: {
1270
+ label?: string | null | undefined;
1271
+ };
1272
+ }) | ({
1273
+ type: "Image";
1274
+ } & {
1275
+ fieldset?: string | null | undefined;
1276
+ config?: {
1277
+ label?: string | null | undefined;
1278
+ placeholder?: string;
1279
+ constraint?: {
1280
+ width?: number | null;
1281
+ height?: number | null;
1282
+ };
1283
+ thumbnails?: readonly ({
1284
+ name: string;
1285
+ } & {
1286
+ width?: number | null;
1287
+ height?: number | null;
1288
+ })[];
1289
+ };
1290
+ }) | ({
1291
+ type: "IntegrationFields";
1292
+ } & {
1293
+ fieldset?: string | null | undefined;
1294
+ config?: {
1295
+ label?: string | null | undefined;
1296
+ placeholder?: string;
1297
+ catalog?: string;
1298
+ };
1299
+ }) | ({
1300
+ type: "Link";
1301
+ } & {
1302
+ fieldset?: string | null | undefined;
1303
+ config?: {
1304
+ label?: string | null | undefined;
1305
+ useAsTitle?: boolean;
1306
+ placeholder?: string;
1307
+ select?: "media" | "document" | "web" | null;
1308
+ customtypes?: readonly (string | {
1309
+ id: string;
1310
+ fields: readonly (string | {
1311
+ id: string;
1312
+ customtypes: readonly (string | {
1313
+ id: string;
1314
+ fields: readonly (string | {
1315
+ id: string;
1316
+ fields: readonly string[];
1317
+ })[];
1318
+ })[];
1319
+ } | {
1320
+ id: string;
1321
+ fields: readonly (string | {
1322
+ id: string;
1323
+ customtypes: readonly (string | {
1324
+ id: string;
1325
+ fields: readonly (string | {
1326
+ id: string;
1327
+ fields: readonly string[];
1328
+ })[];
1329
+ })[];
1330
+ })[];
1331
+ })[];
1332
+ })[];
1333
+ masks?: readonly string[];
1334
+ tags?: readonly string[];
1335
+ allowTargetBlank?: boolean;
1336
+ allowText?: boolean;
1337
+ repeat?: boolean;
1338
+ variants?: string[];
1339
+ };
1340
+ }) | ({
1341
+ type: "Number";
1342
+ } & {
1343
+ fieldset?: string | null | undefined;
1344
+ config?: {
1345
+ label?: string | null | undefined;
1346
+ placeholder?: string;
1347
+ min?: number;
1348
+ max?: number;
1349
+ step?: number;
1350
+ };
1351
+ }) | ({
1352
+ type: "Range";
1353
+ } & {
1354
+ fieldset?: string | null | undefined;
1355
+ config?: {
1356
+ label?: string | null | undefined;
1357
+ placeholder?: string;
1358
+ min?: number;
1359
+ max?: number;
1360
+ step?: number;
1361
+ };
1362
+ }) | ({
1363
+ type: "StructuredText";
1364
+ } & {
1365
+ fieldset?: string | null | undefined;
1366
+ config?: {
1367
+ label?: string | null | undefined;
1368
+ placeholder?: string;
1369
+ useAsTitle?: boolean;
1370
+ single?: string;
1371
+ multi?: string;
1372
+ imageConstraint?: {
1373
+ width?: number | null;
1374
+ height?: number | null;
1375
+ };
1376
+ labels?: readonly string[];
1377
+ allowTargetBlank?: boolean;
1378
+ };
1379
+ }) | ({
1380
+ type: "Select";
1381
+ } & {
1382
+ fieldset?: string | null | undefined;
1383
+ config?: {
1384
+ label?: string | null | undefined;
1385
+ placeholder?: string;
1386
+ default_value?: string;
1387
+ options?: readonly string[];
1388
+ };
1389
+ }) | ({
1390
+ type: "Separator";
1391
+ } & {
1392
+ config?: {
1393
+ label?: string | null | undefined;
1394
+ };
1395
+ }) | ({
1396
+ type: "Table";
1397
+ } & {
1398
+ config?: {
1399
+ label?: string | null | undefined;
1400
+ };
1401
+ }) | ({
1402
+ type: "Text";
1403
+ } & {
1404
+ fieldset?: string | null | undefined;
1405
+ config?: {
1406
+ label?: string | null | undefined;
1407
+ useAsTitle?: boolean;
1408
+ placeholder?: string;
1409
+ };
1410
+ }) | ({
1411
+ type: "Timestamp";
1412
+ } & {
1413
+ fieldset?: string | null | undefined;
1414
+ config?: {
1415
+ label?: string | null | undefined;
1416
+ placeholder?: string;
1417
+ default?: string;
1418
+ };
1419
+ });
1420
+ };
1421
+ config?: {
1422
+ label?: string | null | undefined;
1423
+ };
1424
+ }) | ({
1425
+ id: string;
1426
+ type: "SharedSlice";
1427
+ name: string;
1428
+ variations: readonly ({
1429
+ id: string;
1430
+ name: string;
1431
+ description: string;
1432
+ imageUrl: string;
1433
+ docURL: string;
1434
+ version: string;
1435
+ } & {
1436
+ display?: string;
1437
+ primary?: {
1438
+ [x: string]: ({
1439
+ type: "Boolean";
1440
+ } & {
1441
+ config?: {
1442
+ label?: string | null | undefined;
1443
+ default_value?: boolean;
1444
+ placeholder_true?: string;
1445
+ placeholder_false?: string;
1446
+ };
1447
+ }) | ({
1448
+ type: "Color";
1449
+ } & {
1450
+ fieldset?: string | null | undefined;
1451
+ config?: {
1452
+ label?: string | null | undefined;
1453
+ placeholder?: string;
1454
+ };
1455
+ }) | ({
1456
+ type: "Date";
1457
+ } & {
1458
+ fieldset?: string | null | undefined;
1459
+ config?: {
1460
+ label?: string | null | undefined;
1461
+ placeholder?: string;
1462
+ default?: string;
1463
+ };
1464
+ }) | ({
1465
+ type: "Embed";
1466
+ } & {
1467
+ fieldset?: string | null | undefined;
1468
+ config?: {
1469
+ label?: string | null | undefined;
1470
+ placeholder?: string;
1471
+ useAsTitle?: boolean;
1472
+ };
1473
+ }) | ({
1474
+ type: "GeoPoint";
1475
+ } & {
1476
+ fieldset?: string | null | undefined;
1477
+ config?: {
1478
+ label?: string | null | undefined;
1479
+ };
1480
+ }) | ({
1481
+ type: "Image";
1482
+ } & {
1483
+ fieldset?: string | null | undefined;
1484
+ config?: {
1485
+ label?: string | null | undefined;
1486
+ placeholder?: string;
1487
+ constraint?: {
1488
+ width?: number | null;
1489
+ height?: number | null;
1490
+ };
1491
+ thumbnails?: readonly ({
1492
+ name: string;
1493
+ } & {
1494
+ width?: number | null;
1495
+ height?: number | null;
1496
+ })[];
1497
+ };
1498
+ }) | ({
1499
+ type: "IntegrationFields";
1500
+ } & {
1501
+ fieldset?: string | null | undefined;
1502
+ config?: {
1503
+ label?: string | null | undefined;
1504
+ placeholder?: string;
1505
+ catalog?: string;
1506
+ };
1507
+ }) | ({
1508
+ type: "Link";
1509
+ } & {
1510
+ fieldset?: string | null | undefined;
1511
+ config?: {
1512
+ label?: string | null | undefined;
1513
+ useAsTitle?: boolean;
1514
+ placeholder?: string;
1515
+ select?: "media" | "document" | "web" | null;
1516
+ customtypes?: readonly (string | {
1517
+ id: string;
1518
+ fields: readonly (string | {
1519
+ id: string;
1520
+ customtypes: readonly (string | {
1521
+ id: string;
1522
+ fields: readonly (string | {
1523
+ id: string;
1524
+ fields: readonly string[];
1525
+ })[];
1526
+ })[];
1527
+ } | {
1528
+ id: string;
1529
+ fields: readonly (string | {
1530
+ id: string;
1531
+ customtypes: readonly (string | {
1532
+ id: string;
1533
+ fields: readonly (string | {
1534
+ id: string;
1535
+ fields: readonly string[];
1536
+ })[];
1537
+ })[];
1538
+ })[];
1539
+ })[];
1540
+ })[];
1541
+ masks?: readonly string[];
1542
+ tags?: readonly string[];
1543
+ allowTargetBlank?: boolean;
1544
+ allowText?: boolean;
1545
+ repeat?: boolean;
1546
+ variants?: string[];
1547
+ };
1548
+ }) | ({
1549
+ type: "Number";
1550
+ } & {
1551
+ fieldset?: string | null | undefined;
1552
+ config?: {
1553
+ label?: string | null | undefined;
1554
+ placeholder?: string;
1555
+ min?: number;
1556
+ max?: number;
1557
+ step?: number;
1558
+ };
1559
+ }) | ({
1560
+ type: "Range";
1561
+ } & {
1562
+ fieldset?: string | null | undefined;
1563
+ config?: {
1564
+ label?: string | null | undefined;
1565
+ placeholder?: string;
1566
+ min?: number;
1567
+ max?: number;
1568
+ step?: number;
1569
+ };
1570
+ }) | ({
1571
+ type: "StructuredText";
1572
+ } & {
1573
+ fieldset?: string | null | undefined;
1574
+ config?: {
1575
+ label?: string | null | undefined;
1576
+ placeholder?: string;
1577
+ useAsTitle?: boolean;
1578
+ single?: string;
1579
+ multi?: string;
1580
+ imageConstraint?: {
1581
+ width?: number | null;
1582
+ height?: number | null;
1583
+ };
1584
+ labels?: readonly string[];
1585
+ allowTargetBlank?: boolean;
1586
+ };
1587
+ }) | ({
1588
+ type: "Select";
1589
+ } & {
1590
+ fieldset?: string | null | undefined;
1591
+ config?: {
1592
+ label?: string | null | undefined;
1593
+ placeholder?: string;
1594
+ default_value?: string;
1595
+ options?: readonly string[];
1596
+ };
1597
+ }) | ({
1598
+ type: "Separator";
1599
+ } & {
1600
+ config?: {
1601
+ label?: string | null | undefined;
1602
+ };
1603
+ }) | ({
1604
+ type: "Table";
1605
+ } & {
1606
+ config?: {
1607
+ label?: string | null | undefined;
1608
+ };
1609
+ }) | ({
1610
+ type: "Text";
1611
+ } & {
1612
+ fieldset?: string | null | undefined;
1613
+ config?: {
1614
+ label?: string | null | undefined;
1615
+ useAsTitle?: boolean;
1616
+ placeholder?: string;
1617
+ };
1618
+ }) | ({
1619
+ type: "Timestamp";
1620
+ } & {
1621
+ fieldset?: string | null | undefined;
1622
+ config?: {
1623
+ label?: string | null | undefined;
1624
+ placeholder?: string;
1625
+ default?: string;
1626
+ };
1627
+ }) | ({
1628
+ type: "Group";
1629
+ } & {
1630
+ fieldset?: string | null | undefined;
1631
+ icon?: string;
1632
+ description?: string;
1633
+ config?: {
1634
+ label?: string | null | undefined;
1635
+ repeat?: boolean;
1636
+ fields?: {
1637
+ [x: string]: ({
1638
+ type: "Boolean";
1639
+ } & {
1640
+ config?: {
1641
+ label?: string | null | undefined;
1642
+ default_value?: boolean;
1643
+ placeholder_true?: string;
1644
+ placeholder_false?: string;
1645
+ };
1646
+ }) | ({
1647
+ type: "Color";
1648
+ } & {
1649
+ fieldset?: string | null | undefined;
1650
+ config?: {
1651
+ label?: string | null | undefined;
1652
+ placeholder?: string;
1653
+ };
1654
+ }) | ({
1655
+ type: "Date";
1656
+ } & {
1657
+ fieldset?: string | null | undefined;
1658
+ config?: {
1659
+ label?: string | null | undefined;
1660
+ placeholder?: string;
1661
+ default?: string;
1662
+ };
1663
+ }) | ({
1664
+ type: "Embed";
1665
+ } & {
1666
+ fieldset?: string | null | undefined;
1667
+ config?: {
1668
+ label?: string | null | undefined;
1669
+ placeholder?: string;
1670
+ useAsTitle?: boolean;
1671
+ };
1672
+ }) | ({
1673
+ type: "GeoPoint";
1674
+ } & {
1675
+ fieldset?: string | null | undefined;
1676
+ config?: {
1677
+ label?: string | null | undefined;
1678
+ };
1679
+ }) | ({
1680
+ type: "Image";
1681
+ } & {
1682
+ fieldset?: string | null | undefined;
1683
+ config?: {
1684
+ label?: string | null | undefined;
1685
+ placeholder?: string;
1686
+ constraint?: {
1687
+ width?: number | null;
1688
+ height?: number | null;
1689
+ };
1690
+ thumbnails?: readonly ({
1691
+ name: string;
1692
+ } & {
1693
+ width?: number | null;
1694
+ height?: number | null;
1695
+ })[];
1696
+ };
1697
+ }) | ({
1698
+ type: "IntegrationFields";
1699
+ } & {
1700
+ fieldset?: string | null | undefined;
1701
+ config?: {
1702
+ label?: string | null | undefined;
1703
+ placeholder?: string;
1704
+ catalog?: string;
1705
+ };
1706
+ }) | ({
1707
+ type: "Link";
1708
+ } & {
1709
+ fieldset?: string | null | undefined;
1710
+ config?: {
1711
+ label?: string | null | undefined;
1712
+ useAsTitle?: boolean;
1713
+ placeholder?: string;
1714
+ select?: "media" | "document" | "web" | null;
1715
+ customtypes?: readonly (string | {
1716
+ id: string;
1717
+ fields: readonly (string | {
1718
+ id: string;
1719
+ customtypes: readonly (string | {
1720
+ id: string;
1721
+ fields: readonly (string | {
1722
+ id: string;
1723
+ fields: readonly string[];
1724
+ })[];
1725
+ })[];
1726
+ } | {
1727
+ id: string;
1728
+ fields: readonly (string | {
1729
+ id: string;
1730
+ customtypes: readonly (string | {
1731
+ id: string;
1732
+ fields: readonly (string | {
1733
+ id: string;
1734
+ fields: readonly string[];
1735
+ })[];
1736
+ })[];
1737
+ })[];
1738
+ })[];
1739
+ })[];
1740
+ masks?: readonly string[];
1741
+ tags?: readonly string[];
1742
+ allowTargetBlank?: boolean;
1743
+ allowText?: boolean;
1744
+ repeat?: boolean;
1745
+ variants?: string[];
1746
+ };
1747
+ }) | ({
1748
+ type: "Number";
1749
+ } & {
1750
+ fieldset?: string | null | undefined;
1751
+ config?: {
1752
+ label?: string | null | undefined;
1753
+ placeholder?: string;
1754
+ min?: number;
1755
+ max?: number;
1756
+ step?: number;
1757
+ };
1758
+ }) | ({
1759
+ type: "Range";
1760
+ } & {
1761
+ fieldset?: string | null | undefined;
1762
+ config?: {
1763
+ label?: string | null | undefined;
1764
+ placeholder?: string;
1765
+ min?: number;
1766
+ max?: number;
1767
+ step?: number;
1768
+ };
1769
+ }) | ({
1770
+ type: "StructuredText";
1771
+ } & {
1772
+ fieldset?: string | null | undefined;
1773
+ config?: {
1774
+ label?: string | null | undefined;
1775
+ placeholder?: string;
1776
+ useAsTitle?: boolean;
1777
+ single?: string;
1778
+ multi?: string;
1779
+ imageConstraint?: {
1780
+ width?: number | null;
1781
+ height?: number | null;
1782
+ };
1783
+ labels?: readonly string[];
1784
+ allowTargetBlank?: boolean;
1785
+ };
1786
+ }) | ({
1787
+ type: "Select";
1788
+ } & {
1789
+ fieldset?: string | null | undefined;
1790
+ config?: {
1791
+ label?: string | null | undefined;
1792
+ placeholder?: string;
1793
+ default_value?: string;
1794
+ options?: readonly string[];
1795
+ };
1796
+ }) | ({
1797
+ type: "Separator";
1798
+ } & {
1799
+ config?: {
1800
+ label?: string | null | undefined;
1801
+ };
1802
+ }) | ({
1803
+ type: "Table";
1804
+ } & {
1805
+ config?: {
1806
+ label?: string | null | undefined;
1807
+ };
1808
+ }) | ({
1809
+ type: "Text";
1810
+ } & {
1811
+ fieldset?: string | null | undefined;
1812
+ config?: {
1813
+ label?: string | null | undefined;
1814
+ useAsTitle?: boolean;
1815
+ placeholder?: string;
1816
+ };
1817
+ }) | ({
1818
+ type: "Timestamp";
1819
+ } & {
1820
+ fieldset?: string | null | undefined;
1821
+ config?: {
1822
+ label?: string | null | undefined;
1823
+ placeholder?: string;
1824
+ default?: string;
1825
+ };
1826
+ }) | ({
1827
+ type: "Group";
1828
+ } & {
1829
+ fieldset?: string | null | undefined;
1830
+ icon?: string;
1831
+ description?: string;
1832
+ config?: {
1833
+ label?: string | null | undefined;
1834
+ repeat?: boolean;
1835
+ fields?: {
1836
+ [x: string]: ({
1837
+ type: "Boolean";
1838
+ } & {
1839
+ config?: {
1840
+ label?: string | null | undefined;
1841
+ default_value?: boolean;
1842
+ placeholder_true?: string;
1843
+ placeholder_false?: string;
1844
+ };
1845
+ }) | ({
1846
+ type: "Color";
1847
+ } & {
1848
+ fieldset?: string | null | undefined;
1849
+ config?: {
1850
+ label?: string | null | undefined;
1851
+ placeholder?: string;
1852
+ };
1853
+ }) | ({
1854
+ type: "Date";
1855
+ } & {
1856
+ fieldset?: string | null | undefined;
1857
+ config?: {
1858
+ label?: string | null | undefined;
1859
+ placeholder?: string;
1860
+ default?: string;
1861
+ };
1862
+ }) | ({
1863
+ type: "Embed";
1864
+ } & {
1865
+ fieldset?: string | null | undefined;
1866
+ config?: {
1867
+ label?: string | null | undefined;
1868
+ placeholder?: string;
1869
+ useAsTitle?: boolean;
1870
+ };
1871
+ }) | ({
1872
+ type: "GeoPoint";
1873
+ } & {
1874
+ fieldset?: string | null | undefined;
1875
+ config?: {
1876
+ label?: string | null | undefined;
1877
+ };
1878
+ }) | ({
1879
+ type: "Image";
1880
+ } & {
1881
+ fieldset?: string | null | undefined;
1882
+ config?: {
1883
+ label?: string | null | undefined;
1884
+ placeholder?: string;
1885
+ constraint?: {
1886
+ width?: number | null;
1887
+ height?: number | null;
1888
+ };
1889
+ thumbnails?: readonly ({
1890
+ name: string;
1891
+ } & {
1892
+ width?: number | null;
1893
+ height?: number | null;
1894
+ })[];
1895
+ };
1896
+ }) | ({
1897
+ type: "IntegrationFields";
1898
+ } & {
1899
+ fieldset?: string | null | undefined;
1900
+ config?: {
1901
+ label?: string | null | undefined;
1902
+ placeholder?: string;
1903
+ catalog?: string;
1904
+ };
1905
+ }) | ({
1906
+ type: "Link";
1907
+ } & {
1908
+ fieldset?: string | null | undefined;
1909
+ config?: {
1910
+ label?: string | null | undefined;
1911
+ useAsTitle?: boolean;
1912
+ placeholder?: string;
1913
+ select?: "media" | "document" | "web" | null;
1914
+ customtypes?: readonly (string | {
1915
+ id: string;
1916
+ fields: readonly (string | {
1917
+ id: string;
1918
+ customtypes: readonly (string | {
1919
+ id: string;
1920
+ fields: readonly (string | {
1921
+ id: string;
1922
+ fields: readonly string[];
1923
+ })[];
1924
+ })[];
1925
+ } | {
1926
+ id: string;
1927
+ fields: readonly (string | {
1928
+ id: string;
1929
+ customtypes: readonly (string | {
1930
+ id: string;
1931
+ fields: readonly (string | {
1932
+ id: string;
1933
+ fields: readonly string[];
1934
+ })[];
1935
+ })[];
1936
+ })[];
1937
+ })[];
1938
+ })[];
1939
+ masks?: readonly string[];
1940
+ tags?: readonly string[];
1941
+ allowTargetBlank?: boolean;
1942
+ allowText?: boolean;
1943
+ repeat?: boolean;
1944
+ variants?: string[];
1945
+ };
1946
+ }) | ({
1947
+ type: "Number";
1948
+ } & {
1949
+ fieldset?: string | null | undefined;
1950
+ config?: {
1951
+ label?: string | null | undefined;
1952
+ placeholder?: string;
1953
+ min?: number;
1954
+ max?: number;
1955
+ step?: number;
1956
+ };
1957
+ }) | ({
1958
+ type: "Range";
1959
+ } & {
1960
+ fieldset?: string | null | undefined;
1961
+ config?: {
1962
+ label?: string | null | undefined;
1963
+ placeholder?: string;
1964
+ min?: number;
1965
+ max?: number;
1966
+ step?: number;
1967
+ };
1968
+ }) | ({
1969
+ type: "StructuredText";
1970
+ } & {
1971
+ fieldset?: string | null | undefined;
1972
+ config?: {
1973
+ label?: string | null | undefined;
1974
+ placeholder?: string;
1975
+ useAsTitle?: boolean;
1976
+ single?: string;
1977
+ multi?: string;
1978
+ imageConstraint?: {
1979
+ width?: number | null;
1980
+ height?: number | null;
1981
+ };
1982
+ labels?: readonly string[];
1983
+ allowTargetBlank?: boolean;
1984
+ };
1985
+ }) | ({
1986
+ type: "Select";
1987
+ } & {
1988
+ fieldset?: string | null | undefined;
1989
+ config?: {
1990
+ label?: string | null | undefined;
1991
+ placeholder?: string;
1992
+ default_value?: string;
1993
+ options?: readonly string[];
1994
+ };
1995
+ }) | ({
1996
+ type: "Separator";
1997
+ } & {
1998
+ config?: {
1999
+ label?: string | null | undefined;
2000
+ };
2001
+ }) | ({
2002
+ type: "Table";
2003
+ } & {
2004
+ config?: {
2005
+ label?: string | null | undefined;
2006
+ };
2007
+ }) | ({
2008
+ type: "Text";
2009
+ } & {
2010
+ fieldset?: string | null | undefined;
2011
+ config?: {
2012
+ label?: string | null | undefined;
2013
+ useAsTitle?: boolean;
2014
+ placeholder?: string;
2015
+ };
2016
+ }) | ({
2017
+ type: "Timestamp";
2018
+ } & {
2019
+ fieldset?: string | null | undefined;
2020
+ config?: {
2021
+ label?: string | null | undefined;
2022
+ placeholder?: string;
2023
+ default?: string;
2024
+ };
2025
+ });
2026
+ };
2027
+ };
2028
+ });
2029
+ };
2030
+ };
2031
+ });
2032
+ };
2033
+ items?: {
2034
+ [x: string]: ({
2035
+ type: "Boolean";
2036
+ } & {
2037
+ config?: {
2038
+ label?: string | null | undefined;
2039
+ default_value?: boolean;
2040
+ placeholder_true?: string;
2041
+ placeholder_false?: string;
2042
+ };
2043
+ }) | ({
2044
+ type: "Color";
2045
+ } & {
2046
+ fieldset?: string | null | undefined;
2047
+ config?: {
2048
+ label?: string | null | undefined;
2049
+ placeholder?: string;
2050
+ };
2051
+ }) | ({
2052
+ type: "Date";
2053
+ } & {
2054
+ fieldset?: string | null | undefined;
2055
+ config?: {
2056
+ label?: string | null | undefined;
2057
+ placeholder?: string;
2058
+ default?: string;
2059
+ };
2060
+ }) | ({
2061
+ type: "Embed";
2062
+ } & {
2063
+ fieldset?: string | null | undefined;
2064
+ config?: {
2065
+ label?: string | null | undefined;
2066
+ placeholder?: string;
2067
+ useAsTitle?: boolean;
2068
+ };
2069
+ }) | ({
2070
+ type: "GeoPoint";
2071
+ } & {
2072
+ fieldset?: string | null | undefined;
2073
+ config?: {
2074
+ label?: string | null | undefined;
2075
+ };
2076
+ }) | ({
2077
+ type: "Image";
2078
+ } & {
2079
+ fieldset?: string | null | undefined;
2080
+ config?: {
2081
+ label?: string | null | undefined;
2082
+ placeholder?: string;
2083
+ constraint?: {
2084
+ width?: number | null;
2085
+ height?: number | null;
2086
+ };
2087
+ thumbnails?: readonly ({
2088
+ name: string;
2089
+ } & {
2090
+ width?: number | null;
2091
+ height?: number | null;
2092
+ })[];
2093
+ };
2094
+ }) | ({
2095
+ type: "IntegrationFields";
2096
+ } & {
2097
+ fieldset?: string | null | undefined;
2098
+ config?: {
2099
+ label?: string | null | undefined;
2100
+ placeholder?: string;
2101
+ catalog?: string;
2102
+ };
2103
+ }) | ({
2104
+ type: "Link";
2105
+ } & {
2106
+ fieldset?: string | null | undefined;
2107
+ config?: {
2108
+ label?: string | null | undefined;
2109
+ useAsTitle?: boolean;
2110
+ placeholder?: string;
2111
+ select?: "media" | "document" | "web" | null;
2112
+ customtypes?: readonly (string | {
2113
+ id: string;
2114
+ fields: readonly (string | {
2115
+ id: string;
2116
+ customtypes: readonly (string | {
2117
+ id: string;
2118
+ fields: readonly (string | {
2119
+ id: string;
2120
+ fields: readonly string[];
2121
+ })[];
2122
+ })[];
2123
+ } | {
2124
+ id: string;
2125
+ fields: readonly (string | {
2126
+ id: string;
2127
+ customtypes: readonly (string | {
2128
+ id: string;
2129
+ fields: readonly (string | {
2130
+ id: string;
2131
+ fields: readonly string[];
2132
+ })[];
2133
+ })[];
2134
+ })[];
2135
+ })[];
2136
+ })[];
2137
+ masks?: readonly string[];
2138
+ tags?: readonly string[];
2139
+ allowTargetBlank?: boolean;
2140
+ allowText?: boolean;
2141
+ repeat?: boolean;
2142
+ variants?: string[];
2143
+ };
2144
+ }) | ({
2145
+ type: "Number";
2146
+ } & {
2147
+ fieldset?: string | null | undefined;
2148
+ config?: {
2149
+ label?: string | null | undefined;
2150
+ placeholder?: string;
2151
+ min?: number;
2152
+ max?: number;
2153
+ step?: number;
2154
+ };
2155
+ }) | ({
2156
+ type: "Range";
2157
+ } & {
2158
+ fieldset?: string | null | undefined;
2159
+ config?: {
2160
+ label?: string | null | undefined;
2161
+ placeholder?: string;
2162
+ min?: number;
2163
+ max?: number;
2164
+ step?: number;
2165
+ };
2166
+ }) | ({
2167
+ type: "StructuredText";
2168
+ } & {
2169
+ fieldset?: string | null | undefined;
2170
+ config?: {
2171
+ label?: string | null | undefined;
2172
+ placeholder?: string;
2173
+ useAsTitle?: boolean;
2174
+ single?: string;
2175
+ multi?: string;
2176
+ imageConstraint?: {
2177
+ width?: number | null;
2178
+ height?: number | null;
2179
+ };
2180
+ labels?: readonly string[];
2181
+ allowTargetBlank?: boolean;
2182
+ };
2183
+ }) | ({
2184
+ type: "Select";
2185
+ } & {
2186
+ fieldset?: string | null | undefined;
2187
+ config?: {
2188
+ label?: string | null | undefined;
2189
+ placeholder?: string;
2190
+ default_value?: string;
2191
+ options?: readonly string[];
2192
+ };
2193
+ }) | ({
2194
+ type: "Separator";
2195
+ } & {
2196
+ config?: {
2197
+ label?: string | null | undefined;
2198
+ };
2199
+ }) | ({
2200
+ type: "Table";
2201
+ } & {
2202
+ config?: {
2203
+ label?: string | null | undefined;
2204
+ };
2205
+ }) | ({
2206
+ type: "Text";
2207
+ } & {
2208
+ fieldset?: string | null | undefined;
2209
+ config?: {
2210
+ label?: string | null | undefined;
2211
+ useAsTitle?: boolean;
2212
+ placeholder?: string;
2213
+ };
2214
+ }) | ({
2215
+ type: "Timestamp";
2216
+ } & {
2217
+ fieldset?: string | null | undefined;
2218
+ config?: {
2219
+ label?: string | null | undefined;
2220
+ placeholder?: string;
2221
+ default?: string;
2222
+ };
2223
+ });
2224
+ };
2225
+ })[];
2226
+ } & {
2227
+ description?: string;
2228
+ legacyPaths?: {
2229
+ [x: string]: string;
2230
+ };
2231
+ });
2232
+ };
2233
+ };
2234
+ });
2235
+ }, unknown, unknown>>;
2236
+ status: t.BooleanC;
2237
+ }>, t.PartialC<{
2238
+ format: t.KeyofC<{
2239
+ page: string;
2240
+ custom: string;
2241
+ }>;
2242
+ }>]>>;
2243
+ export declare type StaticCustomType = t.TypeOf<typeof StaticCustomType>;
2244
+ export declare const CustomType: t.ExactC<t.IntersectionC<[t.TypeC<{
2245
+ id: t.StringC;
2246
+ label: t.UnionC<[t.Type<string, string, unknown>, t.NullC, t.UndefinedC]>;
2247
+ repeatable: t.BooleanC;
2248
+ json: t.RecordC<t.StringC, t.Type<{
2249
+ [x: string]: ({
2250
+ type: "Boolean";
2251
+ } & {
2252
+ config?: {
2253
+ label?: string | null | undefined;
2254
+ default_value?: boolean;
2255
+ placeholder_true?: string;
2256
+ placeholder_false?: string;
2257
+ };
2258
+ }) | ({
2259
+ type: "Color";
2260
+ } & {
2261
+ fieldset?: string | null | undefined;
2262
+ config?: {
2263
+ label?: string | null | undefined;
2264
+ placeholder?: string;
2265
+ };
2266
+ }) | ({
2267
+ type: "Date";
2268
+ } & {
2269
+ fieldset?: string | null | undefined;
2270
+ config?: {
2271
+ label?: string | null | undefined;
2272
+ placeholder?: string;
2273
+ default?: string;
2274
+ };
2275
+ }) | ({
2276
+ type: "Embed";
2277
+ } & {
2278
+ fieldset?: string | null | undefined;
2279
+ config?: {
2280
+ label?: string | null | undefined;
2281
+ placeholder?: string;
2282
+ useAsTitle?: boolean;
2283
+ };
2284
+ }) | ({
2285
+ type: "GeoPoint";
2286
+ } & {
2287
+ fieldset?: string | null | undefined;
2288
+ config?: {
2289
+ label?: string | null | undefined;
2290
+ };
2291
+ }) | ({
2292
+ type: "Image";
2293
+ } & {
2294
+ fieldset?: string | null | undefined;
2295
+ config?: {
2296
+ label?: string | null | undefined;
2297
+ placeholder?: string;
2298
+ constraint?: {
2299
+ width?: number | null;
2300
+ height?: number | null;
2301
+ };
2302
+ thumbnails?: readonly ({
2303
+ name: string;
2304
+ } & {
2305
+ width?: number | null;
2306
+ height?: number | null;
2307
+ })[];
2308
+ };
2309
+ }) | ({
2310
+ type: "IntegrationFields";
2311
+ } & {
2312
+ fieldset?: string | null | undefined;
2313
+ config?: {
2314
+ label?: string | null | undefined;
2315
+ placeholder?: string;
2316
+ catalog?: string;
2317
+ };
2318
+ }) | ({
2319
+ type: "Link";
2320
+ } & {
2321
+ fieldset?: string | null | undefined;
2322
+ config?: {
2323
+ label?: string | null | undefined;
2324
+ useAsTitle?: boolean;
2325
+ placeholder?: string;
2326
+ select?: "media" | "document" | "web" | null;
2327
+ customtypes?: readonly (string | {
2328
+ id: string;
2329
+ fields: readonly (string | {
2330
+ id: string;
2331
+ customtypes: readonly (string | {
2332
+ id: string;
2333
+ fields: readonly (string | {
2334
+ id: string;
2335
+ fields: readonly string[];
2336
+ })[];
2337
+ })[];
2338
+ } | {
2339
+ id: string;
2340
+ fields: readonly (string | {
2341
+ id: string;
2342
+ customtypes: readonly (string | {
2343
+ id: string;
2344
+ fields: readonly (string | {
2345
+ id: string;
2346
+ fields: readonly string[];
2347
+ })[];
2348
+ })[];
2349
+ })[];
2350
+ })[];
2351
+ })[];
2352
+ masks?: readonly string[];
2353
+ tags?: readonly string[];
2354
+ allowTargetBlank?: boolean;
2355
+ allowText?: boolean;
2356
+ repeat?: boolean;
2357
+ variants?: string[];
2358
+ };
2359
+ }) | ({
2360
+ type: "Number";
2361
+ } & {
2362
+ fieldset?: string | null | undefined;
2363
+ config?: {
2364
+ label?: string | null | undefined;
2365
+ placeholder?: string;
2366
+ min?: number;
2367
+ max?: number;
2368
+ step?: number;
2369
+ };
2370
+ }) | ({
2371
+ type: "Range";
2372
+ } & {
2373
+ fieldset?: string | null | undefined;
2374
+ config?: {
2375
+ label?: string | null | undefined;
2376
+ placeholder?: string;
2377
+ min?: number;
2378
+ max?: number;
2379
+ step?: number;
2380
+ };
2381
+ }) | ({
2382
+ type: "StructuredText";
2383
+ } & {
2384
+ fieldset?: string | null | undefined;
2385
+ config?: {
2386
+ label?: string | null | undefined;
2387
+ placeholder?: string;
2388
+ useAsTitle?: boolean;
2389
+ single?: string;
2390
+ multi?: string;
2391
+ imageConstraint?: {
2392
+ width?: number | null;
2393
+ height?: number | null;
2394
+ };
2395
+ labels?: readonly string[];
2396
+ allowTargetBlank?: boolean;
2397
+ };
2398
+ }) | ({
2399
+ type: "Select";
2400
+ } & {
2401
+ fieldset?: string | null | undefined;
2402
+ config?: {
2403
+ label?: string | null | undefined;
2404
+ placeholder?: string;
2405
+ default_value?: string;
2406
+ options?: readonly string[];
2407
+ };
2408
+ }) | ({
2409
+ type: "Separator";
2410
+ } & {
2411
+ config?: {
2412
+ label?: string | null | undefined;
2413
+ };
2414
+ }) | ({
2415
+ type: "Table";
2416
+ } & {
2417
+ config?: {
2418
+ label?: string | null | undefined;
2419
+ };
2420
+ }) | ({
2421
+ type: "Text";
2422
+ } & {
2423
+ fieldset?: string | null | undefined;
2424
+ config?: {
2425
+ label?: string | null | undefined;
2426
+ useAsTitle?: boolean;
2427
+ placeholder?: string;
2428
+ };
2429
+ }) | ({
2430
+ type: "Timestamp";
2431
+ } & {
2432
+ fieldset?: string | null | undefined;
2433
+ config?: {
2434
+ label?: string | null | undefined;
2435
+ placeholder?: string;
2436
+ default?: string;
2437
+ };
2438
+ }) | ({
2439
+ type: "Group";
2440
+ } & {
2441
+ fieldset?: string | null | undefined;
2442
+ icon?: string;
2443
+ description?: string;
2444
+ config?: {
2445
+ label?: string | null | undefined;
2446
+ repeat?: boolean;
2447
+ fields?: {
2448
+ [x: string]: ({
2449
+ type: "Boolean";
2450
+ } & {
2451
+ config?: {
2452
+ label?: string | null | undefined;
2453
+ default_value?: boolean;
2454
+ placeholder_true?: string;
2455
+ placeholder_false?: string;
2456
+ };
2457
+ }) | ({
2458
+ type: "Color";
2459
+ } & {
2460
+ fieldset?: string | null | undefined;
2461
+ config?: {
2462
+ label?: string | null | undefined;
2463
+ placeholder?: string;
2464
+ };
2465
+ }) | ({
2466
+ type: "Date";
2467
+ } & {
2468
+ fieldset?: string | null | undefined;
2469
+ config?: {
2470
+ label?: string | null | undefined;
2471
+ placeholder?: string;
2472
+ default?: string;
2473
+ };
2474
+ }) | ({
2475
+ type: "Embed";
2476
+ } & {
2477
+ fieldset?: string | null | undefined;
2478
+ config?: {
2479
+ label?: string | null | undefined;
2480
+ placeholder?: string;
2481
+ useAsTitle?: boolean;
2482
+ };
2483
+ }) | ({
2484
+ type: "GeoPoint";
2485
+ } & {
2486
+ fieldset?: string | null | undefined;
2487
+ config?: {
2488
+ label?: string | null | undefined;
2489
+ };
2490
+ }) | ({
2491
+ type: "Image";
2492
+ } & {
2493
+ fieldset?: string | null | undefined;
2494
+ config?: {
2495
+ label?: string | null | undefined;
2496
+ placeholder?: string;
2497
+ constraint?: {
2498
+ width?: number | null;
2499
+ height?: number | null;
2500
+ };
2501
+ thumbnails?: readonly ({
2502
+ name: string;
2503
+ } & {
2504
+ width?: number | null;
2505
+ height?: number | null;
2506
+ })[];
2507
+ };
2508
+ }) | ({
2509
+ type: "IntegrationFields";
2510
+ } & {
2511
+ fieldset?: string | null | undefined;
2512
+ config?: {
2513
+ label?: string | null | undefined;
2514
+ placeholder?: string;
2515
+ catalog?: string;
2516
+ };
2517
+ }) | ({
2518
+ type: "Link";
2519
+ } & {
2520
+ fieldset?: string | null | undefined;
2521
+ config?: {
2522
+ label?: string | null | undefined;
2523
+ useAsTitle?: boolean;
2524
+ placeholder?: string;
2525
+ select?: "media" | "document" | "web" | null;
2526
+ customtypes?: readonly (string | {
2527
+ id: string;
2528
+ fields: readonly (string | {
2529
+ id: string;
2530
+ customtypes: readonly (string | {
2531
+ id: string;
2532
+ fields: readonly (string | {
2533
+ id: string;
2534
+ fields: readonly string[];
2535
+ })[];
2536
+ })[];
2537
+ } | {
2538
+ id: string;
2539
+ fields: readonly (string | {
2540
+ id: string;
2541
+ customtypes: readonly (string | {
2542
+ id: string;
2543
+ fields: readonly (string | {
2544
+ id: string;
2545
+ fields: readonly string[];
2546
+ })[];
2547
+ })[];
2548
+ })[];
2549
+ })[];
2550
+ })[];
2551
+ masks?: readonly string[];
2552
+ tags?: readonly string[];
2553
+ allowTargetBlank?: boolean;
2554
+ allowText?: boolean;
2555
+ repeat?: boolean;
2556
+ variants?: string[];
2557
+ };
2558
+ }) | ({
2559
+ type: "Number";
2560
+ } & {
2561
+ fieldset?: string | null | undefined;
2562
+ config?: {
2563
+ label?: string | null | undefined;
2564
+ placeholder?: string;
2565
+ min?: number;
2566
+ max?: number;
2567
+ step?: number;
2568
+ };
2569
+ }) | ({
2570
+ type: "Range";
2571
+ } & {
2572
+ fieldset?: string | null | undefined;
2573
+ config?: {
2574
+ label?: string | null | undefined;
2575
+ placeholder?: string;
2576
+ min?: number;
2577
+ max?: number;
2578
+ step?: number;
2579
+ };
2580
+ }) | ({
2581
+ type: "StructuredText";
2582
+ } & {
2583
+ fieldset?: string | null | undefined;
2584
+ config?: {
2585
+ label?: string | null | undefined;
2586
+ placeholder?: string;
2587
+ useAsTitle?: boolean;
2588
+ single?: string;
2589
+ multi?: string;
2590
+ imageConstraint?: {
2591
+ width?: number | null;
2592
+ height?: number | null;
2593
+ };
2594
+ labels?: readonly string[];
2595
+ allowTargetBlank?: boolean;
2596
+ };
2597
+ }) | ({
2598
+ type: "Select";
2599
+ } & {
2600
+ fieldset?: string | null | undefined;
2601
+ config?: {
2602
+ label?: string | null | undefined;
2603
+ placeholder?: string;
2604
+ default_value?: string;
2605
+ options?: readonly string[];
2606
+ };
2607
+ }) | ({
2608
+ type: "Separator";
2609
+ } & {
2610
+ config?: {
2611
+ label?: string | null | undefined;
2612
+ };
2613
+ }) | ({
2614
+ type: "Table";
2615
+ } & {
2616
+ config?: {
2617
+ label?: string | null | undefined;
2618
+ };
2619
+ }) | ({
2620
+ type: "Text";
2621
+ } & {
2622
+ fieldset?: string | null | undefined;
2623
+ config?: {
2624
+ label?: string | null | undefined;
2625
+ useAsTitle?: boolean;
2626
+ placeholder?: string;
2627
+ };
2628
+ }) | ({
2629
+ type: "Timestamp";
2630
+ } & {
2631
+ fieldset?: string | null | undefined;
2632
+ config?: {
2633
+ label?: string | null | undefined;
2634
+ placeholder?: string;
2635
+ default?: string;
2636
+ };
2637
+ }) | ({
2638
+ type: "Group";
2639
+ } & {
2640
+ fieldset?: string | null | undefined;
2641
+ icon?: string;
2642
+ description?: string;
2643
+ config?: {
2644
+ label?: string | null | undefined;
2645
+ repeat?: boolean;
2646
+ fields?: {
2647
+ [x: string]: ({
2648
+ type: "Boolean";
2649
+ } & {
2650
+ config?: {
2651
+ label?: string | null | undefined;
2652
+ default_value?: boolean;
2653
+ placeholder_true?: string;
2654
+ placeholder_false?: string;
2655
+ };
2656
+ }) | ({
2657
+ type: "Color";
2658
+ } & {
2659
+ fieldset?: string | null | undefined;
2660
+ config?: {
2661
+ label?: string | null | undefined;
2662
+ placeholder?: string;
2663
+ };
2664
+ }) | ({
2665
+ type: "Date";
2666
+ } & {
2667
+ fieldset?: string | null | undefined;
2668
+ config?: {
2669
+ label?: string | null | undefined;
2670
+ placeholder?: string;
2671
+ default?: string;
2672
+ };
2673
+ }) | ({
2674
+ type: "Embed";
2675
+ } & {
2676
+ fieldset?: string | null | undefined;
2677
+ config?: {
2678
+ label?: string | null | undefined;
2679
+ placeholder?: string;
2680
+ useAsTitle?: boolean;
2681
+ };
2682
+ }) | ({
2683
+ type: "GeoPoint";
2684
+ } & {
2685
+ fieldset?: string | null | undefined;
2686
+ config?: {
2687
+ label?: string | null | undefined;
2688
+ };
2689
+ }) | ({
2690
+ type: "Image";
2691
+ } & {
2692
+ fieldset?: string | null | undefined;
2693
+ config?: {
2694
+ label?: string | null | undefined;
2695
+ placeholder?: string;
2696
+ constraint?: {
2697
+ width?: number | null;
2698
+ height?: number | null;
2699
+ };
2700
+ thumbnails?: readonly ({
2701
+ name: string;
2702
+ } & {
2703
+ width?: number | null;
2704
+ height?: number | null;
2705
+ })[];
2706
+ };
2707
+ }) | ({
2708
+ type: "IntegrationFields";
2709
+ } & {
2710
+ fieldset?: string | null | undefined;
2711
+ config?: {
2712
+ label?: string | null | undefined;
2713
+ placeholder?: string;
2714
+ catalog?: string;
2715
+ };
2716
+ }) | ({
2717
+ type: "Link";
2718
+ } & {
2719
+ fieldset?: string | null | undefined;
2720
+ config?: {
2721
+ label?: string | null | undefined;
2722
+ useAsTitle?: boolean;
2723
+ placeholder?: string;
2724
+ select?: "media" | "document" | "web" | null;
2725
+ customtypes?: readonly (string | {
2726
+ id: string;
2727
+ fields: readonly (string | {
2728
+ id: string;
2729
+ customtypes: readonly (string | {
2730
+ id: string;
2731
+ fields: readonly (string | {
2732
+ id: string;
2733
+ fields: readonly string[];
2734
+ })[];
2735
+ })[];
2736
+ } | {
2737
+ id: string;
2738
+ fields: readonly (string | {
2739
+ id: string;
2740
+ customtypes: readonly (string | {
2741
+ id: string;
2742
+ fields: readonly (string | {
2743
+ id: string;
2744
+ fields: readonly string[];
2745
+ })[];
2746
+ })[];
2747
+ })[];
2748
+ })[];
2749
+ })[];
2750
+ masks?: readonly string[];
2751
+ tags?: readonly string[];
2752
+ allowTargetBlank?: boolean;
2753
+ allowText?: boolean;
2754
+ repeat?: boolean;
2755
+ variants?: string[];
2756
+ };
2757
+ }) | ({
2758
+ type: "Number";
2759
+ } & {
2760
+ fieldset?: string | null | undefined;
2761
+ config?: {
2762
+ label?: string | null | undefined;
2763
+ placeholder?: string;
2764
+ min?: number;
2765
+ max?: number;
2766
+ step?: number;
2767
+ };
2768
+ }) | ({
2769
+ type: "Range";
2770
+ } & {
2771
+ fieldset?: string | null | undefined;
2772
+ config?: {
2773
+ label?: string | null | undefined;
2774
+ placeholder?: string;
2775
+ min?: number;
2776
+ max?: number;
2777
+ step?: number;
2778
+ };
2779
+ }) | ({
2780
+ type: "StructuredText";
2781
+ } & {
2782
+ fieldset?: string | null | undefined;
2783
+ config?: {
2784
+ label?: string | null | undefined;
2785
+ placeholder?: string;
2786
+ useAsTitle?: boolean;
2787
+ single?: string;
2788
+ multi?: string;
2789
+ imageConstraint?: {
2790
+ width?: number | null;
2791
+ height?: number | null;
2792
+ };
2793
+ labels?: readonly string[];
2794
+ allowTargetBlank?: boolean;
2795
+ };
2796
+ }) | ({
2797
+ type: "Select";
2798
+ } & {
2799
+ fieldset?: string | null | undefined;
2800
+ config?: {
2801
+ label?: string | null | undefined;
2802
+ placeholder?: string;
2803
+ default_value?: string;
2804
+ options?: readonly string[];
2805
+ };
2806
+ }) | ({
2807
+ type: "Separator";
2808
+ } & {
2809
+ config?: {
2810
+ label?: string | null | undefined;
2811
+ };
2812
+ }) | ({
2813
+ type: "Table";
2814
+ } & {
2815
+ config?: {
2816
+ label?: string | null | undefined;
2817
+ };
2818
+ }) | ({
2819
+ type: "Text";
2820
+ } & {
2821
+ fieldset?: string | null | undefined;
2822
+ config?: {
2823
+ label?: string | null | undefined;
2824
+ useAsTitle?: boolean;
2825
+ placeholder?: string;
2826
+ };
2827
+ }) | ({
2828
+ type: "Timestamp";
2829
+ } & {
2830
+ fieldset?: string | null | undefined;
2831
+ config?: {
2832
+ label?: string | null | undefined;
2833
+ placeholder?: string;
2834
+ default?: string;
2835
+ };
2836
+ });
2837
+ };
2838
+ };
2839
+ });
2840
+ };
2841
+ };
2842
+ }) | ({
2843
+ type: "UID";
2844
+ } & {
2845
+ fieldset?: string | null | undefined;
2846
+ config?: {
2847
+ label?: string | null | undefined;
2848
+ useAsTitle?: boolean;
2849
+ placeholder?: string;
2850
+ };
2851
+ }) | ({
2852
+ type: "Choice" | "Slices";
2853
+ } & {
2854
+ fieldset?: string | null | undefined;
2855
+ config?: {
2856
+ label?: string | null | undefined;
2857
+ labels?: {
2858
+ [x: string]: readonly ({
2859
+ name: string;
2860
+ } & {
2861
+ display?: string;
2862
+ })[];
2863
+ } | null;
2864
+ choices?: {
2865
+ [x: string]: ({
2866
+ type: "Boolean";
2867
+ } & {
2868
+ config?: {
2869
+ label?: string | null | undefined;
2870
+ default_value?: boolean;
2871
+ placeholder_true?: string;
2872
+ placeholder_false?: string;
2873
+ };
2874
+ }) | ({
2875
+ type: "Color";
2876
+ } & {
2877
+ fieldset?: string | null | undefined;
2878
+ config?: {
2879
+ label?: string | null | undefined;
2880
+ placeholder?: string;
2881
+ };
2882
+ }) | ({
2883
+ type: "Date";
2884
+ } & {
2885
+ fieldset?: string | null | undefined;
2886
+ config?: {
2887
+ label?: string | null | undefined;
2888
+ placeholder?: string;
2889
+ default?: string;
2890
+ };
2891
+ }) | ({
2892
+ type: "Embed";
2893
+ } & {
2894
+ fieldset?: string | null | undefined;
2895
+ config?: {
2896
+ label?: string | null | undefined;
2897
+ placeholder?: string;
2898
+ useAsTitle?: boolean;
2899
+ };
2900
+ }) | ({
2901
+ type: "GeoPoint";
2902
+ } & {
2903
+ fieldset?: string | null | undefined;
2904
+ config?: {
2905
+ label?: string | null | undefined;
2906
+ };
2907
+ }) | ({
2908
+ type: "Image";
2909
+ } & {
2910
+ fieldset?: string | null | undefined;
2911
+ config?: {
2912
+ label?: string | null | undefined;
2913
+ placeholder?: string;
2914
+ constraint?: {
2915
+ width?: number | null;
2916
+ height?: number | null;
2917
+ };
2918
+ thumbnails?: readonly ({
2919
+ name: string;
2920
+ } & {
2921
+ width?: number | null;
2922
+ height?: number | null;
2923
+ })[];
2924
+ };
2925
+ }) | ({
2926
+ type: "IntegrationFields";
2927
+ } & {
2928
+ fieldset?: string | null | undefined;
2929
+ config?: {
2930
+ label?: string | null | undefined;
2931
+ placeholder?: string;
2932
+ catalog?: string;
2933
+ };
2934
+ }) | ({
2935
+ type: "Link";
2936
+ } & {
2937
+ fieldset?: string | null | undefined;
2938
+ config?: {
2939
+ label?: string | null | undefined;
2940
+ useAsTitle?: boolean;
2941
+ placeholder?: string;
2942
+ select?: "media" | "document" | "web" | null;
2943
+ customtypes?: readonly (string | {
2944
+ id: string;
2945
+ fields: readonly (string | {
2946
+ id: string;
2947
+ customtypes: readonly (string | {
2948
+ id: string;
2949
+ fields: readonly (string | {
2950
+ id: string;
2951
+ fields: readonly string[];
2952
+ })[];
2953
+ })[];
2954
+ } | {
2955
+ id: string;
2956
+ fields: readonly (string | {
2957
+ id: string;
2958
+ customtypes: readonly (string | {
2959
+ id: string;
2960
+ fields: readonly (string | {
2961
+ id: string;
2962
+ fields: readonly string[];
2963
+ })[];
2964
+ })[];
2965
+ })[];
2966
+ })[];
2967
+ })[];
2968
+ masks?: readonly string[];
2969
+ tags?: readonly string[];
2970
+ allowTargetBlank?: boolean;
2971
+ allowText?: boolean;
2972
+ repeat?: boolean;
2973
+ variants?: string[];
2974
+ };
2975
+ }) | ({
2976
+ type: "Number";
2977
+ } & {
2978
+ fieldset?: string | null | undefined;
2979
+ config?: {
2980
+ label?: string | null | undefined;
2981
+ placeholder?: string;
2982
+ min?: number;
2983
+ max?: number;
2984
+ step?: number;
2985
+ };
2986
+ }) | ({
2987
+ type: "Range";
2988
+ } & {
2989
+ fieldset?: string | null | undefined;
2990
+ config?: {
2991
+ label?: string | null | undefined;
2992
+ placeholder?: string;
2993
+ min?: number;
2994
+ max?: number;
2995
+ step?: number;
2996
+ };
2997
+ }) | ({
2998
+ type: "StructuredText";
2999
+ } & {
3000
+ fieldset?: string | null | undefined;
3001
+ config?: {
3002
+ label?: string | null | undefined;
3003
+ placeholder?: string;
3004
+ useAsTitle?: boolean;
3005
+ single?: string;
3006
+ multi?: string;
3007
+ imageConstraint?: {
3008
+ width?: number | null;
3009
+ height?: number | null;
3010
+ };
3011
+ labels?: readonly string[];
3012
+ allowTargetBlank?: boolean;
3013
+ };
3014
+ }) | ({
3015
+ type: "Select";
3016
+ } & {
3017
+ fieldset?: string | null | undefined;
3018
+ config?: {
3019
+ label?: string | null | undefined;
3020
+ placeholder?: string;
3021
+ default_value?: string;
3022
+ options?: readonly string[];
3023
+ };
3024
+ }) | ({
3025
+ type: "Separator";
3026
+ } & {
3027
+ config?: {
3028
+ label?: string | null | undefined;
3029
+ };
3030
+ }) | ({
3031
+ type: "Table";
3032
+ } & {
3033
+ config?: {
3034
+ label?: string | null | undefined;
3035
+ };
3036
+ }) | ({
3037
+ type: "Text";
3038
+ } & {
3039
+ fieldset?: string | null | undefined;
3040
+ config?: {
3041
+ label?: string | null | undefined;
3042
+ useAsTitle?: boolean;
3043
+ placeholder?: string;
3044
+ };
3045
+ }) | ({
3046
+ type: "Timestamp";
3047
+ } & {
3048
+ fieldset?: string | null | undefined;
3049
+ config?: {
3050
+ label?: string | null | undefined;
3051
+ placeholder?: string;
3052
+ default?: string;
3053
+ };
3054
+ }) | ({
3055
+ type: "Group";
3056
+ } & {
3057
+ fieldset?: string | null | undefined;
3058
+ icon?: string;
3059
+ description?: string;
3060
+ config?: {
3061
+ label?: string | null | undefined;
3062
+ repeat?: boolean;
3063
+ fields?: {
3064
+ [x: string]: ({
3065
+ type: "Boolean";
3066
+ } & {
3067
+ config?: {
3068
+ label?: string | null | undefined;
3069
+ default_value?: boolean;
3070
+ placeholder_true?: string;
3071
+ placeholder_false?: string;
3072
+ };
3073
+ }) | ({
3074
+ type: "Color";
3075
+ } & {
3076
+ fieldset?: string | null | undefined;
3077
+ config?: {
3078
+ label?: string | null | undefined;
3079
+ placeholder?: string;
3080
+ };
3081
+ }) | ({
3082
+ type: "Date";
3083
+ } & {
3084
+ fieldset?: string | null | undefined;
3085
+ config?: {
3086
+ label?: string | null | undefined;
3087
+ placeholder?: string;
3088
+ default?: string;
3089
+ };
3090
+ }) | ({
3091
+ type: "Embed";
3092
+ } & {
3093
+ fieldset?: string | null | undefined;
3094
+ config?: {
3095
+ label?: string | null | undefined;
3096
+ placeholder?: string;
3097
+ useAsTitle?: boolean;
3098
+ };
3099
+ }) | ({
3100
+ type: "GeoPoint";
3101
+ } & {
3102
+ fieldset?: string | null | undefined;
3103
+ config?: {
3104
+ label?: string | null | undefined;
3105
+ };
3106
+ }) | ({
3107
+ type: "Image";
3108
+ } & {
3109
+ fieldset?: string | null | undefined;
3110
+ config?: {
3111
+ label?: string | null | undefined;
3112
+ placeholder?: string;
3113
+ constraint?: {
3114
+ width?: number | null;
3115
+ height?: number | null;
3116
+ };
3117
+ thumbnails?: readonly ({
3118
+ name: string;
3119
+ } & {
3120
+ width?: number | null;
3121
+ height?: number | null;
3122
+ })[];
3123
+ };
3124
+ }) | ({
3125
+ type: "IntegrationFields";
3126
+ } & {
3127
+ fieldset?: string | null | undefined;
3128
+ config?: {
3129
+ label?: string | null | undefined;
3130
+ placeholder?: string;
3131
+ catalog?: string;
3132
+ };
3133
+ }) | ({
3134
+ type: "Link";
3135
+ } & {
3136
+ fieldset?: string | null | undefined;
3137
+ config?: {
3138
+ label?: string | null | undefined;
3139
+ useAsTitle?: boolean;
3140
+ placeholder?: string;
3141
+ select?: "media" | "document" | "web" | null;
3142
+ customtypes?: readonly (string | {
3143
+ id: string;
3144
+ fields: readonly (string | {
3145
+ id: string;
3146
+ customtypes: readonly (string | {
3147
+ id: string;
3148
+ fields: readonly (string | {
3149
+ id: string;
3150
+ fields: readonly string[];
3151
+ })[];
3152
+ })[];
3153
+ } | {
3154
+ id: string;
3155
+ fields: readonly (string | {
3156
+ id: string;
3157
+ customtypes: readonly (string | {
3158
+ id: string;
3159
+ fields: readonly (string | {
3160
+ id: string;
3161
+ fields: readonly string[];
3162
+ })[];
3163
+ })[];
3164
+ })[];
3165
+ })[];
3166
+ })[];
3167
+ masks?: readonly string[];
3168
+ tags?: readonly string[];
3169
+ allowTargetBlank?: boolean;
3170
+ allowText?: boolean;
3171
+ repeat?: boolean;
3172
+ variants?: string[];
3173
+ };
3174
+ }) | ({
3175
+ type: "Number";
3176
+ } & {
3177
+ fieldset?: string | null | undefined;
3178
+ config?: {
3179
+ label?: string | null | undefined;
3180
+ placeholder?: string;
3181
+ min?: number;
3182
+ max?: number;
3183
+ step?: number;
3184
+ };
3185
+ }) | ({
3186
+ type: "Range";
3187
+ } & {
3188
+ fieldset?: string | null | undefined;
3189
+ config?: {
3190
+ label?: string | null | undefined;
3191
+ placeholder?: string;
3192
+ min?: number;
3193
+ max?: number;
3194
+ step?: number;
3195
+ };
3196
+ }) | ({
3197
+ type: "StructuredText";
3198
+ } & {
3199
+ fieldset?: string | null | undefined;
3200
+ config?: {
3201
+ label?: string | null | undefined;
3202
+ placeholder?: string;
3203
+ useAsTitle?: boolean;
3204
+ single?: string;
3205
+ multi?: string;
3206
+ imageConstraint?: {
3207
+ width?: number | null;
3208
+ height?: number | null;
3209
+ };
3210
+ labels?: readonly string[];
3211
+ allowTargetBlank?: boolean;
3212
+ };
3213
+ }) | ({
3214
+ type: "Select";
3215
+ } & {
3216
+ fieldset?: string | null | undefined;
3217
+ config?: {
3218
+ label?: string | null | undefined;
3219
+ placeholder?: string;
3220
+ default_value?: string;
3221
+ options?: readonly string[];
3222
+ };
3223
+ }) | ({
3224
+ type: "Separator";
3225
+ } & {
3226
+ config?: {
3227
+ label?: string | null | undefined;
3228
+ };
3229
+ }) | ({
3230
+ type: "Table";
3231
+ } & {
3232
+ config?: {
3233
+ label?: string | null | undefined;
3234
+ };
3235
+ }) | ({
3236
+ type: "Text";
3237
+ } & {
3238
+ fieldset?: string | null | undefined;
3239
+ config?: {
3240
+ label?: string | null | undefined;
3241
+ useAsTitle?: boolean;
3242
+ placeholder?: string;
3243
+ };
3244
+ }) | ({
3245
+ type: "Timestamp";
3246
+ } & {
3247
+ fieldset?: string | null | undefined;
3248
+ config?: {
3249
+ label?: string | null | undefined;
3250
+ placeholder?: string;
3251
+ default?: string;
3252
+ };
3253
+ });
3254
+ };
3255
+ };
3256
+ }) | ({
3257
+ type: "Slice";
3258
+ } & {
3259
+ fieldset?: string | null | undefined;
3260
+ description?: string;
3261
+ icon?: string;
3262
+ display?: string;
3263
+ "non-repeat"?: {
3264
+ [x: string]: ({
3265
+ type: "Boolean";
3266
+ } & {
3267
+ config?: {
3268
+ label?: string | null | undefined;
3269
+ default_value?: boolean;
3270
+ placeholder_true?: string;
3271
+ placeholder_false?: string;
3272
+ };
3273
+ }) | ({
3274
+ type: "Color";
3275
+ } & {
3276
+ fieldset?: string | null | undefined;
3277
+ config?: {
3278
+ label?: string | null | undefined;
3279
+ placeholder?: string;
3280
+ };
3281
+ }) | ({
3282
+ type: "Date";
3283
+ } & {
3284
+ fieldset?: string | null | undefined;
3285
+ config?: {
3286
+ label?: string | null | undefined;
3287
+ placeholder?: string;
3288
+ default?: string;
3289
+ };
3290
+ }) | ({
3291
+ type: "Embed";
3292
+ } & {
3293
+ fieldset?: string | null | undefined;
3294
+ config?: {
3295
+ label?: string | null | undefined;
3296
+ placeholder?: string;
3297
+ useAsTitle?: boolean;
3298
+ };
3299
+ }) | ({
3300
+ type: "GeoPoint";
3301
+ } & {
3302
+ fieldset?: string | null | undefined;
3303
+ config?: {
3304
+ label?: string | null | undefined;
3305
+ };
3306
+ }) | ({
3307
+ type: "Image";
3308
+ } & {
3309
+ fieldset?: string | null | undefined;
3310
+ config?: {
3311
+ label?: string | null | undefined;
3312
+ placeholder?: string;
3313
+ constraint?: {
3314
+ width?: number | null;
3315
+ height?: number | null;
3316
+ };
3317
+ thumbnails?: readonly ({
3318
+ name: string;
3319
+ } & {
3320
+ width?: number | null;
3321
+ height?: number | null;
3322
+ })[];
3323
+ };
3324
+ }) | ({
3325
+ type: "IntegrationFields";
3326
+ } & {
3327
+ fieldset?: string | null | undefined;
3328
+ config?: {
3329
+ label?: string | null | undefined;
3330
+ placeholder?: string;
3331
+ catalog?: string;
3332
+ };
3333
+ }) | ({
3334
+ type: "Link";
3335
+ } & {
3336
+ fieldset?: string | null | undefined;
3337
+ config?: {
3338
+ label?: string | null | undefined;
3339
+ useAsTitle?: boolean;
3340
+ placeholder?: string;
3341
+ select?: "media" | "document" | "web" | null;
3342
+ customtypes?: readonly (string | {
3343
+ id: string;
3344
+ fields: readonly (string | {
3345
+ id: string;
3346
+ customtypes: readonly (string | {
3347
+ id: string;
3348
+ fields: readonly (string | {
3349
+ id: string;
3350
+ fields: readonly string[];
3351
+ })[];
3352
+ })[];
3353
+ } | {
3354
+ id: string;
3355
+ fields: readonly (string | {
3356
+ id: string;
3357
+ customtypes: readonly (string | {
3358
+ id: string;
3359
+ fields: readonly (string | {
3360
+ id: string;
3361
+ fields: readonly string[];
3362
+ })[];
3363
+ })[];
3364
+ })[];
3365
+ })[];
3366
+ })[];
3367
+ masks?: readonly string[];
3368
+ tags?: readonly string[];
3369
+ allowTargetBlank?: boolean;
3370
+ allowText?: boolean;
3371
+ repeat?: boolean;
3372
+ variants?: string[];
3373
+ };
3374
+ }) | ({
3375
+ type: "Number";
3376
+ } & {
3377
+ fieldset?: string | null | undefined;
3378
+ config?: {
3379
+ label?: string | null | undefined;
3380
+ placeholder?: string;
3381
+ min?: number;
3382
+ max?: number;
3383
+ step?: number;
3384
+ };
3385
+ }) | ({
3386
+ type: "Range";
3387
+ } & {
3388
+ fieldset?: string | null | undefined;
3389
+ config?: {
3390
+ label?: string | null | undefined;
3391
+ placeholder?: string;
3392
+ min?: number;
3393
+ max?: number;
3394
+ step?: number;
3395
+ };
3396
+ }) | ({
3397
+ type: "StructuredText";
3398
+ } & {
3399
+ fieldset?: string | null | undefined;
3400
+ config?: {
3401
+ label?: string | null | undefined;
3402
+ placeholder?: string;
3403
+ useAsTitle?: boolean;
3404
+ single?: string;
3405
+ multi?: string;
3406
+ imageConstraint?: {
3407
+ width?: number | null;
3408
+ height?: number | null;
3409
+ };
3410
+ labels?: readonly string[];
3411
+ allowTargetBlank?: boolean;
3412
+ };
3413
+ }) | ({
3414
+ type: "Select";
3415
+ } & {
3416
+ fieldset?: string | null | undefined;
3417
+ config?: {
3418
+ label?: string | null | undefined;
3419
+ placeholder?: string;
3420
+ default_value?: string;
3421
+ options?: readonly string[];
3422
+ };
3423
+ }) | ({
3424
+ type: "Separator";
3425
+ } & {
3426
+ config?: {
3427
+ label?: string | null | undefined;
3428
+ };
3429
+ }) | ({
3430
+ type: "Table";
3431
+ } & {
3432
+ config?: {
3433
+ label?: string | null | undefined;
3434
+ };
3435
+ }) | ({
3436
+ type: "Text";
3437
+ } & {
3438
+ fieldset?: string | null | undefined;
3439
+ config?: {
3440
+ label?: string | null | undefined;
3441
+ useAsTitle?: boolean;
3442
+ placeholder?: string;
3443
+ };
3444
+ }) | ({
3445
+ type: "Timestamp";
3446
+ } & {
3447
+ fieldset?: string | null | undefined;
3448
+ config?: {
3449
+ label?: string | null | undefined;
3450
+ placeholder?: string;
3451
+ default?: string;
3452
+ };
3453
+ });
3454
+ };
3455
+ repeat?: {
3456
+ [x: string]: ({
3457
+ type: "Boolean";
3458
+ } & {
3459
+ config?: {
3460
+ label?: string | null | undefined;
3461
+ default_value?: boolean;
3462
+ placeholder_true?: string;
3463
+ placeholder_false?: string;
3464
+ };
3465
+ }) | ({
3466
+ type: "Color";
3467
+ } & {
3468
+ fieldset?: string | null | undefined;
3469
+ config?: {
3470
+ label?: string | null | undefined;
3471
+ placeholder?: string;
3472
+ };
3473
+ }) | ({
3474
+ type: "Date";
3475
+ } & {
3476
+ fieldset?: string | null | undefined;
3477
+ config?: {
3478
+ label?: string | null | undefined;
3479
+ placeholder?: string;
3480
+ default?: string;
3481
+ };
3482
+ }) | ({
3483
+ type: "Embed";
3484
+ } & {
3485
+ fieldset?: string | null | undefined;
3486
+ config?: {
3487
+ label?: string | null | undefined;
3488
+ placeholder?: string;
3489
+ useAsTitle?: boolean;
3490
+ };
3491
+ }) | ({
3492
+ type: "GeoPoint";
3493
+ } & {
3494
+ fieldset?: string | null | undefined;
3495
+ config?: {
3496
+ label?: string | null | undefined;
3497
+ };
3498
+ }) | ({
3499
+ type: "Image";
3500
+ } & {
3501
+ fieldset?: string | null | undefined;
3502
+ config?: {
3503
+ label?: string | null | undefined;
3504
+ placeholder?: string;
3505
+ constraint?: {
3506
+ width?: number | null;
3507
+ height?: number | null;
3508
+ };
3509
+ thumbnails?: readonly ({
3510
+ name: string;
3511
+ } & {
3512
+ width?: number | null;
3513
+ height?: number | null;
3514
+ })[];
3515
+ };
3516
+ }) | ({
3517
+ type: "IntegrationFields";
3518
+ } & {
3519
+ fieldset?: string | null | undefined;
3520
+ config?: {
3521
+ label?: string | null | undefined;
3522
+ placeholder?: string;
3523
+ catalog?: string;
3524
+ };
3525
+ }) | ({
3526
+ type: "Link";
3527
+ } & {
3528
+ fieldset?: string | null | undefined;
3529
+ config?: {
3530
+ label?: string | null | undefined;
3531
+ useAsTitle?: boolean;
3532
+ placeholder?: string;
3533
+ select?: "media" | "document" | "web" | null;
3534
+ customtypes?: readonly (string | {
3535
+ id: string;
3536
+ fields: readonly (string | {
3537
+ id: string;
3538
+ customtypes: readonly (string | {
3539
+ id: string;
3540
+ fields: readonly (string | {
3541
+ id: string;
3542
+ fields: readonly string[];
3543
+ })[];
3544
+ })[];
3545
+ } | {
3546
+ id: string;
3547
+ fields: readonly (string | {
3548
+ id: string;
3549
+ customtypes: readonly (string | {
3550
+ id: string;
3551
+ fields: readonly (string | {
3552
+ id: string;
3553
+ fields: readonly string[];
3554
+ })[];
3555
+ })[];
3556
+ })[];
3557
+ })[];
3558
+ })[];
3559
+ masks?: readonly string[];
3560
+ tags?: readonly string[];
3561
+ allowTargetBlank?: boolean;
3562
+ allowText?: boolean;
3563
+ repeat?: boolean;
3564
+ variants?: string[];
3565
+ };
3566
+ }) | ({
3567
+ type: "Number";
3568
+ } & {
3569
+ fieldset?: string | null | undefined;
3570
+ config?: {
3571
+ label?: string | null | undefined;
3572
+ placeholder?: string;
3573
+ min?: number;
3574
+ max?: number;
3575
+ step?: number;
3576
+ };
3577
+ }) | ({
3578
+ type: "Range";
3579
+ } & {
3580
+ fieldset?: string | null | undefined;
3581
+ config?: {
3582
+ label?: string | null | undefined;
3583
+ placeholder?: string;
3584
+ min?: number;
3585
+ max?: number;
3586
+ step?: number;
3587
+ };
3588
+ }) | ({
3589
+ type: "StructuredText";
3590
+ } & {
3591
+ fieldset?: string | null | undefined;
3592
+ config?: {
3593
+ label?: string | null | undefined;
3594
+ placeholder?: string;
3595
+ useAsTitle?: boolean;
3596
+ single?: string;
3597
+ multi?: string;
3598
+ imageConstraint?: {
3599
+ width?: number | null;
3600
+ height?: number | null;
3601
+ };
3602
+ labels?: readonly string[];
3603
+ allowTargetBlank?: boolean;
3604
+ };
3605
+ }) | ({
3606
+ type: "Select";
3607
+ } & {
3608
+ fieldset?: string | null | undefined;
3609
+ config?: {
3610
+ label?: string | null | undefined;
3611
+ placeholder?: string;
3612
+ default_value?: string;
3613
+ options?: readonly string[];
3614
+ };
3615
+ }) | ({
3616
+ type: "Separator";
3617
+ } & {
3618
+ config?: {
3619
+ label?: string | null | undefined;
3620
+ };
3621
+ }) | ({
3622
+ type: "Table";
3623
+ } & {
3624
+ config?: {
3625
+ label?: string | null | undefined;
3626
+ };
3627
+ }) | ({
3628
+ type: "Text";
3629
+ } & {
3630
+ fieldset?: string | null | undefined;
3631
+ config?: {
3632
+ label?: string | null | undefined;
3633
+ useAsTitle?: boolean;
3634
+ placeholder?: string;
3635
+ };
3636
+ }) | ({
3637
+ type: "Timestamp";
3638
+ } & {
3639
+ fieldset?: string | null | undefined;
3640
+ config?: {
3641
+ label?: string | null | undefined;
3642
+ placeholder?: string;
3643
+ default?: string;
3644
+ };
3645
+ });
3646
+ };
3647
+ config?: {
3648
+ label?: string | null | undefined;
3649
+ };
3650
+ }) | {
3651
+ type: "SharedSlice";
3652
+ };
3653
+ };
3654
+ };
3655
+ });
3656
+ }, unknown, unknown>>;
3657
+ status: t.BooleanC;
3658
+ }>, t.PartialC<{
3659
+ format: t.KeyofC<{
3660
+ page: string;
3661
+ custom: string;
3662
+ }>;
3663
+ }>]>>;
3664
+ export declare type CustomType = t.TypeOf<typeof CustomType>;
3665
+ export declare function flattenWidgets(customType: CustomType): Array<[string, DynamicWidget]>;
3666
+ export declare function flattenSections(customType: StaticCustomType): Array<[string, StaticWidget]>;
3667
+ export declare function toStatic(customType: CustomType, sharedSlices: Map<string, SharedSlice>): StaticCustomType;
3668
+ export declare function validateSlices(customType: CustomType, sharedSlices: Map<string, SharedSlice>): Either<CustomTypeSlicesError, CustomType>;
3669
+ export declare function collectWidgets(customType: CustomType, f: (ref: string, widget: DynamicWidget) => DynamicWidget | undefined): CustomType;
3670
+ export declare function filterMissingSharedSlices(customType: CustomType, sharedSlices: Map<string, SharedSlice>): CustomType;
3671
+ export declare function flattenCustomTypeFields(customType: StaticCustomType): Record<string, StaticWidget>;
3672
+ export declare function collectSharedSlices(customType: {
3673
+ customTypeId: string;
3674
+ fields: Record<string, StaticWidget>;
3675
+ }): Record<string, SharedSlice>;
3676
+ export declare function traverseCustomType<T extends CustomType | StaticCustomType>(args: {
3677
+ customType: T;
3678
+ onField: OnFieldFn<UID | NestableWidget | Group | NestedGroup>;
3679
+ }): T;
3680
+ export {};