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

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