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