@oak-digital/types-4-strapi-2 1.0.7 → 1.0.8

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.
@@ -0,0 +1,855 @@
1
+ import { z } from 'zod';
2
+ export declare const strapiComponent: z.ZodObject<{
3
+ collectionName: z.ZodString;
4
+ attributes: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
5
+ pluginOptions: z.ZodOptional<z.ZodAny>;
6
+ required: z.ZodOptional<z.ZodBoolean>;
7
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
8
+ } & {
9
+ type: z.ZodEnum<["text", "string"]>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ __t4s_required?: boolean;
12
+ pluginOptions?: any;
13
+ required?: boolean;
14
+ type?: "string" | "text";
15
+ }, {
16
+ __t4s_required?: boolean;
17
+ pluginOptions?: any;
18
+ required?: boolean;
19
+ type?: "string" | "text";
20
+ }>, z.ZodObject<{
21
+ pluginOptions: z.ZodOptional<z.ZodAny>;
22
+ required: z.ZodOptional<z.ZodBoolean>;
23
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
24
+ } & {
25
+ type: z.ZodLiteral<"email">;
26
+ }, "strip", z.ZodTypeAny, {
27
+ __t4s_required?: boolean;
28
+ pluginOptions?: any;
29
+ required?: boolean;
30
+ type?: "email";
31
+ }, {
32
+ __t4s_required?: boolean;
33
+ pluginOptions?: any;
34
+ required?: boolean;
35
+ type?: "email";
36
+ }>, z.ZodObject<{
37
+ pluginOptions: z.ZodOptional<z.ZodAny>;
38
+ required: z.ZodOptional<z.ZodBoolean>;
39
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
40
+ } & {
41
+ type: z.ZodLiteral<"uid">;
42
+ targetField: z.ZodOptional<z.ZodString>;
43
+ }, "strip", z.ZodTypeAny, {
44
+ __t4s_required?: boolean;
45
+ pluginOptions?: any;
46
+ required?: boolean;
47
+ type?: "uid";
48
+ targetField?: string;
49
+ }, {
50
+ __t4s_required?: boolean;
51
+ pluginOptions?: any;
52
+ required?: boolean;
53
+ type?: "uid";
54
+ targetField?: string;
55
+ }>, z.ZodObject<{
56
+ pluginOptions: z.ZodOptional<z.ZodAny>;
57
+ required: z.ZodOptional<z.ZodBoolean>;
58
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
59
+ } & {
60
+ type: z.ZodLiteral<"richtext">;
61
+ }, "strip", z.ZodTypeAny, {
62
+ __t4s_required?: boolean;
63
+ pluginOptions?: any;
64
+ required?: boolean;
65
+ type?: "richtext";
66
+ }, {
67
+ __t4s_required?: boolean;
68
+ pluginOptions?: any;
69
+ required?: boolean;
70
+ type?: "richtext";
71
+ }>, z.ZodObject<{
72
+ pluginOptions: z.ZodOptional<z.ZodAny>;
73
+ required: z.ZodOptional<z.ZodBoolean>;
74
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
75
+ } & {
76
+ type: z.ZodLiteral<"blocks">;
77
+ }, "strip", z.ZodTypeAny, {
78
+ __t4s_required?: boolean;
79
+ pluginOptions?: any;
80
+ required?: boolean;
81
+ type?: "blocks";
82
+ }, {
83
+ __t4s_required?: boolean;
84
+ pluginOptions?: any;
85
+ required?: boolean;
86
+ type?: "blocks";
87
+ }>, z.ZodObject<{
88
+ pluginOptions: z.ZodOptional<z.ZodAny>;
89
+ required: z.ZodOptional<z.ZodBoolean>;
90
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
91
+ } & {
92
+ type: z.ZodLiteral<"json">;
93
+ }, "strip", z.ZodTypeAny, {
94
+ __t4s_required?: boolean;
95
+ pluginOptions?: any;
96
+ required?: boolean;
97
+ type?: "json";
98
+ }, {
99
+ __t4s_required?: boolean;
100
+ pluginOptions?: any;
101
+ required?: boolean;
102
+ type?: "json";
103
+ }>, z.ZodObject<{
104
+ pluginOptions: z.ZodOptional<z.ZodAny>;
105
+ required: z.ZodOptional<z.ZodBoolean>;
106
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
107
+ } & {
108
+ type: z.ZodLiteral<"password">;
109
+ }, "strip", z.ZodTypeAny, {
110
+ __t4s_required?: boolean;
111
+ pluginOptions?: any;
112
+ required?: boolean;
113
+ type?: "password";
114
+ }, {
115
+ __t4s_required?: boolean;
116
+ pluginOptions?: any;
117
+ required?: boolean;
118
+ type?: "password";
119
+ }>, z.ZodObject<{
120
+ pluginOptions: z.ZodOptional<z.ZodAny>;
121
+ required: z.ZodOptional<z.ZodBoolean>;
122
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
123
+ } & {
124
+ type: z.ZodLiteral<"integer">;
125
+ }, "strip", z.ZodTypeAny, {
126
+ __t4s_required?: boolean;
127
+ pluginOptions?: any;
128
+ required?: boolean;
129
+ type?: "integer";
130
+ }, {
131
+ __t4s_required?: boolean;
132
+ pluginOptions?: any;
133
+ required?: boolean;
134
+ type?: "integer";
135
+ }>, z.ZodObject<{
136
+ pluginOptions: z.ZodOptional<z.ZodAny>;
137
+ required: z.ZodOptional<z.ZodBoolean>;
138
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
139
+ } & {
140
+ type: z.ZodLiteral<"float">;
141
+ }, "strip", z.ZodTypeAny, {
142
+ __t4s_required?: boolean;
143
+ pluginOptions?: any;
144
+ required?: boolean;
145
+ type?: "float";
146
+ }, {
147
+ __t4s_required?: boolean;
148
+ pluginOptions?: any;
149
+ required?: boolean;
150
+ type?: "float";
151
+ }>, z.ZodObject<{
152
+ pluginOptions: z.ZodOptional<z.ZodAny>;
153
+ required: z.ZodOptional<z.ZodBoolean>;
154
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
155
+ } & {
156
+ type: z.ZodLiteral<"biginteger">;
157
+ }, "strip", z.ZodTypeAny, {
158
+ __t4s_required?: boolean;
159
+ pluginOptions?: any;
160
+ required?: boolean;
161
+ type?: "biginteger";
162
+ }, {
163
+ __t4s_required?: boolean;
164
+ pluginOptions?: any;
165
+ required?: boolean;
166
+ type?: "biginteger";
167
+ }>, z.ZodObject<{
168
+ pluginOptions: z.ZodOptional<z.ZodAny>;
169
+ required: z.ZodOptional<z.ZodBoolean>;
170
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
171
+ } & {
172
+ type: z.ZodLiteral<"decimal">;
173
+ }, "strip", z.ZodTypeAny, {
174
+ __t4s_required?: boolean;
175
+ pluginOptions?: any;
176
+ required?: boolean;
177
+ type?: "decimal";
178
+ }, {
179
+ __t4s_required?: boolean;
180
+ pluginOptions?: any;
181
+ required?: boolean;
182
+ type?: "decimal";
183
+ }>, z.ZodObject<{
184
+ pluginOptions: z.ZodOptional<z.ZodAny>;
185
+ required: z.ZodOptional<z.ZodBoolean>;
186
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
187
+ } & {
188
+ type: z.ZodLiteral<"enumeration">;
189
+ enum: z.ZodArray<z.ZodString, "many">;
190
+ }, "strip", z.ZodTypeAny, {
191
+ __t4s_required?: boolean;
192
+ pluginOptions?: any;
193
+ required?: boolean;
194
+ type?: "enumeration";
195
+ enum?: string[];
196
+ }, {
197
+ __t4s_required?: boolean;
198
+ pluginOptions?: any;
199
+ required?: boolean;
200
+ type?: "enumeration";
201
+ enum?: string[];
202
+ }>, z.ZodObject<{
203
+ pluginOptions: z.ZodOptional<z.ZodAny>;
204
+ required: z.ZodOptional<z.ZodBoolean>;
205
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
206
+ } & {
207
+ type: z.ZodLiteral<"date">;
208
+ }, "strip", z.ZodTypeAny, {
209
+ __t4s_required?: boolean;
210
+ pluginOptions?: any;
211
+ required?: boolean;
212
+ type?: "date";
213
+ }, {
214
+ __t4s_required?: boolean;
215
+ pluginOptions?: any;
216
+ required?: boolean;
217
+ type?: "date";
218
+ }>, z.ZodObject<{
219
+ pluginOptions: z.ZodOptional<z.ZodAny>;
220
+ required: z.ZodOptional<z.ZodBoolean>;
221
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
222
+ } & {
223
+ type: z.ZodLiteral<"datetime">;
224
+ }, "strip", z.ZodTypeAny, {
225
+ __t4s_required?: boolean;
226
+ pluginOptions?: any;
227
+ required?: boolean;
228
+ type?: "datetime";
229
+ }, {
230
+ __t4s_required?: boolean;
231
+ pluginOptions?: any;
232
+ required?: boolean;
233
+ type?: "datetime";
234
+ }>, z.ZodObject<{
235
+ pluginOptions: z.ZodOptional<z.ZodAny>;
236
+ required: z.ZodOptional<z.ZodBoolean>;
237
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
238
+ } & {
239
+ type: z.ZodLiteral<"time">;
240
+ }, "strip", z.ZodTypeAny, {
241
+ __t4s_required?: boolean;
242
+ pluginOptions?: any;
243
+ required?: boolean;
244
+ type?: "time";
245
+ }, {
246
+ __t4s_required?: boolean;
247
+ pluginOptions?: any;
248
+ required?: boolean;
249
+ type?: "time";
250
+ }>, z.ZodObject<{
251
+ pluginOptions: z.ZodOptional<z.ZodAny>;
252
+ required: z.ZodOptional<z.ZodBoolean>;
253
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
254
+ } & {
255
+ type: z.ZodLiteral<"media">;
256
+ multiple: z.ZodOptional<z.ZodBoolean>;
257
+ allowedTypes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<["images", "videos", "audios", "files"]>, "many">>>;
258
+ }, "strip", z.ZodTypeAny, {
259
+ __t4s_required?: boolean;
260
+ pluginOptions?: any;
261
+ required?: boolean;
262
+ type?: "media";
263
+ multiple?: boolean;
264
+ allowedTypes?: ("images" | "videos" | "audios" | "files")[];
265
+ }, {
266
+ __t4s_required?: boolean;
267
+ pluginOptions?: any;
268
+ required?: boolean;
269
+ type?: "media";
270
+ multiple?: boolean;
271
+ allowedTypes?: ("images" | "videos" | "audios" | "files")[];
272
+ }>, z.ZodObject<{
273
+ pluginOptions: z.ZodOptional<z.ZodAny>;
274
+ required: z.ZodOptional<z.ZodBoolean>;
275
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
276
+ } & {
277
+ type: z.ZodLiteral<"boolean">;
278
+ }, "strip", z.ZodTypeAny, {
279
+ __t4s_required?: boolean;
280
+ pluginOptions?: any;
281
+ required?: boolean;
282
+ type?: "boolean";
283
+ }, {
284
+ __t4s_required?: boolean;
285
+ pluginOptions?: any;
286
+ required?: boolean;
287
+ type?: "boolean";
288
+ }>, z.ZodObject<{
289
+ pluginOptions: z.ZodOptional<z.ZodAny>;
290
+ required: z.ZodOptional<z.ZodBoolean>;
291
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
292
+ } & {
293
+ type: z.ZodLiteral<"relation">;
294
+ target: z.ZodString;
295
+ } & {
296
+ relation: z.ZodLiteral<"oneToOne">;
297
+ }, "strip", z.ZodTypeAny, {
298
+ __t4s_required?: boolean;
299
+ pluginOptions?: any;
300
+ required?: boolean;
301
+ type?: "relation";
302
+ relation?: "oneToOne";
303
+ target?: string;
304
+ }, {
305
+ __t4s_required?: boolean;
306
+ pluginOptions?: any;
307
+ required?: boolean;
308
+ type?: "relation";
309
+ relation?: "oneToOne";
310
+ target?: string;
311
+ }>, z.ZodObject<{
312
+ pluginOptions: z.ZodOptional<z.ZodAny>;
313
+ required: z.ZodOptional<z.ZodBoolean>;
314
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
315
+ } & {
316
+ type: z.ZodLiteral<"relation">;
317
+ target: z.ZodString;
318
+ } & {
319
+ relation: z.ZodLiteral<"oneToOne">;
320
+ inversedBy: z.ZodString;
321
+ }, "strip", z.ZodTypeAny, {
322
+ __t4s_required?: boolean;
323
+ pluginOptions?: any;
324
+ required?: boolean;
325
+ type?: "relation";
326
+ relation?: "oneToOne";
327
+ target?: string;
328
+ inversedBy?: string;
329
+ }, {
330
+ __t4s_required?: boolean;
331
+ pluginOptions?: any;
332
+ required?: boolean;
333
+ type?: "relation";
334
+ relation?: "oneToOne";
335
+ target?: string;
336
+ inversedBy?: string;
337
+ }>, z.ZodObject<{
338
+ pluginOptions: z.ZodOptional<z.ZodAny>;
339
+ required: z.ZodOptional<z.ZodBoolean>;
340
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
341
+ } & {
342
+ type: z.ZodLiteral<"relation">;
343
+ target: z.ZodString;
344
+ } & {
345
+ mappedBy: z.ZodString;
346
+ relation: z.ZodLiteral<"oneToMany">;
347
+ }, "strip", z.ZodTypeAny, {
348
+ __t4s_required?: boolean;
349
+ pluginOptions?: any;
350
+ required?: boolean;
351
+ type?: "relation";
352
+ relation?: "oneToMany";
353
+ target?: string;
354
+ mappedBy?: string;
355
+ }, {
356
+ __t4s_required?: boolean;
357
+ pluginOptions?: any;
358
+ required?: boolean;
359
+ type?: "relation";
360
+ relation?: "oneToMany";
361
+ target?: string;
362
+ mappedBy?: string;
363
+ }>, z.ZodObject<{
364
+ pluginOptions: z.ZodOptional<z.ZodAny>;
365
+ required: z.ZodOptional<z.ZodBoolean>;
366
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
367
+ } & {
368
+ type: z.ZodLiteral<"relation">;
369
+ target: z.ZodString;
370
+ } & {
371
+ relation: z.ZodLiteral<"manyToOne">;
372
+ inversedBy: z.ZodString;
373
+ }, "strip", z.ZodTypeAny, {
374
+ __t4s_required?: boolean;
375
+ pluginOptions?: any;
376
+ required?: boolean;
377
+ type?: "relation";
378
+ relation?: "manyToOne";
379
+ target?: string;
380
+ inversedBy?: string;
381
+ }, {
382
+ __t4s_required?: boolean;
383
+ pluginOptions?: any;
384
+ required?: boolean;
385
+ type?: "relation";
386
+ relation?: "manyToOne";
387
+ target?: string;
388
+ inversedBy?: string;
389
+ }>, z.ZodObject<{
390
+ pluginOptions: z.ZodOptional<z.ZodAny>;
391
+ required: z.ZodOptional<z.ZodBoolean>;
392
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
393
+ } & {
394
+ type: z.ZodLiteral<"relation">;
395
+ target: z.ZodString;
396
+ } & {
397
+ relation: z.ZodLiteral<"manyToMany">;
398
+ inversedBy: z.ZodOptional<z.ZodString>;
399
+ mappedBy: z.ZodOptional<z.ZodString>;
400
+ }, "strip", z.ZodTypeAny, {
401
+ __t4s_required?: boolean;
402
+ pluginOptions?: any;
403
+ required?: boolean;
404
+ type?: "relation";
405
+ relation?: "manyToMany";
406
+ target?: string;
407
+ inversedBy?: string;
408
+ mappedBy?: string;
409
+ }, {
410
+ __t4s_required?: boolean;
411
+ pluginOptions?: any;
412
+ required?: boolean;
413
+ type?: "relation";
414
+ relation?: "manyToMany";
415
+ target?: string;
416
+ inversedBy?: string;
417
+ mappedBy?: string;
418
+ }>, z.ZodObject<{
419
+ pluginOptions: z.ZodOptional<z.ZodAny>;
420
+ required: z.ZodOptional<z.ZodBoolean>;
421
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
422
+ } & {
423
+ type: z.ZodLiteral<"relation">;
424
+ target: z.ZodString;
425
+ } & {
426
+ relation: z.ZodLiteral<"oneToMany">;
427
+ }, "strip", z.ZodTypeAny, {
428
+ __t4s_required?: boolean;
429
+ pluginOptions?: any;
430
+ required?: boolean;
431
+ type?: "relation";
432
+ relation?: "oneToMany";
433
+ target?: string;
434
+ }, {
435
+ __t4s_required?: boolean;
436
+ pluginOptions?: any;
437
+ required?: boolean;
438
+ type?: "relation";
439
+ relation?: "oneToMany";
440
+ target?: string;
441
+ }>, z.ZodObject<{
442
+ pluginOptions: z.ZodOptional<z.ZodAny>;
443
+ required: z.ZodOptional<z.ZodBoolean>;
444
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
445
+ } & {
446
+ type: z.ZodLiteral<"relation">;
447
+ relation: z.ZodLiteral<"morphToMany">;
448
+ }, "strip", z.ZodTypeAny, {
449
+ __t4s_required?: boolean;
450
+ pluginOptions?: any;
451
+ required?: boolean;
452
+ type?: "relation";
453
+ relation?: "morphToMany";
454
+ }, {
455
+ __t4s_required?: boolean;
456
+ pluginOptions?: any;
457
+ required?: boolean;
458
+ type?: "relation";
459
+ relation?: "morphToMany";
460
+ }>, z.ZodObject<{
461
+ pluginOptions: z.ZodOptional<z.ZodAny>;
462
+ required: z.ZodOptional<z.ZodBoolean>;
463
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
464
+ } & {
465
+ type: z.ZodLiteral<"relation">;
466
+ relation: z.ZodLiteral<"morphToOne">;
467
+ }, "strip", z.ZodTypeAny, {
468
+ __t4s_required?: boolean;
469
+ pluginOptions?: any;
470
+ required?: boolean;
471
+ type?: "relation";
472
+ relation?: "morphToOne";
473
+ }, {
474
+ __t4s_required?: boolean;
475
+ pluginOptions?: any;
476
+ required?: boolean;
477
+ type?: "relation";
478
+ relation?: "morphToOne";
479
+ }>, z.ZodObject<{
480
+ pluginOptions: z.ZodOptional<z.ZodAny>;
481
+ required: z.ZodOptional<z.ZodBoolean>;
482
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
483
+ } & {
484
+ type: z.ZodLiteral<"component">;
485
+ repeatable: z.ZodOptional<z.ZodBoolean>;
486
+ component: z.ZodString;
487
+ }, "strip", z.ZodTypeAny, {
488
+ __t4s_required?: boolean;
489
+ pluginOptions?: any;
490
+ required?: boolean;
491
+ type?: "component";
492
+ component?: string;
493
+ repeatable?: boolean;
494
+ }, {
495
+ __t4s_required?: boolean;
496
+ pluginOptions?: any;
497
+ required?: boolean;
498
+ type?: "component";
499
+ component?: string;
500
+ repeatable?: boolean;
501
+ }>, z.ZodObject<{
502
+ pluginOptions: z.ZodOptional<z.ZodAny>;
503
+ required: z.ZodOptional<z.ZodBoolean>;
504
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
505
+ } & {
506
+ type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
507
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
508
+ pluginOptions: z.ZodOptional<z.ZodAny>;
509
+ required: z.ZodOptional<z.ZodBoolean>;
510
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
511
+ } & {
512
+ type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
513
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
514
+ pluginOptions: z.ZodOptional<z.ZodAny>;
515
+ required: z.ZodOptional<z.ZodBoolean>;
516
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
517
+ } & {
518
+ type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
519
+ }, z.ZodTypeAny, "passthrough">>]>>;
520
+ options: z.ZodOptional<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
521
+ uid: z.ZodOptional<z.ZodString>;
522
+ }, "strip", z.ZodTypeAny, {
523
+ options?: {};
524
+ uid?: string;
525
+ collectionName?: string;
526
+ attributes?: Record<string, {
527
+ __t4s_required?: boolean;
528
+ pluginOptions?: any;
529
+ required?: boolean;
530
+ type?: "string" | "text";
531
+ } | {
532
+ __t4s_required?: boolean;
533
+ pluginOptions?: any;
534
+ required?: boolean;
535
+ type?: "email";
536
+ } | {
537
+ __t4s_required?: boolean;
538
+ pluginOptions?: any;
539
+ required?: boolean;
540
+ type?: "uid";
541
+ targetField?: string;
542
+ } | {
543
+ __t4s_required?: boolean;
544
+ pluginOptions?: any;
545
+ required?: boolean;
546
+ type?: "richtext";
547
+ } | {
548
+ __t4s_required?: boolean;
549
+ pluginOptions?: any;
550
+ required?: boolean;
551
+ type?: "blocks";
552
+ } | {
553
+ __t4s_required?: boolean;
554
+ pluginOptions?: any;
555
+ required?: boolean;
556
+ type?: "json";
557
+ } | {
558
+ __t4s_required?: boolean;
559
+ pluginOptions?: any;
560
+ required?: boolean;
561
+ type?: "password";
562
+ } | {
563
+ __t4s_required?: boolean;
564
+ pluginOptions?: any;
565
+ required?: boolean;
566
+ type?: "integer";
567
+ } | {
568
+ __t4s_required?: boolean;
569
+ pluginOptions?: any;
570
+ required?: boolean;
571
+ type?: "float";
572
+ } | {
573
+ __t4s_required?: boolean;
574
+ pluginOptions?: any;
575
+ required?: boolean;
576
+ type?: "biginteger";
577
+ } | {
578
+ __t4s_required?: boolean;
579
+ pluginOptions?: any;
580
+ required?: boolean;
581
+ type?: "decimal";
582
+ } | {
583
+ __t4s_required?: boolean;
584
+ pluginOptions?: any;
585
+ required?: boolean;
586
+ type?: "enumeration";
587
+ enum?: string[];
588
+ } | {
589
+ __t4s_required?: boolean;
590
+ pluginOptions?: any;
591
+ required?: boolean;
592
+ type?: "date";
593
+ } | {
594
+ __t4s_required?: boolean;
595
+ pluginOptions?: any;
596
+ required?: boolean;
597
+ type?: "datetime";
598
+ } | {
599
+ __t4s_required?: boolean;
600
+ pluginOptions?: any;
601
+ required?: boolean;
602
+ type?: "time";
603
+ } | {
604
+ __t4s_required?: boolean;
605
+ pluginOptions?: any;
606
+ required?: boolean;
607
+ type?: "media";
608
+ multiple?: boolean;
609
+ allowedTypes?: ("images" | "videos" | "audios" | "files")[];
610
+ } | {
611
+ __t4s_required?: boolean;
612
+ pluginOptions?: any;
613
+ required?: boolean;
614
+ type?: "boolean";
615
+ } | {
616
+ __t4s_required?: boolean;
617
+ pluginOptions?: any;
618
+ required?: boolean;
619
+ type?: "relation";
620
+ relation?: "oneToOne";
621
+ target?: string;
622
+ } | {
623
+ __t4s_required?: boolean;
624
+ pluginOptions?: any;
625
+ required?: boolean;
626
+ type?: "relation";
627
+ relation?: "oneToOne";
628
+ target?: string;
629
+ inversedBy?: string;
630
+ } | {
631
+ __t4s_required?: boolean;
632
+ pluginOptions?: any;
633
+ required?: boolean;
634
+ type?: "relation";
635
+ relation?: "oneToMany";
636
+ target?: string;
637
+ mappedBy?: string;
638
+ } | {
639
+ __t4s_required?: boolean;
640
+ pluginOptions?: any;
641
+ required?: boolean;
642
+ type?: "relation";
643
+ relation?: "manyToOne";
644
+ target?: string;
645
+ inversedBy?: string;
646
+ } | {
647
+ __t4s_required?: boolean;
648
+ pluginOptions?: any;
649
+ required?: boolean;
650
+ type?: "relation";
651
+ relation?: "manyToMany";
652
+ target?: string;
653
+ inversedBy?: string;
654
+ mappedBy?: string;
655
+ } | {
656
+ __t4s_required?: boolean;
657
+ pluginOptions?: any;
658
+ required?: boolean;
659
+ type?: "relation";
660
+ relation?: "oneToMany";
661
+ target?: string;
662
+ } | {
663
+ __t4s_required?: boolean;
664
+ pluginOptions?: any;
665
+ required?: boolean;
666
+ type?: "relation";
667
+ relation?: "morphToMany";
668
+ } | {
669
+ __t4s_required?: boolean;
670
+ pluginOptions?: any;
671
+ required?: boolean;
672
+ type?: "relation";
673
+ relation?: "morphToOne";
674
+ } | {
675
+ __t4s_required?: boolean;
676
+ pluginOptions?: any;
677
+ required?: boolean;
678
+ type?: "component";
679
+ component?: string;
680
+ repeatable?: boolean;
681
+ } | z.objectOutputType<{
682
+ pluginOptions: z.ZodOptional<z.ZodAny>;
683
+ required: z.ZodOptional<z.ZodBoolean>;
684
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
685
+ } & {
686
+ type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
687
+ }, z.ZodTypeAny, "passthrough">>;
688
+ }, {
689
+ options?: {};
690
+ uid?: string;
691
+ collectionName?: string;
692
+ attributes?: Record<string, {
693
+ __t4s_required?: boolean;
694
+ pluginOptions?: any;
695
+ required?: boolean;
696
+ type?: "string" | "text";
697
+ } | {
698
+ __t4s_required?: boolean;
699
+ pluginOptions?: any;
700
+ required?: boolean;
701
+ type?: "email";
702
+ } | {
703
+ __t4s_required?: boolean;
704
+ pluginOptions?: any;
705
+ required?: boolean;
706
+ type?: "uid";
707
+ targetField?: string;
708
+ } | {
709
+ __t4s_required?: boolean;
710
+ pluginOptions?: any;
711
+ required?: boolean;
712
+ type?: "richtext";
713
+ } | {
714
+ __t4s_required?: boolean;
715
+ pluginOptions?: any;
716
+ required?: boolean;
717
+ type?: "blocks";
718
+ } | {
719
+ __t4s_required?: boolean;
720
+ pluginOptions?: any;
721
+ required?: boolean;
722
+ type?: "json";
723
+ } | {
724
+ __t4s_required?: boolean;
725
+ pluginOptions?: any;
726
+ required?: boolean;
727
+ type?: "password";
728
+ } | {
729
+ __t4s_required?: boolean;
730
+ pluginOptions?: any;
731
+ required?: boolean;
732
+ type?: "integer";
733
+ } | {
734
+ __t4s_required?: boolean;
735
+ pluginOptions?: any;
736
+ required?: boolean;
737
+ type?: "float";
738
+ } | {
739
+ __t4s_required?: boolean;
740
+ pluginOptions?: any;
741
+ required?: boolean;
742
+ type?: "biginteger";
743
+ } | {
744
+ __t4s_required?: boolean;
745
+ pluginOptions?: any;
746
+ required?: boolean;
747
+ type?: "decimal";
748
+ } | {
749
+ __t4s_required?: boolean;
750
+ pluginOptions?: any;
751
+ required?: boolean;
752
+ type?: "enumeration";
753
+ enum?: string[];
754
+ } | {
755
+ __t4s_required?: boolean;
756
+ pluginOptions?: any;
757
+ required?: boolean;
758
+ type?: "date";
759
+ } | {
760
+ __t4s_required?: boolean;
761
+ pluginOptions?: any;
762
+ required?: boolean;
763
+ type?: "datetime";
764
+ } | {
765
+ __t4s_required?: boolean;
766
+ pluginOptions?: any;
767
+ required?: boolean;
768
+ type?: "time";
769
+ } | {
770
+ __t4s_required?: boolean;
771
+ pluginOptions?: any;
772
+ required?: boolean;
773
+ type?: "media";
774
+ multiple?: boolean;
775
+ allowedTypes?: ("images" | "videos" | "audios" | "files")[];
776
+ } | {
777
+ __t4s_required?: boolean;
778
+ pluginOptions?: any;
779
+ required?: boolean;
780
+ type?: "boolean";
781
+ } | {
782
+ __t4s_required?: boolean;
783
+ pluginOptions?: any;
784
+ required?: boolean;
785
+ type?: "relation";
786
+ relation?: "oneToOne";
787
+ target?: string;
788
+ } | {
789
+ __t4s_required?: boolean;
790
+ pluginOptions?: any;
791
+ required?: boolean;
792
+ type?: "relation";
793
+ relation?: "oneToOne";
794
+ target?: string;
795
+ inversedBy?: string;
796
+ } | {
797
+ __t4s_required?: boolean;
798
+ pluginOptions?: any;
799
+ required?: boolean;
800
+ type?: "relation";
801
+ relation?: "oneToMany";
802
+ target?: string;
803
+ mappedBy?: string;
804
+ } | {
805
+ __t4s_required?: boolean;
806
+ pluginOptions?: any;
807
+ required?: boolean;
808
+ type?: "relation";
809
+ relation?: "manyToOne";
810
+ target?: string;
811
+ inversedBy?: string;
812
+ } | {
813
+ __t4s_required?: boolean;
814
+ pluginOptions?: any;
815
+ required?: boolean;
816
+ type?: "relation";
817
+ relation?: "manyToMany";
818
+ target?: string;
819
+ inversedBy?: string;
820
+ mappedBy?: string;
821
+ } | {
822
+ __t4s_required?: boolean;
823
+ pluginOptions?: any;
824
+ required?: boolean;
825
+ type?: "relation";
826
+ relation?: "oneToMany";
827
+ target?: string;
828
+ } | {
829
+ __t4s_required?: boolean;
830
+ pluginOptions?: any;
831
+ required?: boolean;
832
+ type?: "relation";
833
+ relation?: "morphToMany";
834
+ } | {
835
+ __t4s_required?: boolean;
836
+ pluginOptions?: any;
837
+ required?: boolean;
838
+ type?: "relation";
839
+ relation?: "morphToOne";
840
+ } | {
841
+ __t4s_required?: boolean;
842
+ pluginOptions?: any;
843
+ required?: boolean;
844
+ type?: "component";
845
+ component?: string;
846
+ repeatable?: boolean;
847
+ } | z.objectInputType<{
848
+ pluginOptions: z.ZodOptional<z.ZodAny>;
849
+ required: z.ZodOptional<z.ZodBoolean>;
850
+ __t4s_required: z.ZodOptional<z.ZodBoolean>;
851
+ } & {
852
+ type: z.ZodEffects<z.ZodType<"any", z.ZodTypeDef, "any">, "any", "any">;
853
+ }, z.ZodTypeAny, "passthrough">>;
854
+ }>;
855
+ export type StrapiComponent = z.infer<typeof strapiComponent>;