@mintlify/validation 0.1.370 → 0.1.372
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.
- package/dist/mint-config/schemas/v2/index.d.ts +1821 -72
- package/dist/mint-config/schemas/v2/index.js +2 -0
- package/dist/mint-config/schemas/v2/properties/api.d.ts +8 -8
- package/dist/mint-config/schemas/v2/properties/api.js +3 -3
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +12 -12
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +1751 -0
- package/dist/mint-config/schemas/v2/themes/aspen.js +4 -0
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +12 -12
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +12 -12
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +12 -12
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +12 -12
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +8 -8
- package/dist/mint-config/schemas/v2/themes/themes.d.ts +2 -2
- package/dist/mint-config/schemas/v2/themes/themes.js +1 -1
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +12 -12
- package/dist/mint-config/validateConfig.d.ts +864 -212
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { almondConfigSchema } from './themes/almond.js';
|
|
3
|
+
import { aspenConfigSchema } from './themes/aspen.js';
|
|
3
4
|
import { lindenConfigSchema } from './themes/linden.js';
|
|
4
5
|
import { mapleConfigSchema } from './themes/maple.js';
|
|
5
6
|
import { mintConfigSchema } from './themes/mint.js';
|
|
@@ -12,4 +13,5 @@ export const docsConfigSchema = z.discriminatedUnion('theme', [
|
|
|
12
13
|
willowConfigSchema,
|
|
13
14
|
lindenConfigSchema,
|
|
14
15
|
almondConfigSchema,
|
|
16
|
+
aspenConfigSchema,
|
|
15
17
|
]);
|
|
@@ -20,12 +20,12 @@ export declare const apiSchema: z.ZodObject<{
|
|
|
20
20
|
source: string;
|
|
21
21
|
directory?: string | undefined;
|
|
22
22
|
}>]>>;
|
|
23
|
-
|
|
24
|
-
expanded: z.ZodOptional<z.ZodEnum<["all", "
|
|
23
|
+
params: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
expanded: z.ZodOptional<z.ZodEnum<["all", "closed"]>>;
|
|
25
25
|
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
expanded?: "all" | "
|
|
26
|
+
expanded?: "all" | "closed" | undefined;
|
|
27
27
|
}, {
|
|
28
|
-
expanded?: "all" | "
|
|
28
|
+
expanded?: "all" | "closed" | undefined;
|
|
29
29
|
}>>;
|
|
30
30
|
playground: z.ZodOptional<z.ZodObject<{
|
|
31
31
|
display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none"]>>;
|
|
@@ -81,8 +81,8 @@ export declare const apiSchema: z.ZodObject<{
|
|
|
81
81
|
source: string;
|
|
82
82
|
directory?: string | undefined;
|
|
83
83
|
} | undefined;
|
|
84
|
-
|
|
85
|
-
expanded?: "all" | "
|
|
84
|
+
params?: {
|
|
85
|
+
expanded?: "all" | "closed" | undefined;
|
|
86
86
|
} | undefined;
|
|
87
87
|
playground?: {
|
|
88
88
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
@@ -108,8 +108,8 @@ export declare const apiSchema: z.ZodObject<{
|
|
|
108
108
|
source: string;
|
|
109
109
|
directory?: string | undefined;
|
|
110
110
|
} | undefined;
|
|
111
|
-
|
|
112
|
-
expanded?: "all" | "
|
|
111
|
+
params?: {
|
|
112
|
+
expanded?: "all" | "closed" | undefined;
|
|
113
113
|
} | undefined;
|
|
114
114
|
playground?: {
|
|
115
115
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
@@ -5,12 +5,12 @@ export const apiSchema = z
|
|
|
5
5
|
.object({
|
|
6
6
|
openapi: openApiSchema.optional(),
|
|
7
7
|
asyncapi: asyncApiSchema.optional(),
|
|
8
|
-
|
|
8
|
+
params: z
|
|
9
9
|
.object({
|
|
10
10
|
expanded: z
|
|
11
|
-
.enum(['all', '
|
|
11
|
+
.enum(['all', 'closed'])
|
|
12
12
|
.optional()
|
|
13
|
-
.describe('
|
|
13
|
+
.describe('The view mode of the API parameters. Defaults to `closed`.'),
|
|
14
14
|
})
|
|
15
15
|
.optional()
|
|
16
16
|
.describe('Configurations for the API parameters'),
|
|
@@ -60,12 +60,12 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
60
60
|
source: string;
|
|
61
61
|
directory?: string | undefined;
|
|
62
62
|
}>]>>;
|
|
63
|
-
|
|
64
|
-
expanded: z.ZodOptional<z.ZodEnum<["all", "
|
|
63
|
+
params: z.ZodOptional<z.ZodObject<{
|
|
64
|
+
expanded: z.ZodOptional<z.ZodEnum<["all", "closed"]>>;
|
|
65
65
|
}, "strip", z.ZodTypeAny, {
|
|
66
|
-
expanded?: "all" | "
|
|
66
|
+
expanded?: "all" | "closed" | undefined;
|
|
67
67
|
}, {
|
|
68
|
-
expanded?: "all" | "
|
|
68
|
+
expanded?: "all" | "closed" | undefined;
|
|
69
69
|
}>>;
|
|
70
70
|
playground: z.ZodOptional<z.ZodObject<{
|
|
71
71
|
display: z.ZodOptional<z.ZodEnum<["interactive", "simple", "none"]>>;
|
|
@@ -121,8 +121,8 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
121
121
|
source: string;
|
|
122
122
|
directory?: string | undefined;
|
|
123
123
|
} | undefined;
|
|
124
|
-
|
|
125
|
-
expanded?: "all" | "
|
|
124
|
+
params?: {
|
|
125
|
+
expanded?: "all" | "closed" | undefined;
|
|
126
126
|
} | undefined;
|
|
127
127
|
playground?: {
|
|
128
128
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
@@ -148,8 +148,8 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
148
148
|
source: string;
|
|
149
149
|
directory?: string | undefined;
|
|
150
150
|
} | undefined;
|
|
151
|
-
|
|
152
|
-
expanded?: "all" | "
|
|
151
|
+
params?: {
|
|
152
|
+
expanded?: "all" | "closed" | undefined;
|
|
153
153
|
} | undefined;
|
|
154
154
|
playground?: {
|
|
155
155
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
@@ -1251,8 +1251,8 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
1251
1251
|
source: string;
|
|
1252
1252
|
directory?: string | undefined;
|
|
1253
1253
|
} | undefined;
|
|
1254
|
-
|
|
1255
|
-
expanded?: "all" | "
|
|
1254
|
+
params?: {
|
|
1255
|
+
expanded?: "all" | "closed" | undefined;
|
|
1256
1256
|
} | undefined;
|
|
1257
1257
|
playground?: {
|
|
1258
1258
|
display?: "simple" | "none" | "interactive" | undefined;
|
|
@@ -1577,8 +1577,8 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
1577
1577
|
source: string;
|
|
1578
1578
|
directory?: string | undefined;
|
|
1579
1579
|
} | undefined;
|
|
1580
|
-
|
|
1581
|
-
expanded?: "all" | "
|
|
1580
|
+
params?: {
|
|
1581
|
+
expanded?: "all" | "closed" | undefined;
|
|
1582
1582
|
} | undefined;
|
|
1583
1583
|
playground?: {
|
|
1584
1584
|
display?: "simple" | "none" | "interactive" | undefined;
|