@mintlify/validation 0.1.251 → 0.1.252

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.
Files changed (26) hide show
  1. package/README.md +1 -0
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.js +1 -1
  4. package/dist/mint-config/schemas/v2/index.d.ts +920 -155
  5. package/dist/mint-config/schemas/v2/properties/api.d.ts +18 -3
  6. package/dist/mint-config/schemas/v2/properties/navigation/anchors.d.ts +72 -12
  7. package/dist/mint-config/schemas/v2/properties/navigation/dropdown.d.ts +72 -12
  8. package/dist/mint-config/schemas/v2/properties/navigation/groups.d.ts +96 -12
  9. package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +256 -40
  10. package/dist/mint-config/schemas/v2/properties/navigation/languages.d.ts +80 -20
  11. package/dist/mint-config/schemas/v2/properties/navigation/pages.d.ts +5 -0
  12. package/dist/mint-config/schemas/v2/properties/navigation/tabs.d.ts +72 -12
  13. package/dist/mint-config/schemas/v2/properties/navigation/version.d.ts +80 -20
  14. package/dist/mint-config/schemas/v2/properties/reusable/openapi.d.ts +22 -1
  15. package/dist/mint-config/schemas/v2/properties/reusable/openapi.js +7 -1
  16. package/dist/mint-config/schemas/v2/themes/linden.d.ts +182 -29
  17. package/dist/mint-config/schemas/v2/themes/maple.d.ts +182 -29
  18. package/dist/mint-config/schemas/v2/themes/mint.d.ts +182 -29
  19. package/dist/mint-config/schemas/v2/themes/palm.d.ts +182 -29
  20. package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +146 -23
  21. package/dist/mint-config/schemas/v2/themes/willow.d.ts +182 -29
  22. package/dist/mint-config/validateConfig.d.ts +4333 -0
  23. package/dist/mint-config/{validateMintConfig.js → validateConfig.js} +10 -0
  24. package/dist/tsconfig.build.tsbuildinfo +1 -1
  25. package/package.json +2 -2
  26. package/dist/mint-config/validateMintConfig.d.ts +0 -478
@@ -1,6 +1,15 @@
1
1
  import { z } from 'zod';
2
2
  export declare const apiSchema: z.ZodObject<{
3
- openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
3
+ openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
4
+ source: z.ZodEffects<z.ZodString, string, string>;
5
+ directory: z.ZodOptional<z.ZodString>;
6
+ }, "strict", z.ZodTypeAny, {
7
+ source: string;
8
+ directory?: string | undefined;
9
+ }, {
10
+ source: string;
11
+ directory?: string | undefined;
12
+ }>]>>;
4
13
  playground: z.ZodOptional<z.ZodObject<{
5
14
  display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none"]>>;
6
15
  proxy: z.ZodOptional<z.ZodBoolean>;
@@ -29,7 +38,10 @@ export declare const apiSchema: z.ZodObject<{
29
38
  server?: string | string[] | undefined;
30
39
  }>>;
31
40
  }, "strip", z.ZodTypeAny, {
32
- openapi?: string | string[] | undefined;
41
+ openapi?: string | string[] | {
42
+ source: string;
43
+ directory?: string | undefined;
44
+ } | undefined;
33
45
  playground?: {
34
46
  display?: "simple" | "none" | "interactive" | undefined;
35
47
  proxy?: boolean | undefined;
@@ -42,7 +54,10 @@ export declare const apiSchema: z.ZodObject<{
42
54
  server?: string | string[] | undefined;
43
55
  } | undefined;
44
56
  }, {
45
- openapi?: string | string[] | undefined;
57
+ openapi?: string | string[] | {
58
+ source: string;
59
+ directory?: string | undefined;
60
+ } | undefined;
46
61
  playground?: {
47
62
  display?: "simple" | "none" | "interactive" | undefined;
48
63
  proxy?: boolean | undefined;
@@ -154,11 +154,26 @@ export declare const anchorSchema: z.ZodIntersection<z.ZodObject<{
154
154
  }, {
155
155
  href: string;
156
156
  }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, ...z.ZodType<any, z.ZodTypeDef, any>[]]>>, z.ZodObject<{
157
- openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
157
+ openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
158
+ source: z.ZodEffects<z.ZodString, string, string>;
159
+ directory: z.ZodOptional<z.ZodString>;
160
+ }, "strict", z.ZodTypeAny, {
161
+ source: string;
162
+ directory?: string | undefined;
163
+ }, {
164
+ source: string;
165
+ directory?: string | undefined;
166
+ }>]>>;
158
167
  }, "strip", z.ZodTypeAny, {
159
- openapi?: string | string[] | undefined;
168
+ openapi?: string | string[] | {
169
+ source: string;
170
+ directory?: string | undefined;
171
+ } | undefined;
160
172
  }, {
161
- openapi?: string | string[] | undefined;
173
+ openapi?: string | string[] | {
174
+ source: string;
175
+ directory?: string | undefined;
176
+ } | undefined;
162
177
  }>>;
