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