@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
@@ -100,11 +100,26 @@ export declare const tabSchema: 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 decoratedTabSchema: z.ZodIntersection<z.ZodObject<{
110
125
  tab: z.ZodString;
@@ -173,11 +188,26 @@ export declare const decoratedTabSchema: 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 tabsSchema: z.ZodArray<z.ZodIntersection<z.ZodObject<{
183
213
  tab: z.ZodString;
@@ -246,11 +276,26 @@ export declare const tabsSchema: 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 decoratedTabsSchema: z.ZodArray<z.ZodIntersection<z.ZodObject<{
256
301
  tab: z.ZodString;
@@ -319,11 +364,26 @@ export declare const decoratedTabsSchema: z.ZodArray<z.ZodIntersection<z.ZodObje
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 TabsConfig = z.infer<typeof tabsSchema>;
329
389
  export type TabConfig = z.infer<typeof tabSchema>;
@@ -46,11 +46,26 @@ export declare const versionSchema: z.ZodIntersection<z.ZodObject<{
46
46
  }, {
47
47
  href: string;
48
48
  }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, ...z.ZodType<any, z.ZodTypeDef, any>[]]>>, z.ZodObject<{
49
- openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
50
- }, "strip", z.ZodTypeAny, {
51
- openapi?: string | string[] | undefined;
52
- }, {
53
- openapi?: string | string[] | undefined;
49
+ openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
50
+ source: z.ZodEffects<z.ZodString, string, string>;
51
+ directory: z.ZodOptional<z.ZodString>;
52
+ }, "strict", z.ZodTypeAny, {
53
+ source: string;
54
+ directory?: string | undefined;
55
+ }, {
56
+ source: string;
57
+ directory?: string | undefined;
58
+ }>]>>;
59
+ }, "strip", z.ZodTypeAny, {
60
+ openapi?: string | string[] | {
61
+ source: string;
62
+ directory?: string | undefined;
63
+ } | undefined;
64
+ }, {
65
+ openapi?: string | string[] | {
66
+ source: string;
67
+ directory?: string | undefined;
68
+ } | undefined;
54
69
  }>>;
55
70
  export declare const decoratedVersionSchema: z.ZodIntersection<z.ZodObject<{
56
71
  version: z.ZodString;
@@ -83,11 +98,26 @@ export declare const decoratedVersionSchema: z.ZodIntersection<z.ZodObject<{
83
98
  }, {
84
99
  href: string;
85
100
  }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, ...z.ZodType<any, z.ZodTypeDef, any>[]]>>, z.ZodObject<{
86
- openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
87
- }, "strip", z.ZodTypeAny, {
88
- openapi?: string | string[] | undefined;
89
- }, {
90
- openapi?: string | string[] | undefined;
101
+ openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
102
+ source: z.ZodEffects<z.ZodString, string, string>;
103
+ directory: z.ZodOptional<z.ZodString>;
104
+ }, "strict", z.ZodTypeAny, {
105
+ source: string;
106
+ directory?: string | undefined;
107
+ }, {
108
+ source: string;
109
+ directory?: string | undefined;
110
+ }>]>>;
111
+ }, "strip", z.ZodTypeAny, {
112
+ openapi?: string | string[] | {
113
+ source: string;
114
+ directory?: string | undefined;
115
+ } | undefined;
116
+ }, {
117
+ openapi?: string | string[] | {
118
+ source: string;
119
+ directory?: string | undefined;
120
+ } | undefined;
91
121
  }>>;
92
122
  export declare const versionsSchema: z.ZodArray<z.ZodIntersection<z.ZodObject<{
93
123
  version: z.ZodString;
@@ -120,11 +150,26 @@ export declare const versionsSchema: z.ZodArray<z.ZodIntersection<z.ZodObject<{
120
150
  }, {
121
151
  href: string;
122
152
  }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, ...z.ZodType<any, z.ZodTypeDef, any>[]]>>, z.ZodObject<{
123
- openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
124
- }, "strip", z.ZodTypeAny, {
125
- openapi?: string | string[] | undefined;
126
- }, {
127
- openapi?: string | string[] | undefined;
153
+ openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
154
+ source: z.ZodEffects<z.ZodString, string, string>;
155
+ directory: z.ZodOptional<z.ZodString>;
156
+ }, "strict", z.ZodTypeAny, {
157
+ source: string;
158
+ directory?: string | undefined;
159
+ }, {
160
+ source: string;
161
+ directory?: string | undefined;
162
+ }>]>>;
163
+ }, "strip", z.ZodTypeAny, {
164
+ openapi?: string | string[] | {
165
+ source: string;
166
+ directory?: string | undefined;
167
+ } | undefined;
168
+ }, {
169
+ openapi?: string | string[] | {
170
+ source: string;
171
+ directory?: string | undefined;
172
+ } | undefined;
128
173
  }>>, "many">;