163
178
  export declare const decoratedAnchorSchema: z.ZodIntersection<z.ZodObject<{
164
179
  anchor: z.ZodString;
@@ -263,11 +278,26 @@ export declare const decoratedAnchorSchema: z.ZodIntersection<z.ZodObject<{
263
278
  }, {
264
279
  href: string;
265
280
  }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, ...z.ZodType<any, z.ZodTypeDef, any>[]]>>, z.ZodObject<{
266
- openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
281
+ openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
282
+ source: z.ZodEffects<z.ZodString, string, string>;
283
+ directory: z.ZodOptional<z.ZodString>;
284
+ }, "strict", z.ZodTypeAny, {
285
+ source: string;
286
+ directory?: string | undefined;
287
+ }, {
288
+ source: string;
289
+ directory?: string | undefined;
290
+ }>]>>;
267
291
  }, "strip", z.ZodTypeAny, {
268
- openapi?: string | string[] | undefined;
292
+ openapi?: string | string[] | {
293
+ source: string;
294
+ directory?: string | undefined;
295
+ } | undefined;
269
296
  }, {
270
- openapi?: string | string[] | undefined;
297
+ openapi?: string | string[] | {
298
+ source: string;
299
+ directory?: string | undefined;
300
+ } | undefined;
271
301
  }>>;
272
302
  export declare const anchorsSchema: z.ZodArray<z.ZodIntersection<z.ZodObject<{
273
303
  anchor: z.ZodString;
@@ -372,11 +402,26 @@ export declare const anchorsSchema: z.ZodArray<z.ZodIntersection<z.ZodObject<{
372
402
  }, {
373
403
  href: string;
374
404
  }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, ...z.ZodType<any, z.ZodTypeDef, any>[]]>>, z.ZodObject<{
375
- openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
405
+ openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
406
+ source: z.ZodEffects<z.ZodString, string, string>;
407
+ directory: z.ZodOptional<z.ZodString>;
408
+ }, "strict", z.ZodTypeAny, {
409
+ source: string;
410
+ directory?: string | undefined;
411
+ }, {
412
+ source: string;
413
+ directory?: string | undefined;
414
+ }>]>>;
376
415
  }, "strip", z.ZodTypeAny, {
377
- openapi?: string | string[] | undefined;
416
+ openapi?: string | string[] | {
417
+ source: string;
418
+ directory?: string | undefined;
419
+ } | undefined;
378
420
  }, {
379
- openapi?: string | string[] | undefined;
421
+ openapi?: string | string[] | {
422
+ source: string;
423
+ directory?: string | undefined;
424
+ } | undefined;
380
425
  }>>, "many">;
