@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,1624 @@
1
+ import type { SharedSlice } from "../widgets/slices";
2
+ import { type DiffChange } from "./Changes";
3
+ import { VariationDiff } from "./Variation";
4
+ export declare type SliceMetadata = Omit<SharedSlice, "variations">;
5
+ export declare type SliceDiff = DiffChange<SharedSlice, Partial<SliceMetadata & {
6
+ variations?: Partial<Record<string, VariationDiff>>;
7
+ }>>;
8
+ export declare const SliceComparator: {
9
+ compare(sliceA?: ({
10
+ id: string;
11
+ type: "SharedSlice";
12
+ name: string;
13
+ variations: readonly ({
14
+ id: string;
15
+ name: string;
16
+ description: string;
17
+ imageUrl: string;
18
+ docURL: string;
19
+ version: string;
20
+ } & {
21
+ display?: string;
22
+ primary?: {
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
+ };
618
+ items?: {
619
+ [x: string]: ({
620
+ type: "Boolean";
621
+ } & {
622
+ config?: {
623
+ label?: string | null | undefined;
624
+ default_value?: boolean;
625
+ placeholder_true?: string;
626
+ placeholder_false?: string;
627
+ };
628
+ }) | ({
629
+ type: "Color";
630
+ } & {
631
+ fieldset?: string | null | undefined;
632
+ config?: {
633
+ label?: string | null | undefined;
634
+ placeholder?: string;
635
+ };
636
+ }) | ({
637
+ type: "Date";
638
+ } & {
639
+ fieldset?: string | null | undefined;
640
+ config?: {
641
+ label?: string | null | undefined;
642
+ placeholder?: string;
643
+ default?: string;
644
+ };
645
+ }) | ({
646
+ type: "Embed";
647
+ } & {
648
+ fieldset?: string | null | undefined;
649
+ config?: {
650
+ label?: string | null | undefined;
651
+ placeholder?: string;
652
+ useAsTitle?: boolean;
653
+ };
654
+ }) | ({
655
+ type: "GeoPoint";
656
+ } & {
657
+ fieldset?: string | null | undefined;
658
+ config?: {
659
+ label?: string | null | undefined;
660
+ };
661
+ }) | ({
662
+ type: "Image";
663
+ } & {
664
+ fieldset?: string | null | undefined;
665
+ config?: {
666
+ label?: string | null | undefined;
667
+ placeholder?: string;
668
+ constraint?: {
669
+ width?: number | null;
670
+ height?: number | null;
671
+ };
672
+ thumbnails?: readonly ({
673
+ name: string;
674
+ } & {
675
+ width?: number | null;
676
+ height?: number | null;
677
+ })[];
678
+ };
679
+ }) | ({
680
+ type: "IntegrationFields";
681
+ } & {
682
+ fieldset?: string | null | undefined;
683
+ config?: {
684
+ label?: string | null | undefined;
685
+ placeholder?: string;
686
+ catalog?: string;
687
+ };
688
+ }) | ({
689
+ type: "Link";
690
+ } & {
691
+ fieldset?: string | null | undefined;
692
+ config?: {
693
+ label?: string | null | undefined;
694
+ useAsTitle?: boolean;
695
+ placeholder?: string;
696
+ select?: "media" | "document" | "web" | null;
697
+ customtypes?: readonly (string | {
698
+ id: string;
699
+ fields: readonly (string | {
700
+ id: string;
701
+ customtypes: readonly (string | {
702
+ id: string;
703
+ fields: readonly (string | {
704
+ id: string;
705
+ fields: readonly string[];
706
+ })[];
707
+ })[];
708
+ } | {
709
+ id: string;
710
+ fields: readonly (string | {
711
+ id: string;
712
+ customtypes: readonly (string | {
713
+ id: string;
714
+ fields: readonly (string | {
715
+ id: string;
716
+ fields: readonly string[];
717
+ })[];
718
+ })[];
719
+ })[];
720
+ })[];
721
+ })[];
722
+ masks?: readonly string[];
723
+ tags?: readonly string[];
724
+ allowTargetBlank?: boolean;
725
+ allowText?: boolean;
726
+ repeat?: boolean;
727
+ variants?: string[];
728
+ };
729
+ }) | ({
730
+ type: "Number";
731
+ } & {
732
+ fieldset?: string | null | undefined;
733
+ config?: {
734
+ label?: string | null | undefined;
735
+ placeholder?: string;
736
+ min?: number;
737
+ max?: number;
738
+ step?: number;
739
+ };
740
+ }) | ({
741
+ type: "Range";
742
+ } & {
743
+ fieldset?: string | null | undefined;
744
+ config?: {
745
+ label?: string | null | undefined;
746
+ placeholder?: string;
747
+ min?: number;
748
+ max?: number;
749
+ step?: number;
750
+ };
751
+ }) | ({
752
+ type: "StructuredText";
753
+ } & {
754
+ fieldset?: string | null | undefined;
755
+ config?: {
756
+ label?: string | null | undefined;
757
+ placeholder?: string;
758
+ useAsTitle?: boolean;
759
+ single?: string;
760
+ multi?: string;
761
+ imageConstraint?: {
762
+ width?: number | null;
763
+ height?: number | null;
764
+ };
765
+ labels?: readonly string[];
766
+ allowTargetBlank?: boolean;
767
+ };
768
+ }) | ({
769
+ type: "Select";
770
+ } & {
771
+ fieldset?: string | null | undefined;
772
+ config?: {
773
+ label?: string | null | undefined;
774
+ placeholder?: string;
775
+ default_value?: string;
776
+ options?: readonly string[];
777
+ };
778
+ }) | ({
779
+ type: "Separator";
780
+ } & {
781
+ config?: {
782
+ label?: string | null | undefined;
783
+ };
784
+ }) | ({
785
+ type: "Table";
786
+ } & {
787
+ config?: {
788
+ label?: string | null | undefined;
789
+ };
790
+ }) | ({
791
+ type: "Text";
792
+ } & {
793
+ fieldset?: string | null | undefined;
794
+ config?: {
795
+ label?: string | null | undefined;
796
+ useAsTitle?: boolean;
797
+ placeholder?: string;
798
+ };
799
+ }) | ({
800
+ type: "Timestamp";
801
+ } & {
802
+ fieldset?: string | null | undefined;
803
+ config?: {
804
+ label?: string | null | undefined;
805
+ placeholder?: string;
806
+ default?: string;
807
+ };
808
+ });
809
+ };
810
+ })[];
811
+ } & {
812
+ description?: string;
813
+ legacyPaths?: {
814
+ [x: string]: string;
815
+ };
816
+ }) | undefined, sliceB?: ({
817
+ id: string;
818
+ type: "SharedSlice";
819
+ name: string;
820
+ variations: readonly ({
821
+ id: string;
822
+ name: string;
823
+ description: string;
824
+ imageUrl: string;
825
+ docURL: string;
826
+ version: string;
827
+ } & {
828
+ display?: string;
829
+ primary?: {
830
+ [x: string]: ({
831
+ type: "Boolean";
832
+ } & {
833
+ config?: {
834
+ label?: string | null | undefined;
835
+ default_value?: boolean;
836
+ placeholder_true?: string;
837
+ placeholder_false?: string;
838
+ };
839
+ }) | ({
840
+ type: "Color";
841
+ } & {
842
+ fieldset?: string | null | undefined;
843
+ config?: {
844
+ label?: string | null | undefined;
845
+ placeholder?: string;
846
+ };
847
+ }) | ({
848
+ type: "Date";
849
+ } & {
850
+ fieldset?: string | null | undefined;
851
+ config?: {
852
+ label?: string | null | undefined;
853
+ placeholder?: string;
854
+ default?: string;
855
+ };
856
+ }) | ({
857
+ type: "Embed";
858
+ } & {
859
+ fieldset?: string | null | undefined;
860
+ config?: {
861
+ label?: string | null | undefined;
862
+ placeholder?: string;
863
+ useAsTitle?: boolean;
864
+ };
865
+ }) | ({
866
+ type: "GeoPoint";
867
+ } & {
868
+ fieldset?: string | null | undefined;
869
+ config?: {
870
+ label?: string | null | undefined;
871
+ };
872
+ }) | ({
873
+ type: "Image";
874
+ } & {
875
+ fieldset?: string | null | undefined;
876
+ config?: {
877
+ label?: string | null | undefined;
878
+ placeholder?: string;
879
+ constraint?: {
880
+ width?: number | null;
881
+ height?: number | null;
882
+ };
883
+ thumbnails?: readonly ({
884
+ name: string;
885
+ } & {
886
+ width?: number | null;
887
+ height?: number | null;
888
+ })[];
889
+ };
890
+ }) | ({
891
+ type: "IntegrationFields";
892
+ } & {
893
+ fieldset?: string | null | undefined;
894
+ config?: {
895
+ label?: string | null | undefined;
896
+ placeholder?: string;
897
+ catalog?: string;
898
+ };
899
+ }) | ({
900
+ type: "Link";
901
+ } & {
902
+ fieldset?: string | null | undefined;
903
+ config?: {
904
+ label?: string | null | undefined;
905
+ useAsTitle?: boolean;
906
+ placeholder?: string;
907
+ select?: "media" | "document" | "web" | null;
908
+ customtypes?: readonly (string | {
909
+ id: string;
910
+ fields: readonly (string | {
911
+ id: string;
912
+ customtypes: readonly (string | {
913
+ id: string;
914
+ fields: readonly (string | {
915
+ id: string;
916
+ fields: readonly string[];
917
+ })[];
918
+ })[];
919
+ } | {
920
+ id: string;
921
+ fields: readonly (string | {
922
+ id: string;
923
+ customtypes: readonly (string | {
924
+ id: string;
925
+ fields: readonly (string | {
926
+ id: string;
927
+ fields: readonly string[];
928
+ })[];
929
+ })[];
930
+ })[];
931
+ })[];
932
+ })[];
933
+ masks?: readonly string[];
934
+ tags?: readonly string[];
935
+ allowTargetBlank?: boolean;
936
+ allowText?: boolean;
937
+ repeat?: boolean;
938
+ variants?: string[];
939
+ };
940
+ }) | ({
941
+ type: "Number";
942
+ } & {
943
+ fieldset?: string | null | undefined;
944
+ config?: {
945
+ label?: string | null | undefined;
946
+ placeholder?: string;
947
+ min?: number;
948
+ max?: number;
949
+ step?: number;
950
+ };
951
+ }) | ({
952
+ type: "Range";
953
+ } & {
954
+ fieldset?: string | null | undefined;
955
+ config?: {
956
+ label?: string | null | undefined;
957
+ placeholder?: string;
958
+ min?: number;
959
+ max?: number;
960
+ step?: number;
961
+ };
962
+ }) | ({
963
+ type: "StructuredText";
964
+ } & {
965
+ fieldset?: string | null | undefined;
966
+ config?: {
967
+ label?: string | null | undefined;
968
+ placeholder?: string;
969
+ useAsTitle?: boolean;
970
+ single?: string;
971
+ multi?: string;
972
+ imageConstraint?: {
973
+ width?: number | null;
974
+ height?: number | null;
975
+ };
976
+ labels?: readonly string[];
977
+ allowTargetBlank?: boolean;
978
+ };
979
+ }) | ({
980
+ type: "Select";
981
+ } & {
982
+ fieldset?: string | null | undefined;
983
+ config?: {
984
+ label?: string | null | undefined;
985
+ placeholder?: string;
986
+ default_value?: string;
987
+ options?: readonly string[];
988
+ };
989
+ }) | ({
990
+ type: "Separator";
991
+ } & {
992
+ config?: {
993
+ label?: string | null | undefined;
994
+ };
995
+ }) | ({
996
+ type: "Table";
997
+ } & {
998
+ config?: {
999
+ label?: string | null | undefined;
1000
+ };
1001
+ }) | ({
1002
+ type: "Text";
1003
+ } & {
1004
+ fieldset?: string | null | undefined;
1005
+ config?: {
1006
+ label?: string | null | undefined;
1007
+ useAsTitle?: boolean;
1008
+ placeholder?: string;
1009
+ };
1010
+ }) | ({
1011
+ type: "Timestamp";
1012
+ } & {
1013
+ fieldset?: string | null | undefined;
1014
+ config?: {
1015
+ label?: string | null | undefined;
1016
+ placeholder?: string;
1017
+ default?: string;
1018
+ };
1019
+ }) | ({
1020
+ type: "Group";
1021
+ } & {
1022
+ fieldset?: string | null | undefined;
1023
+ icon?: string;
1024
+ description?: string;
1025
+ config?: {
1026
+ label?: string | null | undefined;
1027
+ repeat?: boolean;
1028
+ fields?: {
1029
+ [x: string]: ({
1030
+ type: "Boolean";
1031
+ } & {
1032
+ config?: {
1033
+ label?: string | null | undefined;
1034
+ default_value?: boolean;
1035
+ placeholder_true?: string;
1036
+ placeholder_false?: string;
1037
+ };
1038
+ }) | ({
1039
+ type: "Color";
1040
+ } & {
1041
+ fieldset?: string | null | undefined;
1042
+ config?: {
1043
+ label?: string | null | undefined;
1044
+ placeholder?: string;
1045
+ };
1046
+ }) | ({
1047
+ type: "Date";
1048
+ } & {
1049
+ fieldset?: string | null | undefined;
1050
+ config?: {
1051
+ label?: string | null | undefined;
1052
+ placeholder?: string;
1053
+ default?: string;
1054
+ };
1055
+ }) | ({
1056
+ type: "Embed";
1057
+ } & {
1058
+ fieldset?: string | null | undefined;
1059
+ config?: {
1060
+ label?: string | null | undefined;
1061
+ placeholder?: string;
1062
+ useAsTitle?: boolean;
1063
+ };
1064
+ }) | ({
1065
+ type: "GeoPoint";
1066
+ } & {
1067
+ fieldset?: string | null | undefined;
1068
+ config?: {
1069
+ label?: string | null | undefined;
1070
+ };
1071
+ }) | ({
1072
+ type: "Image";
1073
+ } & {
1074
+ fieldset?: string | null | undefined;
1075
+ config?: {
1076
+ label?: string | null | undefined;
1077
+ placeholder?: string;
1078
+ constraint?: {
1079
+ width?: number | null;
1080
+ height?: number | null;
1081
+ };
1082
+ thumbnails?: readonly ({
1083
+ name: string;
1084
+ } & {
1085
+ width?: number | null;
1086
+ height?: number | null;
1087
+ })[];
1088
+ };
1089
+ }) | ({
1090
+ type: "IntegrationFields";
1091
+ } & {
1092
+ fieldset?: string | null | undefined;
1093
+ config?: {
1094
+ label?: string | null | undefined;
1095
+ placeholder?: string;
1096
+ catalog?: string;
1097
+ };
1098
+ }) | ({
1099
+ type: "Link";
1100
+ } & {
1101
+ fieldset?: string | null | undefined;
1102
+ config?: {
1103
+ label?: string | null | undefined;
1104
+ useAsTitle?: boolean;
1105
+ placeholder?: string;
1106
+ select?: "media" | "document" | "web" | null;
1107
+ customtypes?: readonly (string | {
1108
+ id: string;
1109
+ fields: readonly (string | {
1110
+ id: string;
1111
+ customtypes: readonly (string | {
1112
+ id: string;
1113
+ fields: readonly (string | {
1114
+ id: string;
1115
+ fields: readonly string[];
1116
+ })[];
1117
+ })[];
1118
+ } | {
1119
+ id: string;
1120
+ fields: readonly (string | {
1121
+ id: string;
1122
+ customtypes: readonly (string | {
1123
+ id: string;
1124
+ fields: readonly (string | {
1125
+ id: string;
1126
+ fields: readonly string[];
1127
+ })[];
1128
+ })[];
1129
+ })[];
1130
+ })[];
1131
+ })[];
1132
+ masks?: readonly string[];
1133
+ tags?: readonly string[];
1134
+ allowTargetBlank?: boolean;
1135
+ allowText?: boolean;
1136
+ repeat?: boolean;
1137
+ variants?: string[];
1138
+ };
1139
+ }) | ({
1140
+ type: "Number";
1141
+ } & {
1142
+ fieldset?: string | null | undefined;
1143
+ config?: {
1144
+ label?: string | null | undefined;
1145
+ placeholder?: string;
1146
+ min?: number;
1147
+ max?: number;
1148
+ step?: number;
1149
+ };
1150
+ }) | ({
1151
+ type: "Range";
1152
+ } & {
1153
+ fieldset?: string | null | undefined;
1154
+ config?: {
1155
+ label?: string | null | undefined;
1156
+ placeholder?: string;
1157
+ min?: number;
1158
+ max?: number;
1159
+ step?: number;
1160
+ };
1161
+ }) | ({
1162
+ type: "StructuredText";
1163
+ } & {
1164
+ fieldset?: string | null | undefined;
1165
+ config?: {
1166
+ label?: string | null | undefined;
1167
+ placeholder?: string;
1168
+ useAsTitle?: boolean;
1169
+ single?: string;
1170
+ multi?: string;
1171
+ imageConstraint?: {
1172
+ width?: number | null;
1173
+ height?: number | null;
1174
+ };
1175
+ labels?: readonly string[];
1176
+ allowTargetBlank?: boolean;
1177
+ };
1178
+ }) | ({
1179
+ type: "Select";
1180
+ } & {
1181
+ fieldset?: string | null | undefined;
1182
+ config?: {
1183
+ label?: string | null | undefined;
1184
+ placeholder?: string;
1185
+ default_value?: string;
1186
+ options?: readonly string[];
1187
+ };
1188
+ }) | ({
1189
+ type: "Separator";
1190
+ } & {
1191
+ config?: {
1192
+ label?: string | null | undefined;
1193
+ };
1194
+ }) | ({
1195
+ type: "Table";
1196
+ } & {
1197
+ config?: {
1198
+ label?: string | null | undefined;
1199
+ };
1200
+ }) | ({
1201
+ type: "Text";
1202
+ } & {
1203
+ fieldset?: string | null | undefined;
1204
+ config?: {
1205
+ label?: string | null | undefined;
1206
+ useAsTitle?: boolean;
1207
+ placeholder?: string;
1208
+ };
1209
+ }) | ({
1210
+ type: "Timestamp";
1211
+ } & {
1212
+ fieldset?: string | null | undefined;
1213
+ config?: {
1214
+ label?: string | null | undefined;
1215
+ placeholder?: string;
1216
+ default?: string;
1217
+ };
1218
+ }) | ({
1219
+ type: "Group";
1220
+ } & {
1221
+ fieldset?: string | null | undefined;
1222
+ icon?: string;
1223
+ description?: string;
1224
+ config?: {
1225
+ label?: string | null | undefined;
1226
+ repeat?: boolean;
1227
+ fields?: {
1228
+ [x: string]: ({
1229
+ type: "Boolean";
1230
+ } & {
1231
+ config?: {
1232
+ label?: string | null | undefined;
1233
+ default_value?: boolean;
1234
+ placeholder_true?: string;
1235
+ placeholder_false?: string;
1236
+ };
1237
+ }) | ({
1238
+ type: "Color";
1239
+ } & {
1240
+ fieldset?: string | null | undefined;
1241
+ config?: {
1242
+ label?: string | null | undefined;
1243
+ placeholder?: string;
1244
+ };
1245
+ }) | ({
1246
+ type: "Date";
1247
+ } & {
1248
+ fieldset?: string | null | undefined;
1249
+ config?: {
1250
+ label?: string | null | undefined;
1251
+ placeholder?: string;
1252
+ default?: string;
1253
+ };
1254
+ }) | ({
1255
+ type: "Embed";
1256
+ } & {
1257
+ fieldset?: string | null | undefined;
1258
+ config?: {
1259
+ label?: string | null | undefined;
1260
+ placeholder?: string;
1261
+ useAsTitle?: boolean;
1262
+ };
1263
+ }) | ({
1264
+ type: "GeoPoint";
1265
+ } & {
1266
+ fieldset?: string | null | undefined;
1267
+ config?: {
1268
+ label?: string | null | undefined;
1269
+ };
1270
+ }) | ({
1271
+ type: "Image";
1272
+ } & {
1273
+ fieldset?: string | null | undefined;
1274
+ config?: {
1275
+ label?: string | null | undefined;
1276
+ placeholder?: string;
1277
+ constraint?: {
1278
+ width?: number | null;
1279
+ height?: number | null;
1280
+ };
1281
+ thumbnails?: readonly ({
1282
+ name: string;
1283
+ } & {
1284
+ width?: number | null;
1285
+ height?: number | null;
1286
+ })[];
1287
+ };
1288
+ }) | ({
1289
+ type: "IntegrationFields";
1290
+ } & {
1291
+ fieldset?: string | null | undefined;
1292
+ config?: {
1293
+ label?: string | null | undefined;
1294
+ placeholder?: string;
1295
+ catalog?: string;
1296
+ };
1297
+ }) | ({
1298
+ type: "Link";
1299
+ } & {
1300
+ fieldset?: string | null | undefined;
1301
+ config?: {
1302
+ label?: string | null | undefined;
1303
+ useAsTitle?: boolean;
1304
+ placeholder?: string;
1305
+ select?: "media" | "document" | "web" | null;
1306
+ customtypes?: readonly (string | {
1307
+ id: string;
1308
+ fields: readonly (string | {
1309
+ id: string;
1310
+ customtypes: readonly (string | {
1311
+ id: string;
1312
+ fields: readonly (string | {
1313
+ id: string;
1314
+ fields: readonly string[];
1315
+ })[];
1316
+ })[];
1317
+ } | {
1318
+ id: string;
1319
+ fields: readonly (string | {
1320
+ id: string;
1321
+ customtypes: readonly (string | {
1322
+ id: string;
1323
+ fields: readonly (string | {
1324
+ id: string;
1325
+ fields: readonly string[];
1326
+ })[];
1327
+ })[];
1328
+ })[];
1329
+ })[];
1330
+ })[];
1331
+ masks?: readonly string[];
1332
+ tags?: readonly string[];
1333
+ allowTargetBlank?: boolean;
1334
+ allowText?: boolean;
1335
+ repeat?: boolean;
1336
+ variants?: string[];
1337
+ };
1338
+ }) | ({
1339
+ type: "Number";
1340
+ } & {
1341
+ fieldset?: string | null | undefined;
1342
+ config?: {
1343
+ label?: string | null | undefined;
1344
+ placeholder?: string;
1345
+ min?: number;
1346
+ max?: number;
1347
+ step?: number;
1348
+ };
1349
+ }) | ({
1350
+ type: "Range";
1351
+ } & {
1352
+ fieldset?: string | null | undefined;
1353
+ config?: {
1354
+ label?: string | null | undefined;
1355
+ placeholder?: string;
1356
+ min?: number;
1357
+ max?: number;
1358
+ step?: number;
1359
+ };
1360
+ }) | ({
1361
+ type: "StructuredText";
1362
+ } & {
1363
+ fieldset?: string | null | undefined;
1364
+ config?: {
1365
+ label?: string | null | undefined;
1366
+ placeholder?: string;
1367
+ useAsTitle?: boolean;
1368
+ single?: string;
1369
+ multi?: string;
1370
+ imageConstraint?: {
1371
+ width?: number | null;
1372
+ height?: number | null;
1373
+ };
1374
+ labels?: readonly string[];
1375
+ allowTargetBlank?: boolean;
1376
+ };
1377
+ }) | ({
1378
+ type: "Select";
1379
+ } & {
1380
+ fieldset?: string | null | undefined;
1381
+ config?: {
1382
+ label?: string | null | undefined;
1383
+ placeholder?: string;
1384
+ default_value?: string;
1385
+ options?: readonly string[];
1386
+ };
1387
+ }) | ({
1388
+ type: "Separator";
1389
+ } & {
1390
+ config?: {
1391
+ label?: string | null | undefined;
1392
+ };
1393
+ }) | ({
1394
+ type: "Table";
1395
+ } & {
1396
+ config?: {
1397
+ label?: string | null | undefined;
1398
+ };
1399
+ }) | ({
1400
+ type: "Text";
1401
+ } & {
1402
+ fieldset?: string | null | undefined;
1403
+ config?: {
1404
+ label?: string | null | undefined;
1405
+ useAsTitle?: boolean;
1406
+ placeholder?: string;
1407
+ };
1408
+ }) | ({
1409
+ type: "Timestamp";
1410
+ } & {
1411
+ fieldset?: string | null | undefined;
1412
+ config?: {
1413
+ label?: string | null | undefined;
1414
+ placeholder?: string;
1415
+ default?: string;
1416
+ };
1417
+ });
1418
+ };
1419
+ };
1420
+ });
1421
+ };
1422
+ };
1423
+ });
1424
+ };
1425
+ items?: {
1426
+ [x: string]: ({
1427
+ type: "Boolean";
1428
+ } & {
1429
+ config?: {
1430
+ label?: string | null | undefined;
1431
+ default_value?: boolean;
1432
+ placeholder_true?: string;
1433
+ placeholder_false?: string;
1434
+ };
1435
+ }) | ({
1436
+ type: "Color";
1437
+ } & {
1438
+ fieldset?: string | null | undefined;
1439
+ config?: {
1440
+ label?: string | null | undefined;
1441
+ placeholder?: string;
1442
+ };
1443
+ }) | ({
1444
+ type: "Date";
1445
+ } & {
1446
+ fieldset?: string | null | undefined;
1447
+ config?: {
1448
+ label?: string | null | undefined;
1449
+ placeholder?: string;
1450
+ default?: string;
1451
+ };
1452
+ }) | ({
1453
+ type: "Embed";
1454
+ } & {
1455
+ fieldset?: string | null | undefined;
1456
+ config?: {
1457
+ label?: string | null | undefined;
1458
+ placeholder?: string;
1459
+ useAsTitle?: boolean;
1460
+ };
1461
+ }) | ({
1462
+ type: "GeoPoint";
1463
+ } & {
1464
+ fieldset?: string | null | undefined;
1465
+ config?: {
1466
+ label?: string | null | undefined;
1467
+ };
1468
+ }) | ({
1469
+ type: "Image";
1470
+ } & {
1471
+ fieldset?: string | null | undefined;
1472
+ config?: {
1473
+ label?: string | null | undefined;
1474
+ placeholder?: string;
1475
+ constraint?: {
1476
+ width?: number | null;
1477
+ height?: number | null;
1478
+ };
1479
+ thumbnails?: readonly ({
1480
+ name: string;
1481
+ } & {
1482
+ width?: number | null;
1483
+ height?: number | null;
1484
+ })[];
1485
+ };
1486
+ }) | ({
1487
+ type: "IntegrationFields";
1488
+ } & {
1489
+ fieldset?: string | null | undefined;
1490
+ config?: {
1491
+ label?: string | null | undefined;
1492
+ placeholder?: string;
1493
+ catalog?: string;
1494
+ };
1495
+ }) | ({
1496
+ type: "Link";
1497
+ } & {
1498
+ fieldset?: string | null | undefined;
1499
+ config?: {
1500
+ label?: string | null | undefined;
1501
+ useAsTitle?: boolean;
1502
+ placeholder?: string;
1503
+ select?: "media" | "document" | "web" | null;
1504
+ customtypes?: readonly (string | {
1505
+ id: string;
1506
+ fields: readonly (string | {
1507
+ id: string;
1508
+ customtypes: readonly (string | {
1509
+ id: string;
1510
+ fields: readonly (string | {
1511
+ id: string;
1512
+ fields: readonly string[];
1513
+ })[];
1514
+ })[];
1515
+ } | {
1516
+ id: string;
1517
+ fields: readonly (string | {
1518
+ id: string;
1519
+ customtypes: readonly (string | {
1520
+ id: string;
1521
+ fields: readonly (string | {
1522
+ id: string;
1523
+ fields: readonly string[];
1524
+ })[];
1525
+ })[];
1526
+ })[];
1527
+ })[];
1528
+ })[];
1529
+ masks?: readonly string[];
1530
+ tags?: readonly string[];
1531
+ allowTargetBlank?: boolean;
1532
+ allowText?: boolean;
1533
+ repeat?: boolean;
1534
+ variants?: string[];
1535
+ };
1536
+ }) | ({
1537
+ type: "Number";
1538
+ } & {
1539
+ fieldset?: string | null | undefined;
1540
+ config?: {
1541
+ label?: string | null | undefined;
1542
+ placeholder?: string;
1543
+ min?: number;
1544
+ max?: number;
1545
+ step?: number;
1546
+ };
1547
+ }) | ({
1548
+ type: "Range";
1549
+ } & {
1550
+ fieldset?: string | null | undefined;
1551
+ config?: {
1552
+ label?: string | null | undefined;
1553
+ placeholder?: string;
1554
+ min?: number;
1555
+ max?: number;
1556
+ step?: number;
1557
+ };
1558
+ }) | ({
1559
+ type: "StructuredText";
1560
+ } & {
1561
+ fieldset?: string | null | undefined;
1562
+ config?: {
1563
+ label?: string | null | undefined;
1564
+ placeholder?: string;
1565
+ useAsTitle?: boolean;
1566
+ single?: string;
1567
+ multi?: string;
1568
+ imageConstraint?: {
1569
+ width?: number | null;
1570
+ height?: number | null;
1571
+ };
1572
+ labels?: readonly string[];
1573
+ allowTargetBlank?: boolean;
1574
+ };
1575
+ }) | ({
1576
+ type: "Select";
1577
+ } & {
1578
+ fieldset?: string | null | undefined;
1579
+ config?: {
1580
+ label?: string | null | undefined;
1581
+ placeholder?: string;
1582
+ default_value?: string;
1583
+ options?: readonly string[];
1584
+ };
1585
+ }) | ({
1586
+ type: "Separator";
1587
+ } & {
1588
+ config?: {
1589
+ label?: string | null | undefined;
1590
+ };
1591
+ }) | ({
1592
+ type: "Table";
1593
+ } & {
1594
+ config?: {
1595
+ label?: string | null | undefined;
1596
+ };
1597
+ }) | ({
1598
+ type: "Text";
1599
+ } & {
1600
+ fieldset?: string | null | undefined;
1601
+ config?: {
1602
+ label?: string | null | undefined;
1603
+ useAsTitle?: boolean;
1604
+ placeholder?: string;
1605
+ };
1606
+ }) | ({
1607
+ type: "Timestamp";
1608
+ } & {
1609
+ fieldset?: string | null | undefined;
1610
+ config?: {
1611
+ label?: string | null | undefined;
1612
+ placeholder?: string;
1613
+ default?: string;
1614
+ };
1615
+ });
1616
+ };
1617
+ })[];
1618
+ } & {
1619
+ description?: string;
1620
+ legacyPaths?: {
1621
+ [x: string]: string;
1622
+ };
1623
+ }) | undefined): SliceDiff | undefined;
1624
+ };