129
174
  export declare const decoratedVersionsSchema: z.ZodArray<z.ZodIntersection<z.ZodObject<{
130
175
  version: z.ZodString;
@@ -157,11 +202,26 @@ export declare const decoratedVersionsSchema: z.ZodArray<z.ZodIntersection<z.Zod
157
202
  }, {
158
203
  href: string;
159
204
  }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, ...z.ZodType<any, z.ZodTypeDef, any>[]]>>, z.ZodObject<{
160
- openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
161
- }, "strip", z.ZodTypeAny, {
162
- openapi?: string | string[] | undefined;
163
- }, {
164
- openapi?: string | string[] | undefined;
205
+ openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
206
+ source: z.ZodEffects<z.ZodString, string, string>;
207
+ directory: z.ZodOptional<z.ZodString>;
208
+ }, "strict", z.ZodTypeAny, {
209
+ source: string;
210
+ directory?: string | undefined;
211
+ }, {
212
+ source: string;
213
+ directory?: string | undefined;
214
+ }>]>>;
215
+ }, "strip", z.ZodTypeAny, {
216
+ openapi?: string | string[] | {
217
+ source: string;
218
+ directory?: string | undefined;
219
+ } | undefined;
220
+ }, {
221
+ openapi?: string | string[] | {
222
+ source: string;
223
+ directory?: string | undefined;
224
+ } | undefined;
165
225
  }>>, "many">;
166
226
  export type VersionsConfig = z.infer<typeof versionsSchema>;
167
227
  export type VersionConfig = z.infer<typeof versionSchema>;
@@ -1,3 +1,24 @@
1
1
  import { z } from 'zod';
2
2
  export declare const openapiStringSchema: z.ZodEffects<z.ZodString, string, string>;
3
- export declare const openApiSchema: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
3
+ export declare const openapiObjSchema: 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
+ }>;
13
+ export declare const openApiSchema: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
14
+ source: z.ZodEffects<z.ZodString, string, string>;
15
+ directory: z.ZodOptional<z.ZodString>;
16
+ }, "strict", z.ZodTypeAny, {
17
+ source: string;
18
+ directory?: string | undefined;
19
+ }, {
20
+ source: string;
21
+ directory?: string | undefined;
22
+ }>]>;
23
+ export type OpenApiObjConfig = z.infer<typeof openapiObjSchema>;
24
+ export type OpenApiConfig = z.infer<typeof openApiSchema>;
@@ -30,6 +30,12 @@ export const openapiStringSchema = z
30
30
  return normalizeRelativePath(value);
31
31
  }
32
32
  });
33
+ export const openapiObjSchema = z
34
+ .object({
35
+ source: openapiStringSchema,
36
+ directory: z.string().trim().optional(),
37
+ })
38
+ .strict();
33
39
  export const openApiSchema = z
34
- .union([openapiStringSchema, z.array(openapiStringSchema)])
40
+ .union([openapiStringSchema, z.array(openapiStringSchema), openapiObjSchema])
35
41
  .describe('A string or an array of strings of absolute or relative urls pointing to the OpenAPI file(s)');
@@ -40,7 +40,16 @@ export declare const lindenConfigSchema: z.ZodObject<{
40
40
  dark: string;
41
41
  }>]>>;
