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