@oak-digital/types-4-strapi-2 1.0.3 → 1.0.4
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/lib/events/index.d.ts +2 -2
- package/lib/events/index.js +1 -1
- package/lib/file/File.d.ts +1 -1
- package/lib/interface/builtinInterfaces.d.ts +251 -108
- package/lib/interface/builtinInterfaces.js +1 -1
- package/lib/plugins/PluginManager.d.ts +3 -3
- package/lib/plugins/types.d.ts +2 -2
- package/lib/program/InterfaceManager.d.ts +27 -5
- package/lib/readers/by-file.d.ts +26 -4
- package/lib/readers/load-strapi/index.d.ts +27 -4
- package/lib/readers/types/attributes.d.ts +1018 -125
- package/lib/readers/types/attributes.js +22 -10
- package/lib/readers/types/component.d.ts +92 -37
- package/lib/readers/types/content-type-reader.d.ts +1 -1
- package/lib/readers/types/content-type.d.ts +93 -38
- package/lib/utils/casing/index.d.ts +1 -1
- package/lib/writers/basic-writer.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const baseAttribute: z.ZodObject<{
|
|
3
|
-
pluginOptions: z.ZodAny
|
|
3
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
4
4
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
5
5
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -14,24 +14,24 @@ export declare const baseAttribute: z.ZodObject<{
|
|
|
14
14
|
}>;
|
|
15
15
|
export declare const textAttribute: z.ZodObject<{
|
|
16
16
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
17
|
-
pluginOptions: z.ZodAny
|
|
17
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
18
18
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
19
19
|
type: z.ZodEnum<["text", "string"]>;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
21
|
__t4s_required?: boolean;
|
|
22
22
|
pluginOptions?: any;
|
|
23
23
|
required?: boolean;
|
|
24
|
-
type?: "
|
|
24
|
+
type?: "string" | "text";
|
|
25
25
|
}, {
|
|
26
26
|
__t4s_required?: boolean;
|
|
27
27
|
pluginOptions?: any;
|
|
28
28
|
required?: boolean;
|
|
29
|
-
type?: "
|
|
29
|
+
type?: "string" | "text";
|
|
30
30
|
}>;
|
|
31
|
-
export
|
|
31
|
+
export type TextAttribute = z.infer<typeof textAttribute>;
|
|
32
32
|
export declare const emailAttribute: z.ZodObject<{
|
|
33
33
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
34
|
-
pluginOptions: z.ZodAny
|
|
34
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
35
35
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
36
36
|
type: z.ZodLiteral<"email">;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -45,10 +45,10 @@ export declare const emailAttribute: z.ZodObject<{
|
|
|
45
45
|
required?: boolean;
|
|
46
46
|
type?: "email";
|
|
47
47
|
}>;
|
|
48
|
-
export
|
|
48
|
+
export type EmailAttribute = z.infer<typeof emailAttribute>;
|
|
49
49
|
export declare const uidAttribute: z.ZodObject<{
|
|
50
50
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
51
|
-
pluginOptions: z.ZodAny
|
|
51
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
52
52
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
53
53
|
type: z.ZodLiteral<"uid">;
|
|
54
54
|
targetField: z.ZodOptional<z.ZodString>;
|
|
@@ -65,10 +65,10 @@ export declare const uidAttribute: z.ZodObject<{
|
|
|
65
65
|
type?: "uid";
|
|
66
66
|
targetField?: string;
|
|
67
67
|
}>;
|
|
68
|
-
export
|
|
68
|
+
export type UidAttribute = z.infer<typeof uidAttribute>;
|
|
69
69
|
export declare const richTextAttribute: z.ZodObject<{
|
|
70
70
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
71
|
-
pluginOptions: z.ZodAny
|
|
71
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
72
72
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
73
73
|
type: z.ZodLiteral<"richtext">;
|
|
74
74
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -82,10 +82,26 @@ export declare const richTextAttribute: z.ZodObject<{
|
|
|
82
82
|
required?: boolean;
|
|
83
83
|
type?: "richtext";
|
|
84
84
|
}>;
|
|
85
|
-
export
|
|
85
|
+
export type RichTextAttribute = z.infer<typeof richTextAttribute>;
|
|
86
|
+
export declare const blocksAttribute: z.ZodObject<{
|
|
87
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
89
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
90
|
+
type: z.ZodLiteral<"blocks">;
|
|
91
|
+
}, "strip", z.ZodTypeAny, {
|
|
92
|
+
__t4s_required?: boolean;
|
|
93
|
+
pluginOptions?: any;
|
|
94
|
+
required?: boolean;
|
|
95
|
+
type?: "blocks";
|
|
96
|
+
}, {
|
|
97
|
+
__t4s_required?: boolean;
|
|
98
|
+
pluginOptions?: any;
|
|
99
|
+
required?: boolean;
|
|
100
|
+
type?: "blocks";
|
|
101
|
+
}>;
|
|
86
102
|
export declare const jsonAttribute: z.ZodObject<{
|
|
87
103
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
-
pluginOptions: z.ZodAny
|
|
104
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
89
105
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
90
106
|
type: z.ZodLiteral<"json">;
|
|
91
107
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -99,10 +115,10 @@ export declare const jsonAttribute: z.ZodObject<{
|
|
|
99
115
|
required?: boolean;
|
|
100
116
|
type?: "json";
|
|
101
117
|
}>;
|
|
102
|
-
export
|
|
118
|
+
export type JsonAttribute = z.infer<typeof jsonAttribute>;
|
|
103
119
|
export declare const passwordAttribute: z.ZodObject<{
|
|
104
120
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
105
|
-
pluginOptions: z.ZodAny
|
|
121
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
106
122
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
107
123
|
type: z.ZodLiteral<"password">;
|
|
108
124
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -116,10 +132,10 @@ export declare const passwordAttribute: z.ZodObject<{
|
|
|
116
132
|
required?: boolean;
|
|
117
133
|
type?: "password";
|
|
118
134
|
}>;
|
|
119
|
-
export
|
|
135
|
+
export type PasswordAttribute = z.infer<typeof passwordAttribute>;
|
|
120
136
|
export declare const integerAttribute: z.ZodObject<{
|
|
121
137
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
122
|
-
pluginOptions: z.ZodAny
|
|
138
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
123
139
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
124
140
|
type: z.ZodLiteral<"integer">;
|
|
125
141
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -135,7 +151,7 @@ export declare const integerAttribute: z.ZodObject<{
|
|
|
135
151
|
}>;
|
|
136
152
|
export declare const floatAttribute: z.ZodObject<{
|
|
137
153
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
138
|
-
pluginOptions: z.ZodAny
|
|
154
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
139
155
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
140
156
|
type: z.ZodLiteral<"float">;
|
|
141
157
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -151,7 +167,7 @@ export declare const floatAttribute: z.ZodObject<{
|
|
|
151
167
|
}>;
|
|
152
168
|
export declare const bigIntAttribute: z.ZodObject<{
|
|
153
169
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
154
|
-
pluginOptions: z.ZodAny
|
|
170
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
155
171
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
156
172
|
type: z.ZodLiteral<"biginteger">;
|
|
157
173
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -167,7 +183,7 @@ export declare const bigIntAttribute: z.ZodObject<{
|
|
|
167
183
|
}>;
|
|
168
184
|
export declare const decimalAttribute: z.ZodObject<{
|
|
169
185
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
170
|
-
pluginOptions: z.ZodAny
|
|
186
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
171
187
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
172
188
|
type: z.ZodLiteral<"decimal">;
|
|
173
189
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -181,9 +197,9 @@ export declare const decimalAttribute: z.ZodObject<{
|
|
|
181
197
|
required?: boolean;
|
|
182
198
|
type?: "decimal";
|
|
183
199
|
}>;
|
|
184
|
-
export declare const numberAttribute: z.
|
|
200
|
+
export declare const numberAttribute: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
185
201
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
186
|
-
pluginOptions: z.ZodAny
|
|
202
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
187
203
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
188
204
|
type: z.ZodLiteral<"integer">;
|
|
189
205
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -198,7 +214,7 @@ export declare const numberAttribute: z.ZodUnion<[z.ZodObject<{
|
|
|
198
214
|
type?: "integer";
|
|
199
215
|
}>, z.ZodObject<{
|
|
200
216
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
201
|
-
pluginOptions: z.ZodAny
|
|
217
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
202
218
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
203
219
|
type: z.ZodLiteral<"float">;
|
|
204
220
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -213,7 +229,7 @@ export declare const numberAttribute: z.ZodUnion<[z.ZodObject<{
|
|
|
213
229
|
type?: "float";
|
|
214
230
|
}>, z.ZodObject<{
|
|
215
231
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
216
|
-
pluginOptions: z.ZodAny
|
|
232
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
217
233
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
218
234
|
type: z.ZodLiteral<"biginteger">;
|
|
219
235
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -228,7 +244,7 @@ export declare const numberAttribute: z.ZodUnion<[z.ZodObject<{
|
|
|
228
244
|
type?: "biginteger";
|
|
229
245
|
}>, z.ZodObject<{
|
|
230
246
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
231
|
-
pluginOptions: z.ZodAny
|
|
247
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
232
248
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
233
249
|
type: z.ZodLiteral<"decimal">;
|
|
234
250
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -242,10 +258,10 @@ export declare const numberAttribute: z.ZodUnion<[z.ZodObject<{
|
|
|
242
258
|
required?: boolean;
|
|
243
259
|
type?: "decimal";
|
|
244
260
|
}>]>;
|
|
245
|
-
export
|
|
261
|
+
export type NumberAttribute = z.infer<typeof numberAttribute>;
|
|
246
262
|
export declare const enumAttribute: z.ZodObject<{
|
|
247
263
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
248
|
-
pluginOptions: z.ZodAny
|
|
264
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
249
265
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
250
266
|
type: z.ZodLiteral<"enumeration">;
|
|
251
267
|
enum: z.ZodArray<z.ZodString, "many">;
|
|
@@ -262,10 +278,10 @@ export declare const enumAttribute: z.ZodObject<{
|
|
|
262
278
|
type?: "enumeration";
|
|
263
279
|
enum?: string[];
|
|
264
280
|
}>;
|
|
265
|
-
export
|
|
281
|
+
export type EnumAttribute = z.infer<typeof enumAttribute>;
|
|
266
282
|
export declare const dateOnlyAttribute: z.ZodObject<{
|
|
267
283
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
268
|
-
pluginOptions: z.ZodAny
|
|
284
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
269
285
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
270
286
|
type: z.ZodLiteral<"date">;
|
|
271
287
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -281,7 +297,7 @@ export declare const dateOnlyAttribute: z.ZodObject<{
|
|
|
281
297
|
}>;
|
|
282
298
|
export declare const dateTimeAttribute: z.ZodObject<{
|
|
283
299
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
284
|
-
pluginOptions: z.ZodAny
|
|
300
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
285
301
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
286
302
|
type: z.ZodLiteral<"datetime">;
|
|
287
303
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -297,7 +313,7 @@ export declare const dateTimeAttribute: z.ZodObject<{
|
|
|
297
313
|
}>;
|
|
298
314
|
export declare const timeAttribute: z.ZodObject<{
|
|
299
315
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
300
|
-
pluginOptions: z.ZodAny
|
|
316
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
301
317
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
302
318
|
type: z.ZodLiteral<"time">;
|
|
303
319
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -311,9 +327,9 @@ export declare const timeAttribute: z.ZodObject<{
|
|
|
311
327
|
required?: boolean;
|
|
312
328
|
type?: "time";
|
|
313
329
|
}>;
|
|
314
|
-
export declare const dateAttribute: z.
|
|
330
|
+
export declare const dateAttribute: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
315
331
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
316
|
-
pluginOptions: z.ZodAny
|
|
332
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
317
333
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
318
334
|
type: z.ZodLiteral<"date">;
|
|
319
335
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -328,7 +344,7 @@ export declare const dateAttribute: z.ZodUnion<[z.ZodObject<{
|
|
|
328
344
|
type?: "date";
|
|
329
345
|
}>, z.ZodObject<{
|
|
330
346
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
331
|
-
pluginOptions: z.ZodAny
|
|
347
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
332
348
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
333
349
|
type: z.ZodLiteral<"datetime">;
|
|
334
350
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -343,7 +359,7 @@ export declare const dateAttribute: z.ZodUnion<[z.ZodObject<{
|
|
|
343
359
|
type?: "datetime";
|
|
344
360
|
}>, z.ZodObject<{
|
|
345
361
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
346
|
-
pluginOptions: z.ZodAny
|
|
362
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
347
363
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
348
364
|
type: z.ZodLiteral<"time">;
|
|
349
365
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -357,10 +373,10 @@ export declare const dateAttribute: z.ZodUnion<[z.ZodObject<{
|
|
|
357
373
|
required?: boolean;
|
|
358
374
|
type?: "time";
|
|
359
375
|
}>]>;
|
|
360
|
-
export
|
|
376
|
+
export type DateAttribute = z.infer<typeof dateAttribute>;
|
|
361
377
|
export declare const mediaAttribute: z.ZodObject<{
|
|
362
378
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
363
|
-
pluginOptions: z.ZodAny
|
|
379
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
364
380
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
365
381
|
type: z.ZodLiteral<"media">;
|
|
366
382
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -380,10 +396,10 @@ export declare const mediaAttribute: z.ZodObject<{
|
|
|
380
396
|
multiple?: boolean;
|
|
381
397
|
allowedTypes?: ("images" | "videos" | "audios" | "files")[];
|
|
382
398
|
}>;
|
|
383
|
-
export
|
|
399
|
+
export type MediaAttribute = z.infer<typeof mediaAttribute>;
|
|
384
400
|
export declare const booleanAttribute: z.ZodObject<{
|
|
385
401
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
386
|
-
pluginOptions: z.ZodAny
|
|
402
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
387
403
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
388
404
|
type: z.ZodLiteral<"boolean">;
|
|
389
405
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -397,10 +413,10 @@ export declare const booleanAttribute: z.ZodObject<{
|
|
|
397
413
|
required?: boolean;
|
|
398
414
|
type?: "boolean";
|
|
399
415
|
}>;
|
|
400
|
-
export
|
|
416
|
+
export type BooleanAttribute = z.infer<typeof booleanAttribute>;
|
|
401
417
|
export declare const baseRelationAttribute: z.ZodObject<{
|
|
402
418
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
403
|
-
pluginOptions: z.ZodAny
|
|
419
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
404
420
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
405
421
|
type: z.ZodLiteral<"relation">;
|
|
406
422
|
target: z.ZodString;
|
|
@@ -419,7 +435,7 @@ export declare const baseRelationAttribute: z.ZodObject<{
|
|
|
419
435
|
}>;
|
|
420
436
|
export declare const hasOneAttribute: z.ZodObject<{
|
|
421
437
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
422
|
-
pluginOptions: z.ZodAny
|
|
438
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
423
439
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
424
440
|
type: z.ZodLiteral<"relation">;
|
|
425
441
|
target: z.ZodString;
|
|
@@ -441,7 +457,7 @@ export declare const hasOneAttribute: z.ZodObject<{
|
|
|
441
457
|
}>;
|
|
442
458
|
export declare const oneToOneAttribute: z.ZodObject<{
|
|
443
459
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
444
|
-
pluginOptions: z.ZodAny
|
|
460
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
445
461
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
446
462
|
type: z.ZodLiteral<"relation">;
|
|
447
463
|
target: z.ZodString;
|
|
@@ -466,7 +482,7 @@ export declare const oneToOneAttribute: z.ZodObject<{
|
|
|
466
482
|
}>;
|
|
467
483
|
export declare const belongsToManyAttribute: z.ZodObject<{
|
|
468
484
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
469
|
-
pluginOptions: z.ZodAny
|
|
485
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
470
486
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
471
487
|
type: z.ZodLiteral<"relation">;
|
|
472
488
|
target: z.ZodString;
|
|
@@ -491,7 +507,7 @@ export declare const belongsToManyAttribute: z.ZodObject<{
|
|
|
491
507
|
}>;
|
|
492
508
|
export declare const manyToOneAttribute: z.ZodObject<{
|
|
493
509
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
494
|
-
pluginOptions: z.ZodAny
|
|
510
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
495
511
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
496
512
|
type: z.ZodLiteral<"relation">;
|
|
497
513
|
target: z.ZodString;
|
|
@@ -516,7 +532,7 @@ export declare const manyToOneAttribute: z.ZodObject<{
|
|
|
516
532
|
}>;
|
|
517
533
|
export declare const manyToManyAttribute: z.ZodObject<{
|
|
518
534
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
519
|
-
pluginOptions: z.ZodAny
|
|
535
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
520
536
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
521
537
|
type: z.ZodLiteral<"relation">;
|
|
522
538
|
target: z.ZodString;
|
|
@@ -544,7 +560,7 @@ export declare const manyToManyAttribute: z.ZodObject<{
|
|
|
544
560
|
}>;
|
|
545
561
|
export declare const hasManyAttribute: z.ZodObject<{
|
|
546
562
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
547
|
-
pluginOptions: z.ZodAny
|
|
563
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
548
564
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
549
565
|
type: z.ZodLiteral<"relation">;
|
|
550
566
|
target: z.ZodString;
|
|
@@ -565,28 +581,46 @@ export declare const hasManyAttribute: z.ZodObject<{
|
|
|
565
581
|
relation?: "oneToMany";
|
|
566
582
|
}>;
|
|
567
583
|
export declare const morphToManyAttribute: z.ZodObject<{
|
|
584
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
585
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
586
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
568
587
|
type: z.ZodLiteral<"relation">;
|
|
569
588
|
relation: z.ZodLiteral<"morphToMany">;
|
|
570
589
|
}, "strip", z.ZodTypeAny, {
|
|
590
|
+
__t4s_required?: boolean;
|
|
591
|
+
pluginOptions?: any;
|
|
592
|
+
required?: boolean;
|
|
571
593
|
type?: "relation";
|
|
572
594
|
relation?: "morphToMany";
|
|
573
595
|
}, {
|
|
596
|
+
__t4s_required?: boolean;
|
|
597
|
+
pluginOptions?: any;
|
|
598
|
+
required?: boolean;
|
|
574
599
|
type?: "relation";
|
|
575
600
|
relation?: "morphToMany";
|
|
576
601
|
}>;
|
|
577
602
|
export declare const morphOneAttribute: z.ZodObject<{
|
|
603
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
604
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
605
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
578
606
|
type: z.ZodLiteral<"relation">;
|
|
579
607
|
relation: z.ZodLiteral<"morphToOne">;
|
|
580
608
|
}, "strip", z.ZodTypeAny, {
|
|
609
|
+
__t4s_required?: boolean;
|
|
610
|
+
pluginOptions?: any;
|
|
611
|
+
required?: boolean;
|
|
581
612
|
type?: "relation";
|
|
582
613
|
relation?: "morphToOne";
|
|
583
614
|
}, {
|
|
615
|
+
__t4s_required?: boolean;
|
|
616
|
+
pluginOptions?: any;
|
|
617
|
+
required?: boolean;
|
|
584
618
|
type?: "relation";
|
|
585
619
|
relation?: "morphToOne";
|
|
586
620
|
}>;
|
|
587
621
|
export declare const relationAttribute: z.ZodUnion<[z.ZodObject<{
|
|
588
622
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
589
|
-
pluginOptions: z.ZodAny
|
|
623
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
590
624
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
591
625
|
type: z.ZodLiteral<"relation">;
|
|
592
626
|
target: z.ZodString;
|
|
@@ -607,7 +641,7 @@ export declare const relationAttribute: z.ZodUnion<[z.ZodObject<{
|
|
|
607
641
|
relation?: "oneToOne";
|
|
608
642
|
}>, z.ZodObject<{
|
|
609
643
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
610
|
-
pluginOptions: z.ZodAny
|
|
644
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
611
645
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
612
646
|
type: z.ZodLiteral<"relation">;
|
|
613
647
|
target: z.ZodString;
|
|
@@ -631,7 +665,7 @@ export declare const relationAttribute: z.ZodUnion<[z.ZodObject<{
|
|
|
631
665
|
inversedBy?: string;
|
|
632
666
|
}>, z.ZodObject<{
|
|
633
667
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
634
|
-
pluginOptions: z.ZodAny
|
|
668
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
635
669
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
636
670
|
type: z.ZodLiteral<"relation">;
|
|
637
671
|
target: z.ZodString;
|
|
@@ -655,7 +689,7 @@ export declare const relationAttribute: z.ZodUnion<[z.ZodObject<{
|
|
|
655
689
|
relation?: "oneToMany";
|
|
656
690
|
}>, z.ZodObject<{
|
|
657
691
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
658
|
-
pluginOptions: z.ZodAny
|
|
692
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
659
693
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
660
694
|
type: z.ZodLiteral<"relation">;
|
|
661
695
|
target: z.ZodString;
|
|
@@ -679,7 +713,7 @@ export declare const relationAttribute: z.ZodUnion<[z.ZodObject<{
|
|
|
679
713
|
inversedBy?: string;
|
|
680
714
|
}>, z.ZodObject<{
|
|
681
715
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
682
|
-
pluginOptions: z.ZodAny
|
|
716
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
683
717
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
684
718
|
type: z.ZodLiteral<"relation">;
|
|
685
719
|
target: z.ZodString;
|
|
@@ -706,7 +740,7 @@ export declare const relationAttribute: z.ZodUnion<[z.ZodObject<{
|
|
|
706
740
|
mappedBy?: string;
|
|
707
741
|
}>, z.ZodObject<{
|
|
708
742
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
709
|
-
pluginOptions: z.ZodAny
|
|
743
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
710
744
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
711
745
|
type: z.ZodLiteral<"relation">;
|
|
712
746
|
target: z.ZodString;
|
|
@@ -726,28 +760,46 @@ export declare const relationAttribute: z.ZodUnion<[z.ZodObject<{
|
|
|
726
760
|
target?: string;
|
|
727
761
|
relation?: "oneToMany";
|
|
728
762
|
}>, z.ZodObject<{
|
|
763
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
764
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
765
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
729
766
|
type: z.ZodLiteral<"relation">;
|
|
730
767
|
relation: z.ZodLiteral<"morphToMany">;
|
|
731
768
|
}, "strip", z.ZodTypeAny, {
|
|
769
|
+
__t4s_required?: boolean;
|
|
770
|
+
pluginOptions?: any;
|
|
771
|
+
required?: boolean;
|
|
732
772
|
type?: "relation";
|
|
733
773
|
relation?: "morphToMany";
|
|
734
774
|
}, {
|
|
775
|
+
__t4s_required?: boolean;
|
|
776
|
+
pluginOptions?: any;
|
|
777
|
+
required?: boolean;
|
|
735
778
|
type?: "relation";
|
|
736
779
|
relation?: "morphToMany";
|
|
737
780
|
}>, z.ZodObject<{
|
|
781
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
782
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
783
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
738
784
|
type: z.ZodLiteral<"relation">;
|
|
739
785
|
relation: z.ZodLiteral<"morphToOne">;
|
|
740
786
|
}, "strip", z.ZodTypeAny, {
|
|
787
|
+
__t4s_required?: boolean;
|
|
788
|
+
pluginOptions?: any;
|
|
789
|
+
required?: boolean;
|
|
741
790
|
type?: "relation";
|
|
742
791
|
relation?: "morphToOne";
|
|
743
792
|
}, {
|
|
793
|
+
__t4s_required?: boolean;
|
|
794
|
+
pluginOptions?: any;
|
|
795
|
+
required?: boolean;
|
|
744
796
|
type?: "relation";
|
|
745
797
|
relation?: "morphToOne";
|
|
746
798
|
}>]>;
|
|
747
|
-
export
|
|
799
|
+
export type RelationAttribute = z.infer<typeof relationAttribute>;
|
|
748
800
|
export declare const componentAttribute: z.ZodObject<{
|
|
749
801
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
750
|
-
pluginOptions: z.ZodAny
|
|
802
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
751
803
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
752
804
|
type: z.ZodLiteral<"component">;
|
|
753
805
|
repeatable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -767,10 +819,10 @@ export declare const componentAttribute: z.ZodObject<{
|
|
|
767
819
|
repeatable?: boolean;
|
|
768
820
|
component?: string;
|
|
769
821
|
}>;
|
|
770
|
-
export
|
|
822
|
+
export type ComponentAttribute = z.infer<typeof componentAttribute>;
|
|
771
823
|
export declare const dynamiczoneAttribute: z.ZodObject<{
|
|
772
824
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
773
|
-
pluginOptions: z.ZodAny
|
|
825
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
774
826
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
775
827
|
type: z.ZodLiteral<"dynamiczone">;
|
|
776
828
|
components: z.ZodArray<z.ZodString, "many">;
|
|
@@ -787,25 +839,25 @@ export declare const dynamiczoneAttribute: z.ZodObject<{
|
|
|
787
839
|
type?: "dynamiczone";
|
|
788
840
|
components?: string[];
|
|
789
841
|
}>;
|
|
790
|
-
export
|
|
791
|
-
export declare const
|
|
842
|
+
export type DynamiczoneAttribute = z.infer<typeof dynamiczoneAttribute>;
|
|
843
|
+
export declare const knownAttribute: z.ZodUnion<[z.ZodObject<{
|
|
792
844
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
793
|
-
pluginOptions: z.ZodAny
|
|
845
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
794
846
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
795
847
|
type: z.ZodEnum<["text", "string"]>;
|
|
796
848
|
}, "strip", z.ZodTypeAny, {
|
|
797
849
|
__t4s_required?: boolean;
|
|
798
850
|
pluginOptions?: any;
|
|
799
851
|
required?: boolean;
|
|
800
|
-
type?: "
|
|
852
|
+
type?: "string" | "text";
|
|
801
853
|
}, {
|
|
802
854
|
__t4s_required?: boolean;
|
|
803
855
|
pluginOptions?: any;
|
|
804
856
|
required?: boolean;
|
|
805
|
-
type?: "
|
|
857
|
+
type?: "string" | "text";
|
|
806
858
|
}>, z.ZodObject<{
|
|
807
859
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
808
|
-
pluginOptions: z.ZodAny
|
|
860
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
809
861
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
810
862
|
type: z.ZodLiteral<"email">;
|
|
811
863
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -820,7 +872,7 @@ export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
|
820
872
|
type?: "email";
|
|
821
873
|
}>, z.ZodObject<{
|
|
822
874
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
823
|
-
pluginOptions: z.ZodAny
|
|
875
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
824
876
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
825
877
|
type: z.ZodLiteral<"uid">;
|
|
826
878
|
targetField: z.ZodOptional<z.ZodString>;
|
|
@@ -838,7 +890,7 @@ export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
|
838
890
|
targetField?: string;
|
|
839
891
|
}>, z.ZodObject<{
|
|
840
892
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
841
|
-
pluginOptions: z.ZodAny
|
|
893
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
842
894
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
843
895
|
type: z.ZodLiteral<"richtext">;
|
|
844
896
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -853,7 +905,7 @@ export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
|
853
905
|
type?: "richtext";
|
|
854
906
|
}>, z.ZodObject<{
|
|
855
907
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
856
|
-
pluginOptions: z.ZodAny
|
|
908
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
857
909
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
858
910
|
type: z.ZodLiteral<"json">;
|
|
859
911
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -868,7 +920,7 @@ export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
|
868
920
|
type?: "json";
|
|
869
921
|
}>, z.ZodObject<{
|
|
870
922
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
871
|
-
pluginOptions: z.ZodAny
|
|
923
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
872
924
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
873
925
|
type: z.ZodLiteral<"password">;
|
|
874
926
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -881,9 +933,9 @@ export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
|
881
933
|
pluginOptions?: any;
|
|
882
934
|
required?: boolean;
|
|
883
935
|
type?: "password";
|
|
884
|
-
}>, z.
|
|
936
|
+
}>, z.ZodObject<{
|
|
885
937
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
886
|
-
pluginOptions: z.ZodAny
|
|
938
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
887
939
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
888
940
|
type: z.ZodLiteral<"integer">;
|
|
889
941
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -898,7 +950,7 @@ export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
|
898
950
|
type?: "integer";
|
|
899
951
|
}>, z.ZodObject<{
|
|
900
952
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
901
|
-
pluginOptions: z.ZodAny
|
|
953
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
902
954
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
903
955
|
type: z.ZodLiteral<"float">;
|
|
904
956
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -913,7 +965,7 @@ export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
|
913
965
|
type?: "float";
|
|
914
966
|
}>, z.ZodObject<{
|
|
915
967
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
916
|
-
pluginOptions: z.ZodAny
|
|
968
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
917
969
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
918
970
|
type: z.ZodLiteral<"biginteger">;
|
|
919
971
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -928,7 +980,7 @@ export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
|
928
980
|
type?: "biginteger";
|
|
929
981
|
}>, z.ZodObject<{
|
|
930
982
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
931
|
-
pluginOptions: z.ZodAny
|
|
983
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
932
984
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
933
985
|
type: z.ZodLiteral<"decimal">;
|
|
934
986
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -941,9 +993,9 @@ export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
|
941
993
|
pluginOptions?: any;
|
|
942
994
|
required?: boolean;
|
|
943
995
|
type?: "decimal";
|
|
944
|
-
}
|
|
996
|
+
}>, z.ZodObject<{
|
|
945
997
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
946
|
-
pluginOptions: z.ZodAny
|
|
998
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
947
999
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
948
1000
|
type: z.ZodLiteral<"enumeration">;
|
|
949
1001
|
enum: z.ZodArray<z.ZodString, "many">;
|
|
@@ -959,9 +1011,9 @@ export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
|
959
1011
|
required?: boolean;
|
|
960
1012
|
type?: "enumeration";
|
|
961
1013
|
enum?: string[];
|
|
962
|
-
}>, z.
|
|
1014
|
+
}>, z.ZodObject<{
|
|
963
1015
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
964
|
-
pluginOptions: z.ZodAny
|
|
1016
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
965
1017
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
966
1018
|
type: z.ZodLiteral<"date">;
|
|
967
1019
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -976,7 +1028,7 @@ export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
|
976
1028
|
type?: "date";
|
|
977
1029
|
}>, z.ZodObject<{
|
|
978
1030
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
979
|
-
pluginOptions: z.ZodAny
|
|
1031
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
980
1032
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
981
1033
|
type: z.ZodLiteral<"datetime">;
|
|
982
1034
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -991,7 +1043,7 @@ export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
|
991
1043
|
type?: "datetime";
|
|
992
1044
|
}>, z.ZodObject<{
|
|
993
1045
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
994
|
-
pluginOptions: z.ZodAny
|
|
1046
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
995
1047
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
996
1048
|
type: z.ZodLiteral<"time">;
|
|
997
1049
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1004,9 +1056,9 @@ export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
|
1004
1056
|
pluginOptions?: any;
|
|
1005
1057
|
required?: boolean;
|
|
1006
1058
|
type?: "time";
|
|
1007
|
-
}
|
|
1059
|
+
}>, z.ZodObject<{
|
|
1008
1060
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1009
|
-
pluginOptions: z.ZodAny
|
|
1061
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1010
1062
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1011
1063
|
type: z.ZodLiteral<"media">;
|
|
1012
1064
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1027,7 +1079,7 @@ export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
|
1027
1079
|
allowedTypes?: ("images" | "videos" | "audios" | "files")[];
|
|
1028
1080
|
}>, z.ZodObject<{
|
|
1029
1081
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1030
|
-
pluginOptions: z.ZodAny
|
|
1082
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1031
1083
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1032
1084
|
type: z.ZodLiteral<"boolean">;
|
|
1033
1085
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1040,9 +1092,9 @@ export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
|
1040
1092
|
pluginOptions?: any;
|
|
1041
1093
|
required?: boolean;
|
|
1042
1094
|
type?: "boolean";
|
|
1043
|
-
}>, z.
|
|
1095
|
+
}>, z.ZodObject<{
|
|
1044
1096
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1045
|
-
pluginOptions: z.ZodAny
|
|
1097
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1046
1098
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1047
1099
|
type: z.ZodLiteral<"relation">;
|
|
1048
1100
|
target: z.ZodString;
|
|
@@ -1063,7 +1115,7 @@ export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
|
1063
1115
|
relation?: "oneToOne";
|
|
1064
1116
|
}>, z.ZodObject<{
|
|
1065
1117
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1066
|
-
pluginOptions: z.ZodAny
|
|
1118
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1067
1119
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1068
1120
|
type: z.ZodLiteral<"relation">;
|
|
1069
1121
|
target: z.ZodString;
|
|
@@ -1087,7 +1139,7 @@ export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
|
1087
1139
|
inversedBy?: string;
|
|
1088
1140
|
}>, z.ZodObject<{
|
|
1089
1141
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1090
|
-
pluginOptions: z.ZodAny
|
|
1142
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1091
1143
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1092
1144
|
type: z.ZodLiteral<"relation">;
|
|
1093
1145
|
target: z.ZodString;
|
|
@@ -1111,7 +1163,7 @@ export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
|
1111
1163
|
relation?: "oneToMany";
|
|
1112
1164
|
}>, z.ZodObject<{
|
|
1113
1165
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1114
|
-
pluginOptions: z.ZodAny
|
|
1166
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1115
1167
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1116
1168
|
type: z.ZodLiteral<"relation">;
|
|
1117
1169
|
target: z.ZodString;
|
|
@@ -1135,7 +1187,7 @@ export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
|
1135
1187
|
inversedBy?: string;
|
|
1136
1188
|
}>, z.ZodObject<{
|
|
1137
1189
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1138
|
-
pluginOptions: z.ZodAny
|
|
1190
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1139
1191
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1140
1192
|
type: z.ZodLiteral<"relation">;
|
|
1141
1193
|
target: z.ZodString;
|
|
@@ -1162,7 +1214,7 @@ export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
|
1162
1214
|
mappedBy?: string;
|
|
1163
1215
|
}>, z.ZodObject<{
|
|
1164
1216
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1165
|
-
pluginOptions: z.ZodAny
|
|
1217
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1166
1218
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1167
1219
|
type: z.ZodLiteral<"relation">;
|
|
1168
1220
|
target: z.ZodString;
|
|
@@ -1182,26 +1234,44 @@ export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
|
1182
1234
|
target?: string;
|
|
1183
1235
|
relation?: "oneToMany";
|
|
1184
1236
|
}>, z.ZodObject<{
|
|
1237
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1238
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1239
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1185
1240
|
type: z.ZodLiteral<"relation">;
|
|
1186
1241
|
relation: z.ZodLiteral<"morphToMany">;
|
|
1187
1242
|
}, "strip", z.ZodTypeAny, {
|
|
1243
|
+
__t4s_required?: boolean;
|
|
1244
|
+
pluginOptions?: any;
|
|
1245
|
+
required?: boolean;
|
|
1188
1246
|
type?: "relation";
|
|
1189
1247
|
relation?: "morphToMany";
|
|
1190
1248
|
}, {
|
|
1249
|
+
__t4s_required?: boolean;
|
|
1250
|
+
pluginOptions?: any;
|
|
1251
|
+
required?: boolean;
|
|
1191
1252
|
type?: "relation";
|
|
1192
1253
|
relation?: "morphToMany";
|
|
1193
1254
|
}>, z.ZodObject<{
|
|
1255
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1256
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1257
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1194
1258
|
type: z.ZodLiteral<"relation">;
|
|
1195
1259
|
relation: z.ZodLiteral<"morphToOne">;
|
|
1196
1260
|
}, "strip", z.ZodTypeAny, {
|
|
1261
|
+
__t4s_required?: boolean;
|
|
1262
|
+
pluginOptions?: any;
|
|
1263
|
+
required?: boolean;
|
|
1197
1264
|
type?: "relation";
|
|
1198
1265
|
relation?: "morphToOne";
|
|
1199
1266
|
}, {
|
|
1267
|
+
__t4s_required?: boolean;
|
|
1268
|
+
pluginOptions?: any;
|
|
1269
|
+
required?: boolean;
|
|
1200
1270
|
type?: "relation";
|
|
1201
1271
|
relation?: "morphToOne";
|
|
1202
|
-
}
|
|
1272
|
+
}>, z.ZodObject<{
|
|
1203
1273
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1204
|
-
pluginOptions: z.ZodAny
|
|
1274
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1205
1275
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1206
1276
|
type: z.ZodLiteral<"component">;
|
|
1207
1277
|
repeatable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1221,25 +1291,42 @@ export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
|
1221
1291
|
repeatable?: boolean;
|
|
1222
1292
|
component?: string;
|
|
1223
1293
|
}>]>;
|
|
1224
|
-
export
|
|
1225
|
-
export declare const
|
|
1294
|
+
export type KnownAttribute = z.infer<typeof knownAttribute>;
|
|
1295
|
+
export declare const anyAttribute: z.ZodObject<{
|
|
1296
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1297
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1298
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1299
|
+
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
1300
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1301
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1302
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1303
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1304
|
+
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
1305
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1306
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1307
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1308
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1309
|
+
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
1310
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
1311
|
+
export type AnyAttribute = z.infer<typeof anyAttribute>;
|
|
1312
|
+
export declare const attribute: z.ZodUnion<[z.ZodObject<{
|
|
1226
1313
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1227
|
-
pluginOptions: z.ZodAny
|
|
1314
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1228
1315
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1229
1316
|
type: z.ZodEnum<["text", "string"]>;
|
|
1230
1317
|
}, "strip", z.ZodTypeAny, {
|
|
1231
1318
|
__t4s_required?: boolean;
|
|
1232
1319
|
pluginOptions?: any;
|
|
1233
1320
|
required?: boolean;
|
|
1234
|
-
type?: "
|
|
1321
|
+
type?: "string" | "text";
|
|
1235
1322
|
}, {
|
|
1236
1323
|
__t4s_required?: boolean;
|
|
1237
1324
|
pluginOptions?: any;
|
|
1238
1325
|
required?: boolean;
|
|
1239
|
-
type?: "
|
|
1326
|
+
type?: "string" | "text";
|
|
1240
1327
|
}>, z.ZodObject<{
|
|
1241
1328
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1242
|
-
pluginOptions: z.ZodAny
|
|
1329
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1243
1330
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1244
1331
|
type: z.ZodLiteral<"email">;
|
|
1245
1332
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1254,7 +1341,7 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1254
1341
|
type?: "email";
|
|
1255
1342
|
}>, z.ZodObject<{
|
|
1256
1343
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1257
|
-
pluginOptions: z.ZodAny
|
|
1344
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1258
1345
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1259
1346
|
type: z.ZodLiteral<"uid">;
|
|
1260
1347
|
targetField: z.ZodOptional<z.ZodString>;
|
|
@@ -1272,7 +1359,7 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1272
1359
|
targetField?: string;
|
|
1273
1360
|
}>, z.ZodObject<{
|
|
1274
1361
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1275
|
-
pluginOptions: z.ZodAny
|
|
1362
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1276
1363
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1277
1364
|
type: z.ZodLiteral<"richtext">;
|
|
1278
1365
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1287,7 +1374,7 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1287
1374
|
type?: "richtext";
|
|
1288
1375
|
}>, z.ZodObject<{
|
|
1289
1376
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1290
|
-
pluginOptions: z.ZodAny
|
|
1377
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1291
1378
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1292
1379
|
type: z.ZodLiteral<"json">;
|
|
1293
1380
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1302,7 +1389,7 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1302
1389
|
type?: "json";
|
|
1303
1390
|
}>, z.ZodObject<{
|
|
1304
1391
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1305
|
-
pluginOptions: z.ZodAny
|
|
1392
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1306
1393
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1307
1394
|
type: z.ZodLiteral<"password">;
|
|
1308
1395
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1315,9 +1402,9 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1315
1402
|
pluginOptions?: any;
|
|
1316
1403
|
required?: boolean;
|
|
1317
1404
|
type?: "password";
|
|
1318
|
-
}>, z.
|
|
1405
|
+
}>, z.ZodObject<{
|
|
1319
1406
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1320
|
-
pluginOptions: z.ZodAny
|
|
1407
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1321
1408
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1322
1409
|
type: z.ZodLiteral<"integer">;
|
|
1323
1410
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1332,7 +1419,7 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1332
1419
|
type?: "integer";
|
|
1333
1420
|
}>, z.ZodObject<{
|
|
1334
1421
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1335
|
-
pluginOptions: z.ZodAny
|
|
1422
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1336
1423
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1337
1424
|
type: z.ZodLiteral<"float">;
|
|
1338
1425
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1347,7 +1434,7 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1347
1434
|
type?: "float";
|
|
1348
1435
|
}>, z.ZodObject<{
|
|
1349
1436
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1350
|
-
pluginOptions: z.ZodAny
|
|
1437
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1351
1438
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1352
1439
|
type: z.ZodLiteral<"biginteger">;
|
|
1353
1440
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1362,7 +1449,7 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1362
1449
|
type?: "biginteger";
|
|
1363
1450
|
}>, z.ZodObject<{
|
|
1364
1451
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1365
|
-
pluginOptions: z.ZodAny
|
|
1452
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1366
1453
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1367
1454
|
type: z.ZodLiteral<"decimal">;
|
|
1368
1455
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1375,9 +1462,9 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1375
1462
|
pluginOptions?: any;
|
|
1376
1463
|
required?: boolean;
|
|
1377
1464
|
type?: "decimal";
|
|
1378
|
-
}
|
|
1465
|
+
}>, z.ZodObject<{
|
|
1379
1466
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1380
|
-
pluginOptions: z.ZodAny
|
|
1467
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1381
1468
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1382
1469
|
type: z.ZodLiteral<"enumeration">;
|
|
1383
1470
|
enum: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1393,9 +1480,9 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1393
1480
|
required?: boolean;
|
|
1394
1481
|
type?: "enumeration";
|
|
1395
1482
|
enum?: string[];
|
|
1396
|
-
}>, z.
|
|
1483
|
+
}>, z.ZodObject<{
|
|
1397
1484
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1398
|
-
pluginOptions: z.ZodAny
|
|
1485
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1399
1486
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1400
1487
|
type: z.ZodLiteral<"date">;
|
|
1401
1488
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1410,7 +1497,7 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1410
1497
|
type?: "date";
|
|
1411
1498
|
}>, z.ZodObject<{
|
|
1412
1499
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1413
|
-
pluginOptions: z.ZodAny
|
|
1500
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1414
1501
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1415
1502
|
type: z.ZodLiteral<"datetime">;
|
|
1416
1503
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1425,7 +1512,7 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1425
1512
|
type?: "datetime";
|
|
1426
1513
|
}>, z.ZodObject<{
|
|
1427
1514
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1428
|
-
pluginOptions: z.ZodAny
|
|
1515
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1429
1516
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1430
1517
|
type: z.ZodLiteral<"time">;
|
|
1431
1518
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1438,9 +1525,9 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1438
1525
|
pluginOptions?: any;
|
|
1439
1526
|
required?: boolean;
|
|
1440
1527
|
type?: "time";
|
|
1441
|
-
}
|
|
1528
|
+
}>, z.ZodObject<{
|
|
1442
1529
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1443
|
-
pluginOptions: z.ZodAny
|
|
1530
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1444
1531
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1445
1532
|
type: z.ZodLiteral<"media">;
|
|
1446
1533
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1461,7 +1548,7 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1461
1548
|
allowedTypes?: ("images" | "videos" | "audios" | "files")[];
|
|
1462
1549
|
}>, z.ZodObject<{
|
|
1463
1550
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1464
|
-
pluginOptions: z.ZodAny
|
|
1551
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1465
1552
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1466
1553
|
type: z.ZodLiteral<"boolean">;
|
|
1467
1554
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1474,9 +1561,9 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1474
1561
|
pluginOptions?: any;
|
|
1475
1562
|
required?: boolean;
|
|
1476
1563
|
type?: "boolean";
|
|
1477
|
-
}>, z.
|
|
1564
|
+
}>, z.ZodObject<{
|
|
1478
1565
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1479
|
-
pluginOptions: z.ZodAny
|
|
1566
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1480
1567
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1481
1568
|
type: z.ZodLiteral<"relation">;
|
|
1482
1569
|
target: z.ZodString;
|
|
@@ -1497,7 +1584,7 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1497
1584
|
relation?: "oneToOne";
|
|
1498
1585
|
}>, z.ZodObject<{
|
|
1499
1586
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1500
|
-
pluginOptions: z.ZodAny
|
|
1587
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1501
1588
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1502
1589
|
type: z.ZodLiteral<"relation">;
|
|
1503
1590
|
target: z.ZodString;
|
|
@@ -1521,7 +1608,7 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1521
1608
|
inversedBy?: string;
|
|
1522
1609
|
}>, z.ZodObject<{
|
|
1523
1610
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1524
|
-
pluginOptions: z.ZodAny
|
|
1611
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1525
1612
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1526
1613
|
type: z.ZodLiteral<"relation">;
|
|
1527
1614
|
target: z.ZodString;
|
|
@@ -1545,7 +1632,7 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1545
1632
|
relation?: "oneToMany";
|
|
1546
1633
|
}>, z.ZodObject<{
|
|
1547
1634
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1548
|
-
pluginOptions: z.ZodAny
|
|
1635
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1549
1636
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1550
1637
|
type: z.ZodLiteral<"relation">;
|
|
1551
1638
|
target: z.ZodString;
|
|
@@ -1569,7 +1656,7 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1569
1656
|
inversedBy?: string;
|
|
1570
1657
|
}>, z.ZodObject<{
|
|
1571
1658
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1572
|
-
pluginOptions: z.ZodAny
|
|
1659
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1573
1660
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1574
1661
|
type: z.ZodLiteral<"relation">;
|
|
1575
1662
|
target: z.ZodString;
|
|
@@ -1596,7 +1683,7 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1596
1683
|
mappedBy?: string;
|
|
1597
1684
|
}>, z.ZodObject<{
|
|
1598
1685
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1599
|
-
pluginOptions: z.ZodAny
|
|
1686
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1600
1687
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1601
1688
|
type: z.ZodLiteral<"relation">;
|
|
1602
1689
|
target: z.ZodString;
|
|
@@ -1616,26 +1703,44 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1616
1703
|
target?: string;
|
|
1617
1704
|
relation?: "oneToMany";
|
|
1618
1705
|
}>, z.ZodObject<{
|
|
1706
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1707
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1708
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1619
1709
|
type: z.ZodLiteral<"relation">;
|
|
1620
1710
|
relation: z.ZodLiteral<"morphToMany">;
|
|
1621
1711
|
}, "strip", z.ZodTypeAny, {
|
|
1712
|
+
__t4s_required?: boolean;
|
|
1713
|
+
pluginOptions?: any;
|
|
1714
|
+
required?: boolean;
|
|
1622
1715
|
type?: "relation";
|
|
1623
1716
|
relation?: "morphToMany";
|
|
1624
1717
|
}, {
|
|
1718
|
+
__t4s_required?: boolean;
|
|
1719
|
+
pluginOptions?: any;
|
|
1720
|
+
required?: boolean;
|
|
1625
1721
|
type?: "relation";
|
|
1626
1722
|
relation?: "morphToMany";
|
|
1627
1723
|
}>, z.ZodObject<{
|
|
1724
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1725
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1726
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1628
1727
|
type: z.ZodLiteral<"relation">;
|
|
1629
1728
|
relation: z.ZodLiteral<"morphToOne">;
|
|
1630
1729
|
}, "strip", z.ZodTypeAny, {
|
|
1730
|
+
__t4s_required?: boolean;
|
|
1731
|
+
pluginOptions?: any;
|
|
1732
|
+
required?: boolean;
|
|
1631
1733
|
type?: "relation";
|
|
1632
1734
|
relation?: "morphToOne";
|
|
1633
1735
|
}, {
|
|
1736
|
+
__t4s_required?: boolean;
|
|
1737
|
+
pluginOptions?: any;
|
|
1738
|
+
required?: boolean;
|
|
1634
1739
|
type?: "relation";
|
|
1635
1740
|
relation?: "morphToOne";
|
|
1636
|
-
}
|
|
1741
|
+
}>, z.ZodObject<{
|
|
1637
1742
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1638
|
-
pluginOptions: z.ZodAny
|
|
1743
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1639
1744
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1640
1745
|
type: z.ZodLiteral<"component">;
|
|
1641
1746
|
repeatable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1654,9 +1759,797 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1654
1759
|
type?: "component";
|
|
1655
1760
|
repeatable?: boolean;
|
|
1656
1761
|
component?: string;
|
|
1657
|
-
}
|
|
1762
|
+
}>, z.ZodObject<{
|
|
1763
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1764
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1765
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1766
|
+
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
1767
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1768
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1769
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1770
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1771
|
+
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
1772
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1773
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1774
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1775
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1776
|
+
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
1777
|
+
}, z.ZodTypeAny, "passthrough">>]>;
|
|
1778
|
+
export type Attribute = z.infer<typeof attribute>;
|
|
1779
|
+
export declare const isKnownAttribute: <T extends {
|
|
1780
|
+
__t4s_required?: boolean;
|
|
1781
|
+
pluginOptions?: any;
|
|
1782
|
+
required?: boolean;
|
|
1783
|
+
type?: "string" | "text";
|
|
1784
|
+
} | {
|
|
1785
|
+
__t4s_required?: boolean;
|
|
1786
|
+
pluginOptions?: any;
|
|
1787
|
+
required?: boolean;
|
|
1788
|
+
type?: "email";
|
|
1789
|
+
} | {
|
|
1790
|
+
__t4s_required?: boolean;
|
|
1791
|
+
pluginOptions?: any;
|
|
1792
|
+
required?: boolean;
|
|
1793
|
+
type?: "uid";
|
|
1794
|
+
targetField?: string;
|
|
1795
|
+
} | {
|
|
1796
|
+
__t4s_required?: boolean;
|
|
1797
|
+
pluginOptions?: any;
|
|
1798
|
+
required?: boolean;
|
|
1799
|
+
type?: "richtext";
|
|
1800
|
+
} | {
|
|
1801
|
+
__t4s_required?: boolean;
|
|
1802
|
+
pluginOptions?: any;
|
|
1803
|
+
required?: boolean;
|
|
1804
|
+
type?: "json";
|
|
1805
|
+
} | {
|
|
1806
|
+
__t4s_required?: boolean;
|
|
1807
|
+
pluginOptions?: any;
|
|
1808
|
+
required?: boolean;
|
|
1809
|
+
type?: "password";
|
|
1810
|
+
} | {
|
|
1811
|
+
__t4s_required?: boolean;
|
|
1812
|
+
pluginOptions?: any;
|
|
1813
|
+
required?: boolean;
|
|
1814
|
+
type?: "integer";
|
|
1815
|
+
} | {
|
|
1816
|
+
__t4s_required?: boolean;
|
|
1817
|
+
pluginOptions?: any;
|
|
1818
|
+
required?: boolean;
|
|
1819
|
+
type?: "float";
|
|
1820
|
+
} | {
|
|
1821
|
+
__t4s_required?: boolean;
|
|
1822
|
+
pluginOptions?: any;
|
|
1823
|
+
required?: boolean;
|
|
1824
|
+
type?: "biginteger";
|
|
1825
|
+
} | {
|
|
1826
|
+
__t4s_required?: boolean;
|
|
1827
|
+
pluginOptions?: any;
|
|
1828
|
+
required?: boolean;
|
|
1829
|
+
type?: "decimal";
|
|
1830
|
+
} | {
|
|
1831
|
+
__t4s_required?: boolean;
|
|
1832
|
+
pluginOptions?: any;
|
|
1833
|
+
required?: boolean;
|
|
1834
|
+
type?: "enumeration";
|
|
1835
|
+
enum?: string[];
|
|
1836
|
+
} | {
|
|
1837
|
+
__t4s_required?: boolean;
|
|
1838
|
+
pluginOptions?: any;
|
|
1839
|
+
required?: boolean;
|
|
1840
|
+
type?: "date";
|
|
1841
|
+
} | {
|
|
1842
|
+
__t4s_required?: boolean;
|
|
1843
|
+
pluginOptions?: any;
|
|
1844
|
+
required?: boolean;
|
|
1845
|
+
type?: "datetime";
|
|
1846
|
+
} | {
|
|
1847
|
+
__t4s_required?: boolean;
|
|
1848
|
+
pluginOptions?: any;
|
|
1849
|
+
required?: boolean;
|
|
1850
|
+
type?: "time";
|
|
1851
|
+
} | {
|
|
1852
|
+
__t4s_required?: boolean;
|
|
1853
|
+
pluginOptions?: any;
|
|
1854
|
+
required?: boolean;
|
|
1855
|
+
type?: "media";
|
|
1856
|
+
multiple?: boolean;
|
|
1857
|
+
allowedTypes?: ("images" | "videos" | "audios" | "files")[];
|
|
1858
|
+
} | {
|
|
1859
|
+
__t4s_required?: boolean;
|
|
1860
|
+
pluginOptions?: any;
|
|
1861
|
+
required?: boolean;
|
|
1862
|
+
type?: "boolean";
|
|
1863
|
+
} | {
|
|
1864
|
+
__t4s_required?: boolean;
|
|
1865
|
+
pluginOptions?: any;
|
|
1866
|
+
required?: boolean;
|
|
1867
|
+
type?: "relation";
|
|
1868
|
+
target?: string;
|
|
1869
|
+
relation?: "oneToOne";
|
|
1870
|
+
} | {
|
|
1871
|
+
__t4s_required?: boolean;
|
|
1872
|
+
pluginOptions?: any;
|
|
1873
|
+
required?: boolean;
|
|
1874
|
+
type?: "relation";
|
|
1875
|
+
target?: string;
|
|
1876
|
+
relation?: "oneToOne";
|
|
1877
|
+
inversedBy?: string;
|
|
1878
|
+
} | {
|
|
1879
|
+
__t4s_required?: boolean;
|
|
1880
|
+
pluginOptions?: any;
|
|
1881
|
+
required?: boolean;
|
|
1882
|
+
type?: "relation";
|
|
1883
|
+
target?: string;
|
|
1884
|
+
mappedBy?: string;
|
|
1885
|
+
relation?: "oneToMany";
|
|
1886
|
+
} | {
|
|
1887
|
+
__t4s_required?: boolean;
|
|
1888
|
+
pluginOptions?: any;
|
|
1889
|
+
required?: boolean;
|
|
1890
|
+
type?: "relation";
|
|
1891
|
+
target?: string;
|
|
1892
|
+
relation?: "manyToOne";
|
|
1893
|
+
inversedBy?: string;
|
|
1894
|
+
} | {
|
|
1895
|
+
__t4s_required?: boolean;
|
|
1896
|
+
pluginOptions?: any;
|
|
1897
|
+
required?: boolean;
|
|
1898
|
+
type?: "relation";
|
|
1899
|
+
target?: string;
|
|
1900
|
+
relation?: "manyToMany";
|
|
1901
|
+
inversedBy?: string;
|
|
1902
|
+
mappedBy?: string;
|
|
1903
|
+
} | {
|
|
1904
|
+
__t4s_required?: boolean;
|
|
1905
|
+
pluginOptions?: any;
|
|
1906
|
+
required?: boolean;
|
|
1907
|
+
type?: "relation";
|
|
1908
|
+
target?: string;
|
|
1909
|
+
relation?: "oneToMany";
|
|
1910
|
+
} | {
|
|
1911
|
+
__t4s_required?: boolean;
|
|
1912
|
+
pluginOptions?: any;
|
|
1913
|
+
required?: boolean;
|
|
1914
|
+
type?: "relation";
|
|
1915
|
+
relation?: "morphToMany";
|
|
1916
|
+
} | {
|
|
1917
|
+
__t4s_required?: boolean;
|
|
1918
|
+
pluginOptions?: any;
|
|
1919
|
+
required?: boolean;
|
|
1920
|
+
type?: "relation";
|
|
1921
|
+
relation?: "morphToOne";
|
|
1922
|
+
} | {
|
|
1923
|
+
__t4s_required?: boolean;
|
|
1924
|
+
pluginOptions?: any;
|
|
1925
|
+
required?: boolean;
|
|
1926
|
+
type?: "component";
|
|
1927
|
+
repeatable?: boolean;
|
|
1928
|
+
component?: string;
|
|
1929
|
+
} | z.objectOutputType<{
|
|
1930
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1931
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1932
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1933
|
+
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
1934
|
+
}, z.ZodTypeAny, "passthrough">>(attributeObject: T) => attributeObject is T & ({
|
|
1935
|
+
__t4s_required?: boolean;
|
|
1936
|
+
pluginOptions?: any;
|
|
1937
|
+
required?: boolean;
|
|
1938
|
+
type?: "string" | "text";
|
|
1939
|
+
} | {
|
|
1940
|
+
__t4s_required?: boolean;
|
|
1941
|
+
pluginOptions?: any;
|
|
1942
|
+
required?: boolean;
|
|
1943
|
+
type?: "email";
|
|
1944
|
+
} | {
|
|
1945
|
+
__t4s_required?: boolean;
|
|
1946
|
+
pluginOptions?: any;
|
|
1947
|
+
required?: boolean;
|
|
1948
|
+
type?: "uid";
|
|
1949
|
+
targetField?: string;
|
|
1950
|
+
} | {
|
|
1951
|
+
__t4s_required?: boolean;
|
|
1952
|
+
pluginOptions?: any;
|
|
1953
|
+
required?: boolean;
|
|
1954
|
+
type?: "richtext";
|
|
1955
|
+
} | {
|
|
1956
|
+
__t4s_required?: boolean;
|
|
1957
|
+
pluginOptions?: any;
|
|
1958
|
+
required?: boolean;
|
|
1959
|
+
type?: "json";
|
|
1960
|
+
} | {
|
|
1961
|
+
__t4s_required?: boolean;
|
|
1962
|
+
pluginOptions?: any;
|
|
1963
|
+
required?: boolean;
|
|
1964
|
+
type?: "password";
|
|
1965
|
+
} | {
|
|
1966
|
+
__t4s_required?: boolean;
|
|
1967
|
+
pluginOptions?: any;
|
|
1968
|
+
required?: boolean;
|
|
1969
|
+
type?: "integer";
|
|
1970
|
+
} | {
|
|
1971
|
+
__t4s_required?: boolean;
|
|
1972
|
+
pluginOptions?: any;
|
|
1973
|
+
required?: boolean;
|
|
1974
|
+
type?: "float";
|
|
1975
|
+
} | {
|
|
1976
|
+
__t4s_required?: boolean;
|
|
1977
|
+
pluginOptions?: any;
|
|
1978
|
+
required?: boolean;
|
|
1979
|
+
type?: "biginteger";
|
|
1980
|
+
} | {
|
|
1981
|
+
__t4s_required?: boolean;
|
|
1982
|
+
pluginOptions?: any;
|
|
1983
|
+
required?: boolean;
|
|
1984
|
+
type?: "decimal";
|
|
1985
|
+
} | {
|
|
1986
|
+
__t4s_required?: boolean;
|
|
1987
|
+
pluginOptions?: any;
|
|
1988
|
+
required?: boolean;
|
|
1989
|
+
type?: "enumeration";
|
|
1990
|
+
enum?: string[];
|
|
1991
|
+
} | {
|
|
1992
|
+
__t4s_required?: boolean;
|
|
1993
|
+
pluginOptions?: any;
|
|
1994
|
+
required?: boolean;
|
|
1995
|
+
type?: "date";
|
|
1996
|
+
} | {
|
|
1997
|
+
__t4s_required?: boolean;
|
|
1998
|
+
pluginOptions?: any;
|
|
1999
|
+
required?: boolean;
|
|
2000
|
+
type?: "datetime";
|
|
2001
|
+
} | {
|
|
2002
|
+
__t4s_required?: boolean;
|
|
2003
|
+
pluginOptions?: any;
|
|
2004
|
+
required?: boolean;
|
|
2005
|
+
type?: "time";
|
|
2006
|
+
} | {
|
|
2007
|
+
__t4s_required?: boolean;
|
|
2008
|
+
pluginOptions?: any;
|
|
2009
|
+
required?: boolean;
|
|
2010
|
+
type?: "media";
|
|
2011
|
+
multiple?: boolean;
|
|
2012
|
+
allowedTypes?: ("images" | "videos" | "audios" | "files")[];
|
|
2013
|
+
} | {
|
|
2014
|
+
__t4s_required?: boolean;
|
|
2015
|
+
pluginOptions?: any;
|
|
2016
|
+
required?: boolean;
|
|
2017
|
+
type?: "boolean";
|
|
2018
|
+
} | {
|
|
2019
|
+
__t4s_required?: boolean;
|
|
2020
|
+
pluginOptions?: any;
|
|
2021
|
+
required?: boolean;
|
|
2022
|
+
type?: "relation";
|
|
2023
|
+
target?: string;
|
|
2024
|
+
relation?: "oneToOne";
|
|
2025
|
+
} | {
|
|
2026
|
+
__t4s_required?: boolean;
|
|
2027
|
+
pluginOptions?: any;
|
|
2028
|
+
required?: boolean;
|
|
2029
|
+
type?: "relation";
|
|
2030
|
+
target?: string;
|
|
2031
|
+
relation?: "oneToOne";
|
|
2032
|
+
inversedBy?: string;
|
|
2033
|
+
} | {
|
|
2034
|
+
__t4s_required?: boolean;
|
|
2035
|
+
pluginOptions?: any;
|
|
2036
|
+
required?: boolean;
|
|
2037
|
+
type?: "relation";
|
|
2038
|
+
target?: string;
|
|
2039
|
+
mappedBy?: string;
|
|
2040
|
+
relation?: "oneToMany";
|
|
2041
|
+
} | {
|
|
2042
|
+
__t4s_required?: boolean;
|
|
2043
|
+
pluginOptions?: any;
|
|
2044
|
+
required?: boolean;
|
|
2045
|
+
type?: "relation";
|
|
2046
|
+
target?: string;
|
|
2047
|
+
relation?: "manyToOne";
|
|
2048
|
+
inversedBy?: string;
|
|
2049
|
+
} | {
|
|
2050
|
+
__t4s_required?: boolean;
|
|
2051
|
+
pluginOptions?: any;
|
|
2052
|
+
required?: boolean;
|
|
2053
|
+
type?: "relation";
|
|
2054
|
+
target?: string;
|
|
2055
|
+
relation?: "manyToMany";
|
|
2056
|
+
inversedBy?: string;
|
|
2057
|
+
mappedBy?: string;
|
|
2058
|
+
} | {
|
|
2059
|
+
__t4s_required?: boolean;
|
|
2060
|
+
pluginOptions?: any;
|
|
2061
|
+
required?: boolean;
|
|
2062
|
+
type?: "relation";
|
|
2063
|
+
target?: string;
|
|
2064
|
+
relation?: "oneToMany";
|
|
2065
|
+
} | {
|
|
2066
|
+
__t4s_required?: boolean;
|
|
2067
|
+
pluginOptions?: any;
|
|
2068
|
+
required?: boolean;
|
|
2069
|
+
type?: "relation";
|
|
2070
|
+
relation?: "morphToMany";
|
|
2071
|
+
} | {
|
|
2072
|
+
__t4s_required?: boolean;
|
|
2073
|
+
pluginOptions?: any;
|
|
2074
|
+
required?: boolean;
|
|
2075
|
+
type?: "relation";
|
|
2076
|
+
relation?: "morphToOne";
|
|
2077
|
+
} | {
|
|
2078
|
+
__t4s_required?: boolean;
|
|
2079
|
+
pluginOptions?: any;
|
|
2080
|
+
required?: boolean;
|
|
2081
|
+
type?: "component";
|
|
2082
|
+
repeatable?: boolean;
|
|
2083
|
+
component?: string;
|
|
2084
|
+
});
|
|
2085
|
+
export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
2086
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2087
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2088
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2089
|
+
type: z.ZodEnum<["text", "string"]>;
|
|
2090
|
+
}, "strip", z.ZodTypeAny, {
|
|
2091
|
+
__t4s_required?: boolean;
|
|
2092
|
+
pluginOptions?: any;
|
|
2093
|
+
required?: boolean;
|
|
2094
|
+
type?: "string" | "text";
|
|
2095
|
+
}, {
|
|
2096
|
+
__t4s_required?: boolean;
|
|
2097
|
+
pluginOptions?: any;
|
|
2098
|
+
required?: boolean;
|
|
2099
|
+
type?: "string" | "text";
|
|
2100
|
+
}>, z.ZodObject<{
|
|
2101
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2102
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2103
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2104
|
+
type: z.ZodLiteral<"email">;
|
|
2105
|
+
}, "strip", z.ZodTypeAny, {
|
|
2106
|
+
__t4s_required?: boolean;
|
|
2107
|
+
pluginOptions?: any;
|
|
2108
|
+
required?: boolean;
|
|
2109
|
+
type?: "email";
|
|
2110
|
+
}, {
|
|
2111
|
+
__t4s_required?: boolean;
|
|
2112
|
+
pluginOptions?: any;
|
|
2113
|
+
required?: boolean;
|
|
2114
|
+
type?: "email";
|
|
2115
|
+
}>, z.ZodObject<{
|
|
2116
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2117
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2118
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2119
|
+
type: z.ZodLiteral<"uid">;
|
|
2120
|
+
targetField: z.ZodOptional<z.ZodString>;
|
|
2121
|
+
}, "strip", z.ZodTypeAny, {
|
|
2122
|
+
__t4s_required?: boolean;
|
|
2123
|
+
pluginOptions?: any;
|
|
2124
|
+
required?: boolean;
|
|
2125
|
+
type?: "uid";
|
|
2126
|
+
targetField?: string;
|
|
2127
|
+
}, {
|
|
2128
|
+
__t4s_required?: boolean;
|
|
2129
|
+
pluginOptions?: any;
|
|
2130
|
+
required?: boolean;
|
|
2131
|
+
type?: "uid";
|
|
2132
|
+
targetField?: string;
|
|
2133
|
+
}>, z.ZodObject<{
|
|
2134
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2135
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2136
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2137
|
+
type: z.ZodLiteral<"richtext">;
|
|
2138
|
+
}, "strip", z.ZodTypeAny, {
|
|
2139
|
+
__t4s_required?: boolean;
|
|
2140
|
+
pluginOptions?: any;
|
|
2141
|
+
required?: boolean;
|
|
2142
|
+
type?: "richtext";
|
|
2143
|
+
}, {
|
|
2144
|
+
__t4s_required?: boolean;
|
|
2145
|
+
pluginOptions?: any;
|
|
2146
|
+
required?: boolean;
|
|
2147
|
+
type?: "richtext";
|
|
2148
|
+
}>, z.ZodObject<{
|
|
2149
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2150
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2151
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2152
|
+
type: z.ZodLiteral<"json">;
|
|
2153
|
+
}, "strip", z.ZodTypeAny, {
|
|
2154
|
+
__t4s_required?: boolean;
|
|
2155
|
+
pluginOptions?: any;
|
|
2156
|
+
required?: boolean;
|
|
2157
|
+
type?: "json";
|
|
2158
|
+
}, {
|
|
2159
|
+
__t4s_required?: boolean;
|
|
2160
|
+
pluginOptions?: any;
|
|
2161
|
+
required?: boolean;
|
|
2162
|
+
type?: "json";
|
|
2163
|
+
}>, z.ZodObject<{
|
|
2164
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2165
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2166
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2167
|
+
type: z.ZodLiteral<"password">;
|
|
2168
|
+
}, "strip", z.ZodTypeAny, {
|
|
2169
|
+
__t4s_required?: boolean;
|
|
2170
|
+
pluginOptions?: any;
|
|
2171
|
+
required?: boolean;
|
|
2172
|
+
type?: "password";
|
|
2173
|
+
}, {
|
|
2174
|
+
__t4s_required?: boolean;
|
|
2175
|
+
pluginOptions?: any;
|
|
2176
|
+
required?: boolean;
|
|
2177
|
+
type?: "password";
|
|
2178
|
+
}>, z.ZodObject<{
|
|
2179
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2180
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2181
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2182
|
+
type: z.ZodLiteral<"integer">;
|
|
2183
|
+
}, "strip", z.ZodTypeAny, {
|
|
2184
|
+
__t4s_required?: boolean;
|
|
2185
|
+
pluginOptions?: any;
|
|
2186
|
+
required?: boolean;
|
|
2187
|
+
type?: "integer";
|
|
2188
|
+
}, {
|
|
2189
|
+
__t4s_required?: boolean;
|
|
2190
|
+
pluginOptions?: any;
|
|
2191
|
+
required?: boolean;
|
|
2192
|
+
type?: "integer";
|
|
2193
|
+
}>, z.ZodObject<{
|
|
2194
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2195
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2196
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2197
|
+
type: z.ZodLiteral<"float">;
|
|
2198
|
+
}, "strip", z.ZodTypeAny, {
|
|
2199
|
+
__t4s_required?: boolean;
|
|
2200
|
+
pluginOptions?: any;
|
|
2201
|
+
required?: boolean;
|
|
2202
|
+
type?: "float";
|
|
2203
|
+
}, {
|
|
2204
|
+
__t4s_required?: boolean;
|
|
2205
|
+
pluginOptions?: any;
|
|
2206
|
+
required?: boolean;
|
|
2207
|
+
type?: "float";
|
|
2208
|
+
}>, z.ZodObject<{
|
|
2209
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2210
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2211
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2212
|
+
type: z.ZodLiteral<"biginteger">;
|
|
2213
|
+
}, "strip", z.ZodTypeAny, {
|
|
2214
|
+
__t4s_required?: boolean;
|
|
2215
|
+
pluginOptions?: any;
|
|
2216
|
+
required?: boolean;
|
|
2217
|
+
type?: "biginteger";
|
|
2218
|
+
}, {
|
|
2219
|
+
__t4s_required?: boolean;
|
|
2220
|
+
pluginOptions?: any;
|
|
2221
|
+
required?: boolean;
|
|
2222
|
+
type?: "biginteger";
|
|
2223
|
+
}>, z.ZodObject<{
|
|
2224
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2225
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2226
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2227
|
+
type: z.ZodLiteral<"decimal">;
|
|
2228
|
+
}, "strip", z.ZodTypeAny, {
|
|
2229
|
+
__t4s_required?: boolean;
|
|
2230
|
+
pluginOptions?: any;
|
|
2231
|
+
required?: boolean;
|
|
2232
|
+
type?: "decimal";
|
|
2233
|
+
}, {
|
|
2234
|
+
__t4s_required?: boolean;
|
|
2235
|
+
pluginOptions?: any;
|
|
2236
|
+
required?: boolean;
|
|
2237
|
+
type?: "decimal";
|
|
2238
|
+
}>, z.ZodObject<{
|
|
2239
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2240
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2241
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2242
|
+
type: z.ZodLiteral<"enumeration">;
|
|
2243
|
+
enum: z.ZodArray<z.ZodString, "many">;
|
|
2244
|
+
}, "strip", z.ZodTypeAny, {
|
|
2245
|
+
__t4s_required?: boolean;
|
|
2246
|
+
pluginOptions?: any;
|
|
2247
|
+
required?: boolean;
|
|
2248
|
+
type?: "enumeration";
|
|
2249
|
+
enum?: string[];
|
|
2250
|
+
}, {
|
|
2251
|
+
__t4s_required?: boolean;
|
|
2252
|
+
pluginOptions?: any;
|
|
2253
|
+
required?: boolean;
|
|
2254
|
+
type?: "enumeration";
|
|
2255
|
+
enum?: string[];
|
|
2256
|
+
}>, z.ZodObject<{
|
|
2257
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2258
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2259
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2260
|
+
type: z.ZodLiteral<"date">;
|
|
2261
|
+
}, "strip", z.ZodTypeAny, {
|
|
2262
|
+
__t4s_required?: boolean;
|
|
2263
|
+
pluginOptions?: any;
|
|
2264
|
+
required?: boolean;
|
|
2265
|
+
type?: "date";
|
|
2266
|
+
}, {
|
|
2267
|
+
__t4s_required?: boolean;
|
|
2268
|
+
pluginOptions?: any;
|
|
2269
|
+
required?: boolean;
|
|
2270
|
+
type?: "date";
|
|
2271
|
+
}>, z.ZodObject<{
|
|
2272
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2273
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2274
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2275
|
+
type: z.ZodLiteral<"datetime">;
|
|
2276
|
+
}, "strip", z.ZodTypeAny, {
|
|
2277
|
+
__t4s_required?: boolean;
|
|
2278
|
+
pluginOptions?: any;
|
|
2279
|
+
required?: boolean;
|
|
2280
|
+
type?: "datetime";
|
|
2281
|
+
}, {
|
|
2282
|
+
__t4s_required?: boolean;
|
|
2283
|
+
pluginOptions?: any;
|
|
2284
|
+
required?: boolean;
|
|
2285
|
+
type?: "datetime";
|
|
2286
|
+
}>, z.ZodObject<{
|
|
2287
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2288
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2289
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2290
|
+
type: z.ZodLiteral<"time">;
|
|
2291
|
+
}, "strip", z.ZodTypeAny, {
|
|
2292
|
+
__t4s_required?: boolean;
|
|
2293
|
+
pluginOptions?: any;
|
|
2294
|
+
required?: boolean;
|
|
2295
|
+
type?: "time";
|
|
2296
|
+
}, {
|
|
2297
|
+
__t4s_required?: boolean;
|
|
2298
|
+
pluginOptions?: any;
|
|
2299
|
+
required?: boolean;
|
|
2300
|
+
type?: "time";
|
|
2301
|
+
}>, z.ZodObject<{
|
|
2302
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2303
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2304
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2305
|
+
type: z.ZodLiteral<"media">;
|
|
2306
|
+
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
2307
|
+
allowedTypes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["images", "videos", "audios", "files"]>, "many">>>;
|
|
2308
|
+
}, "strip", z.ZodTypeAny, {
|
|
2309
|
+
__t4s_required?: boolean;
|
|
2310
|
+
pluginOptions?: any;
|
|
2311
|
+
required?: boolean;
|
|
2312
|
+
type?: "media";
|
|
2313
|
+
multiple?: boolean;
|
|
2314
|
+
allowedTypes?: ("images" | "videos" | "audios" | "files")[];
|
|
2315
|
+
}, {
|
|
2316
|
+
__t4s_required?: boolean;
|
|
2317
|
+
pluginOptions?: any;
|
|
2318
|
+
required?: boolean;
|
|
2319
|
+
type?: "media";
|
|
2320
|
+
multiple?: boolean;
|
|
2321
|
+
allowedTypes?: ("images" | "videos" | "audios" | "files")[];
|
|
2322
|
+
}>, z.ZodObject<{
|
|
2323
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2324
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2325
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2326
|
+
type: z.ZodLiteral<"boolean">;
|
|
2327
|
+
}, "strip", z.ZodTypeAny, {
|
|
2328
|
+
__t4s_required?: boolean;
|
|
2329
|
+
pluginOptions?: any;
|
|
2330
|
+
required?: boolean;
|
|
2331
|
+
type?: "boolean";
|
|
2332
|
+
}, {
|
|
2333
|
+
__t4s_required?: boolean;
|
|
2334
|
+
pluginOptions?: any;
|
|
2335
|
+
required?: boolean;
|
|
2336
|
+
type?: "boolean";
|
|
2337
|
+
}>, z.ZodObject<{
|
|
2338
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2339
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2340
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2341
|
+
type: z.ZodLiteral<"relation">;
|
|
2342
|
+
target: z.ZodString;
|
|
2343
|
+
relation: z.ZodLiteral<"oneToOne">;
|
|
2344
|
+
}, "strip", z.ZodTypeAny, {
|
|
2345
|
+
__t4s_required?: boolean;
|
|
2346
|
+
pluginOptions?: any;
|
|
2347
|
+
required?: boolean;
|
|
2348
|
+
type?: "relation";
|
|
2349
|
+
target?: string;
|
|
2350
|
+
relation?: "oneToOne";
|
|
2351
|
+
}, {
|
|
2352
|
+
__t4s_required?: boolean;
|
|
2353
|
+
pluginOptions?: any;
|
|
2354
|
+
required?: boolean;
|
|
2355
|
+
type?: "relation";
|
|
2356
|
+
target?: string;
|
|
2357
|
+
relation?: "oneToOne";
|
|
2358
|
+
}>, z.ZodObject<{
|
|
2359
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2360
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2361
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2362
|
+
type: z.ZodLiteral<"relation">;
|
|
2363
|
+
target: z.ZodString;
|
|
2364
|
+
relation: z.ZodLiteral<"oneToOne">;
|
|
2365
|
+
inversedBy: z.ZodString;
|
|
2366
|
+
}, "strip", z.ZodTypeAny, {
|
|
2367
|
+
__t4s_required?: boolean;
|
|
2368
|
+
pluginOptions?: any;
|
|
2369
|
+
required?: boolean;
|
|
2370
|
+
type?: "relation";
|
|
2371
|
+
target?: string;
|
|
2372
|
+
relation?: "oneToOne";
|
|
2373
|
+
inversedBy?: string;
|
|
2374
|
+
}, {
|
|
2375
|
+
__t4s_required?: boolean;
|
|
2376
|
+
pluginOptions?: any;
|
|
2377
|
+
required?: boolean;
|
|
2378
|
+
type?: "relation";
|
|
2379
|
+
target?: string;
|
|
2380
|
+
relation?: "oneToOne";
|
|
2381
|
+
inversedBy?: string;
|
|
2382
|
+
}>, z.ZodObject<{
|
|
2383
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2384
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2385
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2386
|
+
type: z.ZodLiteral<"relation">;
|
|
2387
|
+
target: z.ZodString;
|
|
2388
|
+
mappedBy: z.ZodString;
|
|
2389
|
+
relation: z.ZodLiteral<"oneToMany">;
|
|
2390
|
+
}, "strip", z.ZodTypeAny, {
|
|
2391
|
+
__t4s_required?: boolean;
|
|
2392
|
+
pluginOptions?: any;
|
|
2393
|
+
required?: boolean;
|
|
2394
|
+
type?: "relation";
|
|
2395
|
+
target?: string;
|
|
2396
|
+
mappedBy?: string;
|
|
2397
|
+
relation?: "oneToMany";
|
|
2398
|
+
}, {
|
|
2399
|
+
__t4s_required?: boolean;
|
|
2400
|
+
pluginOptions?: any;
|
|
2401
|
+
required?: boolean;
|
|
2402
|
+
type?: "relation";
|
|
2403
|
+
target?: string;
|
|
2404
|
+
mappedBy?: string;
|
|
2405
|
+
relation?: "oneToMany";
|
|
2406
|
+
}>, z.ZodObject<{
|
|
2407
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2408
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2409
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2410
|
+
type: z.ZodLiteral<"relation">;
|
|
2411
|
+
target: z.ZodString;
|
|
2412
|
+
relation: z.ZodLiteral<"manyToOne">;
|
|
2413
|
+
inversedBy: z.ZodString;
|
|
2414
|
+
}, "strip", z.ZodTypeAny, {
|
|
2415
|
+
__t4s_required?: boolean;
|
|
2416
|
+
pluginOptions?: any;
|
|
2417
|
+
required?: boolean;
|
|
2418
|
+
type?: "relation";
|
|
2419
|
+
target?: string;
|
|
2420
|
+
relation?: "manyToOne";
|
|
2421
|
+
inversedBy?: string;
|
|
2422
|
+
}, {
|
|
2423
|
+
__t4s_required?: boolean;
|
|
2424
|
+
pluginOptions?: any;
|
|
2425
|
+
required?: boolean;
|
|
2426
|
+
type?: "relation";
|
|
2427
|
+
target?: string;
|
|
2428
|
+
relation?: "manyToOne";
|
|
2429
|
+
inversedBy?: string;
|
|
2430
|
+
}>, z.ZodObject<{
|
|
2431
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2432
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2433
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2434
|
+
type: z.ZodLiteral<"relation">;
|
|
2435
|
+
target: z.ZodString;
|
|
2436
|
+
relation: z.ZodLiteral<"manyToMany">;
|
|
2437
|
+
inversedBy: z.ZodOptional<z.ZodString>;
|
|
2438
|
+
mappedBy: z.ZodOptional<z.ZodString>;
|
|
2439
|
+
}, "strip", z.ZodTypeAny, {
|
|
2440
|
+
__t4s_required?: boolean;
|
|
2441
|
+
pluginOptions?: any;
|
|
2442
|
+
required?: boolean;
|
|
2443
|
+
type?: "relation";
|
|
2444
|
+
target?: string;
|
|
2445
|
+
relation?: "manyToMany";
|
|
2446
|
+
inversedBy?: string;
|
|
2447
|
+
mappedBy?: string;
|
|
2448
|
+
}, {
|
|
2449
|
+
__t4s_required?: boolean;
|
|
2450
|
+
pluginOptions?: any;
|
|
2451
|
+
required?: boolean;
|
|
2452
|
+
type?: "relation";
|
|
2453
|
+
target?: string;
|
|
2454
|
+
relation?: "manyToMany";
|
|
2455
|
+
inversedBy?: string;
|
|
2456
|
+
mappedBy?: string;
|
|
2457
|
+
}>, z.ZodObject<{
|
|
2458
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2459
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2460
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2461
|
+
type: z.ZodLiteral<"relation">;
|
|
2462
|
+
target: z.ZodString;
|
|
2463
|
+
relation: z.ZodLiteral<"oneToMany">;
|
|
2464
|
+
}, "strip", z.ZodTypeAny, {
|
|
2465
|
+
__t4s_required?: boolean;
|
|
2466
|
+
pluginOptions?: any;
|
|
2467
|
+
required?: boolean;
|
|
2468
|
+
type?: "relation";
|
|
2469
|
+
target?: string;
|
|
2470
|
+
relation?: "oneToMany";
|
|
2471
|
+
}, {
|
|
2472
|
+
__t4s_required?: boolean;
|
|
2473
|
+
pluginOptions?: any;
|
|
2474
|
+
required?: boolean;
|
|
2475
|
+
type?: "relation";
|
|
2476
|
+
target?: string;
|
|
2477
|
+
relation?: "oneToMany";
|
|
2478
|
+
}>, z.ZodObject<{
|
|
2479
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2480
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2481
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2482
|
+
type: z.ZodLiteral<"relation">;
|
|
2483
|
+
relation: z.ZodLiteral<"morphToMany">;
|
|
2484
|
+
}, "strip", z.ZodTypeAny, {
|
|
2485
|
+
__t4s_required?: boolean;
|
|
2486
|
+
pluginOptions?: any;
|
|
2487
|
+
required?: boolean;
|
|
2488
|
+
type?: "relation";
|
|
2489
|
+
relation?: "morphToMany";
|
|
2490
|
+
}, {
|
|
2491
|
+
__t4s_required?: boolean;
|
|
2492
|
+
pluginOptions?: any;
|
|
2493
|
+
required?: boolean;
|
|
2494
|
+
type?: "relation";
|
|
2495
|
+
relation?: "morphToMany";
|
|
2496
|
+
}>, z.ZodObject<{
|
|
2497
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2498
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2499
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2500
|
+
type: z.ZodLiteral<"relation">;
|
|
2501
|
+
relation: z.ZodLiteral<"morphToOne">;
|
|
2502
|
+
}, "strip", z.ZodTypeAny, {
|
|
2503
|
+
__t4s_required?: boolean;
|
|
2504
|
+
pluginOptions?: any;
|
|
2505
|
+
required?: boolean;
|
|
2506
|
+
type?: "relation";
|
|
2507
|
+
relation?: "morphToOne";
|
|
2508
|
+
}, {
|
|
2509
|
+
__t4s_required?: boolean;
|
|
2510
|
+
pluginOptions?: any;
|
|
2511
|
+
required?: boolean;
|
|
2512
|
+
type?: "relation";
|
|
2513
|
+
relation?: "morphToOne";
|
|
2514
|
+
}>, z.ZodObject<{
|
|
2515
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2516
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2517
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2518
|
+
type: z.ZodLiteral<"component">;
|
|
2519
|
+
repeatable: z.ZodOptional<z.ZodBoolean>;
|
|
2520
|
+
component: z.ZodString;
|
|
2521
|
+
}, "strip", z.ZodTypeAny, {
|
|
2522
|
+
__t4s_required?: boolean;
|
|
2523
|
+
pluginOptions?: any;
|
|
2524
|
+
required?: boolean;
|
|
2525
|
+
type?: "component";
|
|
2526
|
+
repeatable?: boolean;
|
|
2527
|
+
component?: string;
|
|
2528
|
+
}, {
|
|
2529
|
+
__t4s_required?: boolean;
|
|
2530
|
+
pluginOptions?: any;
|
|
2531
|
+
required?: boolean;
|
|
2532
|
+
type?: "component";
|
|
2533
|
+
repeatable?: boolean;
|
|
2534
|
+
component?: string;
|
|
2535
|
+
}>, z.ZodObject<{
|
|
2536
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2537
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2538
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2539
|
+
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
2540
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2541
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2542
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2543
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2544
|
+
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
2545
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2546
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2547
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2548
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
2549
|
+
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
2550
|
+
}, z.ZodTypeAny, "passthrough">>]>, z.ZodObject<{
|
|
1658
2551
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1659
|
-
pluginOptions: z.ZodAny
|
|
2552
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1660
2553
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1661
2554
|
type: z.ZodLiteral<"dynamiczone">;
|
|
1662
2555
|
components: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1673,4 +2566,4 @@ export declare const contentTypeAttribute: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
1673
2566
|
type?: "dynamiczone";
|
|
1674
2567
|
components?: string[];
|
|
1675
2568
|
}>]>;
|
|
1676
|
-
export
|
|
2569
|
+
export type ContentTypeAttribute = z.infer<typeof contentTypeAttribute>;
|