42
42
  api: z.ZodOptional<z.ZodObject<{
43
- openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
43
+ openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
44
+ source: z.ZodEffects<z.ZodString, string, string>;
45
+ directory: z.ZodOptional<z.ZodString>;
46
+ }, "strict", z.ZodTypeAny, {
47
+ source: string;
48
+ directory?: string | undefined;
49
+ }, {
50
+ source: string;
51
+ directory?: string | undefined;
52
+ }>]>>;
44
53
  playground: z.ZodOptional<z.ZodObject<{
45
54
  display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none"]>>;
46
55
  proxy: z.ZodOptional<z.ZodBoolean>;
@@ -69,7 +78,10 @@ export declare const lindenConfigSchema: z.ZodObject<{
69
78
  server?: string | string[] | undefined;
70
79
  }>>;
71
80
  }, "strip", z.ZodTypeAny, {
72
- openapi?: string | string[] | undefined;
81
+ openapi?: string | string[] | {
82
+ source: string;
83
+ directory?: string | undefined;
84
+ } | undefined;
73
85
  playground?: {
74
86
  display?: "simple" | "none" | "interactive" | undefined;
75
87
  proxy?: boolean | undefined;
@@ -82,7 +94,10 @@ export declare const lindenConfigSchema: z.ZodObject<{
82
94
  server?: string | string[] | undefined;
83
95
  } | undefined;
84
96
  }, {
85
- openapi?: string | string[] | undefined;
97
+ openapi?: string | string[] | {
98
+ source: string;
99
+ directory?: string | undefined;
100
+ } | undefined;
86
101
  playground?: {
87
102
  display?: "simple" | "none" | "interactive" | undefined;
88
103
  proxy?: boolean | undefined;
@@ -587,11 +602,26 @@ export declare const lindenConfigSchema: z.ZodObject<{
587
602
  }, {
588
603
  href: string;
589
604
  }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, ...z.ZodType<any, z.ZodTypeDef, any>[]]>>, z.ZodObject<{
590
- openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
605
+ openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
606
+ source: z.ZodEffects<z.ZodString, string, string>;
607
+ directory: z.ZodOptional<z.ZodString>;
608
+ }, "strict", z.ZodTypeAny, {
609
+ source: string;
610
+ directory?: string | undefined;
611
+ }, {
612
+ source: string;
613
+ directory?: string | undefined;
614
+ }>]>>;
591
615
  }, "strip", z.ZodTypeAny, {
592
- openapi?: string | string[] | undefined;
616
+ openapi?: string | string[] | {
617
+ source: string;
618
+ directory?: string | undefined;
619
+ } | undefined;
593
620
  }, {
594
- openapi?: string | string[] | undefined;
621
+ openapi?: string | string[] | {
622
+ source: string;
623
+ directory?: string | undefined;
624
+ } | undefined;
595
625
  }>>, "many">;
596
626
  }, "strip", z.ZodTypeAny, {
597
627
  languages: any[];
@@ -629,11 +659,26 @@ export declare const lindenConfigSchema: z.ZodObject<{
629
659
  }, {
630
660
  href: string;
631
661
  }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, ...z.ZodType<any, z.ZodTypeDef, any>[]]>>, z.ZodObject<{
632
- openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
662
+ openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
663
+ source: z.ZodEffects<z.ZodString, string, string>;
664
+ directory: z.ZodOptional<z.ZodString>;
665
+ }, "strict", z.ZodTypeAny, {
666
+ source: string;
667
+ directory?: string | undefined;
668
+ }, {
669
+ source: string;
670
+ directory?: string | undefined;
671
+ }>]>>;
633
672
  }, "strip", z.ZodTypeAny, {
634
- openapi?: string | string[] | undefined;
673
+ openapi?: string | string[] | {
674
+ source: string;
675
+ directory?: string | undefined;
676
+ } | undefined;
635
677
  }, {
636
- openapi?: string | string[] | undefined;
678
+ openapi?: string | string[] | {
679
+ source: string;
680
+ directory?: string | undefined;
681
+ } | undefined;
637
682
  }>>, "many">;
638
683
  }, "strip", z.ZodTypeAny, {
639
684
  versions: any[];
@@ -707,11 +752,26 @@ export declare const lindenConfigSchema: z.ZodObject<{
707
752
  }, {
708
753
  href: string;
709
754
  }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, ...z.ZodType<any, z.ZodTypeDef, any>[]]>>, z.ZodObject<{
710
- openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
755
+ openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
756
+ source: z.ZodEffects<z.ZodString, string, string>;
757
+ directory: z.ZodOptional<z.ZodString>;
758
+ }, "strict", z.ZodTypeAny, {
759
+ source: string;
760
+ directory?: string | undefined;
761
+ }, {
762
+ source: string;
763
+ directory?: string | undefined;
764
+ }>]>>;
711
765
  }, "strip", z.ZodTypeAny, {
712
- openapi?: string | string[] | undefined;
766
+ openapi?: string | string[] | {
767
+ source: string;
768
+ directory?: string | undefined;
769
+ } | undefined;
713
770
  }, {
714
- openapi?: string | string[] | undefined;
771
+ openapi?: string | string[] | {
772
+ source: string;
773
+ directory?: string | undefined;
774
+ } | undefined;
715
775
  }>>, "many">;
