@oak-digital/types-4-strapi-2 1.0.5 → 1.0.7
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/attributes/Attributes.js +3 -0
- package/lib/content-types/reader.js +5 -6
- package/lib/interface/builtinInterfaces.d.ts +389 -212
- package/lib/interface/builtinInterfaces.js +3 -3
- package/lib/program/InterfaceManager.d.ts +18 -181
- package/lib/readers/by-file.d.ts +18 -181
- package/lib/readers/load-strapi/index.d.ts +19 -181
- package/lib/utils/casing/index.js +3 -3
- package/lib/utils/index.js +2 -3
- package/package.json +50 -49
- package/lib/readers/types/attributes.d.ts +0 -2569
- package/lib/readers/types/attributes.js +0 -158
- package/lib/readers/types/component.d.ts +0 -793
- package/lib/readers/types/component.js +0 -11
- package/lib/readers/types/content-type-reader.d.ts +0 -16
- package/lib/readers/types/content-type-reader.js +0 -2
- package/lib/readers/types/content-type.d.ts +0 -836
- package/lib/readers/types/content-type.js +0 -16
- package/lib/writers/types/writer.d.ts +0 -4
- package/lib/writers/types/writer.js +0 -2
|
@@ -5,10 +5,30 @@ import BuiltinInterface from './BuiltinInterface';
|
|
|
5
5
|
export declare const nestedAttribute: z.ZodObject<{
|
|
6
6
|
type: z.ZodLiteral<"nested">;
|
|
7
7
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
-
fields: z.ZodRecord<z.ZodString, z.ZodUnion<[z.
|
|
8
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
9
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
10
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
9
11
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
12
|
+
} & {
|
|
13
|
+
type: z.ZodLiteral<"dynamiczone">;
|
|
14
|
+
components: z.ZodArray<z.ZodString, "many">;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
__t4s_required?: boolean;
|
|
17
|
+
pluginOptions?: any;
|
|
18
|
+
required?: boolean;
|
|
19
|
+
type?: "dynamiczone";
|
|
20
|
+
components?: string[];
|
|
21
|
+
}, {
|
|
22
|
+
__t4s_required?: boolean;
|
|
23
|
+
pluginOptions?: any;
|
|
24
|
+
required?: boolean;
|
|
25
|
+
type?: "dynamiczone";
|
|
26
|
+
components?: string[];
|
|
27
|
+
}>, z.ZodUnion<[z.ZodObject<{
|
|
10
28
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
11
29
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
+
} & {
|
|
12
32
|
type: z.ZodEnum<["text", "string"]>;
|
|
13
33
|
}, "strip", z.ZodTypeAny, {
|
|
14
34
|
__t4s_required?: boolean;
|
|
@@ -21,9 +41,10 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
21
41
|
required?: boolean;
|
|
22
42
|
type?: "string" | "text";
|
|
23
43
|
}>, z.ZodObject<{
|
|
24
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
25
44
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
26
45
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
47
|
+
} & {
|
|
27
48
|
type: z.ZodLiteral<"email">;
|
|
28
49
|
}, "strip", z.ZodTypeAny, {
|
|
29
50
|
__t4s_required?: boolean;
|
|
@@ -36,9 +57,10 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
36
57
|
required?: boolean;
|
|
37
58
|
type?: "email";
|
|
38
59
|
}>, z.ZodObject<{
|
|
39
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
40
60
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
41
61
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
62
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
63
|
+
} & {
|
|
42
64
|
type: z.ZodLiteral<"uid">;
|
|
43
65
|
targetField: z.ZodOptional<z.ZodString>;
|
|
44
66
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -54,9 +76,10 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
54
76
|
type?: "uid";
|
|
55
77
|
targetField?: string;
|
|
56
78
|
}>, z.ZodObject<{
|
|
57
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
58
79
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
59
80
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
81
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
82
|
+
} & {
|
|
60
83
|
type: z.ZodLiteral<"richtext">;
|
|
61
84
|
}, "strip", z.ZodTypeAny, {
|
|
62
85
|
__t4s_required?: boolean;
|
|
@@ -69,9 +92,26 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
69
92
|
required?: boolean;
|
|
70
93
|
type?: "richtext";
|
|
71
94
|
}>, z.ZodObject<{
|
|
95
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
96
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
72
97
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
98
|
+
} & {
|
|
99
|
+
type: z.ZodLiteral<"blocks">;
|
|
100
|
+
}, "strip", z.ZodTypeAny, {
|
|
101
|
+
__t4s_required?: boolean;
|
|
102
|
+
pluginOptions?: any;
|
|
103
|
+
required?: boolean;
|
|
104
|
+
type?: "blocks";
|
|
105
|
+
}, {
|
|
106
|
+
__t4s_required?: boolean;
|
|
107
|
+
pluginOptions?: any;
|
|
108
|
+
required?: boolean;
|
|
109
|
+
type?: "blocks";
|
|
110
|
+
}>, z.ZodObject<{
|
|
73
111
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
74
112
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
113
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
114
|
+
} & {
|
|
75
115
|
type: z.ZodLiteral<"json">;
|
|
76
116
|
}, "strip", z.ZodTypeAny, {
|
|
77
117
|
__t4s_required?: boolean;
|
|
@@ -84,9 +124,10 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
84
124
|
required?: boolean;
|
|
85
125
|
type?: "json";
|
|
86
126
|
}>, z.ZodObject<{
|
|
87
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
88
127
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
89
128
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
129
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
130
|
+
} & {
|
|
90
131
|
type: z.ZodLiteral<"password">;
|
|
91
132
|
}, "strip", z.ZodTypeAny, {
|
|
92
133
|
__t4s_required?: boolean;
|
|
@@ -99,9 +140,10 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
99
140
|
required?: boolean;
|
|
100
141
|
type?: "password";
|
|
101
142
|
}>, z.ZodObject<{
|
|
102
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
103
143
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
104
144
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
145
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
146
|
+
} & {
|
|
105
147
|
type: z.ZodLiteral<"integer">;
|
|
106
148
|
}, "strip", z.ZodTypeAny, {
|
|
107
149
|
__t4s_required?: boolean;
|
|
@@ -114,9 +156,10 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
114
156
|
required?: boolean;
|
|
115
157
|
type?: "integer";
|
|
116
158
|
}>, z.ZodObject<{
|
|
117
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
118
159
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
119
160
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
161
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
162
|
+
} & {
|
|
120
163
|
type: z.ZodLiteral<"float">;
|
|
121
164
|
}, "strip", z.ZodTypeAny, {
|
|
122
165
|
__t4s_required?: boolean;
|
|
@@ -129,9 +172,10 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
129
172
|
required?: boolean;
|
|
130
173
|
type?: "float";
|
|
131
174
|
}>, z.ZodObject<{
|
|
132
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
133
175
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
134
176
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
177
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
178
|
+
} & {
|
|
135
179
|
type: z.ZodLiteral<"biginteger">;
|
|
136
180
|
}, "strip", z.ZodTypeAny, {
|
|
137
181
|
__t4s_required?: boolean;
|
|
@@ -144,9 +188,10 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
144
188
|
required?: boolean;
|
|
145
189
|
type?: "biginteger";
|
|
146
190
|
}>, z.ZodObject<{
|
|
147
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
148
191
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
149
192
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
193
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
194
|
+
} & {
|
|
150
195
|
type: z.ZodLiteral<"decimal">;
|
|
151
196
|
}, "strip", z.ZodTypeAny, {
|
|
152
197
|
__t4s_required?: boolean;
|
|
@@ -159,9 +204,10 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
159
204
|
required?: boolean;
|
|
160
205
|
type?: "decimal";
|
|
161
206
|
}>, z.ZodObject<{
|
|
162
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
163
207
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
164
208
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
209
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
210
|
+
} & {
|
|
165
211
|
type: z.ZodLiteral<"enumeration">;
|
|
166
212
|
enum: z.ZodArray<z.ZodString, "many">;
|
|
167
213
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -177,9 +223,10 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
177
223
|
type?: "enumeration";
|
|
178
224
|
enum?: string[];
|
|
179
225
|
}>, z.ZodObject<{
|
|
180
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
181
226
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
182
227
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
228
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
229
|
+
} & {
|
|
183
230
|
type: z.ZodLiteral<"date">;
|
|
184
231
|
}, "strip", z.ZodTypeAny, {
|
|
185
232
|
__t4s_required?: boolean;
|
|
@@ -192,9 +239,10 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
192
239
|
required?: boolean;
|
|
193
240
|
type?: "date";
|
|
194
241
|
}>, z.ZodObject<{
|
|
195
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
196
242
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
197
243
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
244
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
245
|
+
} & {
|
|
198
246
|
type: z.ZodLiteral<"datetime">;
|
|
199
247
|
}, "strip", z.ZodTypeAny, {
|
|
200
248
|
__t4s_required?: boolean;
|
|
@@ -207,9 +255,10 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
207
255
|
required?: boolean;
|
|
208
256
|
type?: "datetime";
|
|
209
257
|
}>, z.ZodObject<{
|
|
210
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
211
258
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
212
259
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
260
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
261
|
+
} & {
|
|
213
262
|
type: z.ZodLiteral<"time">;
|
|
214
263
|
}, "strip", z.ZodTypeAny, {
|
|
215
264
|
__t4s_required?: boolean;
|
|
@@ -222,9 +271,10 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
222
271
|
required?: boolean;
|
|
223
272
|
type?: "time";
|
|
224
273
|
}>, z.ZodObject<{
|
|
225
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
226
274
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
227
275
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
276
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
277
|
+
} & {
|
|
228
278
|
type: z.ZodLiteral<"media">;
|
|
229
279
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
230
280
|
allowedTypes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["images", "videos", "audios", "files"]>, "many">>>;
|
|
@@ -243,9 +293,10 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
243
293
|
multiple?: boolean;
|
|
244
294
|
allowedTypes?: ("images" | "videos" | "audios" | "files")[];
|
|
245
295
|
}>, z.ZodObject<{
|
|
246
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
247
296
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
248
297
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
298
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
299
|
+
} & {
|
|
249
300
|
type: z.ZodLiteral<"boolean">;
|
|
250
301
|
}, "strip", z.ZodTypeAny, {
|
|
251
302
|
__t4s_required?: boolean;
|
|
@@ -258,32 +309,36 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
258
309
|
required?: boolean;
|
|
259
310
|
type?: "boolean";
|
|
260
311
|
}>, z.ZodObject<{
|
|
261
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
262
312
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
263
313
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
314
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
315
|
+
} & {
|
|
264
316
|
type: z.ZodLiteral<"relation">;
|
|
265
317
|
target: z.ZodString;
|
|
318
|
+
} & {
|
|
266
319
|
relation: z.ZodLiteral<"oneToOne">;
|
|
267
320
|
}, "strip", z.ZodTypeAny, {
|
|
268
321
|
__t4s_required?: boolean;
|
|
269
322
|
pluginOptions?: any;
|
|
270
323
|
required?: boolean;
|
|
271
324
|
type?: "relation";
|
|
272
|
-
target?: string;
|
|
273
325
|
relation?: "oneToOne";
|
|
326
|
+
target?: string;
|
|
274
327
|
}, {
|
|
275
328
|
__t4s_required?: boolean;
|
|
276
329
|
pluginOptions?: any;
|
|
277
330
|
required?: boolean;
|
|
278
331
|
type?: "relation";
|
|
279
|
-
target?: string;
|
|
280
332
|
relation?: "oneToOne";
|
|
333
|
+
target?: string;
|
|
281
334
|
}>, z.ZodObject<{
|
|
282
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
283
335
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
284
336
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
337
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
338
|
+
} & {
|
|
285
339
|
type: z.ZodLiteral<"relation">;
|
|
286
340
|
target: z.ZodString;
|
|
341
|
+
} & {
|
|
287
342
|
relation: z.ZodLiteral<"oneToOne">;
|
|
288
343
|
inversedBy: z.ZodString;
|
|
289
344
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -291,23 +346,25 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
291
346
|
pluginOptions?: any;
|
|
292
347
|
required?: boolean;
|
|
293
348
|
type?: "relation";
|
|
294
|
-
target?: string;
|
|
295
349
|
relation?: "oneToOne";
|
|
350
|
+
target?: string;
|
|
296
351
|
inversedBy?: string;
|
|
297
352
|
}, {
|
|
298
353
|
__t4s_required?: boolean;
|
|
299
354
|
pluginOptions?: any;
|
|
300
355
|
required?: boolean;
|
|
301
356
|
type?: "relation";
|
|
302
|
-
target?: string;
|
|
303
357
|
relation?: "oneToOne";
|
|
358
|
+
target?: string;
|
|
304
359
|
inversedBy?: string;
|
|
305
360
|
}>, z.ZodObject<{
|
|
306
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
307
361
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
308
362
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
363
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
364
|
+
} & {
|
|
309
365
|
type: z.ZodLiteral<"relation">;
|
|
310
366
|
target: z.ZodString;
|
|
367
|
+
} & {
|
|
311
368
|
mappedBy: z.ZodString;
|
|
312
369
|
relation: z.ZodLiteral<"oneToMany">;
|
|
313
370
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -315,23 +372,25 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
315
372
|
pluginOptions?: any;
|
|
316
373
|
required?: boolean;
|
|
317
374
|
type?: "relation";
|
|
375
|
+
relation?: "oneToMany";
|
|
318
376
|
target?: string;
|
|
319
377
|
mappedBy?: string;
|
|
320
|
-
relation?: "oneToMany";
|
|
321
378
|
}, {
|
|
322
379
|
__t4s_required?: boolean;
|
|
323
380
|
pluginOptions?: any;
|
|
324
381
|
required?: boolean;
|
|
325
382
|
type?: "relation";
|
|
383
|
+
relation?: "oneToMany";
|
|
326
384
|
target?: string;
|
|
327
385
|
mappedBy?: string;
|
|
328
|
-
relation?: "oneToMany";
|
|
329
386
|
}>, z.ZodObject<{
|
|
330
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
331
387
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
332
388
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
389
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
390
|
+
} & {
|
|
333
391
|
type: z.ZodLiteral<"relation">;
|
|
334
392
|
target: z.ZodString;
|
|
393
|
+
} & {
|
|
335
394
|
relation: z.ZodLiteral<"manyToOne">;
|
|
336
395
|
inversedBy: z.ZodString;
|
|
337
396
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -339,23 +398,25 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
339
398
|
pluginOptions?: any;
|
|
340
399
|
required?: boolean;
|
|
341
400
|
type?: "relation";
|
|
342
|
-
target?: string;
|
|
343
401
|
relation?: "manyToOne";
|
|
402
|
+
target?: string;
|
|
344
403
|
inversedBy?: string;
|
|
345
404
|
}, {
|
|
346
405
|
__t4s_required?: boolean;
|
|
347
406
|
pluginOptions?: any;
|
|
348
407
|
required?: boolean;
|
|
349
408
|
type?: "relation";
|
|
350
|
-
target?: string;
|
|
351
409
|
relation?: "manyToOne";
|
|
410
|
+
target?: string;
|
|
352
411
|
inversedBy?: string;
|
|
353
412
|
}>, z.ZodObject<{
|
|
354
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
355
413
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
356
414
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
415
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
416
|
+
} & {
|
|
357
417
|
type: z.ZodLiteral<"relation">;
|
|
358
418
|
target: z.ZodString;
|
|
419
|
+
} & {
|
|
359
420
|
relation: z.ZodLiteral<"manyToMany">;
|
|
360
421
|
inversedBy: z.ZodOptional<z.ZodString>;
|
|
361
422
|
mappedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -364,8 +425,8 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
364
425
|
pluginOptions?: any;
|
|
365
426
|
required?: boolean;
|
|
366
427
|
type?: "relation";
|
|
367
|
-
target?: string;
|
|
368
428
|
relation?: "manyToMany";
|
|
429
|
+
target?: string;
|
|
369
430
|
inversedBy?: string;
|
|
370
431
|
mappedBy?: string;
|
|
371
432
|
}, {
|
|
@@ -373,35 +434,38 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
373
434
|
pluginOptions?: any;
|
|
374
435
|
required?: boolean;
|
|
375
436
|
type?: "relation";
|
|
376
|
-
target?: string;
|
|
377
437
|
relation?: "manyToMany";
|
|
438
|
+
target?: string;
|
|
378
439
|
inversedBy?: string;
|
|
379
440
|
mappedBy?: string;
|
|
380
441
|
}>, z.ZodObject<{
|
|
381
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
382
442
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
383
443
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
444
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
445
|
+
} & {
|
|
384
446
|
type: z.ZodLiteral<"relation">;
|
|
385
447
|
target: z.ZodString;
|
|
448
|
+
} & {
|
|
386
449
|
relation: z.ZodLiteral<"oneToMany">;
|
|
387
450
|
}, "strip", z.ZodTypeAny, {
|
|
388
451
|
__t4s_required?: boolean;
|
|
389
452
|
pluginOptions?: any;
|
|
390
453
|
required?: boolean;
|
|
391
454
|
type?: "relation";
|
|
392
|
-
target?: string;
|
|
393
455
|
relation?: "oneToMany";
|
|
456
|
+
target?: string;
|
|
394
457
|
}, {
|
|
395
458
|
__t4s_required?: boolean;
|
|
396
459
|
pluginOptions?: any;
|
|
397
460
|
required?: boolean;
|
|
398
461
|
type?: "relation";
|
|
399
|
-
target?: string;
|
|
400
462
|
relation?: "oneToMany";
|
|
463
|
+
target?: string;
|
|
401
464
|
}>, z.ZodObject<{
|
|
402
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
403
465
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
404
466
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
467
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
468
|
+
} & {
|
|
405
469
|
type: z.ZodLiteral<"relation">;
|
|
406
470
|
relation: z.ZodLiteral<"morphToMany">;
|
|
407
471
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -417,9 +481,10 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
417
481
|
type?: "relation";
|
|
418
482
|
relation?: "morphToMany";
|
|
419
483
|
}>, z.ZodObject<{
|
|
420
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
421
484
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
422
485
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
486
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
487
|
+
} & {
|
|
423
488
|
type: z.ZodLiteral<"relation">;
|
|
424
489
|
relation: z.ZodLiteral<"morphToOne">;
|
|
425
490
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -435,9 +500,10 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
435
500
|
type?: "relation";
|
|
436
501
|
relation?: "morphToOne";
|
|
437
502
|
}>, z.ZodObject<{
|
|
438
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
439
503
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
440
504
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
505
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
506
|
+
} & {
|
|
441
507
|
type: z.ZodLiteral<"component">;
|
|
442
508
|
repeatable: z.ZodOptional<z.ZodBoolean>;
|
|
443
509
|
component: z.ZodString;
|
|
@@ -446,49 +512,34 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
446
512
|
pluginOptions?: any;
|
|
447
513
|
required?: boolean;
|
|
448
514
|
type?: "component";
|
|
449
|
-
repeatable?: boolean;
|
|
450
515
|
component?: string;
|
|
516
|
+
repeatable?: boolean;
|
|
451
517
|
}, {
|
|
452
518
|
__t4s_required?: boolean;
|
|
453
519
|
pluginOptions?: any;
|
|
454
520
|
required?: boolean;
|
|
455
521
|
type?: "component";
|
|
456
|
-
repeatable?: boolean;
|
|
457
522
|
component?: string;
|
|
523
|
+
repeatable?: boolean;
|
|
458
524
|
}>, z.ZodObject<{
|
|
459
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
460
525
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
461
526
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
527
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
528
|
+
} & {
|
|
462
529
|
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
463
530
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
464
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
465
531
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
466
532
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
533
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
534
|
+
} & {
|
|
467
535
|
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
468
536
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
469
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
470
537
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
471
538
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
472
|
-
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
473
|
-
}, z.ZodTypeAny, "passthrough">>]>, z.ZodObject<{
|
|
474
539
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
components: z.ZodArray<z.ZodString, "many">;
|
|
479
|
-
}, "strip", z.ZodTypeAny, {
|
|
480
|
-
__t4s_required?: boolean;
|
|
481
|
-
pluginOptions?: any;
|
|
482
|
-
required?: boolean;
|
|
483
|
-
type?: "dynamiczone";
|
|
484
|
-
components?: string[];
|
|
485
|
-
}, {
|
|
486
|
-
__t4s_required?: boolean;
|
|
487
|
-
pluginOptions?: any;
|
|
488
|
-
required?: boolean;
|
|
489
|
-
type?: "dynamiczone";
|
|
490
|
-
components?: string[];
|
|
491
|
-
}>]>>;
|
|
540
|
+
} & {
|
|
541
|
+
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
542
|
+
}, z.ZodTypeAny, "passthrough">>]>]>>;
|
|
492
543
|
}, "strip", z.ZodTypeAny, {
|
|
493
544
|
type?: "nested";
|
|
494
545
|
nullable?: boolean;
|
|
@@ -513,6 +564,11 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
513
564
|
pluginOptions?: any;
|
|
514
565
|
required?: boolean;
|
|
515
566
|
type?: "richtext";
|
|
567
|
+
} | {
|
|
568
|
+
__t4s_required?: boolean;
|
|
569
|
+
pluginOptions?: any;
|
|
570
|
+
required?: boolean;
|
|
571
|
+
type?: "blocks";
|
|
516
572
|
} | {
|
|
517
573
|
__t4s_required?: boolean;
|
|
518
574
|
pluginOptions?: any;
|
|
@@ -581,39 +637,39 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
581
637
|
pluginOptions?: any;
|
|
582
638
|
required?: boolean;
|
|
583
639
|
type?: "relation";
|
|
584
|
-
target?: string;
|
|
585
640
|
relation?: "oneToOne";
|
|
641
|
+
target?: string;
|
|
586
642
|
} | {
|
|
587
643
|
__t4s_required?: boolean;
|
|
588
644
|
pluginOptions?: any;
|
|
589
645
|
required?: boolean;
|
|
590
646
|
type?: "relation";
|
|
591
|
-
target?: string;
|
|
592
647
|
relation?: "oneToOne";
|
|
648
|
+
target?: string;
|
|
593
649
|
inversedBy?: string;
|
|
594
650
|
} | {
|
|
595
651
|
__t4s_required?: boolean;
|
|
596
652
|
pluginOptions?: any;
|
|
597
653
|
required?: boolean;
|
|
598
654
|
type?: "relation";
|
|
655
|
+
relation?: "oneToMany";
|
|
599
656
|
target?: string;
|
|
600
657
|
mappedBy?: string;
|
|
601
|
-
relation?: "oneToMany";
|
|
602
658
|
} | {
|
|
603
659
|
__t4s_required?: boolean;
|
|
604
660
|
pluginOptions?: any;
|
|
605
661
|
required?: boolean;
|
|
606
662
|
type?: "relation";
|
|
607
|
-
target?: string;
|
|
608
663
|
relation?: "manyToOne";
|
|
664
|
+
target?: string;
|
|
609
665
|
inversedBy?: string;
|
|
610
666
|
} | {
|
|
611
667
|
__t4s_required?: boolean;
|
|
612
668
|
pluginOptions?: any;
|
|
613
669
|
required?: boolean;
|
|
614
670
|
type?: "relation";
|
|
615
|
-
target?: string;
|
|
616
671
|
relation?: "manyToMany";
|
|
672
|
+
target?: string;
|
|
617
673
|
inversedBy?: string;
|
|
618
674
|
mappedBy?: string;
|
|
619
675
|
} | {
|
|
@@ -621,8 +677,8 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
621
677
|
pluginOptions?: any;
|
|
622
678
|
required?: boolean;
|
|
623
679
|
type?: "relation";
|
|
624
|
-
target?: string;
|
|
625
680
|
relation?: "oneToMany";
|
|
681
|
+
target?: string;
|
|
626
682
|
} | {
|
|
627
683
|
__t4s_required?: boolean;
|
|
628
684
|
pluginOptions?: any;
|
|
@@ -640,8 +696,8 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
640
696
|
pluginOptions?: any;
|
|
641
697
|
required?: boolean;
|
|
642
698
|
type?: "component";
|
|
643
|
-
repeatable?: boolean;
|
|
644
699
|
component?: string;
|
|
700
|
+
repeatable?: boolean;
|
|
645
701
|
} | {
|
|
646
702
|
__t4s_required?: boolean;
|
|
647
703
|
pluginOptions?: any;
|
|
@@ -649,9 +705,10 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
649
705
|
type?: "dynamiczone";
|
|
650
706
|
components?: string[];
|
|
651
707
|
} | z.objectOutputType<{
|
|
652
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
653
708
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
654
709
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
710
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
711
|
+
} & {
|
|
655
712
|
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
656
713
|
}, z.ZodTypeAny, "passthrough">>;
|
|
657
714
|
}, {
|
|
@@ -678,6 +735,11 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
678
735
|
pluginOptions?: any;
|
|
679
736
|
required?: boolean;
|
|
680
737
|
type?: "richtext";
|
|
738
|
+
} | {
|
|
739
|
+
__t4s_required?: boolean;
|
|
740
|
+
pluginOptions?: any;
|
|
741
|
+
required?: boolean;
|
|
742
|
+
type?: "blocks";
|
|
681
743
|
} | {
|
|
682
744
|
__t4s_required?: boolean;
|
|
683
745
|
pluginOptions?: any;
|
|
@@ -746,39 +808,39 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
746
808
|
pluginOptions?: any;
|
|
747
809
|
required?: boolean;
|
|
748
810
|
type?: "relation";
|
|
749
|
-
target?: string;
|
|
750
811
|
relation?: "oneToOne";
|
|
812
|
+
target?: string;
|
|
751
813
|
} | {
|
|
752
814
|
__t4s_required?: boolean;
|
|
753
815
|
pluginOptions?: any;
|
|
754
816
|
required?: boolean;
|
|
755
817
|
type?: "relation";
|
|
756
|
-
target?: string;
|
|
757
818
|
relation?: "oneToOne";
|
|
819
|
+
target?: string;
|
|
758
820
|
inversedBy?: string;
|
|
759
821
|
} | {
|
|
760
822
|
__t4s_required?: boolean;
|
|
761
823
|
pluginOptions?: any;
|
|
762
824
|
required?: boolean;
|
|
763
825
|
type?: "relation";
|
|
826
|
+
relation?: "oneToMany";
|
|
764
827
|
target?: string;
|
|
765
828
|
mappedBy?: string;
|
|
766
|
-
relation?: "oneToMany";
|
|
767
829
|
} | {
|
|
768
830
|
__t4s_required?: boolean;
|
|
769
831
|
pluginOptions?: any;
|
|
770
832
|
required?: boolean;
|
|
771
833
|
type?: "relation";
|
|
772
|
-
target?: string;
|
|
773
834
|
relation?: "manyToOne";
|
|
835
|
+
target?: string;
|
|
774
836
|
inversedBy?: string;
|
|
775
837
|
} | {
|
|
776
838
|
__t4s_required?: boolean;
|
|
777
839
|
pluginOptions?: any;
|
|
778
840
|
required?: boolean;
|
|
779
841
|
type?: "relation";
|
|
780
|
-
target?: string;
|
|
781
842
|
relation?: "manyToMany";
|
|
843
|
+
target?: string;
|
|
782
844
|
inversedBy?: string;
|
|
783
845
|
mappedBy?: string;
|
|
784
846
|
} | {
|
|
@@ -786,8 +848,8 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
786
848
|
pluginOptions?: any;
|
|
787
849
|
required?: boolean;
|
|
788
850
|
type?: "relation";
|
|
789
|
-
target?: string;
|
|
790
851
|
relation?: "oneToMany";
|
|
852
|
+
target?: string;
|
|
791
853
|
} | {
|
|
792
854
|
__t4s_required?: boolean;
|
|
793
855
|
pluginOptions?: any;
|
|
@@ -805,8 +867,8 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
805
867
|
pluginOptions?: any;
|
|
806
868
|
required?: boolean;
|
|
807
869
|
type?: "component";
|
|
808
|
-
repeatable?: boolean;
|
|
809
870
|
component?: string;
|
|
871
|
+
repeatable?: boolean;
|
|
810
872
|
} | {
|
|
811
873
|
__t4s_required?: boolean;
|
|
812
874
|
pluginOptions?: any;
|
|
@@ -814,16 +876,37 @@ export declare const nestedAttribute: z.ZodObject<{
|
|
|
814
876
|
type?: "dynamiczone";
|
|
815
877
|
components?: string[];
|
|
816
878
|
} | z.objectInputType<{
|
|
817
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
818
879
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
819
880
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
881
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
882
|
+
} & {
|
|
820
883
|
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
821
884
|
}, z.ZodTypeAny, "passthrough">>;
|
|
822
885
|
}>;
|
|
823
|
-
export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.
|
|
886
|
+
export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
887
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
888
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
824
889
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
890
|
+
} & {
|
|
891
|
+
type: z.ZodLiteral<"dynamiczone">;
|
|
892
|
+
components: z.ZodArray<z.ZodString, "many">;
|
|
893
|
+
}, "strip", z.ZodTypeAny, {
|
|
894
|
+
__t4s_required?: boolean;
|
|
895
|
+
pluginOptions?: any;
|
|
896
|
+
required?: boolean;
|
|
897
|
+
type?: "dynamiczone";
|
|
898
|
+
components?: string[];
|
|
899
|
+
}, {
|
|
900
|
+
__t4s_required?: boolean;
|
|
901
|
+
pluginOptions?: any;
|
|
902
|
+
required?: boolean;
|
|
903
|
+
type?: "dynamiczone";
|
|
904
|
+
components?: string[];
|
|
905
|
+
}>, z.ZodUnion<[z.ZodObject<{
|
|
825
906
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
826
907
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
908
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
909
|
+
} & {
|
|
827
910
|
type: z.ZodEnum<["text", "string"]>;
|
|
828
911
|
}, "strip", z.ZodTypeAny, {
|
|
829
912
|
__t4s_required?: boolean;
|
|
@@ -836,9 +919,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
836
919
|
required?: boolean;
|
|
837
920
|
type?: "string" | "text";
|
|
838
921
|
}>, z.ZodObject<{
|
|
839
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
840
922
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
841
923
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
924
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
925
|
+
} & {
|
|
842
926
|
type: z.ZodLiteral<"email">;
|
|
843
927
|
}, "strip", z.ZodTypeAny, {
|
|
844
928
|
__t4s_required?: boolean;
|
|
@@ -851,9 +935,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
851
935
|
required?: boolean;
|
|
852
936
|
type?: "email";
|
|
853
937
|
}>, z.ZodObject<{
|
|
854
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
855
938
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
856
939
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
940
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
941
|
+
} & {
|
|
857
942
|
type: z.ZodLiteral<"uid">;
|
|
858
943
|
targetField: z.ZodOptional<z.ZodString>;
|
|
859
944
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -869,9 +954,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
869
954
|
type?: "uid";
|
|
870
955
|
targetField?: string;
|
|
871
956
|
}>, z.ZodObject<{
|
|
872
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
873
957
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
874
958
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
959
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
960
|
+
} & {
|
|
875
961
|
type: z.ZodLiteral<"richtext">;
|
|
876
962
|
}, "strip", z.ZodTypeAny, {
|
|
877
963
|
__t4s_required?: boolean;
|
|
@@ -884,9 +970,26 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
884
970
|
required?: boolean;
|
|
885
971
|
type?: "richtext";
|
|
886
972
|
}>, z.ZodObject<{
|
|
973
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
974
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
887
975
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
976
|
+
} & {
|
|
977
|
+
type: z.ZodLiteral<"blocks">;
|
|
978
|
+
}, "strip", z.ZodTypeAny, {
|
|
979
|
+
__t4s_required?: boolean;
|
|
980
|
+
pluginOptions?: any;
|
|
981
|
+
required?: boolean;
|
|
982
|
+
type?: "blocks";
|
|
983
|
+
}, {
|
|
984
|
+
__t4s_required?: boolean;
|
|
985
|
+
pluginOptions?: any;
|
|
986
|
+
required?: boolean;
|
|
987
|
+
type?: "blocks";
|
|
988
|
+
}>, z.ZodObject<{
|
|
888
989
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
889
990
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
991
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
992
|
+
} & {
|
|
890
993
|
type: z.ZodLiteral<"json">;
|
|
891
994
|
}, "strip", z.ZodTypeAny, {
|
|
892
995
|
__t4s_required?: boolean;
|
|
@@ -899,9 +1002,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
899
1002
|
required?: boolean;
|
|
900
1003
|
type?: "json";
|
|
901
1004
|
}>, z.ZodObject<{
|
|
902
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
903
1005
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
904
1006
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1007
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1008
|
+
} & {
|
|
905
1009
|
type: z.ZodLiteral<"password">;
|
|
906
1010
|
}, "strip", z.ZodTypeAny, {
|
|
907
1011
|
__t4s_required?: boolean;
|
|
@@ -914,9 +1018,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
914
1018
|
required?: boolean;
|
|
915
1019
|
type?: "password";
|
|
916
1020
|
}>, z.ZodObject<{
|
|
917
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
918
1021
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
919
1022
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1023
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1024
|
+
} & {
|
|
920
1025
|
type: z.ZodLiteral<"integer">;
|
|
921
1026
|
}, "strip", z.ZodTypeAny, {
|
|
922
1027
|
__t4s_required?: boolean;
|
|
@@ -929,9 +1034,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
929
1034
|
required?: boolean;
|
|
930
1035
|
type?: "integer";
|
|
931
1036
|
}>, z.ZodObject<{
|
|
932
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
933
1037
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
934
1038
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1039
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1040
|
+
} & {
|
|
935
1041
|
type: z.ZodLiteral<"float">;
|
|
936
1042
|
}, "strip", z.ZodTypeAny, {
|
|
937
1043
|
__t4s_required?: boolean;
|
|
@@ -944,9 +1050,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
944
1050
|
required?: boolean;
|
|
945
1051
|
type?: "float";
|
|
946
1052
|
}>, z.ZodObject<{
|
|
947
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
948
1053
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
949
1054
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1055
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1056
|
+
} & {
|
|
950
1057
|
type: z.ZodLiteral<"biginteger">;
|
|
951
1058
|
}, "strip", z.ZodTypeAny, {
|
|
952
1059
|
__t4s_required?: boolean;
|
|
@@ -959,9 +1066,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
959
1066
|
required?: boolean;
|
|
960
1067
|
type?: "biginteger";
|
|
961
1068
|
}>, z.ZodObject<{
|
|
962
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
963
1069
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
964
1070
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1071
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1072
|
+
} & {
|
|
965
1073
|
type: z.ZodLiteral<"decimal">;
|
|
966
1074
|
}, "strip", z.ZodTypeAny, {
|
|
967
1075
|
__t4s_required?: boolean;
|
|
@@ -974,9 +1082,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
974
1082
|
required?: boolean;
|
|
975
1083
|
type?: "decimal";
|
|
976
1084
|
}>, z.ZodObject<{
|
|
977
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
978
1085
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
979
1086
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1087
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1088
|
+
} & {
|
|
980
1089
|
type: z.ZodLiteral<"enumeration">;
|
|
981
1090
|
enum: z.ZodArray<z.ZodString, "many">;
|
|
982
1091
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -992,9 +1101,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
992
1101
|
type?: "enumeration";
|
|
993
1102
|
enum?: string[];
|
|
994
1103
|
}>, z.ZodObject<{
|
|
995
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
996
1104
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
997
1105
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1106
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1107
|
+
} & {
|
|
998
1108
|
type: z.ZodLiteral<"date">;
|
|
999
1109
|
}, "strip", z.ZodTypeAny, {
|
|
1000
1110
|
__t4s_required?: boolean;
|
|
@@ -1007,9 +1117,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1007
1117
|
required?: boolean;
|
|
1008
1118
|
type?: "date";
|
|
1009
1119
|
}>, z.ZodObject<{
|
|
1010
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1011
1120
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1012
1121
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1122
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1123
|
+
} & {
|
|
1013
1124
|
type: z.ZodLiteral<"datetime">;
|
|
1014
1125
|
}, "strip", z.ZodTypeAny, {
|
|
1015
1126
|
__t4s_required?: boolean;
|
|
@@ -1022,9 +1133,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1022
1133
|
required?: boolean;
|
|
1023
1134
|
type?: "datetime";
|
|
1024
1135
|
}>, z.ZodObject<{
|
|
1025
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1026
1136
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1027
1137
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1138
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1139
|
+
} & {
|
|
1028
1140
|
type: z.ZodLiteral<"time">;
|
|
1029
1141
|
}, "strip", z.ZodTypeAny, {
|
|
1030
1142
|
__t4s_required?: boolean;
|
|
@@ -1037,9 +1149,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1037
1149
|
required?: boolean;
|
|
1038
1150
|
type?: "time";
|
|
1039
1151
|
}>, z.ZodObject<{
|
|
1040
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1041
1152
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1042
1153
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1154
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1155
|
+
} & {
|
|
1043
1156
|
type: z.ZodLiteral<"media">;
|
|
1044
1157
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
1045
1158
|
allowedTypes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["images", "videos", "audios", "files"]>, "many">>>;
|
|
@@ -1058,9 +1171,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1058
1171
|
multiple?: boolean;
|
|
1059
1172
|
allowedTypes?: ("images" | "videos" | "audios" | "files")[];
|
|
1060
1173
|
}>, z.ZodObject<{
|
|
1061
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1062
1174
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1063
1175
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1176
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1177
|
+
} & {
|
|
1064
1178
|
type: z.ZodLiteral<"boolean">;
|
|
1065
1179
|
}, "strip", z.ZodTypeAny, {
|
|
1066
1180
|
__t4s_required?: boolean;
|
|
@@ -1073,32 +1187,36 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1073
1187
|
required?: boolean;
|
|
1074
1188
|
type?: "boolean";
|
|
1075
1189
|
}>, z.ZodObject<{
|
|
1076
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1077
1190
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1078
1191
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1192
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1193
|
+
} & {
|
|
1079
1194
|
type: z.ZodLiteral<"relation">;
|
|
1080
1195
|
target: z.ZodString;
|
|
1196
|
+
} & {
|
|
1081
1197
|
relation: z.ZodLiteral<"oneToOne">;
|
|
1082
1198
|
}, "strip", z.ZodTypeAny, {
|
|
1083
1199
|
__t4s_required?: boolean;
|
|
1084
1200
|
pluginOptions?: any;
|
|
1085
1201
|
required?: boolean;
|
|
1086
1202
|
type?: "relation";
|
|
1087
|
-
target?: string;
|
|
1088
1203
|
relation?: "oneToOne";
|
|
1204
|
+
target?: string;
|
|
1089
1205
|
}, {
|
|
1090
1206
|
__t4s_required?: boolean;
|
|
1091
1207
|
pluginOptions?: any;
|
|
1092
1208
|
required?: boolean;
|
|
1093
1209
|
type?: "relation";
|
|
1094
|
-
target?: string;
|
|
1095
1210
|
relation?: "oneToOne";
|
|
1211
|
+
target?: string;
|
|
1096
1212
|
}>, z.ZodObject<{
|
|
1097
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1098
1213
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1099
1214
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1215
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1216
|
+
} & {
|
|
1100
1217
|
type: z.ZodLiteral<"relation">;
|
|
1101
1218
|
target: z.ZodString;
|
|
1219
|
+
} & {
|
|
1102
1220
|
relation: z.ZodLiteral<"oneToOne">;
|
|
1103
1221
|
inversedBy: z.ZodString;
|
|
1104
1222
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1106,23 +1224,25 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1106
1224
|
pluginOptions?: any;
|
|
1107
1225
|
required?: boolean;
|
|
1108
1226
|
type?: "relation";
|
|
1109
|
-
target?: string;
|
|
1110
1227
|
relation?: "oneToOne";
|
|
1228
|
+
target?: string;
|
|
1111
1229
|
inversedBy?: string;
|
|
1112
1230
|
}, {
|
|
1113
1231
|
__t4s_required?: boolean;
|
|
1114
1232
|
pluginOptions?: any;
|
|
1115
1233
|
required?: boolean;
|
|
1116
1234
|
type?: "relation";
|
|
1117
|
-
target?: string;
|
|
1118
1235
|
relation?: "oneToOne";
|
|
1236
|
+
target?: string;
|
|
1119
1237
|
inversedBy?: string;
|
|
1120
1238
|
}>, z.ZodObject<{
|
|
1121
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1122
1239
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1123
1240
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1241
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1242
|
+
} & {
|
|
1124
1243
|
type: z.ZodLiteral<"relation">;
|
|
1125
1244
|
target: z.ZodString;
|
|
1245
|
+
} & {
|
|
1126
1246
|
mappedBy: z.ZodString;
|
|
1127
1247
|
relation: z.ZodLiteral<"oneToMany">;
|
|
1128
1248
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1130,23 +1250,25 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1130
1250
|
pluginOptions?: any;
|
|
1131
1251
|
required?: boolean;
|
|
1132
1252
|
type?: "relation";
|
|
1253
|
+
relation?: "oneToMany";
|
|
1133
1254
|
target?: string;
|
|
1134
1255
|
mappedBy?: string;
|
|
1135
|
-
relation?: "oneToMany";
|
|
1136
1256
|
}, {
|
|
1137
1257
|
__t4s_required?: boolean;
|
|
1138
1258
|
pluginOptions?: any;
|
|
1139
1259
|
required?: boolean;
|
|
1140
1260
|
type?: "relation";
|
|
1261
|
+
relation?: "oneToMany";
|
|
1141
1262
|
target?: string;
|
|
1142
1263
|
mappedBy?: string;
|
|
1143
|
-
relation?: "oneToMany";
|
|
1144
1264
|
}>, z.ZodObject<{
|
|
1145
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1146
1265
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1147
1266
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1267
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1268
|
+
} & {
|
|
1148
1269
|
type: z.ZodLiteral<"relation">;
|
|
1149
1270
|
target: z.ZodString;
|
|
1271
|
+
} & {
|
|
1150
1272
|
relation: z.ZodLiteral<"manyToOne">;
|
|
1151
1273
|
inversedBy: z.ZodString;
|
|
1152
1274
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1154,23 +1276,25 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1154
1276
|
pluginOptions?: any;
|
|
1155
1277
|
required?: boolean;
|
|
1156
1278
|
type?: "relation";
|
|
1157
|
-
target?: string;
|
|
1158
1279
|
relation?: "manyToOne";
|
|
1280
|
+
target?: string;
|
|
1159
1281
|
inversedBy?: string;
|
|
1160
1282
|
}, {
|
|
1161
1283
|
__t4s_required?: boolean;
|
|
1162
1284
|
pluginOptions?: any;
|
|
1163
1285
|
required?: boolean;
|
|
1164
1286
|
type?: "relation";
|
|
1165
|
-
target?: string;
|
|
1166
1287
|
relation?: "manyToOne";
|
|
1288
|
+
target?: string;
|
|
1167
1289
|
inversedBy?: string;
|
|
1168
1290
|
}>, z.ZodObject<{
|
|
1169
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1170
1291
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1171
1292
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1293
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1294
|
+
} & {
|
|
1172
1295
|
type: z.ZodLiteral<"relation">;
|
|
1173
1296
|
target: z.ZodString;
|
|
1297
|
+
} & {
|
|
1174
1298
|
relation: z.ZodLiteral<"manyToMany">;
|
|
1175
1299
|
inversedBy: z.ZodOptional<z.ZodString>;
|
|
1176
1300
|
mappedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -1179,8 +1303,8 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1179
1303
|
pluginOptions?: any;
|
|
1180
1304
|
required?: boolean;
|
|
1181
1305
|
type?: "relation";
|
|
1182
|
-
target?: string;
|
|
1183
1306
|
relation?: "manyToMany";
|
|
1307
|
+
target?: string;
|
|
1184
1308
|
inversedBy?: string;
|
|
1185
1309
|
mappedBy?: string;
|
|
1186
1310
|
}, {
|
|
@@ -1188,35 +1312,38 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1188
1312
|
pluginOptions?: any;
|
|
1189
1313
|
required?: boolean;
|
|
1190
1314
|
type?: "relation";
|
|
1191
|
-
target?: string;
|
|
1192
1315
|
relation?: "manyToMany";
|
|
1316
|
+
target?: string;
|
|
1193
1317
|
inversedBy?: string;
|
|
1194
1318
|
mappedBy?: string;
|
|
1195
1319
|
}>, z.ZodObject<{
|
|
1196
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1197
1320
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1198
1321
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1322
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1323
|
+
} & {
|
|
1199
1324
|
type: z.ZodLiteral<"relation">;
|
|
1200
1325
|
target: z.ZodString;
|
|
1326
|
+
} & {
|
|
1201
1327
|
relation: z.ZodLiteral<"oneToMany">;
|
|
1202
1328
|
}, "strip", z.ZodTypeAny, {
|
|
1203
1329
|
__t4s_required?: boolean;
|
|
1204
1330
|
pluginOptions?: any;
|
|
1205
1331
|
required?: boolean;
|
|
1206
1332
|
type?: "relation";
|
|
1207
|
-
target?: string;
|
|
1208
1333
|
relation?: "oneToMany";
|
|
1334
|
+
target?: string;
|
|
1209
1335
|
}, {
|
|
1210
1336
|
__t4s_required?: boolean;
|
|
1211
1337
|
pluginOptions?: any;
|
|
1212
1338
|
required?: boolean;
|
|
1213
1339
|
type?: "relation";
|
|
1214
|
-
target?: string;
|
|
1215
1340
|
relation?: "oneToMany";
|
|
1341
|
+
target?: string;
|
|
1216
1342
|
}>, z.ZodObject<{
|
|
1217
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1218
1343
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1219
1344
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1345
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1346
|
+
} & {
|
|
1220
1347
|
type: z.ZodLiteral<"relation">;
|
|
1221
1348
|
relation: z.ZodLiteral<"morphToMany">;
|
|
1222
1349
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1232,9 +1359,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1232
1359
|
type?: "relation";
|
|
1233
1360
|
relation?: "morphToMany";
|
|
1234
1361
|
}>, z.ZodObject<{
|
|
1235
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1236
1362
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1237
1363
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1364
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1365
|
+
} & {
|
|
1238
1366
|
type: z.ZodLiteral<"relation">;
|
|
1239
1367
|
relation: z.ZodLiteral<"morphToOne">;
|
|
1240
1368
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1250,9 +1378,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1250
1378
|
type?: "relation";
|
|
1251
1379
|
relation?: "morphToOne";
|
|
1252
1380
|
}>, z.ZodObject<{
|
|
1253
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1254
1381
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1255
1382
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1383
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1384
|
+
} & {
|
|
1256
1385
|
type: z.ZodLiteral<"component">;
|
|
1257
1386
|
repeatable: z.ZodOptional<z.ZodBoolean>;
|
|
1258
1387
|
component: z.ZodString;
|
|
@@ -1261,55 +1390,60 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1261
1390
|
pluginOptions?: any;
|
|
1262
1391
|
required?: boolean;
|
|
1263
1392
|
type?: "component";
|
|
1264
|
-
repeatable?: boolean;
|
|
1265
1393
|
component?: string;
|
|
1394
|
+
repeatable?: boolean;
|
|
1266
1395
|
}, {
|
|
1267
1396
|
__t4s_required?: boolean;
|
|
1268
1397
|
pluginOptions?: any;
|
|
1269
1398
|
required?: boolean;
|
|
1270
1399
|
type?: "component";
|
|
1271
|
-
repeatable?: boolean;
|
|
1272
1400
|
component?: string;
|
|
1401
|
+
repeatable?: boolean;
|
|
1273
1402
|
}>, z.ZodObject<{
|
|
1274
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1275
1403
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1276
1404
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1405
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1406
|
+
} & {
|
|
1277
1407
|
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
1278
1408
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1279
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1280
1409
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1281
1410
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1411
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1412
|
+
} & {
|
|
1282
1413
|
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
1283
1414
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1284
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1285
1415
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1286
1416
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1287
|
-
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
1288
|
-
}, z.ZodTypeAny, "passthrough">>]>, z.ZodObject<{
|
|
1289
1417
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
components: z.ZodArray<z.ZodString, "many">;
|
|
1294
|
-
}, "strip", z.ZodTypeAny, {
|
|
1295
|
-
__t4s_required?: boolean;
|
|
1296
|
-
pluginOptions?: any;
|
|
1297
|
-
required?: boolean;
|
|
1298
|
-
type?: "dynamiczone";
|
|
1299
|
-
components?: string[];
|
|
1300
|
-
}, {
|
|
1301
|
-
__t4s_required?: boolean;
|
|
1302
|
-
pluginOptions?: any;
|
|
1303
|
-
required?: boolean;
|
|
1304
|
-
type?: "dynamiczone";
|
|
1305
|
-
components?: string[];
|
|
1306
|
-
}>]>, z.ZodObject<{
|
|
1418
|
+
} & {
|
|
1419
|
+
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
1420
|
+
}, z.ZodTypeAny, "passthrough">>]>]>, z.ZodObject<{
|
|
1307
1421
|
type: z.ZodLiteral<"nested">;
|
|
1308
1422
|
nullable: z.ZodOptional<z.ZodBoolean>;
|
|
1309
|
-
fields: z.ZodRecord<z.ZodString, z.ZodUnion<[z.
|
|
1423
|
+
fields: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
|
|
1424
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1425
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1310
1426
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1427
|
+
} & {
|
|
1428
|
+
type: z.ZodLiteral<"dynamiczone">;
|
|
1429
|
+
components: z.ZodArray<z.ZodString, "many">;
|
|
1430
|
+
}, "strip", z.ZodTypeAny, {
|
|
1431
|
+
__t4s_required?: boolean;
|
|
1432
|
+
pluginOptions?: any;
|
|
1433
|
+
required?: boolean;
|
|
1434
|
+
type?: "dynamiczone";
|
|
1435
|
+
components?: string[];
|
|
1436
|
+
}, {
|
|
1437
|
+
__t4s_required?: boolean;
|
|
1438
|
+
pluginOptions?: any;
|
|
1439
|
+
required?: boolean;
|
|
1440
|
+
type?: "dynamiczone";
|
|
1441
|
+
components?: string[];
|
|
1442
|
+
}>, z.ZodUnion<[z.ZodObject<{
|
|
1311
1443
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1312
1444
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1445
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1446
|
+
} & {
|
|
1313
1447
|
type: z.ZodEnum<["text", "string"]>;
|
|
1314
1448
|
}, "strip", z.ZodTypeAny, {
|
|
1315
1449
|
__t4s_required?: boolean;
|
|
@@ -1322,9 +1456,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1322
1456
|
required?: boolean;
|
|
1323
1457
|
type?: "string" | "text";
|
|
1324
1458
|
}>, z.ZodObject<{
|
|
1325
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1326
1459
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1327
1460
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1461
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1462
|
+
} & {
|
|
1328
1463
|
type: z.ZodLiteral<"email">;
|
|
1329
1464
|
}, "strip", z.ZodTypeAny, {
|
|
1330
1465
|
__t4s_required?: boolean;
|
|
@@ -1337,9 +1472,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1337
1472
|
required?: boolean;
|
|
1338
1473
|
type?: "email";
|
|
1339
1474
|
}>, z.ZodObject<{
|
|
1340
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1341
1475
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1342
1476
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1477
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1478
|
+
} & {
|
|
1343
1479
|
type: z.ZodLiteral<"uid">;
|
|
1344
1480
|
targetField: z.ZodOptional<z.ZodString>;
|
|
1345
1481
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1355,9 +1491,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1355
1491
|
type?: "uid";
|
|
1356
1492
|
targetField?: string;
|
|
1357
1493
|
}>, z.ZodObject<{
|
|
1358
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1359
1494
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1360
1495
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1496
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1497
|
+
} & {
|
|
1361
1498
|
type: z.ZodLiteral<"richtext">;
|
|
1362
1499
|
}, "strip", z.ZodTypeAny, {
|
|
1363
1500
|
__t4s_required?: boolean;
|
|
@@ -1370,9 +1507,26 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1370
1507
|
required?: boolean;
|
|
1371
1508
|
type?: "richtext";
|
|
1372
1509
|
}>, z.ZodObject<{
|
|
1510
|
+
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1511
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1373
1512
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1513
|
+
} & {
|
|
1514
|
+
type: z.ZodLiteral<"blocks">;
|
|
1515
|
+
}, "strip", z.ZodTypeAny, {
|
|
1516
|
+
__t4s_required?: boolean;
|
|
1517
|
+
pluginOptions?: any;
|
|
1518
|
+
required?: boolean;
|
|
1519
|
+
type?: "blocks";
|
|
1520
|
+
}, {
|
|
1521
|
+
__t4s_required?: boolean;
|
|
1522
|
+
pluginOptions?: any;
|
|
1523
|
+
required?: boolean;
|
|
1524
|
+
type?: "blocks";
|
|
1525
|
+
}>, z.ZodObject<{
|
|
1374
1526
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1375
1527
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1528
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1529
|
+
} & {
|
|
1376
1530
|
type: z.ZodLiteral<"json">;
|
|
1377
1531
|
}, "strip", z.ZodTypeAny, {
|
|
1378
1532
|
__t4s_required?: boolean;
|
|
@@ -1385,9 +1539,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1385
1539
|
required?: boolean;
|
|
1386
1540
|
type?: "json";
|
|
1387
1541
|
}>, z.ZodObject<{
|
|
1388
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1389
1542
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1390
1543
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1544
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1545
|
+
} & {
|
|
1391
1546
|
type: z.ZodLiteral<"password">;
|
|
1392
1547
|
}, "strip", z.ZodTypeAny, {
|
|
1393
1548
|
__t4s_required?: boolean;
|
|
@@ -1400,9 +1555,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1400
1555
|
required?: boolean;
|
|
1401
1556
|
type?: "password";
|
|
1402
1557
|
}>, z.ZodObject<{
|
|
1403
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1404
1558
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1405
1559
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1560
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1561
|
+
} & {
|
|
1406
1562
|
type: z.ZodLiteral<"integer">;
|
|
1407
1563
|
}, "strip", z.ZodTypeAny, {
|
|
1408
1564
|
__t4s_required?: boolean;
|
|
@@ -1415,9 +1571,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1415
1571
|
required?: boolean;
|
|
1416
1572
|
type?: "integer";
|
|
1417
1573
|
}>, z.ZodObject<{
|
|
1418
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1419
1574
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1420
1575
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1576
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1577
|
+
} & {
|
|
1421
1578
|
type: z.ZodLiteral<"float">;
|
|
1422
1579
|
}, "strip", z.ZodTypeAny, {
|
|
1423
1580
|
__t4s_required?: boolean;
|
|
@@ -1430,9 +1587,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1430
1587
|
required?: boolean;
|
|
1431
1588
|
type?: "float";
|
|
1432
1589
|
}>, z.ZodObject<{
|
|
1433
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1434
1590
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1435
1591
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1592
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1593
|
+
} & {
|
|
1436
1594
|
type: z.ZodLiteral<"biginteger">;
|
|
1437
1595
|
}, "strip", z.ZodTypeAny, {
|
|
1438
1596
|
__t4s_required?: boolean;
|
|
@@ -1445,9 +1603,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1445
1603
|
required?: boolean;
|
|
1446
1604
|
type?: "biginteger";
|
|
1447
1605
|
}>, z.ZodObject<{
|
|
1448
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1449
1606
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1450
1607
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1608
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1609
|
+
} & {
|
|
1451
1610
|
type: z.ZodLiteral<"decimal">;
|
|
1452
1611
|
}, "strip", z.ZodTypeAny, {
|
|
1453
1612
|
__t4s_required?: boolean;
|
|
@@ -1460,9 +1619,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1460
1619
|
required?: boolean;
|
|
1461
1620
|
type?: "decimal";
|
|
1462
1621
|
}>, z.ZodObject<{
|
|
1463
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1464
1622
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1465
1623
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1624
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1625
|
+
} & {
|
|
1466
1626
|
type: z.ZodLiteral<"enumeration">;
|
|
1467
1627
|
enum: z.ZodArray<z.ZodString, "many">;
|
|
1468
1628
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1478,9 +1638,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1478
1638
|
type?: "enumeration";
|
|
1479
1639
|
enum?: string[];
|
|
1480
1640
|
}>, z.ZodObject<{
|
|
1481
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1482
1641
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1483
1642
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1643
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1644
|
+
} & {
|
|
1484
1645
|
type: z.ZodLiteral<"date">;
|
|
1485
1646
|
}, "strip", z.ZodTypeAny, {
|
|
1486
1647
|
__t4s_required?: boolean;
|
|
@@ -1493,9 +1654,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1493
1654
|
required?: boolean;
|
|
1494
1655
|
type?: "date";
|
|
1495
1656
|
}>, z.ZodObject<{
|
|
1496
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1497
1657
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1498
1658
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1659
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1660
|
+
} & {
|
|
1499
1661
|
type: z.ZodLiteral<"datetime">;
|
|
1500
1662
|
}, "strip", z.ZodTypeAny, {
|
|
1501
1663
|
__t4s_required?: boolean;
|
|
@@ -1508,9 +1670,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1508
1670
|
required?: boolean;
|
|
1509
1671
|
type?: "datetime";
|
|
1510
1672
|
}>, z.ZodObject<{
|
|
1511
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1512
1673
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1513
1674
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1675
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1676
|
+
} & {
|
|
1514
1677
|
type: z.ZodLiteral<"time">;
|
|
1515
1678
|
}, "strip", z.ZodTypeAny, {
|
|
1516
1679
|
__t4s_required?: boolean;
|
|
@@ -1523,9 +1686,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1523
1686
|
required?: boolean;
|
|
1524
1687
|
type?: "time";
|
|
1525
1688
|
}>, z.ZodObject<{
|
|
1526
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1527
1689
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1528
1690
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1691
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1692
|
+
} & {
|
|
1529
1693
|
type: z.ZodLiteral<"media">;
|
|
1530
1694
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
1531
1695
|
allowedTypes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["images", "videos", "audios", "files"]>, "many">>>;
|
|
@@ -1544,9 +1708,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1544
1708
|
multiple?: boolean;
|
|
1545
1709
|
allowedTypes?: ("images" | "videos" | "audios" | "files")[];
|
|
1546
1710
|
}>, z.ZodObject<{
|
|
1547
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1548
1711
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1549
1712
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1713
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1714
|
+
} & {
|
|
1550
1715
|
type: z.ZodLiteral<"boolean">;
|
|
1551
1716
|
}, "strip", z.ZodTypeAny, {
|
|
1552
1717
|
__t4s_required?: boolean;
|
|
@@ -1559,32 +1724,36 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1559
1724
|
required?: boolean;
|
|
1560
1725
|
type?: "boolean";
|
|
1561
1726
|
}>, z.ZodObject<{
|
|
1562
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1563
1727
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1564
1728
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1729
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1730
|
+
} & {
|
|
1565
1731
|
type: z.ZodLiteral<"relation">;
|
|
1566
1732
|
target: z.ZodString;
|
|
1733
|
+
} & {
|
|
1567
1734
|
relation: z.ZodLiteral<"oneToOne">;
|
|
1568
1735
|
}, "strip", z.ZodTypeAny, {
|
|
1569
1736
|
__t4s_required?: boolean;
|
|
1570
1737
|
pluginOptions?: any;
|
|
1571
1738
|
required?: boolean;
|
|
1572
1739
|
type?: "relation";
|
|
1573
|
-
target?: string;
|
|
1574
1740
|
relation?: "oneToOne";
|
|
1741
|
+
target?: string;
|
|
1575
1742
|
}, {
|
|
1576
1743
|
__t4s_required?: boolean;
|
|
1577
1744
|
pluginOptions?: any;
|
|
1578
1745
|
required?: boolean;
|
|
1579
1746
|
type?: "relation";
|
|
1580
|
-
target?: string;
|
|
1581
1747
|
relation?: "oneToOne";
|
|
1748
|
+
target?: string;
|
|
1582
1749
|
}>, z.ZodObject<{
|
|
1583
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1584
1750
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1585
1751
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1752
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1753
|
+
} & {
|
|
1586
1754
|
type: z.ZodLiteral<"relation">;
|
|
1587
1755
|
target: z.ZodString;
|
|
1756
|
+
} & {
|
|
1588
1757
|
relation: z.ZodLiteral<"oneToOne">;
|
|
1589
1758
|
inversedBy: z.ZodString;
|
|
1590
1759
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1592,23 +1761,25 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1592
1761
|
pluginOptions?: any;
|
|
1593
1762
|
required?: boolean;
|
|
1594
1763
|
type?: "relation";
|
|
1595
|
-
target?: string;
|
|
1596
1764
|
relation?: "oneToOne";
|
|
1765
|
+
target?: string;
|
|
1597
1766
|
inversedBy?: string;
|
|
1598
1767
|
}, {
|
|
1599
1768
|
__t4s_required?: boolean;
|
|
1600
1769
|
pluginOptions?: any;
|
|
1601
1770
|
required?: boolean;
|
|
1602
1771
|
type?: "relation";
|
|
1603
|
-
target?: string;
|
|
1604
1772
|
relation?: "oneToOne";
|
|
1773
|
+
target?: string;
|
|
1605
1774
|
inversedBy?: string;
|
|
1606
1775
|
}>, z.ZodObject<{
|
|
1607
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1608
1776
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1609
1777
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1778
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1779
|
+
} & {
|
|
1610
1780
|
type: z.ZodLiteral<"relation">;
|
|
1611
1781
|
target: z.ZodString;
|
|
1782
|
+
} & {
|
|
1612
1783
|
mappedBy: z.ZodString;
|
|
1613
1784
|
relation: z.ZodLiteral<"oneToMany">;
|
|
1614
1785
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1616,23 +1787,25 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1616
1787
|
pluginOptions?: any;
|
|
1617
1788
|
required?: boolean;
|
|
1618
1789
|
type?: "relation";
|
|
1790
|
+
relation?: "oneToMany";
|
|
1619
1791
|
target?: string;
|
|
1620
1792
|
mappedBy?: string;
|
|
1621
|
-
relation?: "oneToMany";
|
|
1622
1793
|
}, {
|
|
1623
1794
|
__t4s_required?: boolean;
|
|
1624
1795
|
pluginOptions?: any;
|
|
1625
1796
|
required?: boolean;
|
|
1626
1797
|
type?: "relation";
|
|
1798
|
+
relation?: "oneToMany";
|
|
1627
1799
|
target?: string;
|
|
1628
1800
|
mappedBy?: string;
|
|
1629
|
-
relation?: "oneToMany";
|
|
1630
1801
|
}>, z.ZodObject<{
|
|
1631
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1632
1802
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1633
1803
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1804
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1805
|
+
} & {
|
|
1634
1806
|
type: z.ZodLiteral<"relation">;
|
|
1635
1807
|
target: z.ZodString;
|
|
1808
|
+
} & {
|
|
1636
1809
|
relation: z.ZodLiteral<"manyToOne">;
|
|
1637
1810
|
inversedBy: z.ZodString;
|
|
1638
1811
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1640,23 +1813,25 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1640
1813
|
pluginOptions?: any;
|
|
1641
1814
|
required?: boolean;
|
|
1642
1815
|
type?: "relation";
|
|
1643
|
-
target?: string;
|
|
1644
1816
|
relation?: "manyToOne";
|
|
1817
|
+
target?: string;
|
|
1645
1818
|
inversedBy?: string;
|
|
1646
1819
|
}, {
|
|
1647
1820
|
__t4s_required?: boolean;
|
|
1648
1821
|
pluginOptions?: any;
|
|
1649
1822
|
required?: boolean;
|
|
1650
1823
|
type?: "relation";
|
|
1651
|
-
target?: string;
|
|
1652
1824
|
relation?: "manyToOne";
|
|
1825
|
+
target?: string;
|
|
1653
1826
|
inversedBy?: string;
|
|
1654
1827
|
}>, z.ZodObject<{
|
|
1655
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1656
1828
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1657
1829
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1830
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1831
|
+
} & {
|
|
1658
1832
|
type: z.ZodLiteral<"relation">;
|
|
1659
1833
|
target: z.ZodString;
|
|
1834
|
+
} & {
|
|
1660
1835
|
relation: z.ZodLiteral<"manyToMany">;
|
|
1661
1836
|
inversedBy: z.ZodOptional<z.ZodString>;
|
|
1662
1837
|
mappedBy: z.ZodOptional<z.ZodString>;
|
|
@@ -1665,8 +1840,8 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1665
1840
|
pluginOptions?: any;
|
|
1666
1841
|
required?: boolean;
|
|
1667
1842
|
type?: "relation";
|
|
1668
|
-
target?: string;
|
|
1669
1843
|
relation?: "manyToMany";
|
|
1844
|
+
target?: string;
|
|
1670
1845
|
inversedBy?: string;
|
|
1671
1846
|
mappedBy?: string;
|
|
1672
1847
|
}, {
|
|
@@ -1674,35 +1849,38 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1674
1849
|
pluginOptions?: any;
|
|
1675
1850
|
required?: boolean;
|
|
1676
1851
|
type?: "relation";
|
|
1677
|
-
target?: string;
|
|
1678
1852
|
relation?: "manyToMany";
|
|
1853
|
+
target?: string;
|
|
1679
1854
|
inversedBy?: string;
|
|
1680
1855
|
mappedBy?: string;
|
|
1681
1856
|
}>, z.ZodObject<{
|
|
1682
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1683
1857
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1684
1858
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1859
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1860
|
+
} & {
|
|
1685
1861
|
type: z.ZodLiteral<"relation">;
|
|
1686
1862
|
target: z.ZodString;
|
|
1863
|
+
} & {
|
|
1687
1864
|
relation: z.ZodLiteral<"oneToMany">;
|
|
1688
1865
|
}, "strip", z.ZodTypeAny, {
|
|
1689
1866
|
__t4s_required?: boolean;
|
|
1690
1867
|
pluginOptions?: any;
|
|
1691
1868
|
required?: boolean;
|
|
1692
1869
|
type?: "relation";
|
|
1693
|
-
target?: string;
|
|
1694
1870
|
relation?: "oneToMany";
|
|
1871
|
+
target?: string;
|
|
1695
1872
|
}, {
|
|
1696
1873
|
__t4s_required?: boolean;
|
|
1697
1874
|
pluginOptions?: any;
|
|
1698
1875
|
required?: boolean;
|
|
1699
1876
|
type?: "relation";
|
|
1700
|
-
target?: string;
|
|
1701
1877
|
relation?: "oneToMany";
|
|
1878
|
+
target?: string;
|
|
1702
1879
|
}>, z.ZodObject<{
|
|
1703
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1704
1880
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1705
1881
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1882
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1883
|
+
} & {
|
|
1706
1884
|
type: z.ZodLiteral<"relation">;
|
|
1707
1885
|
relation: z.ZodLiteral<"morphToMany">;
|
|
1708
1886
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1718,9 +1896,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1718
1896
|
type?: "relation";
|
|
1719
1897
|
relation?: "morphToMany";
|
|
1720
1898
|
}>, z.ZodObject<{
|
|
1721
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1722
1899
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1723
1900
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1901
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1902
|
+
} & {
|
|
1724
1903
|
type: z.ZodLiteral<"relation">;
|
|
1725
1904
|
relation: z.ZodLiteral<"morphToOne">;
|
|
1726
1905
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1736,9 +1915,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1736
1915
|
type?: "relation";
|
|
1737
1916
|
relation?: "morphToOne";
|
|
1738
1917
|
}>, z.ZodObject<{
|
|
1739
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1740
1918
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1741
1919
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1920
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1921
|
+
} & {
|
|
1742
1922
|
type: z.ZodLiteral<"component">;
|
|
1743
1923
|
repeatable: z.ZodOptional<z.ZodBoolean>;
|
|
1744
1924
|
component: z.ZodString;
|
|
@@ -1747,49 +1927,34 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1747
1927
|
pluginOptions?: any;
|
|
1748
1928
|
required?: boolean;
|
|
1749
1929
|
type?: "component";
|
|
1750
|
-
repeatable?: boolean;
|
|
1751
1930
|
component?: string;
|
|
1931
|
+
repeatable?: boolean;
|
|
1752
1932
|
}, {
|
|
1753
1933
|
__t4s_required?: boolean;
|
|
1754
1934
|
pluginOptions?: any;
|
|
1755
1935
|
required?: boolean;
|
|
1756
1936
|
type?: "component";
|
|
1757
|
-
repeatable?: boolean;
|
|
1758
1937
|
component?: string;
|
|
1938
|
+
repeatable?: boolean;
|
|
1759
1939
|
}>, z.ZodObject<{
|
|
1760
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1761
1940
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1762
1941
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1942
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1943
|
+
} & {
|
|
1763
1944
|
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
1764
1945
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1765
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1766
1946
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1767
1947
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1948
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1949
|
+
} & {
|
|
1768
1950
|
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
1769
1951
|
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1770
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1771
1952
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1772
1953
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1773
|
-
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
1774
|
-
}, z.ZodTypeAny, "passthrough">>]>, z.ZodObject<{
|
|
1775
1954
|
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
components: z.ZodArray<z.ZodString, "many">;
|
|
1780
|
-
}, "strip", z.ZodTypeAny, {
|
|
1781
|
-
__t4s_required?: boolean;
|
|
1782
|
-
pluginOptions?: any;
|
|
1783
|
-
required?: boolean;
|
|
1784
|
-
type?: "dynamiczone";
|
|
1785
|
-
components?: string[];
|
|
1786
|
-
}, {
|
|
1787
|
-
__t4s_required?: boolean;
|
|
1788
|
-
pluginOptions?: any;
|
|
1789
|
-
required?: boolean;
|
|
1790
|
-
type?: "dynamiczone";
|
|
1791
|
-
components?: string[];
|
|
1792
|
-
}>]>>;
|
|
1955
|
+
} & {
|
|
1956
|
+
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
1957
|
+
}, z.ZodTypeAny, "passthrough">>]>]>>;
|
|
1793
1958
|
}, "strip", z.ZodTypeAny, {
|
|
1794
1959
|
type?: "nested";
|
|
1795
1960
|
nullable?: boolean;
|
|
@@ -1814,6 +1979,11 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1814
1979
|
pluginOptions?: any;
|
|
1815
1980
|
required?: boolean;
|
|
1816
1981
|
type?: "richtext";
|
|
1982
|
+
} | {
|
|
1983
|
+
__t4s_required?: boolean;
|
|
1984
|
+
pluginOptions?: any;
|
|
1985
|
+
required?: boolean;
|
|
1986
|
+
type?: "blocks";
|
|
1817
1987
|
} | {
|
|
1818
1988
|
__t4s_required?: boolean;
|
|
1819
1989
|
pluginOptions?: any;
|
|
@@ -1882,39 +2052,39 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1882
2052
|
pluginOptions?: any;
|
|
1883
2053
|
required?: boolean;
|
|
1884
2054
|
type?: "relation";
|
|
1885
|
-
target?: string;
|
|
1886
2055
|
relation?: "oneToOne";
|
|
2056
|
+
target?: string;
|
|
1887
2057
|
} | {
|
|
1888
2058
|
__t4s_required?: boolean;
|
|
1889
2059
|
pluginOptions?: any;
|
|
1890
2060
|
required?: boolean;
|
|
1891
2061
|
type?: "relation";
|
|
1892
|
-
target?: string;
|
|
1893
2062
|
relation?: "oneToOne";
|
|
2063
|
+
target?: string;
|
|
1894
2064
|
inversedBy?: string;
|
|
1895
2065
|
} | {
|
|
1896
2066
|
__t4s_required?: boolean;
|
|
1897
2067
|
pluginOptions?: any;
|
|
1898
2068
|
required?: boolean;
|
|
1899
2069
|
type?: "relation";
|
|
2070
|
+
relation?: "oneToMany";
|
|
1900
2071
|
target?: string;
|
|
1901
2072
|
mappedBy?: string;
|
|
1902
|
-
relation?: "oneToMany";
|
|
1903
2073
|
} | {
|
|
1904
2074
|
__t4s_required?: boolean;
|
|
1905
2075
|
pluginOptions?: any;
|
|
1906
2076
|
required?: boolean;
|
|
1907
2077
|
type?: "relation";
|
|
1908
|
-
target?: string;
|
|
1909
2078
|
relation?: "manyToOne";
|
|
2079
|
+
target?: string;
|
|
1910
2080
|
inversedBy?: string;
|
|
1911
2081
|
} | {
|
|
1912
2082
|
__t4s_required?: boolean;
|
|
1913
2083
|
pluginOptions?: any;
|
|
1914
2084
|
required?: boolean;
|
|
1915
2085
|
type?: "relation";
|
|
1916
|
-
target?: string;
|
|
1917
2086
|
relation?: "manyToMany";
|
|
2087
|
+
target?: string;
|
|
1918
2088
|
inversedBy?: string;
|
|
1919
2089
|
mappedBy?: string;
|
|
1920
2090
|
} | {
|
|
@@ -1922,8 +2092,8 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1922
2092
|
pluginOptions?: any;
|
|
1923
2093
|
required?: boolean;
|
|
1924
2094
|
type?: "relation";
|
|
1925
|
-
target?: string;
|
|
1926
2095
|
relation?: "oneToMany";
|
|
2096
|
+
target?: string;
|
|
1927
2097
|
} | {
|
|
1928
2098
|
__t4s_required?: boolean;
|
|
1929
2099
|
pluginOptions?: any;
|
|
@@ -1941,8 +2111,8 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1941
2111
|
pluginOptions?: any;
|
|
1942
2112
|
required?: boolean;
|
|
1943
2113
|
type?: "component";
|
|
1944
|
-
repeatable?: boolean;
|
|
1945
2114
|
component?: string;
|
|
2115
|
+
repeatable?: boolean;
|
|
1946
2116
|
} | {
|
|
1947
2117
|
__t4s_required?: boolean;
|
|
1948
2118
|
pluginOptions?: any;
|
|
@@ -1950,9 +2120,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1950
2120
|
type?: "dynamiczone";
|
|
1951
2121
|
components?: string[];
|
|
1952
2122
|
} | z.objectOutputType<{
|
|
1953
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
1954
2123
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
1955
2124
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
2125
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2126
|
+
} & {
|
|
1956
2127
|
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
1957
2128
|
}, z.ZodTypeAny, "passthrough">>;
|
|
1958
2129
|
}, {
|
|
@@ -1979,6 +2150,11 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
1979
2150
|
pluginOptions?: any;
|
|
1980
2151
|
required?: boolean;
|
|
1981
2152
|
type?: "richtext";
|
|
2153
|
+
} | {
|
|
2154
|
+
__t4s_required?: boolean;
|
|
2155
|
+
pluginOptions?: any;
|
|
2156
|
+
required?: boolean;
|
|
2157
|
+
type?: "blocks";
|
|
1982
2158
|
} | {
|
|
1983
2159
|
__t4s_required?: boolean;
|
|
1984
2160
|
pluginOptions?: any;
|
|
@@ -2047,39 +2223,39 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
2047
2223
|
pluginOptions?: any;
|
|
2048
2224
|
required?: boolean;
|
|
2049
2225
|
type?: "relation";
|
|
2050
|
-
target?: string;
|
|
2051
2226
|
relation?: "oneToOne";
|
|
2227
|
+
target?: string;
|
|
2052
2228
|
} | {
|
|
2053
2229
|
__t4s_required?: boolean;
|
|
2054
2230
|
pluginOptions?: any;
|
|
2055
2231
|
required?: boolean;
|
|
2056
2232
|
type?: "relation";
|
|
2057
|
-
target?: string;
|
|
2058
2233
|
relation?: "oneToOne";
|
|
2234
|
+
target?: string;
|
|
2059
2235
|
inversedBy?: string;
|
|
2060
2236
|
} | {
|
|
2061
2237
|
__t4s_required?: boolean;
|
|
2062
2238
|
pluginOptions?: any;
|
|
2063
2239
|
required?: boolean;
|
|
2064
2240
|
type?: "relation";
|
|
2241
|
+
relation?: "oneToMany";
|
|
2065
2242
|
target?: string;
|
|
2066
2243
|
mappedBy?: string;
|
|
2067
|
-
relation?: "oneToMany";
|
|
2068
2244
|
} | {
|
|
2069
2245
|
__t4s_required?: boolean;
|
|
2070
2246
|
pluginOptions?: any;
|
|
2071
2247
|
required?: boolean;
|
|
2072
2248
|
type?: "relation";
|
|
2073
|
-
target?: string;
|
|
2074
2249
|
relation?: "manyToOne";
|
|
2250
|
+
target?: string;
|
|
2075
2251
|
inversedBy?: string;
|
|
2076
2252
|
} | {
|
|
2077
2253
|
__t4s_required?: boolean;
|
|
2078
2254
|
pluginOptions?: any;
|
|
2079
2255
|
required?: boolean;
|
|
2080
2256
|
type?: "relation";
|
|
2081
|
-
target?: string;
|
|
2082
2257
|
relation?: "manyToMany";
|
|
2258
|
+
target?: string;
|
|
2083
2259
|
inversedBy?: string;
|
|
2084
2260
|
mappedBy?: string;
|
|
2085
2261
|
} | {
|
|
@@ -2087,8 +2263,8 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
2087
2263
|
pluginOptions?: any;
|
|
2088
2264
|
required?: boolean;
|
|
2089
2265
|
type?: "relation";
|
|
2090
|
-
target?: string;
|
|
2091
2266
|
relation?: "oneToMany";
|
|
2267
|
+
target?: string;
|
|
2092
2268
|
} | {
|
|
2093
2269
|
__t4s_required?: boolean;
|
|
2094
2270
|
pluginOptions?: any;
|
|
@@ -2106,8 +2282,8 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
2106
2282
|
pluginOptions?: any;
|
|
2107
2283
|
required?: boolean;
|
|
2108
2284
|
type?: "component";
|
|
2109
|
-
repeatable?: boolean;
|
|
2110
2285
|
component?: string;
|
|
2286
|
+
repeatable?: boolean;
|
|
2111
2287
|
} | {
|
|
2112
2288
|
__t4s_required?: boolean;
|
|
2113
2289
|
pluginOptions?: any;
|
|
@@ -2115,9 +2291,10 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
|
|
|
2115
2291
|
type?: "dynamiczone";
|
|
2116
2292
|
components?: string[];
|
|
2117
2293
|
} | z.objectInputType<{
|
|
2118
|
-
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2119
2294
|
pluginOptions: z.ZodOptional<z.ZodAny>;
|
|
2120
2295
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
2296
|
+
__t4s_required: z.ZodOptional<z.ZodBoolean>;
|
|
2297
|
+
} & {
|
|
2121
2298
|
type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
|
|
2122
2299
|
}, z.ZodTypeAny, "passthrough">>;
|
|
2123
2300
|
}>]>;
|