@oak-digital/types-4-strapi-2 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,22 +7,22 @@ export declare const nestedAttribute: z.ZodObject<{
7
7
  nullable: z.ZodOptional<z.ZodBoolean>;
8
8
  fields: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
9
9
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
10
- pluginOptions: z.ZodAny;
10
+ pluginOptions: z.ZodOptional<z.ZodAny>;
11
11
  required: z.ZodOptional<z.ZodBoolean>;
12
12
  type: z.ZodEnum<["text", "string"]>;
13
13
  }, "strip", z.ZodTypeAny, {
14
14
  __t4s_required?: boolean;
15
15
  pluginOptions?: any;
16
16
  required?: boolean;
17
- type?: "text" | "string";
17
+ type?: "string" | "text";
18
18
  }, {
19
19
  __t4s_required?: boolean;
20
20
  pluginOptions?: any;
21
21
  required?: boolean;
22
- type?: "text" | "string";
22
+ type?: "string" | "text";
23
23
  }>, z.ZodObject<{
24
24
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
25
- pluginOptions: z.ZodAny;
25
+ pluginOptions: z.ZodOptional<z.ZodAny>;
26
26
  required: z.ZodOptional<z.ZodBoolean>;
27
27
  type: z.ZodLiteral<"email">;
28
28
  }, "strip", z.ZodTypeAny, {
@@ -37,7 +37,7 @@ export declare const nestedAttribute: z.ZodObject<{
37
37
  type?: "email";
38
38
  }>, z.ZodObject<{
39
39
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
40
- pluginOptions: z.ZodAny;
40
+ pluginOptions: z.ZodOptional<z.ZodAny>;
41
41
  required: z.ZodOptional<z.ZodBoolean>;
42
42
  type: z.ZodLiteral<"uid">;
43
43
  targetField: z.ZodOptional<z.ZodString>;
@@ -55,7 +55,7 @@ export declare const nestedAttribute: z.ZodObject<{
55
55
  targetField?: string;
56
56
  }>, z.ZodObject<{
57
57
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
58
- pluginOptions: z.ZodAny;
58
+ pluginOptions: z.ZodOptional<z.ZodAny>;
59
59
  required: z.ZodOptional<z.ZodBoolean>;
60
60
  type: z.ZodLiteral<"richtext">;
61
61
  }, "strip", z.ZodTypeAny, {
@@ -70,7 +70,7 @@ export declare const nestedAttribute: z.ZodObject<{
70
70
  type?: "richtext";
71
71
  }>, z.ZodObject<{
72
72
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
73
- pluginOptions: z.ZodAny;
73
+ pluginOptions: z.ZodOptional<z.ZodAny>;
74
74
  required: z.ZodOptional<z.ZodBoolean>;
75
75
  type: z.ZodLiteral<"json">;
76
76
  }, "strip", z.ZodTypeAny, {
@@ -85,7 +85,7 @@ export declare const nestedAttribute: z.ZodObject<{
85
85
  type?: "json";
86
86
  }>, z.ZodObject<{
87
87
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
88
- pluginOptions: z.ZodAny;
88
+ pluginOptions: z.ZodOptional<z.ZodAny>;
89
89
  required: z.ZodOptional<z.ZodBoolean>;
90
90
  type: z.ZodLiteral<"password">;
91
91
  }, "strip", z.ZodTypeAny, {
@@ -98,9 +98,9 @@ export declare const nestedAttribute: z.ZodObject<{
98
98
  pluginOptions?: any;
99
99
  required?: boolean;
100
100
  type?: "password";
101
- }>, z.ZodUnion<[z.ZodObject<{
101
+ }>, z.ZodObject<{
102
102
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
103
- pluginOptions: z.ZodAny;
103
+ pluginOptions: z.ZodOptional<z.ZodAny>;
104
104
  required: z.ZodOptional<z.ZodBoolean>;
105
105
  type: z.ZodLiteral<"integer">;
106
106
  }, "strip", z.ZodTypeAny, {
@@ -115,7 +115,7 @@ export declare const nestedAttribute: z.ZodObject<{
115
115
  type?: "integer";
116
116
  }>, z.ZodObject<{
117
117
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
118
- pluginOptions: z.ZodAny;
118
+ pluginOptions: z.ZodOptional<z.ZodAny>;
119
119
  required: z.ZodOptional<z.ZodBoolean>;
120
120
  type: z.ZodLiteral<"float">;
121
121
  }, "strip", z.ZodTypeAny, {
@@ -130,7 +130,7 @@ export declare const nestedAttribute: z.ZodObject<{
130
130
  type?: "float";
131
131
  }>, z.ZodObject<{
132
132
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
133
- pluginOptions: z.ZodAny;
133
+ pluginOptions: z.ZodOptional<z.ZodAny>;
134
134
  required: z.ZodOptional<z.ZodBoolean>;
135
135
  type: z.ZodLiteral<"biginteger">;
136
136
  }, "strip", z.ZodTypeAny, {
@@ -145,7 +145,7 @@ export declare const nestedAttribute: z.ZodObject<{
145
145
  type?: "biginteger";
146
146
  }>, z.ZodObject<{
147
147
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
148
- pluginOptions: z.ZodAny;
148
+ pluginOptions: z.ZodOptional<z.ZodAny>;
149
149
  required: z.ZodOptional<z.ZodBoolean>;
150
150
  type: z.ZodLiteral<"decimal">;
151
151
  }, "strip", z.ZodTypeAny, {
@@ -158,9 +158,9 @@ export declare const nestedAttribute: z.ZodObject<{
158
158
  pluginOptions?: any;
159
159
  required?: boolean;
160
160
  type?: "decimal";
161
- }>]>, z.ZodObject<{
161
+ }>, z.ZodObject<{
162
162
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
163
- pluginOptions: z.ZodAny;
163
+ pluginOptions: z.ZodOptional<z.ZodAny>;
164
164
  required: z.ZodOptional<z.ZodBoolean>;
165
165
  type: z.ZodLiteral<"enumeration">;
166
166
  enum: z.ZodArray<z.ZodString, "many">;
@@ -176,9 +176,9 @@ export declare const nestedAttribute: z.ZodObject<{
176
176
  required?: boolean;
177
177
  type?: "enumeration";
178
178
  enum?: string[];
179
- }>, z.ZodUnion<[z.ZodObject<{
179
+ }>, z.ZodObject<{
180
180
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
181
- pluginOptions: z.ZodAny;
181
+ pluginOptions: z.ZodOptional<z.ZodAny>;
182
182
  required: z.ZodOptional<z.ZodBoolean>;
183
183
  type: z.ZodLiteral<"date">;
184
184
  }, "strip", z.ZodTypeAny, {
@@ -193,7 +193,7 @@ export declare const nestedAttribute: z.ZodObject<{
193
193
  type?: "date";
194
194
  }>, z.ZodObject<{
195
195
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
196
- pluginOptions: z.ZodAny;
196
+ pluginOptions: z.ZodOptional<z.ZodAny>;
197
197
  required: z.ZodOptional<z.ZodBoolean>;
198
198
  type: z.ZodLiteral<"datetime">;
199
199
  }, "strip", z.ZodTypeAny, {
@@ -208,7 +208,7 @@ export declare const nestedAttribute: z.ZodObject<{
208
208
  type?: "datetime";
209
209
  }>, z.ZodObject<{
210
210
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
211
- pluginOptions: z.ZodAny;
211
+ pluginOptions: z.ZodOptional<z.ZodAny>;
212
212
  required: z.ZodOptional<z.ZodBoolean>;
213
213
  type: z.ZodLiteral<"time">;
214
214
  }, "strip", z.ZodTypeAny, {
@@ -221,9 +221,9 @@ export declare const nestedAttribute: z.ZodObject<{
221
221
  pluginOptions?: any;
222
222
  required?: boolean;
223
223
  type?: "time";
224
- }>]>, z.ZodObject<{
224
+ }>, z.ZodObject<{
225
225
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
226
- pluginOptions: z.ZodAny;
226
+ pluginOptions: z.ZodOptional<z.ZodAny>;
227
227
  required: z.ZodOptional<z.ZodBoolean>;
228
228
  type: z.ZodLiteral<"media">;
229
229
  multiple: z.ZodOptional<z.ZodBoolean>;
@@ -244,7 +244,7 @@ export declare const nestedAttribute: z.ZodObject<{
244
244
  allowedTypes?: ("images" | "videos" | "audios" | "files")[];
245
245
  }>, z.ZodObject<{
246
246
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
247
- pluginOptions: z.ZodAny;
247
+ pluginOptions: z.ZodOptional<z.ZodAny>;
248
248
  required: z.ZodOptional<z.ZodBoolean>;
249
249
  type: z.ZodLiteral<"boolean">;
250
250
  }, "strip", z.ZodTypeAny, {
@@ -257,9 +257,9 @@ export declare const nestedAttribute: z.ZodObject<{
257
257
  pluginOptions?: any;
258
258
  required?: boolean;
259
259
  type?: "boolean";
260
- }>, z.ZodUnion<[z.ZodObject<{
260
+ }>, z.ZodObject<{
261
261
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
262
- pluginOptions: z.ZodAny;
262
+ pluginOptions: z.ZodOptional<z.ZodAny>;
263
263
  required: z.ZodOptional<z.ZodBoolean>;
264
264
  type: z.ZodLiteral<"relation">;
265
265
  target: z.ZodString;
@@ -280,7 +280,7 @@ export declare const nestedAttribute: z.ZodObject<{
280
280
  relation?: "oneToOne";
281
281
  }>, z.ZodObject<{
282
282
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
283
- pluginOptions: z.ZodAny;
283
+ pluginOptions: z.ZodOptional<z.ZodAny>;
284
284
  required: z.ZodOptional<z.ZodBoolean>;
285
285
  type: z.ZodLiteral<"relation">;
286
286
  target: z.ZodString;
@@ -304,7 +304,7 @@ export declare const nestedAttribute: z.ZodObject<{
304
304
  inversedBy?: string;
305
305
  }>, z.ZodObject<{
306
306
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
307
- pluginOptions: z.ZodAny;
307
+ pluginOptions: z.ZodOptional<z.ZodAny>;
308
308
  required: z.ZodOptional<z.ZodBoolean>;
309
309
  type: z.ZodLiteral<"relation">;
310
310
  target: z.ZodString;
@@ -328,7 +328,7 @@ export declare const nestedAttribute: z.ZodObject<{
328
328
  relation?: "oneToMany";
329
329
  }>, z.ZodObject<{
330
330
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
331
- pluginOptions: z.ZodAny;
331
+ pluginOptions: z.ZodOptional<z.ZodAny>;
332
332
  required: z.ZodOptional<z.ZodBoolean>;
333
333
  type: z.ZodLiteral<"relation">;
334
334
  target: z.ZodString;
@@ -352,7 +352,7 @@ export declare const nestedAttribute: z.ZodObject<{
352
352
  inversedBy?: string;
353
353
  }>, z.ZodObject<{
354
354
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
355
- pluginOptions: z.ZodAny;
355
+ pluginOptions: z.ZodOptional<z.ZodAny>;
356
356
  required: z.ZodOptional<z.ZodBoolean>;
357
357
  type: z.ZodLiteral<"relation">;
358
358
  target: z.ZodString;
@@ -379,7 +379,7 @@ export declare const nestedAttribute: z.ZodObject<{
379
379
  mappedBy?: string;
380
380
  }>, z.ZodObject<{
381
381
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
382
- pluginOptions: z.ZodAny;
382
+ pluginOptions: z.ZodOptional<z.ZodAny>;
383
383
  required: z.ZodOptional<z.ZodBoolean>;
384
384
  type: z.ZodLiteral<"relation">;
385
385
  target: z.ZodString;
@@ -399,17 +399,44 @@ export declare const nestedAttribute: z.ZodObject<{
399
399
  target?: string;
400
400
  relation?: "oneToMany";
401
401
  }>, z.ZodObject<{
402
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
403
+ pluginOptions: z.ZodOptional<z.ZodAny>;
404
+ required: z.ZodOptional<z.ZodBoolean>;
402
405
  type: z.ZodLiteral<"relation">;
403
406
  relation: z.ZodLiteral<"morphToMany">;
404
407
  }, "strip", z.ZodTypeAny, {
408
+ __t4s_required?: boolean;
409
+ pluginOptions?: any;
410
+ required?: boolean;
405
411
  type?: "relation";
406
412
  relation?: "morphToMany";
407
413
  }, {
414
+ __t4s_required?: boolean;
415
+ pluginOptions?: any;
416
+ required?: boolean;
408
417
  type?: "relation";
409
418
  relation?: "morphToMany";
410
- }>]>, z.ZodObject<{
419
+ }>, z.ZodObject<{
420
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
421
+ pluginOptions: z.ZodOptional<z.ZodAny>;
422
+ required: z.ZodOptional<z.ZodBoolean>;
423
+ type: z.ZodLiteral<"relation">;
424
+ relation: z.ZodLiteral<"morphToOne">;
425
+ }, "strip", z.ZodTypeAny, {
426
+ __t4s_required?: boolean;
427
+ pluginOptions?: any;
428
+ required?: boolean;
429
+ type?: "relation";
430
+ relation?: "morphToOne";
431
+ }, {
432
+ __t4s_required?: boolean;
433
+ pluginOptions?: any;
434
+ required?: boolean;
435
+ type?: "relation";
436
+ relation?: "morphToOne";
437
+ }>, z.ZodObject<{
411
438
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
412
- pluginOptions: z.ZodAny;
439
+ pluginOptions: z.ZodOptional<z.ZodAny>;
413
440
  required: z.ZodOptional<z.ZodBoolean>;
414
441
  type: z.ZodLiteral<"component">;
415
442
  repeatable: z.ZodOptional<z.ZodBoolean>;
@@ -428,9 +455,24 @@ export declare const nestedAttribute: z.ZodObject<{
428
455
  type?: "component";
429
456
  repeatable?: boolean;
430
457
  component?: string;
431
- }>]>, z.ZodObject<{
458
+ }>, z.ZodObject<{
432
459
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
433
- pluginOptions: z.ZodAny;
460
+ pluginOptions: z.ZodOptional<z.ZodAny>;
461
+ required: z.ZodOptional<z.ZodBoolean>;
462
+ type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
463
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
464
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
465
+ pluginOptions: z.ZodOptional<z.ZodAny>;
466
+ required: z.ZodOptional<z.ZodBoolean>;
467
+ type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
468
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
469
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
470
+ pluginOptions: z.ZodOptional<z.ZodAny>;
471
+ required: z.ZodOptional<z.ZodBoolean>;
472
+ type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
473
+ }, z.ZodTypeAny, "passthrough">>]>, z.ZodObject<{
474
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
475
+ pluginOptions: z.ZodOptional<z.ZodAny>;
434
476
  required: z.ZodOptional<z.ZodBoolean>;
435
477
  type: z.ZodLiteral<"dynamiczone">;
436
478
  components: z.ZodArray<z.ZodString, "many">;
@@ -454,7 +496,7 @@ export declare const nestedAttribute: z.ZodObject<{
454
496
  __t4s_required?: boolean;
455
497
  pluginOptions?: any;
456
498
  required?: boolean;
457
- type?: "text" | "string";
499
+ type?: "string" | "text";
458
500
  } | {
459
501
  __t4s_required?: boolean;
460
502
  pluginOptions?: any;
@@ -582,8 +624,17 @@ export declare const nestedAttribute: z.ZodObject<{
582
624
  target?: string;
583
625
  relation?: "oneToMany";
584
626
  } | {
627
+ __t4s_required?: boolean;
628
+ pluginOptions?: any;
629
+ required?: boolean;
585
630
  type?: "relation";
586
631
  relation?: "morphToMany";
632
+ } | {
633
+ __t4s_required?: boolean;
634
+ pluginOptions?: any;
635
+ required?: boolean;
636
+ type?: "relation";
637
+ relation?: "morphToOne";
587
638
  } | {
588
639
  __t4s_required?: boolean;
589
640
  pluginOptions?: any;
@@ -597,7 +648,12 @@ export declare const nestedAttribute: z.ZodObject<{
597
648
  required?: boolean;
598
649
  type?: "dynamiczone";
599
650
  components?: string[];
600
- }>;
651
+ } | z.objectOutputType<{
652
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
653
+ pluginOptions: z.ZodOptional<z.ZodAny>;
654
+ required: z.ZodOptional<z.ZodBoolean>;
655
+ type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
656
+ }, z.ZodTypeAny, "passthrough">>;
601
657
  }, {
602
658
  type?: "nested";
603
659
  nullable?: boolean;
@@ -605,7 +661,7 @@ export declare const nestedAttribute: z.ZodObject<{
605
661
  __t4s_required?: boolean;
606
662
  pluginOptions?: any;
607
663
  required?: boolean;
608
- type?: "text" | "string";
664
+ type?: "string" | "text";
609
665
  } | {
610
666
  __t4s_required?: boolean;
611
667
  pluginOptions?: any;
@@ -733,8 +789,17 @@ export declare const nestedAttribute: z.ZodObject<{
733
789
  target?: string;
734
790
  relation?: "oneToMany";
735
791
  } | {
792
+ __t4s_required?: boolean;
793
+ pluginOptions?: any;
794
+ required?: boolean;
736
795
  type?: "relation";
737
796
  relation?: "morphToMany";
797
+ } | {
798
+ __t4s_required?: boolean;
799
+ pluginOptions?: any;
800
+ required?: boolean;
801
+ type?: "relation";
802
+ relation?: "morphToOne";
738
803
  } | {
739
804
  __t4s_required?: boolean;
740
805
  pluginOptions?: any;
@@ -748,26 +813,31 @@ export declare const nestedAttribute: z.ZodObject<{
748
813
  required?: boolean;
749
814
  type?: "dynamiczone";
750
815
  components?: string[];
751
- }>;
816
+ } | z.objectInputType<{
817
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
818
+ pluginOptions: z.ZodOptional<z.ZodAny>;
819
+ required: z.ZodOptional<z.ZodBoolean>;
820
+ type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
821
+ }, z.ZodTypeAny, "passthrough">>;
752
822
  }>;
753
823
  export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
754
824
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
755
- pluginOptions: z.ZodAny;
825
+ pluginOptions: z.ZodOptional<z.ZodAny>;
756
826
  required: z.ZodOptional<z.ZodBoolean>;
757
827
  type: z.ZodEnum<["text", "string"]>;
758
828
  }, "strip", z.ZodTypeAny, {
759
829
  __t4s_required?: boolean;
760
830
  pluginOptions?: any;
761
831
  required?: boolean;
762
- type?: "text" | "string";
832
+ type?: "string" | "text";
763
833
  }, {
764
834
  __t4s_required?: boolean;
765
835
  pluginOptions?: any;
766
836
  required?: boolean;
767
- type?: "text" | "string";
837
+ type?: "string" | "text";
768
838
  }>, z.ZodObject<{
769
839
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
770
- pluginOptions: z.ZodAny;
840
+ pluginOptions: z.ZodOptional<z.ZodAny>;
771
841
  required: z.ZodOptional<z.ZodBoolean>;
772
842
  type: z.ZodLiteral<"email">;
773
843
  }, "strip", z.ZodTypeAny, {
@@ -782,7 +852,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
782
852
  type?: "email";
783
853
  }>, z.ZodObject<{
784
854
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
785
- pluginOptions: z.ZodAny;
855
+ pluginOptions: z.ZodOptional<z.ZodAny>;
786
856
  required: z.ZodOptional<z.ZodBoolean>;
787
857
  type: z.ZodLiteral<"uid">;
788
858
  targetField: z.ZodOptional<z.ZodString>;
@@ -800,7 +870,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
800
870
  targetField?: string;
801
871
  }>, z.ZodObject<{
802
872
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
803
- pluginOptions: z.ZodAny;
873
+ pluginOptions: z.ZodOptional<z.ZodAny>;
804
874
  required: z.ZodOptional<z.ZodBoolean>;
805
875
  type: z.ZodLiteral<"richtext">;
806
876
  }, "strip", z.ZodTypeAny, {
@@ -815,7 +885,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
815
885
  type?: "richtext";
816
886
  }>, z.ZodObject<{
817
887
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
818
- pluginOptions: z.ZodAny;
888
+ pluginOptions: z.ZodOptional<z.ZodAny>;
819
889
  required: z.ZodOptional<z.ZodBoolean>;
820
890
  type: z.ZodLiteral<"json">;
821
891
  }, "strip", z.ZodTypeAny, {
@@ -830,7 +900,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
830
900
  type?: "json";
831
901
  }>, z.ZodObject<{
832
902
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
833
- pluginOptions: z.ZodAny;
903
+ pluginOptions: z.ZodOptional<z.ZodAny>;
834
904
  required: z.ZodOptional<z.ZodBoolean>;
835
905
  type: z.ZodLiteral<"password">;
836
906
  }, "strip", z.ZodTypeAny, {
@@ -843,9 +913,9 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
843
913
  pluginOptions?: any;
844
914
  required?: boolean;
845
915
  type?: "password";
846
- }>, z.ZodUnion<[z.ZodObject<{
916
+ }>, z.ZodObject<{
847
917
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
848
- pluginOptions: z.ZodAny;
918
+ pluginOptions: z.ZodOptional<z.ZodAny>;
849
919
  required: z.ZodOptional<z.ZodBoolean>;
850
920
  type: z.ZodLiteral<"integer">;
851
921
  }, "strip", z.ZodTypeAny, {
@@ -860,7 +930,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
860
930
  type?: "integer";
861
931
  }>, z.ZodObject<{
862
932
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
863
- pluginOptions: z.ZodAny;
933
+ pluginOptions: z.ZodOptional<z.ZodAny>;
864
934
  required: z.ZodOptional<z.ZodBoolean>;
865
935
  type: z.ZodLiteral<"float">;
866
936
  }, "strip", z.ZodTypeAny, {
@@ -875,7 +945,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
875
945
  type?: "float";
876
946
  }>, z.ZodObject<{
877
947
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
878
- pluginOptions: z.ZodAny;
948
+ pluginOptions: z.ZodOptional<z.ZodAny>;
879
949
  required: z.ZodOptional<z.ZodBoolean>;
880
950
  type: z.ZodLiteral<"biginteger">;
881
951
  }, "strip", z.ZodTypeAny, {
@@ -890,7 +960,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
890
960
  type?: "biginteger";
891
961
  }>, z.ZodObject<{
892
962
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
893
- pluginOptions: z.ZodAny;
963
+ pluginOptions: z.ZodOptional<z.ZodAny>;
894
964
  required: z.ZodOptional<z.ZodBoolean>;
895
965
  type: z.ZodLiteral<"decimal">;
896
966
  }, "strip", z.ZodTypeAny, {
@@ -903,9 +973,9 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
903
973
  pluginOptions?: any;
904
974
  required?: boolean;
905
975
  type?: "decimal";
906
- }>]>, z.ZodObject<{
976
+ }>, z.ZodObject<{
907
977
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
908
- pluginOptions: z.ZodAny;
978
+ pluginOptions: z.ZodOptional<z.ZodAny>;
909
979
  required: z.ZodOptional<z.ZodBoolean>;
910
980
  type: z.ZodLiteral<"enumeration">;
911
981
  enum: z.ZodArray<z.ZodString, "many">;
@@ -921,9 +991,9 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
921
991
  required?: boolean;
922
992
  type?: "enumeration";
923
993
  enum?: string[];
924
- }>, z.ZodUnion<[z.ZodObject<{
994
+ }>, z.ZodObject<{
925
995
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
926
- pluginOptions: z.ZodAny;
996
+ pluginOptions: z.ZodOptional<z.ZodAny>;
927
997
  required: z.ZodOptional<z.ZodBoolean>;
928
998
  type: z.ZodLiteral<"date">;
929
999
  }, "strip", z.ZodTypeAny, {
@@ -938,7 +1008,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
938
1008
  type?: "date";
939
1009
  }>, z.ZodObject<{
940
1010
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
941
- pluginOptions: z.ZodAny;
1011
+ pluginOptions: z.ZodOptional<z.ZodAny>;
942
1012
  required: z.ZodOptional<z.ZodBoolean>;
943
1013
  type: z.ZodLiteral<"datetime">;
944
1014
  }, "strip", z.ZodTypeAny, {
@@ -953,7 +1023,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
953
1023
  type?: "datetime";
954
1024
  }>, z.ZodObject<{
955
1025
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
956
- pluginOptions: z.ZodAny;
1026
+ pluginOptions: z.ZodOptional<z.ZodAny>;
957
1027
  required: z.ZodOptional<z.ZodBoolean>;
958
1028
  type: z.ZodLiteral<"time">;
959
1029
  }, "strip", z.ZodTypeAny, {
@@ -966,9 +1036,9 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
966
1036
  pluginOptions?: any;
967
1037
  required?: boolean;
968
1038
  type?: "time";
969
- }>]>, z.ZodObject<{
1039
+ }>, z.ZodObject<{
970
1040
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
971
- pluginOptions: z.ZodAny;
1041
+ pluginOptions: z.ZodOptional<z.ZodAny>;
972
1042
  required: z.ZodOptional<z.ZodBoolean>;
973
1043
  type: z.ZodLiteral<"media">;
974
1044
  multiple: z.ZodOptional<z.ZodBoolean>;
@@ -989,7 +1059,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
989
1059
  allowedTypes?: ("images" | "videos" | "audios" | "files")[];
990
1060
  }>, z.ZodObject<{
991
1061
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
992
- pluginOptions: z.ZodAny;
1062
+ pluginOptions: z.ZodOptional<z.ZodAny>;
993
1063
  required: z.ZodOptional<z.ZodBoolean>;
994
1064
  type: z.ZodLiteral<"boolean">;
995
1065
  }, "strip", z.ZodTypeAny, {
@@ -1002,9 +1072,9 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1002
1072
  pluginOptions?: any;
1003
1073
  required?: boolean;
1004
1074
  type?: "boolean";
1005
- }>, z.ZodUnion<[z.ZodObject<{
1075
+ }>, z.ZodObject<{
1006
1076
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1007
- pluginOptions: z.ZodAny;
1077
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1008
1078
  required: z.ZodOptional<z.ZodBoolean>;
1009
1079
  type: z.ZodLiteral<"relation">;
1010
1080
  target: z.ZodString;
@@ -1025,7 +1095,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1025
1095
  relation?: "oneToOne";
1026
1096
  }>, z.ZodObject<{
1027
1097
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1028
- pluginOptions: z.ZodAny;
1098
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1029
1099
  required: z.ZodOptional<z.ZodBoolean>;
1030
1100
  type: z.ZodLiteral<"relation">;
1031
1101
  target: z.ZodString;
@@ -1049,7 +1119,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1049
1119
  inversedBy?: string;
1050
1120
  }>, z.ZodObject<{
1051
1121
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1052
- pluginOptions: z.ZodAny;
1122
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1053
1123
  required: z.ZodOptional<z.ZodBoolean>;
1054
1124
  type: z.ZodLiteral<"relation">;
1055
1125
  target: z.ZodString;
@@ -1073,7 +1143,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1073
1143
  relation?: "oneToMany";
1074
1144
  }>, z.ZodObject<{
1075
1145
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1076
- pluginOptions: z.ZodAny;
1146
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1077
1147
  required: z.ZodOptional<z.ZodBoolean>;
1078
1148
  type: z.ZodLiteral<"relation">;
1079
1149
  target: z.ZodString;
@@ -1097,7 +1167,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1097
1167
  inversedBy?: string;
1098
1168
  }>, z.ZodObject<{
1099
1169
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1100
- pluginOptions: z.ZodAny;
1170
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1101
1171
  required: z.ZodOptional<z.ZodBoolean>;
1102
1172
  type: z.ZodLiteral<"relation">;
1103
1173
  target: z.ZodString;
@@ -1124,7 +1194,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1124
1194
  mappedBy?: string;
1125
1195
  }>, z.ZodObject<{
1126
1196
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1127
- pluginOptions: z.ZodAny;
1197
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1128
1198
  required: z.ZodOptional<z.ZodBoolean>;
1129
1199
  type: z.ZodLiteral<"relation">;
1130
1200
  target: z.ZodString;
@@ -1144,17 +1214,44 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1144
1214
  target?: string;
1145
1215
  relation?: "oneToMany";
1146
1216
  }>, z.ZodObject<{
1217
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
1218
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1219
+ required: z.ZodOptional<z.ZodBoolean>;
1147
1220
  type: z.ZodLiteral<"relation">;
1148
1221
  relation: z.ZodLiteral<"morphToMany">;
1149
1222
  }, "strip", z.ZodTypeAny, {
1223
+ __t4s_required?: boolean;
1224
+ pluginOptions?: any;
1225
+ required?: boolean;
1150
1226
  type?: "relation";
1151
1227
  relation?: "morphToMany";
1152
1228
  }, {
1229
+ __t4s_required?: boolean;
1230
+ pluginOptions?: any;
1231
+ required?: boolean;
1153
1232
  type?: "relation";
1154
1233
  relation?: "morphToMany";
1155
- }>]>, z.ZodObject<{
1234
+ }>, z.ZodObject<{
1156
1235
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1157
- pluginOptions: z.ZodAny;
1236
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1237
+ required: z.ZodOptional<z.ZodBoolean>;
1238
+ type: z.ZodLiteral<"relation">;
1239
+ relation: z.ZodLiteral<"morphToOne">;
1240
+ }, "strip", z.ZodTypeAny, {
1241
+ __t4s_required?: boolean;
1242
+ pluginOptions?: any;
1243
+ required?: boolean;
1244
+ type?: "relation";
1245
+ relation?: "morphToOne";
1246
+ }, {
1247
+ __t4s_required?: boolean;
1248
+ pluginOptions?: any;
1249
+ required?: boolean;
1250
+ type?: "relation";
1251
+ relation?: "morphToOne";
1252
+ }>, z.ZodObject<{
1253
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
1254
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1158
1255
  required: z.ZodOptional<z.ZodBoolean>;
1159
1256
  type: z.ZodLiteral<"component">;
1160
1257
  repeatable: z.ZodOptional<z.ZodBoolean>;
@@ -1173,9 +1270,24 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1173
1270
  type?: "component";
1174
1271
  repeatable?: boolean;
1175
1272
  component?: string;
1176
- }>]>, z.ZodObject<{
1273
+ }>, z.ZodObject<{
1274
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
1275
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1276
+ required: z.ZodOptional<z.ZodBoolean>;
1277
+ type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
1278
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1279
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
1280
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1281
+ required: z.ZodOptional<z.ZodBoolean>;
1282
+ type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
1283
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1284
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
1285
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1286
+ required: z.ZodOptional<z.ZodBoolean>;
1287
+ type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
1288
+ }, z.ZodTypeAny, "passthrough">>]>, z.ZodObject<{
1177
1289
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1178
- pluginOptions: z.ZodAny;
1290
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1179
1291
  required: z.ZodOptional<z.ZodBoolean>;
1180
1292
  type: z.ZodLiteral<"dynamiczone">;
1181
1293
  components: z.ZodArray<z.ZodString, "many">;
@@ -1196,22 +1308,22 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1196
1308
  nullable: z.ZodOptional<z.ZodBoolean>;
1197
1309
  fields: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1198
1310
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1199
- pluginOptions: z.ZodAny;
1311
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1200
1312
  required: z.ZodOptional<z.ZodBoolean>;
1201
1313
  type: z.ZodEnum<["text", "string"]>;
1202
1314
  }, "strip", z.ZodTypeAny, {
1203
1315
  __t4s_required?: boolean;
1204
1316
  pluginOptions?: any;
1205
1317
  required?: boolean;
1206
- type?: "text" | "string";
1318
+ type?: "string" | "text";
1207
1319
  }, {
1208
1320
  __t4s_required?: boolean;
1209
1321
  pluginOptions?: any;
1210
1322
  required?: boolean;
1211
- type?: "text" | "string";
1323
+ type?: "string" | "text";
1212
1324
  }>, z.ZodObject<{
1213
1325
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1214
- pluginOptions: z.ZodAny;
1326
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1215
1327
  required: z.ZodOptional<z.ZodBoolean>;
1216
1328
  type: z.ZodLiteral<"email">;
1217
1329
  }, "strip", z.ZodTypeAny, {
@@ -1226,7 +1338,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1226
1338
  type?: "email";
1227
1339
  }>, z.ZodObject<{
1228
1340
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1229
- pluginOptions: z.ZodAny;
1341
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1230
1342
  required: z.ZodOptional<z.ZodBoolean>;
1231
1343
  type: z.ZodLiteral<"uid">;
1232
1344
  targetField: z.ZodOptional<z.ZodString>;
@@ -1244,7 +1356,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1244
1356
  targetField?: string;
1245
1357
  }>, z.ZodObject<{
1246
1358
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1247
- pluginOptions: z.ZodAny;
1359
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1248
1360
  required: z.ZodOptional<z.ZodBoolean>;
1249
1361
  type: z.ZodLiteral<"richtext">;
1250
1362
  }, "strip", z.ZodTypeAny, {
@@ -1259,7 +1371,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1259
1371
  type?: "richtext";
1260
1372
  }>, z.ZodObject<{
1261
1373
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1262
- pluginOptions: z.ZodAny;
1374
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1263
1375
  required: z.ZodOptional<z.ZodBoolean>;
1264
1376
  type: z.ZodLiteral<"json">;
1265
1377
  }, "strip", z.ZodTypeAny, {
@@ -1274,7 +1386,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1274
1386
  type?: "json";
1275
1387
  }>, z.ZodObject<{
1276
1388
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1277
- pluginOptions: z.ZodAny;
1389
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1278
1390
  required: z.ZodOptional<z.ZodBoolean>;
1279
1391
  type: z.ZodLiteral<"password">;
1280
1392
  }, "strip", z.ZodTypeAny, {
@@ -1287,9 +1399,9 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1287
1399
  pluginOptions?: any;
1288
1400
  required?: boolean;
1289
1401
  type?: "password";
1290
- }>, z.ZodUnion<[z.ZodObject<{
1402
+ }>, z.ZodObject<{
1291
1403
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1292
- pluginOptions: z.ZodAny;
1404
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1293
1405
  required: z.ZodOptional<z.ZodBoolean>;
1294
1406
  type: z.ZodLiteral<"integer">;
1295
1407
  }, "strip", z.ZodTypeAny, {
@@ -1304,7 +1416,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1304
1416
  type?: "integer";
1305
1417
  }>, z.ZodObject<{
1306
1418
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1307
- pluginOptions: z.ZodAny;
1419
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1308
1420
  required: z.ZodOptional<z.ZodBoolean>;
1309
1421
  type: z.ZodLiteral<"float">;
1310
1422
  }, "strip", z.ZodTypeAny, {
@@ -1319,7 +1431,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1319
1431
  type?: "float";
1320
1432
  }>, z.ZodObject<{
1321
1433
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1322
- pluginOptions: z.ZodAny;
1434
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1323
1435
  required: z.ZodOptional<z.ZodBoolean>;
1324
1436
  type: z.ZodLiteral<"biginteger">;
1325
1437
  }, "strip", z.ZodTypeAny, {
@@ -1334,7 +1446,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1334
1446
  type?: "biginteger";
1335
1447
  }>, z.ZodObject<{
1336
1448
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1337
- pluginOptions: z.ZodAny;
1449
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1338
1450
  required: z.ZodOptional<z.ZodBoolean>;
1339
1451
  type: z.ZodLiteral<"decimal">;
1340
1452
  }, "strip", z.ZodTypeAny, {
@@ -1347,9 +1459,9 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1347
1459
  pluginOptions?: any;
1348
1460
  required?: boolean;
1349
1461
  type?: "decimal";
1350
- }>]>, z.ZodObject<{
1462
+ }>, z.ZodObject<{
1351
1463
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1352
- pluginOptions: z.ZodAny;
1464
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1353
1465
  required: z.ZodOptional<z.ZodBoolean>;
1354
1466
  type: z.ZodLiteral<"enumeration">;
1355
1467
  enum: z.ZodArray<z.ZodString, "many">;
@@ -1365,9 +1477,9 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1365
1477
  required?: boolean;
1366
1478
  type?: "enumeration";
1367
1479
  enum?: string[];
1368
- }>, z.ZodUnion<[z.ZodObject<{
1480
+ }>, z.ZodObject<{
1369
1481
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1370
- pluginOptions: z.ZodAny;
1482
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1371
1483
  required: z.ZodOptional<z.ZodBoolean>;
1372
1484
  type: z.ZodLiteral<"date">;
1373
1485
  }, "strip", z.ZodTypeAny, {
@@ -1382,7 +1494,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1382
1494
  type?: "date";
1383
1495
  }>, z.ZodObject<{
1384
1496
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1385
- pluginOptions: z.ZodAny;
1497
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1386
1498
  required: z.ZodOptional<z.ZodBoolean>;
1387
1499
  type: z.ZodLiteral<"datetime">;
1388
1500
  }, "strip", z.ZodTypeAny, {
@@ -1397,7 +1509,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1397
1509
  type?: "datetime";
1398
1510
  }>, z.ZodObject<{
1399
1511
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1400
- pluginOptions: z.ZodAny;
1512
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1401
1513
  required: z.ZodOptional<z.ZodBoolean>;
1402
1514
  type: z.ZodLiteral<"time">;
1403
1515
  }, "strip", z.ZodTypeAny, {
@@ -1410,9 +1522,9 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1410
1522
  pluginOptions?: any;
1411
1523
  required?: boolean;
1412
1524
  type?: "time";
1413
- }>]>, z.ZodObject<{
1525
+ }>, z.ZodObject<{
1414
1526
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1415
- pluginOptions: z.ZodAny;
1527
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1416
1528
  required: z.ZodOptional<z.ZodBoolean>;
1417
1529
  type: z.ZodLiteral<"media">;
1418
1530
  multiple: z.ZodOptional<z.ZodBoolean>;
@@ -1433,7 +1545,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1433
1545
  allowedTypes?: ("images" | "videos" | "audios" | "files")[];
1434
1546
  }>, z.ZodObject<{
1435
1547
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1436
- pluginOptions: z.ZodAny;
1548
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1437
1549
  required: z.ZodOptional<z.ZodBoolean>;
1438
1550
  type: z.ZodLiteral<"boolean">;
1439
1551
  }, "strip", z.ZodTypeAny, {
@@ -1446,9 +1558,9 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1446
1558
  pluginOptions?: any;
1447
1559
  required?: boolean;
1448
1560
  type?: "boolean";
1449
- }>, z.ZodUnion<[z.ZodObject<{
1561
+ }>, z.ZodObject<{
1450
1562
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1451
- pluginOptions: z.ZodAny;
1563
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1452
1564
  required: z.ZodOptional<z.ZodBoolean>;
1453
1565
  type: z.ZodLiteral<"relation">;
1454
1566
  target: z.ZodString;
@@ -1469,7 +1581,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1469
1581
  relation?: "oneToOne";
1470
1582
  }>, z.ZodObject<{
1471
1583
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1472
- pluginOptions: z.ZodAny;
1584
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1473
1585
  required: z.ZodOptional<z.ZodBoolean>;
1474
1586
  type: z.ZodLiteral<"relation">;
1475
1587
  target: z.ZodString;
@@ -1493,7 +1605,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1493
1605
  inversedBy?: string;
1494
1606
  }>, z.ZodObject<{
1495
1607
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1496
- pluginOptions: z.ZodAny;
1608
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1497
1609
  required: z.ZodOptional<z.ZodBoolean>;
1498
1610
  type: z.ZodLiteral<"relation">;
1499
1611
  target: z.ZodString;
@@ -1517,7 +1629,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1517
1629
  relation?: "oneToMany";
1518
1630
  }>, z.ZodObject<{
1519
1631
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1520
- pluginOptions: z.ZodAny;
1632
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1521
1633
  required: z.ZodOptional<z.ZodBoolean>;
1522
1634
  type: z.ZodLiteral<"relation">;
1523
1635
  target: z.ZodString;
@@ -1541,7 +1653,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1541
1653
  inversedBy?: string;
1542
1654
  }>, z.ZodObject<{
1543
1655
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1544
- pluginOptions: z.ZodAny;
1656
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1545
1657
  required: z.ZodOptional<z.ZodBoolean>;
1546
1658
  type: z.ZodLiteral<"relation">;
1547
1659
  target: z.ZodString;
@@ -1568,7 +1680,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1568
1680
  mappedBy?: string;
1569
1681
  }>, z.ZodObject<{
1570
1682
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1571
- pluginOptions: z.ZodAny;
1683
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1572
1684
  required: z.ZodOptional<z.ZodBoolean>;
1573
1685
  type: z.ZodLiteral<"relation">;
1574
1686
  target: z.ZodString;
@@ -1588,17 +1700,44 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1588
1700
  target?: string;
1589
1701
  relation?: "oneToMany";
1590
1702
  }>, z.ZodObject<{
1703
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
1704
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1705
+ required: z.ZodOptional<z.ZodBoolean>;
1591
1706
  type: z.ZodLiteral<"relation">;
1592
1707
  relation: z.ZodLiteral<"morphToMany">;
1593
1708
  }, "strip", z.ZodTypeAny, {
1709
+ __t4s_required?: boolean;
1710
+ pluginOptions?: any;
1711
+ required?: boolean;
1594
1712
  type?: "relation";
1595
1713
  relation?: "morphToMany";
1596
1714
  }, {
1715
+ __t4s_required?: boolean;
1716
+ pluginOptions?: any;
1717
+ required?: boolean;
1597
1718
  type?: "relation";
1598
1719
  relation?: "morphToMany";
1599
- }>]>, z.ZodObject<{
1720
+ }>, z.ZodObject<{
1721
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
1722
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1723
+ required: z.ZodOptional<z.ZodBoolean>;
1724
+ type: z.ZodLiteral<"relation">;
1725
+ relation: z.ZodLiteral<"morphToOne">;
1726
+ }, "strip", z.ZodTypeAny, {
1727
+ __t4s_required?: boolean;
1728
+ pluginOptions?: any;
1729
+ required?: boolean;
1730
+ type?: "relation";
1731
+ relation?: "morphToOne";
1732
+ }, {
1733
+ __t4s_required?: boolean;
1734
+ pluginOptions?: any;
1735
+ required?: boolean;
1736
+ type?: "relation";
1737
+ relation?: "morphToOne";
1738
+ }>, z.ZodObject<{
1600
1739
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1601
- pluginOptions: z.ZodAny;
1740
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1602
1741
  required: z.ZodOptional<z.ZodBoolean>;
1603
1742
  type: z.ZodLiteral<"component">;
1604
1743
  repeatable: z.ZodOptional<z.ZodBoolean>;
@@ -1617,9 +1756,24 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1617
1756
  type?: "component";
1618
1757
  repeatable?: boolean;
1619
1758
  component?: string;
1620
- }>]>, z.ZodObject<{
1759
+ }>, z.ZodObject<{
1760
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
1761
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1762
+ required: z.ZodOptional<z.ZodBoolean>;
1763
+ type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
1764
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1765
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
1766
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1767
+ required: z.ZodOptional<z.ZodBoolean>;
1768
+ type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
1769
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1621
1770
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1622
- pluginOptions: z.ZodAny;
1771
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1772
+ required: z.ZodOptional<z.ZodBoolean>;
1773
+ type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
1774
+ }, z.ZodTypeAny, "passthrough">>]>, z.ZodObject<{
1775
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
1776
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1623
1777
  required: z.ZodOptional<z.ZodBoolean>;
1624
1778
  type: z.ZodLiteral<"dynamiczone">;
1625
1779
  components: z.ZodArray<z.ZodString, "many">;
@@ -1643,7 +1797,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1643
1797
  __t4s_required?: boolean;
1644
1798
  pluginOptions?: any;
1645
1799
  required?: boolean;
1646
- type?: "text" | "string";
1800
+ type?: "string" | "text";
1647
1801
  } | {
1648
1802
  __t4s_required?: boolean;
1649
1803
  pluginOptions?: any;
@@ -1771,8 +1925,17 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1771
1925
  target?: string;
1772
1926
  relation?: "oneToMany";
1773
1927
  } | {
1928
+ __t4s_required?: boolean;
1929
+ pluginOptions?: any;
1930
+ required?: boolean;
1774
1931
  type?: "relation";
1775
1932
  relation?: "morphToMany";
1933
+ } | {
1934
+ __t4s_required?: boolean;
1935
+ pluginOptions?: any;
1936
+ required?: boolean;
1937
+ type?: "relation";
1938
+ relation?: "morphToOne";
1776
1939
  } | {
1777
1940
  __t4s_required?: boolean;
1778
1941
  pluginOptions?: any;
@@ -1786,7 +1949,12 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1786
1949
  required?: boolean;
1787
1950
  type?: "dynamiczone";
1788
1951
  components?: string[];
1789
- }>;
1952
+ } | z.objectOutputType<{
1953
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
1954
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1955
+ required: z.ZodOptional<z.ZodBoolean>;
1956
+ type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
1957
+ }, z.ZodTypeAny, "passthrough">>;
1790
1958
  }, {
1791
1959
  type?: "nested";
1792
1960
  nullable?: boolean;
@@ -1794,7 +1962,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1794
1962
  __t4s_required?: boolean;
1795
1963
  pluginOptions?: any;
1796
1964
  required?: boolean;
1797
- type?: "text" | "string";
1965
+ type?: "string" | "text";
1798
1966
  } | {
1799
1967
  __t4s_required?: boolean;
1800
1968
  pluginOptions?: any;
@@ -1922,8 +2090,17 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1922
2090
  target?: string;
1923
2091
  relation?: "oneToMany";
1924
2092
  } | {
2093
+ __t4s_required?: boolean;
2094
+ pluginOptions?: any;
2095
+ required?: boolean;
1925
2096
  type?: "relation";
1926
2097
  relation?: "morphToMany";
2098
+ } | {
2099
+ __t4s_required?: boolean;
2100
+ pluginOptions?: any;
2101
+ required?: boolean;
2102
+ type?: "relation";
2103
+ relation?: "morphToOne";
1927
2104
  } | {
1928
2105
  __t4s_required?: boolean;
1929
2106
  pluginOptions?: any;
@@ -1937,8 +2114,13 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1937
2114
  required?: boolean;
1938
2115
  type?: "dynamiczone";
1939
2116
  components?: string[];
1940
- }>;
2117
+ } | z.objectInputType<{
2118
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
2119
+ pluginOptions: z.ZodOptional<z.ZodAny>;
2120
+ required: z.ZodOptional<z.ZodBoolean>;
2121
+ type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
2122
+ }, z.ZodTypeAny, "passthrough">>;
1941
2123
  }>]>;
1942
- export declare type AttributeWithNested = z.infer<typeof attributeWithNested>;
2124
+ export type AttributeWithNested = z.infer<typeof attributeWithNested>;
1943
2125
  export declare function createMediaInterface(caseTypeName: caseType, prefix: string): BuiltinInterface;
1944
2126
  export declare function createMediaFormatInterface(caseTypeName: caseType, prefix: string): BuiltinComponentInterface;