716
776
  }, "strip", z.ZodTypeAny, {
717
777
  tabs: any[];
@@ -785,11 +845,26 @@ export declare const lindenConfigSchema: z.ZodObject<{
785
845
  }, {
786
846
  href: string;
787
847
  }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, ...z.ZodType<any, z.ZodTypeDef, any>[]]>>, z.ZodObject<{
788
- openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
848
+ openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
849
+ source: z.ZodEffects<z.ZodString, string, string>;
850
+ directory: z.ZodOptional<z.ZodString>;
851
+ }, "strict", z.ZodTypeAny, {
852
+ source: string;
853
+ directory?: string | undefined;
854
+ }, {
855
+ source: string;
856
+ directory?: string | undefined;
857
+ }>]>>;
789
858
  }, "strip", z.ZodTypeAny, {
790
- openapi?: string | string[] | undefined;
859
+ openapi?: string | string[] | {
860
+ source: string;
861
+ directory?: string | undefined;
862
+ } | undefined;
791
863
  }, {
792
- openapi?: string | string[] | undefined;
864
+ openapi?: string | string[] | {
865
+ source: string;
866
+ directory?: string | undefined;
867
+ } | undefined;
793
868
  }>>, "many">;
794
869
  }, "strip", z.ZodTypeAny, {
795
870
  dropdowns: any[];
@@ -899,11 +974,26 @@ export declare const lindenConfigSchema: z.ZodObject<{
899
974
  }, {
900
975
  href: string;
901
976
  }>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, ...z.ZodType<any, z.ZodTypeDef, any>[]]>>, z.ZodObject<{
902
- openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
977
+ openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
978
+ source: z.ZodEffects<z.ZodString, string, string>;
979
+ directory: z.ZodOptional<z.ZodString>;
980
+ }, "strict", z.ZodTypeAny, {
981
+ source: string;
982
+ directory?: string | undefined;
983
+ }, {
984
+ source: string;
985
+ directory?: string | undefined;
986
+ }>]>>;
903
987
  }, "strip", z.ZodTypeAny, {
904
- openapi?: string | string[] | undefined;
988
+ openapi?: string | string[] | {
989
+ source: string;
990
+ directory?: string | undefined;
991
+ } | undefined;
905
992
  }, {
906
- openapi?: string | string[] | undefined;
993
+ openapi?: string | string[] | {
994
+ source: string;
995
+ directory?: string | undefined;
996
+ } | undefined;
907
997
  }>>, "many">;
908
998
  }, "strip", z.ZodTypeAny, {
909
999
  anchors: any[];
@@ -1077,11 +1167,32 @@ export declare const lindenConfigSchema: z.ZodObject<{
1077
1167
  isPublic?: boolean | undefined;
1078
1168
  } | undefined;
1079
1169
  }>, z.ZodUnion<[z.ZodObject<{
1080
- openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>;
1170
+ openapi: z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, z.ZodObject<{
1171
+ source: z.ZodEffects<z.ZodString, string, string>;
1172
+ directory: z.ZodOptional<z.ZodString>;
1173
+ }, "strict", z.ZodTypeAny, {
1174
+ source: string;
1175
+ directory?: string | undefined;
1176
+ }, {
1177
+ source: string;
1178
+ directory?: string | undefined;
1179
+ }>]>;
1081
1180
  }, "strip", z.ZodTypeAny, {
1082
- openapi: (string | string[]) & (string | string[] | undefined);
1181
+ openapi: (string | string[] | {
1182
+ source: string;
1183
+ directory?: string | undefined;
1184
+ }) & (string | string[] | {
1185
+ source: string;
1186
+ directory?: string | undefined;
1187
+ } | undefined);
1083
1188
  }, {
1084
- openapi: (string | string[]) & (string | string[] | undefined);
1189
+ openapi: (string | string[] | {
1190
+ source: string;
1191
+ directory?: string | undefined;
1192
+ }) & (string | string[] | {
1193
+ source: string;
1194
+ directory?: string | undefined;
1195
+ } | undefined);
1085
1196
  }>, z.ZodLazy<z.ZodObject<{
1086
1197
  pages: z.ZodArray<z.ZodType<any, z.ZodTypeDef, any>, "many">;
1087
1198
  }, "strip", z.ZodTypeAny, {
@@ -1125,7 +1236,13 @@ export declare const lindenConfigSchema: z.ZodObject<{
1125
1236
  isPublic?: boolean | undefined;
1126
1237
  } | undefined;
1127
1238
  } & ({
1128
- openapi: (string | string[]) & (string | string[] | undefined);
1239
+ openapi: (string | string[] | {
1240
+ source: string;
1241
+ directory?: string | undefined;
1242
+ }) & (string | string[] | {
1243
+ source: string;
1244
+ directory?: string | undefined;
1245
+ } | undefined);
1129
1246
  } | {
1130
1247
  pages: any[];
1131
1248
  }))[];