381
426
  export declare const decoratedAnchorsSchema: z.ZodArray<z.ZodIntersection<z.ZodObject<{
382
427
  anchor: z.ZodString;
@@ -481,11 +526,26 @@ export declare const decoratedAnchorsSchema: z.ZodArray<z.ZodIntersection<z.ZodO
481
526
  }, {
482
527
  href: string;
483
528
  }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, ...z.ZodType<any, z.ZodTypeDef, any>[]]>>, z.ZodObject<{
484
- openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
529
+ openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
530
+ source: z.ZodEffects<z.ZodString, string, string>;
531
+ directory: z.ZodOptional<z.ZodString>;
532
+ }, "strict", z.ZodTypeAny, {
533
+ source: string;
534
+ directory?: string | undefined;
535
+ }, {
536
+ source: string;
537
+ directory?: string | undefined;
538
+ }>]>>;
485
539
  }, "strip", z.ZodTypeAny, {
486
- openapi?: string | string[] | undefined;
540
+ openapi?: string | string[] | {
541
+ source: string;
542
+ directory?: string | undefined;
543
+ } | undefined;
487
544
  }, {
488
- openapi?: string | string[] | undefined;
545
+ openapi?: string | string[] | {
546
+ source: string;
547
+ directory?: string | undefined;
548
+ } | undefined;
489
549
  }>>, "many">;
490
550
  export type AnchorsConfig = z.infer<typeof anchorsSchema>;
491
551
  export type AnchorConfig = z.infer<typeof anchorSchema>;
@@ -100,11 +100,26 @@ export declare const dropdownSchema: z.ZodIntersection<z.ZodObject<{
100
100
  }, {
101
101
  href: string;
102
102
  }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, ...z.ZodType<any, z.ZodTypeDef, any>[]]>>, z.ZodObject<{
103
- openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
103
+ openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
104
+ source: z.ZodEffects<z.ZodString, string, string>;
105
+ directory: z.ZodOptional<z.ZodString>;
106
+ }, "strict", z.ZodTypeAny, {
107
+ source: string;
108
+ directory?: string | undefined;
109
+ }, {
110
+ source: string;
111
+ directory?: string | undefined;
112
+ }>]>>;
104
113
  }, "strip", z.ZodTypeAny, {
105
- openapi?: string | string[] | undefined;
114
+ openapi?: string | string[] | {
115
+ source: string;
116
+ directory?: string | undefined;
117
+ } | undefined;
106
118
  }, {
107
- openapi?: string | string[] | undefined;
119
+ openapi?: string | string[] | {
120
+ source: string;
121
+ directory?: string | undefined;
122
+ } | undefined;
108
123
  }>>;
109
124
  export declare const decoratedDropdownSchema: z.ZodIntersection<z.ZodObject<{
110
125
  dropdown: z.ZodString;
@@ -173,11 +188,26 @@ export declare const decoratedDropdownSchema: z.ZodIntersection<z.ZodObject<{
173
188
  }, {
174
189
  href: string;
175
190
  }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, ...z.ZodType<any, z.ZodTypeDef, any>[]]>>, z.ZodObject<{
176
- openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
191
+ openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
192
+ source: z.ZodEffects<z.ZodString, string, string>;
193
+ directory: z.ZodOptional<z.ZodString>;
194
+ }, "strict", z.ZodTypeAny, {
195
+ source: string;
196
+ directory?: string | undefined;
197
+ }, {
198
+ source: string;
199
+ directory?: string | undefined;
200
+ }>]>>;
177
201
  }, "strip", z.ZodTypeAny, {
178
- openapi?: string | string[] | undefined;
202
+ openapi?: string | string[] | {
203
+ source: string;
204
+ directory?: string | undefined;
205
+ } | undefined;
179
206
  }, {
180
- openapi?: string | string[] | undefined;
207
+ openapi?: string | string[] | {
208
+ source: string;
209
+ directory?: string | undefined;
210
+ } | undefined;
181
211
  }>>;
182
212
  export declare const dropdownsSchema: z.ZodArray<z.ZodIntersection<z.ZodObject<{
183
213
  dropdown: z.ZodString;
@@ -246,11 +276,26 @@ export declare const dropdownsSchema: z.ZodArray<z.ZodIntersection<z.ZodObject<{
246
276
  }, {
247
277
  href: string;
248
278
  }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, ...z.ZodType<any, z.ZodTypeDef, any>[]]>>, z.ZodObject<{
249
- openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
279
+ openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
280
+ source: z.ZodEffects<z.ZodString, string, string>;
281
+ directory: z.ZodOptional<z.ZodString>;
282
+ }, "strict", z.ZodTypeAny, {
283
+ source: string;
284
+ directory?: string | undefined;
285
+ }, {
286
+ source: string;
287
+ directory?: string | undefined;
288
+ }>]>>;
250
289
  }, "strip", z.ZodTypeAny, {
251
- openapi?: string | string[] | undefined;
290
+ openapi?: string | string[] | {
291
+ source: string;
292
+ directory?: string | undefined;
293
+ } | undefined;
252
294
  }, {
253
- openapi?: string | string[] | undefined;
295
+ openapi?: string | string[] | {
296
+ source: string;
297
+ directory?: string | undefined;
298
+ } | undefined;
254
299
  }>>, "many">;
