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