@@ -1165,7 +1282,13 @@ export declare const lindenConfigSchema: z.ZodObject<{
1165
1282
  isPublic?: boolean | undefined;
1166
1283
  } | undefined;
1167
1284
  } & ({
1168
- openapi: (string | string[]) & (string | string[] | undefined);
1285
+ openapi: (string | string[] | {
1286
+ source: string;
1287
+ directory?: string | undefined;
1288
+ }) & (string | string[] | {
1289
+ source: string;
1290
+ directory?: string | undefined;
1291
+ } | undefined);
1169
1292
  } | {
1170
1293
  pages: any[];
1171
1294
  }))[];
@@ -1730,7 +1853,13 @@ export declare const lindenConfigSchema: z.ZodObject<{
1730
1853
  isPublic?: boolean | undefined;
1731
1854
  } | undefined;
1732
1855
  } & ({
1733
- openapi: (string | string[]) & (string | string[] | undefined);
1856
+ openapi: (string | string[] | {
1857
+ source: string;
1858
+ directory?: string | undefined;
1859
+ }) & (string | string[] | {
1860
+ source: string;
1861
+ directory?: string | undefined;
1862
+ } | undefined);
1734
1863
  } | {
1735
1864
  pages: any[];
1736
1865
  }))[];
@@ -1831,7 +1960,13 @@ export declare const lindenConfigSchema: z.ZodObject<{
1831
1960
  isPublic?: boolean | undefined;
1832
1961
  } | undefined;
1833
1962
  } & ({
1834
- openapi: (string | string[]) & (string | string[] | undefined);
1963
+ openapi: (string | string[] | {
1964
+ source: string;
1965
+ directory?: string | undefined;
1966
+ }) & (string | string[] | {
1967
+ source: string;
1968
+ directory?: string | undefined;
1969
+ } | undefined);
1835
1970
  } | {
1836
1971
  pages: any[];
1837
1972
  }))[];
@@ -1849,7 +1984,10 @@ export declare const lindenConfigSchema: z.ZodObject<{
1849
1984
  dark: string;
1850
1985
  } | undefined;
1851
1986
  api?: {
1852
- openapi?: string | string[] | undefined;
1987
+ openapi?: string | string[] | {
1988
+ source: string;
1989
+ directory?: string | undefined;
1990
+ } | undefined;
1853
1991
  playground?: {
1854
1992
  display?: "simple" | "none" | "interactive" | undefined;
1855
1993
  proxy?: boolean | undefined;
@@ -2099,7 +2237,13 @@ export declare const lindenConfigSchema: z.ZodObject<{
2099
2237
  isPublic?: boolean | undefined;
2100
2238
  } | undefined;
2101
2239
  } & ({
2102
- openapi: (string | string[]) & (string | string[] | undefined);
2240
+ openapi: (string | string[] | {
2241
+ source: string;
2242
+ directory?: string | undefined;
2243
+ }) & (string | string[] | {
2244
+ source: string;
2245
+ directory?: string | undefined;
2246
+ } | undefined);
2103
2247
  } | {
2104
2248
  pages: any[];
2105
2249
  }))[];
@@ -2200,7 +2344,13 @@ export declare const lindenConfigSchema: z.ZodObject<{
2200
2344
  isPublic?: boolean | undefined;
2201
2345
  } | undefined;
2202
2346
  } & ({
2203
- openapi: (string | string[]) & (string | string[] | undefined);
2347
+ openapi: (string | string[] | {
2348
+ source: string;
2349
+ directory?: string | undefined;
2350
+ }) & (string | string[] | {
2351
+ source: string;
2352
+ directory?: string | undefined;
2353
+ } | undefined);
2204
2354
  } | {
2205
2355
  pages: any[];
2206
2356
  }))[];
@@ -2219,7 +2369,10 @@ export declare const lindenConfigSchema: z.ZodObject<{
2219
2369
  dark: string;
2220
2370
  } | undefined;
2221
2371
  api?: {
2222
- openapi?: string | string[] | undefined;
2372
+ openapi?: string | string[] | {
2373
+ source: string;
2374
+ directory?: string | undefined;
2375
+ } | undefined;
2223
2376
  playground?: {
2224
2377
  display?: "simple" | "none" | "interactive" | undefined;
2225
2378
  proxy?: boolean | undefined;