@oak-digital/types-4-strapi-2 1.0.3 → 1.0.5

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,26 +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
419
  }>, z.ZodObject<{
420
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
421
+ pluginOptions: z.ZodOptional<z.ZodAny>;
422
+ required: z.ZodOptional<z.ZodBoolean>;
411
423
  type: z.ZodLiteral<"relation">;
412
424
  relation: z.ZodLiteral<"morphToOne">;
413
425
  }, "strip", z.ZodTypeAny, {
426
+ __t4s_required?: boolean;
427
+ pluginOptions?: any;
428
+ required?: boolean;
414
429
  type?: "relation";
415
430
  relation?: "morphToOne";
416
431
  }, {
432
+ __t4s_required?: boolean;
433
+ pluginOptions?: any;
434
+ required?: boolean;
417
435
  type?: "relation";
418
436
  relation?: "morphToOne";
419
- }>]>, z.ZodObject<{
437
+ }>, z.ZodObject<{
420
438
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
421
- pluginOptions: z.ZodAny;
439
+ pluginOptions: z.ZodOptional<z.ZodAny>;
422
440
  required: z.ZodOptional<z.ZodBoolean>;
423
441
  type: z.ZodLiteral<"component">;
424
442
  repeatable: z.ZodOptional<z.ZodBoolean>;
@@ -437,9 +455,24 @@ export declare const nestedAttribute: z.ZodObject<{
437
455
  type?: "component";
438
456
  repeatable?: boolean;
439
457
  component?: string;
440
- }>]>, z.ZodObject<{
458
+ }>, z.ZodObject<{
441
459
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
442
- 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>;
443
476
  required: z.ZodOptional<z.ZodBoolean>;
444
477
  type: z.ZodLiteral<"dynamiczone">;
445
478
  components: z.ZodArray<z.ZodString, "many">;
@@ -463,7 +496,7 @@ export declare const nestedAttribute: z.ZodObject<{
463
496
  __t4s_required?: boolean;
464
497
  pluginOptions?: any;
465
498
  required?: boolean;
466
- type?: "text" | "string";
499
+ type?: "string" | "text";
467
500
  } | {
468
501
  __t4s_required?: boolean;
469
502
  pluginOptions?: any;
@@ -591,9 +624,15 @@ export declare const nestedAttribute: z.ZodObject<{
591
624
  target?: string;
592
625
  relation?: "oneToMany";
593
626
  } | {
627
+ __t4s_required?: boolean;
628
+ pluginOptions?: any;
629
+ required?: boolean;
594
630
  type?: "relation";
595
631
  relation?: "morphToMany";
596
632
  } | {
633
+ __t4s_required?: boolean;
634
+ pluginOptions?: any;
635
+ required?: boolean;
597
636
  type?: "relation";
598
637
  relation?: "morphToOne";
599
638
  } | {
@@ -609,7 +648,12 @@ export declare const nestedAttribute: z.ZodObject<{
609
648
  required?: boolean;
610
649
  type?: "dynamiczone";
611
650
  components?: string[];
612
- }>;
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">>;
613
657
  }, {
614
658
  type?: "nested";
615
659
  nullable?: boolean;
@@ -617,7 +661,7 @@ export declare const nestedAttribute: z.ZodObject<{
617
661
  __t4s_required?: boolean;
618
662
  pluginOptions?: any;
619
663
  required?: boolean;
620
- type?: "text" | "string";
664
+ type?: "string" | "text";
621
665
  } | {
622
666
  __t4s_required?: boolean;
623
667
  pluginOptions?: any;
@@ -745,9 +789,15 @@ export declare const nestedAttribute: z.ZodObject<{
745
789
  target?: string;
746
790
  relation?: "oneToMany";
747
791
  } | {
792
+ __t4s_required?: boolean;
793
+ pluginOptions?: any;
794
+ required?: boolean;
748
795
  type?: "relation";
749
796
  relation?: "morphToMany";
750
797
  } | {
798
+ __t4s_required?: boolean;
799
+ pluginOptions?: any;
800
+ required?: boolean;
751
801
  type?: "relation";
752
802
  relation?: "morphToOne";
753
803
  } | {
@@ -763,26 +813,31 @@ export declare const nestedAttribute: z.ZodObject<{
763
813
  required?: boolean;
764
814
  type?: "dynamiczone";
765
815
  components?: string[];
766
- }>;
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">>;
767
822
  }>;
768
823
  export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
769
824
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
770
- pluginOptions: z.ZodAny;
825
+ pluginOptions: z.ZodOptional<z.ZodAny>;
771
826
  required: z.ZodOptional<z.ZodBoolean>;
772
827
  type: z.ZodEnum<["text", "string"]>;
773
828
  }, "strip", z.ZodTypeAny, {
774
829
  __t4s_required?: boolean;
775
830
  pluginOptions?: any;
776
831
  required?: boolean;
777
- type?: "text" | "string";
832
+ type?: "string" | "text";
778
833
  }, {
779
834
  __t4s_required?: boolean;
780
835
  pluginOptions?: any;
781
836
  required?: boolean;
782
- type?: "text" | "string";
837
+ type?: "string" | "text";
783
838
  }>, z.ZodObject<{
784
839
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
785
- pluginOptions: z.ZodAny;
840
+ pluginOptions: z.ZodOptional<z.ZodAny>;
786
841
  required: z.ZodOptional<z.ZodBoolean>;
787
842
  type: z.ZodLiteral<"email">;
788
843
  }, "strip", z.ZodTypeAny, {
@@ -797,7 +852,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
797
852
  type?: "email";
798
853
  }>, z.ZodObject<{
799
854
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
800
- pluginOptions: z.ZodAny;
855
+ pluginOptions: z.ZodOptional<z.ZodAny>;
801
856
  required: z.ZodOptional<z.ZodBoolean>;
802
857
  type: z.ZodLiteral<"uid">;
803
858
  targetField: z.ZodOptional<z.ZodString>;
@@ -815,7 +870,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
815
870
  targetField?: string;
816
871
  }>, z.ZodObject<{
817
872
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
818
- pluginOptions: z.ZodAny;
873
+ pluginOptions: z.ZodOptional<z.ZodAny>;
819
874
  required: z.ZodOptional<z.ZodBoolean>;
820
875
  type: z.ZodLiteral<"richtext">;
821
876
  }, "strip", z.ZodTypeAny, {
@@ -830,7 +885,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
830
885
  type?: "richtext";
831
886
  }>, z.ZodObject<{
832
887
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
833
- pluginOptions: z.ZodAny;
888
+ pluginOptions: z.ZodOptional<z.ZodAny>;
834
889
  required: z.ZodOptional<z.ZodBoolean>;
835
890
  type: z.ZodLiteral<"json">;
836
891
  }, "strip", z.ZodTypeAny, {
@@ -845,7 +900,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
845
900
  type?: "json";
846
901
  }>, z.ZodObject<{
847
902
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
848
- pluginOptions: z.ZodAny;
903
+ pluginOptions: z.ZodOptional<z.ZodAny>;
849
904
  required: z.ZodOptional<z.ZodBoolean>;
850
905
  type: z.ZodLiteral<"password">;
851
906
  }, "strip", z.ZodTypeAny, {
@@ -858,9 +913,9 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
858
913
  pluginOptions?: any;
859
914
  required?: boolean;
860
915
  type?: "password";
861
- }>, z.ZodUnion<[z.ZodObject<{
916
+ }>, z.ZodObject<{
862
917
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
863
- pluginOptions: z.ZodAny;
918
+ pluginOptions: z.ZodOptional<z.ZodAny>;
864
919
  required: z.ZodOptional<z.ZodBoolean>;
865
920
  type: z.ZodLiteral<"integer">;
866
921
  }, "strip", z.ZodTypeAny, {
@@ -875,7 +930,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
875
930
  type?: "integer";
876
931
  }>, z.ZodObject<{
877
932
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
878
- pluginOptions: z.ZodAny;
933
+ pluginOptions: z.ZodOptional<z.ZodAny>;
879
934
  required: z.ZodOptional<z.ZodBoolean>;
880
935
  type: z.ZodLiteral<"float">;
881
936
  }, "strip", z.ZodTypeAny, {
@@ -890,7 +945,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
890
945
  type?: "float";
891
946
  }>, z.ZodObject<{
892
947
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
893
- pluginOptions: z.ZodAny;
948
+ pluginOptions: z.ZodOptional<z.ZodAny>;
894
949
  required: z.ZodOptional<z.ZodBoolean>;
895
950
  type: z.ZodLiteral<"biginteger">;
896
951
  }, "strip", z.ZodTypeAny, {
@@ -905,7 +960,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
905
960
  type?: "biginteger";
906
961
  }>, z.ZodObject<{
907
962
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
908
- pluginOptions: z.ZodAny;
963
+ pluginOptions: z.ZodOptional<z.ZodAny>;
909
964
  required: z.ZodOptional<z.ZodBoolean>;
910
965
  type: z.ZodLiteral<"decimal">;
911
966
  }, "strip", z.ZodTypeAny, {
@@ -918,9 +973,9 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
918
973
  pluginOptions?: any;
919
974
  required?: boolean;
920
975
  type?: "decimal";
921
- }>]>, z.ZodObject<{
976
+ }>, z.ZodObject<{
922
977
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
923
- pluginOptions: z.ZodAny;
978
+ pluginOptions: z.ZodOptional<z.ZodAny>;
924
979
  required: z.ZodOptional<z.ZodBoolean>;
925
980
  type: z.ZodLiteral<"enumeration">;
926
981
  enum: z.ZodArray<z.ZodString, "many">;
@@ -936,9 +991,9 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
936
991
  required?: boolean;
937
992
  type?: "enumeration";
938
993
  enum?: string[];
939
- }>, z.ZodUnion<[z.ZodObject<{
994
+ }>, z.ZodObject<{
940
995
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
941
- pluginOptions: z.ZodAny;
996
+ pluginOptions: z.ZodOptional<z.ZodAny>;
942
997
  required: z.ZodOptional<z.ZodBoolean>;
943
998
  type: z.ZodLiteral<"date">;
944
999
  }, "strip", z.ZodTypeAny, {
@@ -953,7 +1008,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
953
1008
  type?: "date";
954
1009
  }>, z.ZodObject<{
955
1010
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
956
- pluginOptions: z.ZodAny;
1011
+ pluginOptions: z.ZodOptional<z.ZodAny>;
957
1012
  required: z.ZodOptional<z.ZodBoolean>;
958
1013
  type: z.ZodLiteral<"datetime">;
959
1014
  }, "strip", z.ZodTypeAny, {
@@ -968,7 +1023,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
968
1023
  type?: "datetime";
969
1024
  }>, z.ZodObject<{
970
1025
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
971
- pluginOptions: z.ZodAny;
1026
+ pluginOptions: z.ZodOptional<z.ZodAny>;
972
1027
  required: z.ZodOptional<z.ZodBoolean>;
973
1028
  type: z.ZodLiteral<"time">;
974
1029
  }, "strip", z.ZodTypeAny, {
@@ -981,9 +1036,9 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
981
1036
  pluginOptions?: any;
982
1037
  required?: boolean;
983
1038
  type?: "time";
984
- }>]>, z.ZodObject<{
1039
+ }>, z.ZodObject<{
985
1040
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
986
- pluginOptions: z.ZodAny;
1041
+ pluginOptions: z.ZodOptional<z.ZodAny>;
987
1042
  required: z.ZodOptional<z.ZodBoolean>;
988
1043
  type: z.ZodLiteral<"media">;
989
1044
  multiple: z.ZodOptional<z.ZodBoolean>;
@@ -1004,7 +1059,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1004
1059
  allowedTypes?: ("images" | "videos" | "audios" | "files")[];
1005
1060
  }>, z.ZodObject<{
1006
1061
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1007
- pluginOptions: z.ZodAny;
1062
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1008
1063
  required: z.ZodOptional<z.ZodBoolean>;
1009
1064
  type: z.ZodLiteral<"boolean">;
1010
1065
  }, "strip", z.ZodTypeAny, {
@@ -1017,9 +1072,9 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1017
1072
  pluginOptions?: any;
1018
1073
  required?: boolean;
1019
1074
  type?: "boolean";
1020
- }>, z.ZodUnion<[z.ZodObject<{
1075
+ }>, z.ZodObject<{
1021
1076
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1022
- pluginOptions: z.ZodAny;
1077
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1023
1078
  required: z.ZodOptional<z.ZodBoolean>;
1024
1079
  type: z.ZodLiteral<"relation">;
1025
1080
  target: z.ZodString;
@@ -1040,7 +1095,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1040
1095
  relation?: "oneToOne";
1041
1096
  }>, z.ZodObject<{
1042
1097
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1043
- pluginOptions: z.ZodAny;
1098
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1044
1099
  required: z.ZodOptional<z.ZodBoolean>;
1045
1100
  type: z.ZodLiteral<"relation">;
1046
1101
  target: z.ZodString;
@@ -1064,7 +1119,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1064
1119
  inversedBy?: string;
1065
1120
  }>, z.ZodObject<{
1066
1121
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1067
- pluginOptions: z.ZodAny;
1122
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1068
1123
  required: z.ZodOptional<z.ZodBoolean>;
1069
1124
  type: z.ZodLiteral<"relation">;
1070
1125
  target: z.ZodString;
@@ -1088,7 +1143,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1088
1143
  relation?: "oneToMany";
1089
1144
  }>, z.ZodObject<{
1090
1145
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1091
- pluginOptions: z.ZodAny;
1146
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1092
1147
  required: z.ZodOptional<z.ZodBoolean>;
1093
1148
  type: z.ZodLiteral<"relation">;
1094
1149
  target: z.ZodString;
@@ -1112,7 +1167,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1112
1167
  inversedBy?: string;
1113
1168
  }>, z.ZodObject<{
1114
1169
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1115
- pluginOptions: z.ZodAny;
1170
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1116
1171
  required: z.ZodOptional<z.ZodBoolean>;
1117
1172
  type: z.ZodLiteral<"relation">;
1118
1173
  target: z.ZodString;
@@ -1139,7 +1194,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1139
1194
  mappedBy?: string;
1140
1195
  }>, z.ZodObject<{
1141
1196
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1142
- pluginOptions: z.ZodAny;
1197
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1143
1198
  required: z.ZodOptional<z.ZodBoolean>;
1144
1199
  type: z.ZodLiteral<"relation">;
1145
1200
  target: z.ZodString;
@@ -1159,26 +1214,44 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1159
1214
  target?: string;
1160
1215
  relation?: "oneToMany";
1161
1216
  }>, z.ZodObject<{
1217
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
1218
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1219
+ required: z.ZodOptional<z.ZodBoolean>;
1162
1220
  type: z.ZodLiteral<"relation">;
1163
1221
  relation: z.ZodLiteral<"morphToMany">;
1164
1222
  }, "strip", z.ZodTypeAny, {
1223
+ __t4s_required?: boolean;
1224
+ pluginOptions?: any;
1225
+ required?: boolean;
1165
1226
  type?: "relation";
1166
1227
  relation?: "morphToMany";
1167
1228
  }, {
1229
+ __t4s_required?: boolean;
1230
+ pluginOptions?: any;
1231
+ required?: boolean;
1168
1232
  type?: "relation";
1169
1233
  relation?: "morphToMany";
1170
1234
  }>, z.ZodObject<{
1235
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
1236
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1237
+ required: z.ZodOptional<z.ZodBoolean>;
1171
1238
  type: z.ZodLiteral<"relation">;
1172
1239
  relation: z.ZodLiteral<"morphToOne">;
1173
1240
  }, "strip", z.ZodTypeAny, {
1241
+ __t4s_required?: boolean;
1242
+ pluginOptions?: any;
1243
+ required?: boolean;
1174
1244
  type?: "relation";
1175
1245
  relation?: "morphToOne";
1176
1246
  }, {
1247
+ __t4s_required?: boolean;
1248
+ pluginOptions?: any;
1249
+ required?: boolean;
1177
1250
  type?: "relation";
1178
1251
  relation?: "morphToOne";
1179
- }>]>, z.ZodObject<{
1252
+ }>, z.ZodObject<{
1180
1253
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1181
- pluginOptions: z.ZodAny;
1254
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1182
1255
  required: z.ZodOptional<z.ZodBoolean>;
1183
1256
  type: z.ZodLiteral<"component">;
1184
1257
  repeatable: z.ZodOptional<z.ZodBoolean>;
@@ -1197,9 +1270,24 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1197
1270
  type?: "component";
1198
1271
  repeatable?: boolean;
1199
1272
  component?: string;
1200
- }>]>, 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<{
1201
1289
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1202
- pluginOptions: z.ZodAny;
1290
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1203
1291
  required: z.ZodOptional<z.ZodBoolean>;
1204
1292
  type: z.ZodLiteral<"dynamiczone">;
1205
1293
  components: z.ZodArray<z.ZodString, "many">;
@@ -1220,22 +1308,22 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1220
1308
  nullable: z.ZodOptional<z.ZodBoolean>;
1221
1309
  fields: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1222
1310
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1223
- pluginOptions: z.ZodAny;
1311
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1224
1312
  required: z.ZodOptional<z.ZodBoolean>;
1225
1313
  type: z.ZodEnum<["text", "string"]>;
1226
1314
  }, "strip", z.ZodTypeAny, {
1227
1315
  __t4s_required?: boolean;
1228
1316
  pluginOptions?: any;
1229
1317
  required?: boolean;
1230
- type?: "text" | "string";
1318
+ type?: "string" | "text";
1231
1319
  }, {
1232
1320
  __t4s_required?: boolean;
1233
1321
  pluginOptions?: any;
1234
1322
  required?: boolean;
1235
- type?: "text" | "string";
1323
+ type?: "string" | "text";
1236
1324
  }>, z.ZodObject<{
1237
1325
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1238
- pluginOptions: z.ZodAny;
1326
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1239
1327
  required: z.ZodOptional<z.ZodBoolean>;
1240
1328
  type: z.ZodLiteral<"email">;
1241
1329
  }, "strip", z.ZodTypeAny, {
@@ -1250,7 +1338,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1250
1338
  type?: "email";
1251
1339
  }>, z.ZodObject<{
1252
1340
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1253
- pluginOptions: z.ZodAny;
1341
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1254
1342
  required: z.ZodOptional<z.ZodBoolean>;
1255
1343
  type: z.ZodLiteral<"uid">;
1256
1344
  targetField: z.ZodOptional<z.ZodString>;
@@ -1268,7 +1356,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1268
1356
  targetField?: string;
1269
1357
  }>, z.ZodObject<{
1270
1358
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1271
- pluginOptions: z.ZodAny;
1359
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1272
1360
  required: z.ZodOptional<z.ZodBoolean>;
1273
1361
  type: z.ZodLiteral<"richtext">;
1274
1362
  }, "strip", z.ZodTypeAny, {
@@ -1283,7 +1371,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1283
1371
  type?: "richtext";
1284
1372
  }>, z.ZodObject<{
1285
1373
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1286
- pluginOptions: z.ZodAny;
1374
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1287
1375
  required: z.ZodOptional<z.ZodBoolean>;
1288
1376
  type: z.ZodLiteral<"json">;
1289
1377
  }, "strip", z.ZodTypeAny, {
@@ -1298,7 +1386,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1298
1386
  type?: "json";
1299
1387
  }>, z.ZodObject<{
1300
1388
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1301
- pluginOptions: z.ZodAny;
1389
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1302
1390
  required: z.ZodOptional<z.ZodBoolean>;
1303
1391
  type: z.ZodLiteral<"password">;
1304
1392
  }, "strip", z.ZodTypeAny, {
@@ -1311,9 +1399,9 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1311
1399
  pluginOptions?: any;
1312
1400
  required?: boolean;
1313
1401
  type?: "password";
1314
- }>, z.ZodUnion<[z.ZodObject<{
1402
+ }>, z.ZodObject<{
1315
1403
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1316
- pluginOptions: z.ZodAny;
1404
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1317
1405
  required: z.ZodOptional<z.ZodBoolean>;
1318
1406
  type: z.ZodLiteral<"integer">;
1319
1407
  }, "strip", z.ZodTypeAny, {
@@ -1328,7 +1416,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1328
1416
  type?: "integer";
1329
1417
  }>, z.ZodObject<{
1330
1418
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1331
- pluginOptions: z.ZodAny;
1419
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1332
1420
  required: z.ZodOptional<z.ZodBoolean>;
1333
1421
  type: z.ZodLiteral<"float">;
1334
1422
  }, "strip", z.ZodTypeAny, {
@@ -1343,7 +1431,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1343
1431
  type?: "float";
1344
1432
  }>, z.ZodObject<{
1345
1433
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1346
- pluginOptions: z.ZodAny;
1434
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1347
1435
  required: z.ZodOptional<z.ZodBoolean>;
1348
1436
  type: z.ZodLiteral<"biginteger">;
1349
1437
  }, "strip", z.ZodTypeAny, {
@@ -1358,7 +1446,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1358
1446
  type?: "biginteger";
1359
1447
  }>, z.ZodObject<{
1360
1448
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1361
- pluginOptions: z.ZodAny;
1449
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1362
1450
  required: z.ZodOptional<z.ZodBoolean>;
1363
1451
  type: z.ZodLiteral<"decimal">;
1364
1452
  }, "strip", z.ZodTypeAny, {
@@ -1371,9 +1459,9 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1371
1459
  pluginOptions?: any;
1372
1460
  required?: boolean;
1373
1461
  type?: "decimal";
1374
- }>]>, z.ZodObject<{
1462
+ }>, z.ZodObject<{
1375
1463
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1376
- pluginOptions: z.ZodAny;
1464
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1377
1465
  required: z.ZodOptional<z.ZodBoolean>;
1378
1466
  type: z.ZodLiteral<"enumeration">;
1379
1467
  enum: z.ZodArray<z.ZodString, "many">;
@@ -1389,9 +1477,9 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1389
1477
  required?: boolean;
1390
1478
  type?: "enumeration";
1391
1479
  enum?: string[];
1392
- }>, z.ZodUnion<[z.ZodObject<{
1480
+ }>, z.ZodObject<{
1393
1481
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1394
- pluginOptions: z.ZodAny;
1482
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1395
1483
  required: z.ZodOptional<z.ZodBoolean>;
1396
1484
  type: z.ZodLiteral<"date">;
1397
1485
  }, "strip", z.ZodTypeAny, {
@@ -1406,7 +1494,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1406
1494
  type?: "date";
1407
1495
  }>, z.ZodObject<{
1408
1496
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1409
- pluginOptions: z.ZodAny;
1497
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1410
1498
  required: z.ZodOptional<z.ZodBoolean>;
1411
1499
  type: z.ZodLiteral<"datetime">;
1412
1500
  }, "strip", z.ZodTypeAny, {
@@ -1421,7 +1509,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1421
1509
  type?: "datetime";
1422
1510
  }>, z.ZodObject<{
1423
1511
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1424
- pluginOptions: z.ZodAny;
1512
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1425
1513
  required: z.ZodOptional<z.ZodBoolean>;
1426
1514
  type: z.ZodLiteral<"time">;
1427
1515
  }, "strip", z.ZodTypeAny, {
@@ -1434,9 +1522,9 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1434
1522
  pluginOptions?: any;
1435
1523
  required?: boolean;
1436
1524
  type?: "time";
1437
- }>]>, z.ZodObject<{
1525
+ }>, z.ZodObject<{
1438
1526
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1439
- pluginOptions: z.ZodAny;
1527
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1440
1528
  required: z.ZodOptional<z.ZodBoolean>;
1441
1529
  type: z.ZodLiteral<"media">;
1442
1530
  multiple: z.ZodOptional<z.ZodBoolean>;
@@ -1457,7 +1545,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1457
1545
  allowedTypes?: ("images" | "videos" | "audios" | "files")[];
1458
1546
  }>, z.ZodObject<{
1459
1547
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1460
- pluginOptions: z.ZodAny;
1548
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1461
1549
  required: z.ZodOptional<z.ZodBoolean>;
1462
1550
  type: z.ZodLiteral<"boolean">;
1463
1551
  }, "strip", z.ZodTypeAny, {
@@ -1470,9 +1558,9 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1470
1558
  pluginOptions?: any;
1471
1559
  required?: boolean;
1472
1560
  type?: "boolean";
1473
- }>, z.ZodUnion<[z.ZodObject<{
1561
+ }>, z.ZodObject<{
1474
1562
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1475
- pluginOptions: z.ZodAny;
1563
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1476
1564
  required: z.ZodOptional<z.ZodBoolean>;
1477
1565
  type: z.ZodLiteral<"relation">;
1478
1566
  target: z.ZodString;
@@ -1493,7 +1581,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1493
1581
  relation?: "oneToOne";
1494
1582
  }>, z.ZodObject<{
1495
1583
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1496
- pluginOptions: z.ZodAny;
1584
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1497
1585
  required: z.ZodOptional<z.ZodBoolean>;
1498
1586
  type: z.ZodLiteral<"relation">;
1499
1587
  target: z.ZodString;
@@ -1517,7 +1605,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1517
1605
  inversedBy?: string;
1518
1606
  }>, z.ZodObject<{
1519
1607
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1520
- pluginOptions: z.ZodAny;
1608
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1521
1609
  required: z.ZodOptional<z.ZodBoolean>;
1522
1610
  type: z.ZodLiteral<"relation">;
1523
1611
  target: z.ZodString;
@@ -1541,7 +1629,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1541
1629
  relation?: "oneToMany";
1542
1630
  }>, z.ZodObject<{
1543
1631
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1544
- pluginOptions: z.ZodAny;
1632
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1545
1633
  required: z.ZodOptional<z.ZodBoolean>;
1546
1634
  type: z.ZodLiteral<"relation">;
1547
1635
  target: z.ZodString;
@@ -1565,7 +1653,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1565
1653
  inversedBy?: string;
1566
1654
  }>, z.ZodObject<{
1567
1655
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1568
- pluginOptions: z.ZodAny;
1656
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1569
1657
  required: z.ZodOptional<z.ZodBoolean>;
1570
1658
  type: z.ZodLiteral<"relation">;
1571
1659
  target: z.ZodString;
@@ -1592,7 +1680,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1592
1680
  mappedBy?: string;
1593
1681
  }>, z.ZodObject<{
1594
1682
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1595
- pluginOptions: z.ZodAny;
1683
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1596
1684
  required: z.ZodOptional<z.ZodBoolean>;
1597
1685
  type: z.ZodLiteral<"relation">;
1598
1686
  target: z.ZodString;
@@ -1612,26 +1700,44 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1612
1700
  target?: string;
1613
1701
  relation?: "oneToMany";
1614
1702
  }>, z.ZodObject<{
1703
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
1704
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1705
+ required: z.ZodOptional<z.ZodBoolean>;
1615
1706
  type: z.ZodLiteral<"relation">;
1616
1707
  relation: z.ZodLiteral<"morphToMany">;
1617
1708
  }, "strip", z.ZodTypeAny, {
1709
+ __t4s_required?: boolean;
1710
+ pluginOptions?: any;
1711
+ required?: boolean;
1618
1712
  type?: "relation";
1619
1713
  relation?: "morphToMany";
1620
1714
  }, {
1715
+ __t4s_required?: boolean;
1716
+ pluginOptions?: any;
1717
+ required?: boolean;
1621
1718
  type?: "relation";
1622
1719
  relation?: "morphToMany";
1623
1720
  }>, z.ZodObject<{
1721
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
1722
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1723
+ required: z.ZodOptional<z.ZodBoolean>;
1624
1724
  type: z.ZodLiteral<"relation">;
1625
1725
  relation: z.ZodLiteral<"morphToOne">;
1626
1726
  }, "strip", z.ZodTypeAny, {
1727
+ __t4s_required?: boolean;
1728
+ pluginOptions?: any;
1729
+ required?: boolean;
1627
1730
  type?: "relation";
1628
1731
  relation?: "morphToOne";
1629
1732
  }, {
1733
+ __t4s_required?: boolean;
1734
+ pluginOptions?: any;
1735
+ required?: boolean;
1630
1736
  type?: "relation";
1631
1737
  relation?: "morphToOne";
1632
- }>]>, z.ZodObject<{
1738
+ }>, z.ZodObject<{
1633
1739
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1634
- pluginOptions: z.ZodAny;
1740
+ pluginOptions: z.ZodOptional<z.ZodAny>;
1635
1741
  required: z.ZodOptional<z.ZodBoolean>;
1636
1742
  type: z.ZodLiteral<"component">;
1637
1743
  repeatable: z.ZodOptional<z.ZodBoolean>;
@@ -1650,9 +1756,24 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1650
1756
  type?: "component";
1651
1757
  repeatable?: boolean;
1652
1758
  component?: string;
1653
- }>]>, z.ZodObject<{
1759
+ }>, z.ZodObject<{
1654
1760
  __t4s_required: z.ZodOptional<z.ZodBoolean>;
1655
- pluginOptions: z.ZodAny;
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<{
1770
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
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>;
1656
1777
  required: z.ZodOptional<z.ZodBoolean>;
1657
1778
  type: z.ZodLiteral<"dynamiczone">;
1658
1779
  components: z.ZodArray<z.ZodString, "many">;
@@ -1676,7 +1797,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1676
1797
  __t4s_required?: boolean;
1677
1798
  pluginOptions?: any;
1678
1799
  required?: boolean;
1679
- type?: "text" | "string";
1800
+ type?: "string" | "text";
1680
1801
  } | {
1681
1802
  __t4s_required?: boolean;
1682
1803
  pluginOptions?: any;
@@ -1804,9 +1925,15 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1804
1925
  target?: string;
1805
1926
  relation?: "oneToMany";
1806
1927
  } | {
1928
+ __t4s_required?: boolean;
1929
+ pluginOptions?: any;
1930
+ required?: boolean;
1807
1931
  type?: "relation";
1808
1932
  relation?: "morphToMany";
1809
1933
  } | {
1934
+ __t4s_required?: boolean;
1935
+ pluginOptions?: any;
1936
+ required?: boolean;
1810
1937
  type?: "relation";
1811
1938
  relation?: "morphToOne";
1812
1939
  } | {
@@ -1822,7 +1949,12 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1822
1949
  required?: boolean;
1823
1950
  type?: "dynamiczone";
1824
1951
  components?: string[];
1825
- }>;
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">>;
1826
1958
  }, {
1827
1959
  type?: "nested";
1828
1960
  nullable?: boolean;
@@ -1830,7 +1962,7 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1830
1962
  __t4s_required?: boolean;
1831
1963
  pluginOptions?: any;
1832
1964
  required?: boolean;
1833
- type?: "text" | "string";
1965
+ type?: "string" | "text";
1834
1966
  } | {
1835
1967
  __t4s_required?: boolean;
1836
1968
  pluginOptions?: any;
@@ -1958,9 +2090,15 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1958
2090
  target?: string;
1959
2091
  relation?: "oneToMany";
1960
2092
  } | {
2093
+ __t4s_required?: boolean;
2094
+ pluginOptions?: any;
2095
+ required?: boolean;
1961
2096
  type?: "relation";
1962
2097
  relation?: "morphToMany";
1963
2098
  } | {
2099
+ __t4s_required?: boolean;
2100
+ pluginOptions?: any;
2101
+ required?: boolean;
1964
2102
  type?: "relation";
1965
2103
  relation?: "morphToOne";
1966
2104
  } | {
@@ -1976,8 +2114,13 @@ export declare const attributeWithNested: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.
1976
2114
  required?: boolean;
1977
2115
  type?: "dynamiczone";
1978
2116
  components?: string[];
1979
- }>;
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">>;
1980
2123
  }>]>;
1981
- export declare type AttributeWithNested = z.infer<typeof attributeWithNested>;
2124
+ export type AttributeWithNested = z.infer<typeof attributeWithNested>;
1982
2125
  export declare function createMediaInterface(caseTypeName: caseType, prefix: string): BuiltinInterface;
1983
2126
  export declare function createMediaFormatInterface(caseTypeName: caseType, prefix: string): BuiltinComponentInterface;