255
300
  export declare const decoratedDropdownsSchema: z.ZodArray<z.ZodIntersection<z.ZodObject<{
256
301
  dropdown: z.ZodString;
@@ -319,11 +364,26 @@ export declare const decoratedDropdownsSchema: z.ZodArray<z.ZodIntersection<z.Zo
319
364
  }, {
320
365
  href: string;
321
366
  }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, ...z.ZodType<any, z.ZodTypeDef, any>[]]>>, z.ZodObject<{
322
- openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
367
+ openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
368
+ source: z.ZodEffects<z.ZodString, string, string>;
369
+ directory: z.ZodOptional<z.ZodString>;
370
+ }, "strict", z.ZodTypeAny, {
371
+ source: string;
372
+ directory?: string | undefined;
373
+ }, {
374
+ source: string;
375
+ directory?: string | undefined;
376
+ }>]>>;
323
377
  }, "strip", z.ZodTypeAny, {
324
- openapi?: string | string[] | undefined;
378
+ openapi?: string | string[] | {
379
+ source: string;
380
+ directory?: string | undefined;
381
+ } | undefined;
325
382
  }, {
326
- openapi?: string | string[] | undefined;
383
+ openapi?: string | string[] | {
384
+ source: string;
385
+ directory?: string | undefined;
386
+ } | undefined;
327
387
  }>>, "many">;
328
388
  export type DropdownsConfig = z.infer<typeof dropdownsSchema>;
329
389
  export type DropdownConfig = z.infer<typeof dropdownSchema>;
@@ -166,11 +166,32 @@ export declare const groupSchema: z.ZodIntersection<z.ZodObject<{
166
166
  isPublic?: boolean | undefined;
167
167
  } | undefined;
