@prismicio/types-internal 4.0.0-pr.6.eb53f11 → 4.0.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.
- package/dist/content/document.d.ts +2 -3019
- package/dist/content/document.d.ts.map +1 -1
- package/dist/content/field.d.ts +1 -30
- package/dist/content/field.d.ts.map +1 -1
- package/dist/content/field.js.map +1 -1
- package/dist/content/group.d.ts +2 -1
- package/dist/content/group.d.ts.map +1 -1
- package/dist/content/group.js.map +1 -1
- package/dist/content/legacy/group.d.ts +9 -0
- package/dist/content/legacy/group.d.ts.map +1 -0
- package/dist/content/legacy/group.js.map +1 -1
- package/dist/content/legacy/link.d.ts +41 -0
- package/dist/content/legacy/link.d.ts.map +1 -0
- package/dist/content/legacy/link.js.map +1 -1
- package/dist/content/legacy/nestable.js.map +1 -1
- package/dist/content/legacy/repeatable.js +2 -8
- package/dist/content/legacy/repeatable.js.map +1 -1
- package/dist/content/legacy/richText.d.ts +109 -0
- package/dist/content/legacy/richText.d.ts.map +1 -0
- package/dist/content/legacy/richText.js.map +1 -1
- package/dist/content/legacy/slice.js +2 -3
- package/dist/content/legacy/slice.js.map +1 -1
- package/dist/content/link.d.ts +74 -99
- package/dist/content/link.d.ts.map +1 -1
- package/dist/content/link.js +2 -2
- package/dist/content/link.js.map +1 -1
- package/dist/content/nestable.d.ts +13 -749
- package/dist/content/nestable.d.ts.map +1 -1
- package/dist/content/nestable.js +1 -0
- package/dist/content/nestable.js.map +1 -1
- package/dist/content/repeatable.d.ts +3 -98
- package/dist/content/repeatable.d.ts.map +1 -1
- package/dist/content/richText.d.ts +20 -248
- package/dist/content/richText.d.ts.map +1 -1
- package/dist/content/richText.js.map +1 -1
- package/dist/content/slice.d.ts +6 -4509
- package/dist/content/slice.d.ts.map +1 -1
- package/dist/content/slice.js.map +1 -1
- package/dist/content/slices.d.ts +8 -6765
- package/dist/content/slices.d.ts.map +1 -1
- package/dist/content/table.d.ts +2 -134
- package/dist/content/table.d.ts.map +1 -1
- package/dist/content/widget.d.ts +5 -3020
- package/dist/content/widget.d.ts.map +1 -1
- package/dist/content/widget.js.map +1 -1
- package/dist/helpers/contentPath.js +1 -1
- package/dist/helpers/customTypeModel.d.ts +1 -1
- package/dist/helpers/customTypeModel.js +1 -1
- package/dist/helpers/documentContent.d.ts +3 -2
- package/dist/helpers/documentContent.d.ts.map +1 -1
- package/dist/helpers/documentContent.js +14 -1
- package/dist/helpers/documentContent.js.map +1 -1
- package/dist/helpers/sliceContent.d.ts +12 -0
- package/dist/helpers/sliceContent.d.ts.map +1 -0
- package/dist/helpers/sliceContent.js +60 -0
- package/dist/helpers/sliceContent.js.map +1 -0
- package/dist/helpers/traverseContent.d.ts +15 -16
- package/dist/helpers/traverseContent.d.ts.map +1 -1
- package/dist/helpers/traverseContent.js +51 -19
- package/dist/helpers/traverseContent.js.map +1 -1
- package/dist/helpers/traverseContentWithModel.d.ts +14 -15
- package/dist/helpers/traverseContentWithModel.d.ts.map +1 -1
- package/dist/helpers/traverseContentWithModel.js +61 -35
- package/dist/helpers/traverseContentWithModel.js.map +1 -1
- package/dist/index.d.ts +25 -24
- package/dist/index.js +3 -1
- package/dist/io-ts.d.ts +3048 -71012
- package/dist/io-ts.d.ts.map +1 -1
- package/dist/io-ts.js +125 -124
- package/dist/io-ts.js.map +1 -1
- package/dist/model/customType.d.ts +3 -3329
- package/dist/model/customType.d.ts.map +1 -1
- package/dist/model/group.d.ts +375 -376
- package/dist/model/group.d.ts.map +1 -1
- package/dist/model/group.js.map +1 -1
- package/dist/model/image.d.ts +4 -4
- package/dist/model/image.js.map +1 -1
- package/dist/model/link.d.ts +2 -2
- package/dist/model/link.js.map +1 -1
- package/dist/model/nestable.d.ts +17 -178
- package/dist/model/nestable.d.ts.map +1 -1
- package/dist/model/nestable.js +3 -3
- package/dist/model/nestable.js.map +1 -1
- package/dist/model/richText.d.ts +3 -7
- package/dist/model/richText.d.ts.map +1 -1
- package/dist/model/richText.js +4 -3
- package/dist/model/richText.js.map +1 -1
- package/dist/model/section.d.ts +3 -3329
- package/dist/model/section.d.ts.map +1 -1
- package/dist/model/select.d.ts +1 -1
- package/dist/model/select.js +1 -1
- package/dist/model/select.js.map +1 -1
- package/dist/model/slice.d.ts +781 -3720
- package/dist/model/slice.d.ts.map +1 -1
- package/dist/model/slice.js +7 -2
- package/dist/model/slice.js.map +1 -1
- package/dist/model/slices.d.ts +3 -2195
- package/dist/model/slices.d.ts.map +1 -1
- package/dist/model/table.d.ts +2 -1
- package/dist/model/table.d.ts.map +1 -1
- package/dist/model/table.js +9 -7
- package/dist/model/table.js.map +1 -1
- package/dist/model/widget.d.ts +6 -3331
- package/dist/model/widget.d.ts.map +1 -1
- package/dist/model/widget.js.map +1 -1
- package/dist/zod4.d.ts +1332 -34960
- package/dist/zod4.d.ts.map +1 -1
- package/dist/zod4.js +125 -124
- package/dist/zod4.js.map +1 -1
- package/package.json +3 -2
- package/src/content/field.ts +9 -2
- package/src/content/group.ts +5 -2
- package/src/content/legacy/group.ts +12 -4
- package/src/content/legacy/link.ts +32 -9
- package/src/content/legacy/nestable.ts +26 -2
- package/src/content/legacy/repeatable.ts +3 -16
- package/src/content/legacy/richText.ts +37 -5
- package/src/content/legacy/slice.ts +8 -7
- package/src/content/legacy/widget.ts +6 -2
- package/src/content/link.ts +32 -9
- package/src/content/nestable.ts +42 -2
- package/src/content/richText.ts +19 -7
- package/src/content/slice.ts +2 -2
- package/src/content/widget.ts +6 -2
- package/src/helpers/documentContent.ts +32 -1
- package/src/helpers/sliceContent.ts +86 -0
- package/src/helpers/traverseContent.ts +93 -32
- package/src/helpers/traverseContentWithModel.ts +73 -48
- package/src/index.ts +4 -1
- package/src/io-ts.ts +164 -144
- package/src/model/group.ts +4 -1
- package/src/model/image.ts +1 -1
- package/src/model/link.ts +1 -1
- package/src/model/nestable.ts +33 -1
- package/src/model/richText.ts +2 -2
- package/src/model/select.ts +2 -2
- package/src/model/slice.ts +36 -9
- package/src/model/table.ts +11 -2
- package/src/model/widget.ts +8 -4
- package/src/zod4.ts +164 -144
- package/dist/content/legacy/image.d.ts +0 -1
package/dist/model/group.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NestableModel } from "./nestable.js";
|
|
1
2
|
import { z } from "zod/mini";
|
|
2
3
|
|
|
3
4
|
//#region src/model/group.d.ts
|
|
@@ -53,13 +54,13 @@ declare const NestedGroupModelSchema: z.ZodMiniObject<{
|
|
|
53
54
|
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
54
55
|
placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
55
56
|
constraint: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
56
|
-
width: z.ZodMiniOptional<z.
|
|
57
|
-
height: z.ZodMiniOptional<z.
|
|
57
|
+
width: z.ZodMiniOptional<z.ZodMiniType<number | null, unknown, z.core.$ZodTypeInternals<number | null, unknown>>>;
|
|
58
|
+
height: z.ZodMiniOptional<z.ZodMiniType<number | null, unknown, z.core.$ZodTypeInternals<number | null, unknown>>>;
|
|
58
59
|
}, z.core.$strip>>;
|
|
59
60
|
thumbnails: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
60
61
|
name: z.ZodMiniString<string>;
|
|
61
|
-
width: z.ZodMiniOptional<z.
|
|
62
|
-
height: z.ZodMiniOptional<z.
|
|
62
|
+
width: z.ZodMiniOptional<z.ZodMiniType<number | null, unknown, z.core.$ZodTypeInternals<number | null, unknown>>>;
|
|
63
|
+
height: z.ZodMiniOptional<z.ZodMiniType<number | null, unknown, z.core.$ZodTypeInternals<number | null, unknown>>>;
|
|
63
64
|
}, z.core.$strip>>>;
|
|
64
65
|
}, z.core.$strip>>;
|
|
65
66
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
@@ -103,8 +104,8 @@ declare const NestedGroupModelSchema: z.ZodMiniObject<{
|
|
|
103
104
|
}, z.core.$strip>]>>;
|
|
104
105
|
}, z.core.$strip>, z.ZodMiniString<string>]>>;
|
|
105
106
|
}, z.core.$strip>]>>>;
|
|
106
|
-
masks: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniString<string>]>, z.ZodMiniTransform<
|
|
107
|
-
tags: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniString<string>]>, z.ZodMiniTransform<
|
|
107
|
+
masks: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniString<string>]>, z.ZodMiniTransform<string[], string | string[]>>>;
|
|
108
|
+
tags: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniString<string>]>, z.ZodMiniTransform<string[], string | string[]>>>;
|
|
108
109
|
allowTargetBlank: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
109
110
|
allowText: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
110
111
|
repeat: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
@@ -140,14 +141,10 @@ declare const NestedGroupModelSchema: z.ZodMiniObject<{
|
|
|
140
141
|
single: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>, z.ZodMiniTransform<string, string | null>>>;
|
|
141
142
|
multi: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>, z.ZodMiniTransform<string, string | null>>>;
|
|
142
143
|
imageConstraint: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
143
|
-
width: z.ZodMiniOptional<z.
|
|
144
|
-
height: z.ZodMiniOptional<z.
|
|
144
|
+
width: z.ZodMiniOptional<z.ZodMiniType<number | null, unknown, z.core.$ZodTypeInternals<number | null, unknown>>>;
|
|
145
|
+
height: z.ZodMiniOptional<z.ZodMiniType<number | null, unknown, z.core.$ZodTypeInternals<number | null, unknown>>>;
|
|
145
146
|
}, z.core.$strip>>;
|
|
146
|
-
labels: z.ZodMiniOptional<z.
|
|
147
|
-
name: z.ZodMiniString<string>;
|
|
148
|
-
}, z.core.$strip>>>, z.ZodMiniTransform<string[], Record<string, {
|
|
149
|
-
name: string;
|
|
150
|
-
}[]>>>]>, z.ZodMiniTransform<readonly string[], string[]>>>;
|
|
147
|
+
labels: z.ZodMiniOptional<z.ZodMiniType<string[], unknown, z.core.$ZodTypeInternals<string[], unknown>>>;
|
|
151
148
|
allowTargetBlank: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
152
149
|
}, z.core.$strip>>;
|
|
153
150
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
@@ -157,7 +154,7 @@ declare const NestedGroupModelSchema: z.ZodMiniObject<{
|
|
|
157
154
|
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
158
155
|
placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
159
156
|
default_value: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
160
|
-
options: z.ZodMiniOptional<z.
|
|
157
|
+
options: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniType<string, unknown, z.core.$ZodTypeInternals<string, unknown>>>>;
|
|
161
158
|
}, z.core.$strip>>;
|
|
162
159
|
}, z.core.$strip>, z.ZodMiniObject<{
|
|
163
160
|
type: z.ZodMiniLiteral<"Separator">;
|
|
@@ -197,369 +194,371 @@ declare const GroupModelSchema: z.ZodMiniObject<{
|
|
|
197
194
|
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
198
195
|
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
199
196
|
repeat: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
200
|
-
fields: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.
|
|
201
|
-
type:
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
257
|
-
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
258
|
-
placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
259
|
-
catalog: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
260
|
-
}, z.core.$strip>>;
|
|
261
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
262
|
-
type: z.ZodMiniLiteral<"Link">;
|
|
263
|
-
fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
264
|
-
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
265
|
-
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
266
|
-
useAsTitle: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
267
|
-
placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
268
|
-
select: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnknown, z.ZodMiniTransform<"media" | "document" | "web" | null, unknown>>>;
|
|
269
|
-
customtypes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
270
|
-
id: z.ZodMiniString<string>;
|
|
271
|
-
fields: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
272
|
-
id: z.ZodMiniString<string>;
|
|
273
|
-
fields: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
274
|
-
id: z.ZodMiniString<string>;
|
|
275
|
-
customtypes: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
276
|
-
id: z.ZodMiniString<string>;
|
|
277
|
-
fields: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
278
|
-
id: z.ZodMiniString<string>;
|
|
279
|
-
fields: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
280
|
-
}, z.core.$strip>, z.ZodMiniString<string>]>>;
|
|
281
|
-
}, z.core.$strip>]>>;
|
|
282
|
-
}, z.core.$strip>, z.ZodMiniString<string>]>>;
|
|
283
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
284
|
-
id: z.ZodMiniString<string>;
|
|
285
|
-
customtypes: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
286
|
-
id: z.ZodMiniString<string>;
|
|
287
|
-
fields: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
288
|
-
id: z.ZodMiniString<string>;
|
|
289
|
-
fields: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
290
|
-
}, z.core.$strip>, z.ZodMiniString<string>]>>;
|
|
291
|
-
}, z.core.$strip>]>>;
|
|
292
|
-
}, z.core.$strip>, z.ZodMiniString<string>]>>;
|
|
293
|
-
}, z.core.$strip>]>>>;
|
|
294
|
-
masks: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniString<string>]>, z.ZodMiniTransform<readonly string[], string | string[]>>>;
|
|
295
|
-
tags: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniString<string>]>, z.ZodMiniTransform<readonly string[], string | string[]>>>;
|
|
296
|
-
allowTargetBlank: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
297
|
-
allowText: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
298
|
-
repeat: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
299
|
-
variants: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
300
|
-
}, z.core.$strip>>;
|
|
301
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
302
|
-
type: z.ZodMiniLiteral<"Number">;
|
|
303
|
-
fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
304
|
-
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
305
|
-
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
306
|
-
placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
307
|
-
min: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
|
|
308
|
-
max: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
|
|
309
|
-
step: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
|
|
310
|
-
}, z.core.$strip>>;
|
|
311
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
312
|
-
type: z.ZodMiniLiteral<"Range">;
|
|
313
|
-
fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
314
|
-
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
315
|
-
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
316
|
-
placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
317
|
-
min: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
|
|
318
|
-
max: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
|
|
319
|
-
step: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
|
|
320
|
-
}, z.core.$strip>>;
|
|
321
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
322
|
-
type: z.ZodMiniLiteral<"StructuredText">;
|
|
323
|
-
fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
324
|
-
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
325
|
-
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
326
|
-
placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
327
|
-
useAsTitle: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
328
|
-
single: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>, z.ZodMiniTransform<string, string | null>>>;
|
|
329
|
-
multi: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>, z.ZodMiniTransform<string, string | null>>>;
|
|
330
|
-
imageConstraint: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
331
|
-
width: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniLiteral<"auto">, z.ZodMiniTransform<null, "auto">>, z.ZodMiniPipe<z.ZodMiniLiteral<"">, z.ZodMiniTransform<null, "">>, z.ZodMiniNull, z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
|
|
332
|
-
height: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniLiteral<"auto">, z.ZodMiniTransform<null, "auto">>, z.ZodMiniPipe<z.ZodMiniLiteral<"">, z.ZodMiniTransform<null, "">>, z.ZodMiniNull, z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
|
|
333
|
-
}, z.core.$strip>>;
|
|
334
|
-
labels: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniNull, z.ZodMiniTransform<string[], null>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<string[], string>>, z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniPipe<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniObject<{
|
|
335
|
-
name: z.ZodMiniString<string>;
|
|
336
|
-
}, z.core.$strip>>>, z.ZodMiniTransform<string[], Record<string, {
|
|
337
|
-
name: string;
|
|
338
|
-
}[]>>>]>, z.ZodMiniTransform<readonly string[], string[]>>>;
|
|
339
|
-
allowTargetBlank: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
340
|
-
}, z.core.$strip>>;
|
|
341
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
342
|
-
type: z.ZodMiniLiteral<"Select">;
|
|
343
|
-
fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
344
|
-
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
345
|
-
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
346
|
-
placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
347
|
-
default_value: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
348
|
-
options: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniPipe<z.ZodMiniNumber<number>, z.ZodMiniTransform<string, number>>, z.ZodMiniPipe<z.ZodMiniBoolean<boolean>, z.ZodMiniTransform<string, boolean>>]>>>>;
|
|
349
|
-
}, z.core.$strip>>;
|
|
350
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
351
|
-
type: z.ZodMiniLiteral<"Separator">;
|
|
352
|
-
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
353
|
-
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
354
|
-
}, z.core.$strip>>;
|
|
355
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
356
|
-
type: z.ZodMiniLiteral<"Table">;
|
|
357
|
-
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
358
|
-
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
359
|
-
}, z.core.$strip>>;
|
|
360
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
361
|
-
type: z.ZodMiniLiteral<"Text">;
|
|
362
|
-
fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
363
|
-
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
364
|
-
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
365
|
-
useAsTitle: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
366
|
-
placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
367
|
-
}, z.core.$strip>>;
|
|
368
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
369
|
-
type: z.ZodMiniLiteral<"Timestamp">;
|
|
370
|
-
fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
371
|
-
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
372
|
-
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
373
|
-
placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
374
|
-
default: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
375
|
-
}, z.core.$strip>>;
|
|
376
|
-
}, z.core.$strip>]>, z.ZodMiniObject<{
|
|
377
|
-
type: z.ZodMiniLiteral<"Group">;
|
|
378
|
-
fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
379
|
-
icon: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
380
|
-
description: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
381
|
-
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
382
|
-
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
383
|
-
repeat: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
384
|
-
fields: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
385
|
-
type: z.ZodMiniLiteral<"Boolean">;
|
|
386
|
-
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
387
|
-
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
388
|
-
default_value: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
389
|
-
placeholder_true: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
390
|
-
placeholder_false: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
391
|
-
}, z.core.$strip>>;
|
|
392
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
393
|
-
type: z.ZodMiniLiteral<"Color">;
|
|
394
|
-
fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
395
|
-
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
396
|
-
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
397
|
-
placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
398
|
-
}, z.core.$strip>>;
|
|
399
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
400
|
-
type: z.ZodMiniLiteral<"Date">;
|
|
401
|
-
fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
402
|
-
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
403
|
-
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
404
|
-
placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
405
|
-
default: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
406
|
-
}, z.core.$strip>>;
|
|
407
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
408
|
-
type: z.ZodMiniLiteral<"Embed">;
|
|
409
|
-
fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
410
|
-
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
411
|
-
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
412
|
-
placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
413
|
-
useAsTitle: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
414
|
-
}, z.core.$strip>>;
|
|
415
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
416
|
-
type: z.ZodMiniLiteral<"GeoPoint">;
|
|
417
|
-
fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
418
|
-
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
419
|
-
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
420
|
-
}, z.core.$strip>>;
|
|
421
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
422
|
-
type: z.ZodMiniLiteral<"Image">;
|
|
423
|
-
fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
424
|
-
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
425
|
-
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
426
|
-
placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
427
|
-
constraint: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
428
|
-
width: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniLiteral<"auto">, z.ZodMiniTransform<null, "auto">>, z.ZodMiniPipe<z.ZodMiniLiteral<"">, z.ZodMiniTransform<null, "">>, z.ZodMiniNull, z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
|
|
429
|
-
height: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniLiteral<"auto">, z.ZodMiniTransform<null, "auto">>, z.ZodMiniPipe<z.ZodMiniLiteral<"">, z.ZodMiniTransform<null, "">>, z.ZodMiniNull, z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
|
|
430
|
-
}, z.core.$strip>>;
|
|
431
|
-
thumbnails: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
432
|
-
name: z.ZodMiniString<string>;
|
|
433
|
-
width: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniLiteral<"auto">, z.ZodMiniTransform<null, "auto">>, z.ZodMiniPipe<z.ZodMiniLiteral<"">, z.ZodMiniTransform<null, "">>, z.ZodMiniNull, z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
|
|
434
|
-
height: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniLiteral<"auto">, z.ZodMiniTransform<null, "auto">>, z.ZodMiniPipe<z.ZodMiniLiteral<"">, z.ZodMiniTransform<null, "">>, z.ZodMiniNull, z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
|
|
435
|
-
}, z.core.$strip>>>;
|
|
436
|
-
}, z.core.$strip>>;
|
|
437
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
438
|
-
type: z.ZodMiniLiteral<"IntegrationFields">;
|
|
439
|
-
fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
440
|
-
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
441
|
-
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
442
|
-
placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
443
|
-
catalog: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
444
|
-
}, z.core.$strip>>;
|
|
445
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
446
|
-
type: z.ZodMiniLiteral<"Link">;
|
|
447
|
-
fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
448
|
-
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
449
|
-
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
450
|
-
useAsTitle: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
451
|
-
placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
452
|
-
select: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnknown, z.ZodMiniTransform<"media" | "document" | "web" | null, unknown>>>;
|
|
453
|
-
customtypes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
454
|
-
id: z.ZodMiniString<string>;
|
|
455
|
-
fields: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
456
|
-
id: z.ZodMiniString<string>;
|
|
457
|
-
fields: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
458
|
-
id: z.ZodMiniString<string>;
|
|
459
|
-
customtypes: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
460
|
-
id: z.ZodMiniString<string>;
|
|
461
|
-
fields: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
462
|
-
id: z.ZodMiniString<string>;
|
|
463
|
-
fields: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
464
|
-
}, z.core.$strip>, z.ZodMiniString<string>]>>;
|
|
465
|
-
}, z.core.$strip>]>>;
|
|
466
|
-
}, z.core.$strip>, z.ZodMiniString<string>]>>;
|
|
467
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
468
|
-
id: z.ZodMiniString<string>;
|
|
469
|
-
customtypes: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
470
|
-
id: z.ZodMiniString<string>;
|
|
471
|
-
fields: z.ZodMiniArray<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
|
|
472
|
-
id: z.ZodMiniString<string>;
|
|
473
|
-
fields: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
474
|
-
}, z.core.$strip>, z.ZodMiniString<string>]>>;
|
|
475
|
-
}, z.core.$strip>]>>;
|
|
476
|
-
}, z.core.$strip>, z.ZodMiniString<string>]>>;
|
|
477
|
-
}, z.core.$strip>]>>>;
|
|
478
|
-
masks: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniString<string>]>, z.ZodMiniTransform<readonly string[], string | string[]>>>;
|
|
479
|
-
tags: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniString<string>]>, z.ZodMiniTransform<readonly string[], string | string[]>>>;
|
|
480
|
-
allowTargetBlank: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
481
|
-
allowText: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
482
|
-
repeat: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
483
|
-
variants: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
484
|
-
}, z.core.$strip>>;
|
|
485
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
486
|
-
type: z.ZodMiniLiteral<"Number">;
|
|
487
|
-
fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
488
|
-
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
489
|
-
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
490
|
-
placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
491
|
-
min: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
|
|
492
|
-
max: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
|
|
493
|
-
step: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
|
|
494
|
-
}, z.core.$strip>>;
|
|
495
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
496
|
-
type: z.ZodMiniLiteral<"Range">;
|
|
497
|
-
fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
498
|
-
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
499
|
-
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
500
|
-
placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
501
|
-
min: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
|
|
502
|
-
max: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
|
|
503
|
-
step: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
|
|
504
|
-
}, z.core.$strip>>;
|
|
505
|
-
}, z.core.$strip>, z.ZodMiniObject<{
|
|
506
|
-
type: z.ZodMiniLiteral<"StructuredText">;
|
|
507
|
-
fieldset: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
508
|
-
config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
509
|
-
label: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
510
|
-
placeholder: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
511
|
-
useAsTitle: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
512
|
-
single: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>, z.ZodMiniTransform<string, string | null>>>;
|
|
513
|
-
multi: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniString<string>, z.ZodMiniNull]>, z.ZodMiniTransform<string, string | null>>>;
|
|
514
|
-
imageConstraint: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
515
|
-
width: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniLiteral<"auto">, z.ZodMiniTransform<null, "auto">>, z.ZodMiniPipe<z.ZodMiniLiteral<"">, z.ZodMiniTransform<null, "">>, z.ZodMiniNull, z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
|
|
516
|
-
height: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniLiteral<"auto">, z.ZodMiniTransform<null, "auto">>, z.ZodMiniPipe<z.ZodMiniLiteral<"">, z.ZodMiniTransform<null, "">>, z.ZodMiniNull, z.ZodMiniNumber<number>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<number, string>>]>>;
|
|
517
|
-
}, z.core.$strip>>;
|
|
518
|
-
labels: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniNull, z.ZodMiniTransform<string[], null>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<string[], string>>, z.ZodMiniArray<z.ZodMiniString<string>>, z.ZodMiniPipe<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniArray<z.ZodMiniObject<{
|
|
519
|
-
name: z.ZodMiniString<string>;
|
|
520
|
-
}, z.core.$strip>>>, z.ZodMiniTransform<string[], Record<string, {
|
|
197
|
+
fields: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniType<NestableModel | {
|
|
198
|
+
type: "Group";
|
|
199
|
+
fieldset?: string | null | undefined;
|
|
200
|
+
icon?: string | undefined;
|
|
201
|
+
description?: string | undefined;
|
|
202
|
+
config?: {
|
|
203
|
+
label?: string | null | undefined;
|
|
204
|
+
repeat?: boolean | undefined;
|
|
205
|
+
fields?: Record<string, {
|
|
206
|
+
type: "Boolean";
|
|
207
|
+
config?: {
|
|
208
|
+
label?: string | null | undefined;
|
|
209
|
+
default_value?: boolean | undefined;
|
|
210
|
+
placeholder_true?: string | undefined;
|
|
211
|
+
placeholder_false?: string | undefined;
|
|
212
|
+
} | undefined;
|
|
213
|
+
} | {
|
|
214
|
+
type: "Color";
|
|
215
|
+
fieldset?: string | null | undefined;
|
|
216
|
+
config?: {
|
|
217
|
+
label?: string | null | undefined;
|
|
218
|
+
placeholder?: string | undefined;
|
|
219
|
+
} | undefined;
|
|
220
|
+
} | {
|
|
221
|
+
type: "Date";
|
|
222
|
+
fieldset?: string | null | undefined;
|
|
223
|
+
config?: {
|
|
224
|
+
label?: string | null | undefined;
|
|
225
|
+
placeholder?: string | undefined;
|
|
226
|
+
default?: string | undefined;
|
|
227
|
+
} | undefined;
|
|
228
|
+
} | {
|
|
229
|
+
type: "Embed";
|
|
230
|
+
fieldset?: string | null | undefined;
|
|
231
|
+
config?: {
|
|
232
|
+
label?: string | null | undefined;
|
|
233
|
+
placeholder?: string | undefined;
|
|
234
|
+
useAsTitle?: boolean | undefined;
|
|
235
|
+
} | undefined;
|
|
236
|
+
} | {
|
|
237
|
+
type: "GeoPoint";
|
|
238
|
+
fieldset?: string | null | undefined;
|
|
239
|
+
config?: {
|
|
240
|
+
label?: string | null | undefined;
|
|
241
|
+
} | undefined;
|
|
242
|
+
} | {
|
|
243
|
+
type: "Image";
|
|
244
|
+
fieldset?: string | null | undefined;
|
|
245
|
+
config?: {
|
|
246
|
+
label?: string | null | undefined;
|
|
247
|
+
placeholder?: string | undefined;
|
|
248
|
+
constraint?: {
|
|
249
|
+
width?: number | null | undefined;
|
|
250
|
+
height?: number | null | undefined;
|
|
251
|
+
} | undefined;
|
|
252
|
+
thumbnails?: {
|
|
521
253
|
name: string;
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
type:
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
254
|
+
width?: number | null | undefined;
|
|
255
|
+
height?: number | null | undefined;
|
|
256
|
+
}[] | undefined;
|
|
257
|
+
} | undefined;
|
|
258
|
+
} | {
|
|
259
|
+
type: "IntegrationFields";
|
|
260
|
+
fieldset?: string | null | undefined;
|
|
261
|
+
config?: {
|
|
262
|
+
label?: string | null | undefined;
|
|
263
|
+
placeholder?: string | undefined;
|
|
264
|
+
catalog?: string | undefined;
|
|
265
|
+
} | undefined;
|
|
266
|
+
} | {
|
|
267
|
+
type: "Link";
|
|
268
|
+
fieldset?: string | null | undefined;
|
|
269
|
+
config?: {
|
|
270
|
+
label?: string | null | undefined;
|
|
271
|
+
useAsTitle?: boolean | undefined;
|
|
272
|
+
placeholder?: string | undefined;
|
|
273
|
+
select?: "media" | "document" | "web" | null | undefined;
|
|
274
|
+
customtypes?: (string | {
|
|
275
|
+
id: string;
|
|
276
|
+
fields: (string | {
|
|
277
|
+
id: string;
|
|
278
|
+
customtypes: (string | {
|
|
279
|
+
id: string;
|
|
280
|
+
fields: (string | {
|
|
281
|
+
id: string;
|
|
282
|
+
fields: string[];
|
|
283
|
+
})[];
|
|
284
|
+
})[];
|
|
285
|
+
} | {
|
|
286
|
+
id: string;
|
|
287
|
+
fields: (string | {
|
|
288
|
+
id: string;
|
|
289
|
+
customtypes: (string | {
|
|
290
|
+
id: string;
|
|
291
|
+
fields: (string | {
|
|
292
|
+
id: string;
|
|
293
|
+
fields: string[];
|
|
294
|
+
})[];
|
|
295
|
+
})[];
|
|
296
|
+
})[];
|
|
297
|
+
})[];
|
|
298
|
+
})[] | undefined;
|
|
299
|
+
masks?: string[] | undefined;
|
|
300
|
+
tags?: string[] | undefined;
|
|
301
|
+
allowTargetBlank?: boolean | undefined;
|
|
302
|
+
allowText?: boolean | undefined;
|
|
303
|
+
repeat?: boolean | undefined;
|
|
304
|
+
variants?: string[] | undefined;
|
|
305
|
+
} | undefined;
|
|
306
|
+
} | {
|
|
307
|
+
type: "Number";
|
|
308
|
+
fieldset?: string | null | undefined;
|
|
309
|
+
config?: {
|
|
310
|
+
label?: string | null | undefined;
|
|
311
|
+
placeholder?: string | undefined;
|
|
312
|
+
min?: number | undefined;
|
|
313
|
+
max?: number | undefined;
|
|
314
|
+
step?: number | undefined;
|
|
315
|
+
} | undefined;
|
|
316
|
+
} | {
|
|
317
|
+
type: "Range";
|
|
318
|
+
fieldset?: string | null | undefined;
|
|
319
|
+
config?: {
|
|
320
|
+
label?: string | null | undefined;
|
|
321
|
+
placeholder?: string | undefined;
|
|
322
|
+
min?: number | undefined;
|
|
323
|
+
max?: number | undefined;
|
|
324
|
+
step?: number | undefined;
|
|
325
|
+
} | undefined;
|
|
326
|
+
} | {
|
|
327
|
+
type: "StructuredText";
|
|
328
|
+
fieldset?: string | null | undefined;
|
|
329
|
+
config?: {
|
|
330
|
+
label?: string | null | undefined;
|
|
331
|
+
placeholder?: string | undefined;
|
|
332
|
+
useAsTitle?: boolean | undefined;
|
|
333
|
+
single?: string | undefined;
|
|
334
|
+
multi?: string | undefined;
|
|
335
|
+
imageConstraint?: {
|
|
336
|
+
width?: number | null | undefined;
|
|
337
|
+
height?: number | null | undefined;
|
|
338
|
+
} | undefined;
|
|
339
|
+
labels?: string[] | undefined;
|
|
340
|
+
allowTargetBlank?: boolean | undefined;
|
|
341
|
+
} | undefined;
|
|
342
|
+
} | {
|
|
343
|
+
type: "Select";
|
|
344
|
+
fieldset?: string | null | undefined;
|
|
345
|
+
config?: {
|
|
346
|
+
label?: string | null | undefined;
|
|
347
|
+
placeholder?: string | undefined;
|
|
348
|
+
default_value?: string | undefined;
|
|
349
|
+
options?: string[] | undefined;
|
|
350
|
+
} | undefined;
|
|
351
|
+
} | {
|
|
352
|
+
type: "Separator";
|
|
353
|
+
config?: {
|
|
354
|
+
label?: string | null | undefined;
|
|
355
|
+
} | undefined;
|
|
356
|
+
} | {
|
|
357
|
+
type: "Table";
|
|
358
|
+
config?: {
|
|
359
|
+
label?: string | null | undefined;
|
|
360
|
+
} | undefined;
|
|
361
|
+
} | {
|
|
362
|
+
type: "Text";
|
|
363
|
+
fieldset?: string | null | undefined;
|
|
364
|
+
config?: {
|
|
365
|
+
label?: string | null | undefined;
|
|
366
|
+
useAsTitle?: boolean | undefined;
|
|
367
|
+
placeholder?: string | undefined;
|
|
368
|
+
} | undefined;
|
|
369
|
+
} | {
|
|
370
|
+
type: "Timestamp";
|
|
371
|
+
fieldset?: string | null | undefined;
|
|
372
|
+
config?: {
|
|
373
|
+
label?: string | null | undefined;
|
|
374
|
+
placeholder?: string | undefined;
|
|
375
|
+
default?: string | undefined;
|
|
376
|
+
} | undefined;
|
|
377
|
+
}> | undefined;
|
|
378
|
+
} | undefined;
|
|
379
|
+
}, unknown, z.core.$ZodTypeInternals<NestableModel | {
|
|
380
|
+
type: "Group";
|
|
381
|
+
fieldset?: string | null | undefined;
|
|
382
|
+
icon?: string | undefined;
|
|
383
|
+
description?: string | undefined;
|
|
384
|
+
config?: {
|
|
385
|
+
label?: string | null | undefined;
|
|
386
|
+
repeat?: boolean | undefined;
|
|
387
|
+
fields?: Record<string, {
|
|
388
|
+
type: "Boolean";
|
|
389
|
+
config?: {
|
|
390
|
+
label?: string | null | undefined;
|
|
391
|
+
default_value?: boolean | undefined;
|
|
392
|
+
placeholder_true?: string | undefined;
|
|
393
|
+
placeholder_false?: string | undefined;
|
|
394
|
+
} | undefined;
|
|
395
|
+
} | {
|
|
396
|
+
type: "Color";
|
|
397
|
+
fieldset?: string | null | undefined;
|
|
398
|
+
config?: {
|
|
399
|
+
label?: string | null | undefined;
|
|
400
|
+
placeholder?: string | undefined;
|
|
401
|
+
} | undefined;
|
|
402
|
+
} | {
|
|
403
|
+
type: "Date";
|
|
404
|
+
fieldset?: string | null | undefined;
|
|
405
|
+
config?: {
|
|
406
|
+
label?: string | null | undefined;
|
|
407
|
+
placeholder?: string | undefined;
|
|
408
|
+
default?: string | undefined;
|
|
409
|
+
} | undefined;
|
|
410
|
+
} | {
|
|
411
|
+
type: "Embed";
|
|
412
|
+
fieldset?: string | null | undefined;
|
|
413
|
+
config?: {
|
|
414
|
+
label?: string | null | undefined;
|
|
415
|
+
placeholder?: string | undefined;
|
|
416
|
+
useAsTitle?: boolean | undefined;
|
|
417
|
+
} | undefined;
|
|
418
|
+
} | {
|
|
419
|
+
type: "GeoPoint";
|
|
420
|
+
fieldset?: string | null | undefined;
|
|
421
|
+
config?: {
|
|
422
|
+
label?: string | null | undefined;
|
|
423
|
+
} | undefined;
|
|
424
|
+
} | {
|
|
425
|
+
type: "Image";
|
|
426
|
+
fieldset?: string | null | undefined;
|
|
427
|
+
config?: {
|
|
428
|
+
label?: string | null | undefined;
|
|
429
|
+
placeholder?: string | undefined;
|
|
430
|
+
constraint?: {
|
|
431
|
+
width?: number | null | undefined;
|
|
432
|
+
height?: number | null | undefined;
|
|
433
|
+
} | undefined;
|
|
434
|
+
thumbnails?: {
|
|
435
|
+
name: string;
|
|
436
|
+
width?: number | null | undefined;
|
|
437
|
+
height?: number | null | undefined;
|
|
438
|
+
}[] | undefined;
|
|
439
|
+
} | undefined;
|
|
440
|
+
} | {
|
|
441
|
+
type: "IntegrationFields";
|
|
442
|
+
fieldset?: string | null | undefined;
|
|
443
|
+
config?: {
|
|
444
|
+
label?: string | null | undefined;
|
|
445
|
+
placeholder?: string | undefined;
|
|
446
|
+
catalog?: string | undefined;
|
|
447
|
+
} | undefined;
|
|
448
|
+
} | {
|
|
449
|
+
type: "Link";
|
|
450
|
+
fieldset?: string | null | undefined;
|
|
451
|
+
config?: {
|
|
452
|
+
label?: string | null | undefined;
|
|
453
|
+
useAsTitle?: boolean | undefined;
|
|
454
|
+
placeholder?: string | undefined;
|
|
455
|
+
select?: "media" | "document" | "web" | null | undefined;
|
|
456
|
+
customtypes?: (string | {
|
|
457
|
+
id: string;
|
|
458
|
+
fields: (string | {
|
|
459
|
+
id: string;
|
|
460
|
+
customtypes: (string | {
|
|
461
|
+
id: string;
|
|
462
|
+
fields: (string | {
|
|
463
|
+
id: string;
|
|
464
|
+
fields: string[];
|
|
465
|
+
})[];
|
|
466
|
+
})[];
|
|
467
|
+
} | {
|
|
468
|
+
id: string;
|
|
469
|
+
fields: (string | {
|
|
470
|
+
id: string;
|
|
471
|
+
customtypes: (string | {
|
|
472
|
+
id: string;
|
|
473
|
+
fields: (string | {
|
|
474
|
+
id: string;
|
|
475
|
+
fields: string[];
|
|
476
|
+
})[];
|
|
477
|
+
})[];
|
|
478
|
+
})[];
|
|
479
|
+
})[];
|
|
480
|
+
})[] | undefined;
|
|
481
|
+
masks?: string[] | undefined;
|
|
482
|
+
tags?: string[] | undefined;
|
|
483
|
+
allowTargetBlank?: boolean | undefined;
|
|
484
|
+
allowText?: boolean | undefined;
|
|
485
|
+
repeat?: boolean | undefined;
|
|
486
|
+
variants?: string[] | undefined;
|
|
487
|
+
} | undefined;
|
|
488
|
+
} | {
|
|
489
|
+
type: "Number";
|
|
490
|
+
fieldset?: string | null | undefined;
|
|
491
|
+
config?: {
|
|
492
|
+
label?: string | null | undefined;
|
|
493
|
+
placeholder?: string | undefined;
|
|
494
|
+
min?: number | undefined;
|
|
495
|
+
max?: number | undefined;
|
|
496
|
+
step?: number | undefined;
|
|
497
|
+
} | undefined;
|
|
498
|
+
} | {
|
|
499
|
+
type: "Range";
|
|
500
|
+
fieldset?: string | null | undefined;
|
|
501
|
+
config?: {
|
|
502
|
+
label?: string | null | undefined;
|
|
503
|
+
placeholder?: string | undefined;
|
|
504
|
+
min?: number | undefined;
|
|
505
|
+
max?: number | undefined;
|
|
506
|
+
step?: number | undefined;
|
|
507
|
+
} | undefined;
|
|
508
|
+
} | {
|
|
509
|
+
type: "StructuredText";
|
|
510
|
+
fieldset?: string | null | undefined;
|
|
511
|
+
config?: {
|
|
512
|
+
label?: string | null | undefined;
|
|
513
|
+
placeholder?: string | undefined;
|
|
514
|
+
useAsTitle?: boolean | undefined;
|
|
515
|
+
single?: string | undefined;
|
|
516
|
+
multi?: string | undefined;
|
|
517
|
+
imageConstraint?: {
|
|
518
|
+
width?: number | null | undefined;
|
|
519
|
+
height?: number | null | undefined;
|
|
520
|
+
} | undefined;
|
|
521
|
+
labels?: string[] | undefined;
|
|
522
|
+
allowTargetBlank?: boolean | undefined;
|
|
523
|
+
} | undefined;
|
|
524
|
+
} | {
|
|
525
|
+
type: "Select";
|
|
526
|
+
fieldset?: string | null | undefined;
|
|
527
|
+
config?: {
|
|
528
|
+
label?: string | null | undefined;
|
|
529
|
+
placeholder?: string | undefined;
|
|
530
|
+
default_value?: string | undefined;
|
|
531
|
+
options?: string[] | undefined;
|
|
532
|
+
} | undefined;
|
|
533
|
+
} | {
|
|
534
|
+
type: "Separator";
|
|
535
|
+
config?: {
|
|
536
|
+
label?: string | null | undefined;
|
|
537
|
+
} | undefined;
|
|
538
|
+
} | {
|
|
539
|
+
type: "Table";
|
|
540
|
+
config?: {
|
|
541
|
+
label?: string | null | undefined;
|
|
542
|
+
} | undefined;
|
|
543
|
+
} | {
|
|
544
|
+
type: "Text";
|
|
545
|
+
fieldset?: string | null | undefined;
|
|
546
|
+
config?: {
|
|
547
|
+
label?: string | null | undefined;
|
|
548
|
+
useAsTitle?: boolean | undefined;
|
|
549
|
+
placeholder?: string | undefined;
|
|
550
|
+
} | undefined;
|
|
551
|
+
} | {
|
|
552
|
+
type: "Timestamp";
|
|
553
|
+
fieldset?: string | null | undefined;
|
|
554
|
+
config?: {
|
|
555
|
+
label?: string | null | undefined;
|
|
556
|
+
placeholder?: string | undefined;
|
|
557
|
+
default?: string | undefined;
|
|
558
|
+
} | undefined;
|
|
559
|
+
}> | undefined;
|
|
560
|
+
} | undefined;
|
|
561
|
+
}, unknown>>>>;
|
|
563
562
|
}, z.core.$strip>>;
|
|
564
563
|
}, z.core.$strip>;
|
|
565
564
|
type GroupModel = z.infer<typeof GroupModelSchema>;
|