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