168
168
  }>, z.ZodUnion<[z.ZodObject<{
169
- openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
169
+ openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
170
+ source: z.ZodEffects<z.ZodString, string, string>;
171
+ directory: z.ZodOptional<z.ZodString>;
172
+ }, "strict", z.ZodTypeAny, {
173
+ source: string;
174
+ directory?: string | undefined;
175
+ }, {
176
+ source: string;
177
+ directory?: string | undefined;
178
+ }>]>;
170
179
  }, "strip", z.ZodTypeAny, {
171
- openapi: (string | string[]) & (string | string[] | undefined);
180
+ openapi: (string | string[] | {
181
+ source: string;
182
+ directory?: string | undefined;
183
+ }) & (string | string[] | {
184
+ source: string;
185
+ directory?: string | undefined;
186
+ } | undefined);
172
187
  }, {
173
- openapi: (string | string[]) & (string | string[] | undefined);
188
+ openapi: (string | string[] | {
189
+ source: string;
190
+ directory?: string | undefined;
191
+ }) & (string | string[] | {
192
+ source: string;
193
+ directory?: string | undefined;
194
+ } | undefined);
174
195
  }>, z.ZodLazy<z.ZodObject<{
175
196
  pages: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
176
197
  }, "strip", z.ZodTypeAny, {
@@ -345,11 +366,32 @@ export declare const decoratedGroupSchema: z.ZodIntersection<z.ZodObject<{
345
366
  isPublic?: boolean | undefined;
346
367
  } | undefined;
347
368
  }>, z.ZodUnion<[z.ZodObject<{
348
- openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
369
+ openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
370
+ source: z.ZodEffects<z.ZodString, string, string>;
371
+ directory: z.ZodOptional<z.ZodString>;
372
+ }, "strict", z.ZodTypeAny, {
373
+ source: string;
374
+ directory?: string | undefined;
375
+ }, {
376
+ source: string;
377
+ directory?: string | undefined;
378
+ }>]>;
349
379
  }, "strip", z.ZodTypeAny, {
350
- openapi: (string | string[]) & (string | string[] | undefined);
380
+ openapi: (string | string[] | {
381
+ source: string;
382
+ directory?: string | undefined;
383
+ }) & (string | string[] | {
384
+ source: string;
385
+ directory?: string | undefined;
386
+ } | undefined);
351
387
  }, {
352
- openapi: (string | string[]) & (string | string[] | undefined);
388
+ openapi: (string | string[] | {
389
+ source: string;
390
+ directory?: string | undefined;
391
+ }) & (string | string[] | {
392
+ source: string;
393
+ directory?: string | undefined;
394
+ } | undefined);
353
395
  }>, z.ZodLazy<z.ZodObject<{
354
396
  pages: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
355
397
  }, "strip", z.ZodTypeAny, {
@@ -524,11 +566,32 @@ export declare const groupsSchema: z.ZodArray<z.ZodIntersection<z.ZodObject<{
524
566
  isPublic?: boolean | undefined;
525
567
  } | undefined;
526
568
  }>, z.ZodUnion<[z.ZodObject<{
527
- openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
569
+ openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
570
+ source: z.ZodEffects<z.ZodString, string, string>;
571
+ directory: z.ZodOptional<z.ZodString>;
572
+ }, "strict", z.ZodTypeAny, {
573
+ source: string;
574
+ directory?: string | undefined;
575
+ }, {
576
+ source: string;
577
+ directory?: string | undefined;
578
+ }>]>;
528
579
  }, "strip", z.ZodTypeAny, {
529
- openapi: (string | string[]) & (string | string[] | undefined);
580
+ openapi: (string | string[] | {
581
+ source: string;
582
+ directory?: string | undefined;
583
+ }) & (string | string[] | {
584
+ source: string;
585
+ directory?: string | undefined;
586
+ } | undefined);
530
587
  }, {
531
- openapi: (string | string[]) & (string | string[] | undefined);
588
+ openapi: (string | string[] | {
589
+ source: string;
590
+ directory?: string | undefined;
591
+ }) & (string | string[] | {
592
+ source: string;
593
+ directory?: string | undefined;
594
+ } | undefined);
532
595
  }>, z.ZodLazy<z.ZodObject<{
533
596
  pages: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
534
597
  }, "strip", z.ZodTypeAny, {
@@ -703,11 +766,32 @@ export declare const decoratedGroupsSchema: z.ZodArray<z.ZodIntersection<z.ZodOb
703
766
  isPublic?: boolean | undefined;
704
767
  } | undefined;
705
768
  }>, z.ZodUnion<[z.ZodObject<{
706
- openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
769
+ openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
770
+ source: z.ZodEffects<z.ZodString, string, string>;
771
+ directory: z.ZodOptional<z.ZodString>;
772
+ }, "strict", z.ZodTypeAny, {
773
+ source: string;
774
+ directory?: string | undefined;
775
+ }, {
776
+ source: string;
777
+ directory?: string | undefined;
778
+ }>]>;
707
779
  }, "strip", z.ZodTypeAny, {
708
- openapi: (string | string[]) & (string | string[] | undefined);
780
+ openapi: (string | string[] | {
781
+ source: string;
782
+ directory?: string | undefined;
783
+ }) & (string | string[] | {
784
+ source: string;
785
+ directory?: string | undefined;
786
+ } | undefined);
709
787
  }, {
710
- openapi: (string | string[]) & (string | string[] | undefined);
788
+ openapi: (string | string[] | {
789
+ source: string;
790
+ directory?: string | undefined;
791
+ }) & (string | string[] | {
792
+ source: string;
793
+ directory?: string | undefined;
794
+ } | undefined);
711
795
  }>, z.ZodLazy<z.ZodObject<{
712
796
  pages: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
713
797
  }, "strip", z.ZodTypeAny, {