@mintlify/validation 0.1.287 → 0.1.289
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 +2135 -0
- package/dist/mint-config/schemas/v2/properties/navigation/dropdown.d.ts +42 -0
- package/dist/mint-config/schemas/v2/properties/navigation/dropdown.js +3 -0
- package/dist/mint-config/schemas/v2/properties/navigation/global.d.ts +31 -0
- package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +328 -0
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +427 -0
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +427 -0
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +427 -0
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +427 -0
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +287 -0
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +427 -0
- package/dist/mint-config/validateConfig.d.ts +700 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/deployment/sourceCheck.d.ts +2 -1
- package/package.json +2 -2
|
@@ -12,6 +12,17 @@ export declare const baseDropdownSchema: z.ZodObject<{
|
|
|
12
12
|
name: string;
|
|
13
13
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
14
14
|
}>]>>;
|
|
15
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
16
|
+
light: z.ZodOptional<z.ZodString>;
|
|
17
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, "strict", z.ZodTypeAny, {
|
|
19
|
+
light?: string | undefined;
|
|
20
|
+
dark?: string | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
light?: string | undefined;
|
|
23
|
+
dark?: string | undefined;
|
|
24
|
+
}>>;
|
|
25
|
+
description: z.ZodOptional<z.ZodString>;
|
|
15
26
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
16
27
|
}, "strip", z.ZodTypeAny, {
|
|
17
28
|
dropdown: string;
|
|
@@ -19,6 +30,11 @@ export declare const baseDropdownSchema: z.ZodObject<{
|
|
|
19
30
|
name: string;
|
|
20
31
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
21
32
|
} | undefined;
|
|
33
|
+
color?: {
|
|
34
|
+
light?: string | undefined;
|
|
35
|
+
dark?: string | undefined;
|
|
36
|
+
} | undefined;
|
|
37
|
+
description?: string | undefined;
|
|
22
38
|
hidden?: boolean | undefined;
|
|
23
39
|
}, {
|
|
24
40
|
dropdown: string;
|
|
@@ -26,6 +42,11 @@ export declare const baseDropdownSchema: z.ZodObject<{
|
|
|
26
42
|
name: string;
|
|
27
43
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
28
44
|
} | undefined;
|
|
45
|
+
color?: {
|
|
46
|
+
light?: string | undefined;
|
|
47
|
+
dark?: string | undefined;
|
|
48
|
+
} | undefined;
|
|
49
|
+
description?: string | undefined;
|
|
29
50
|
hidden?: boolean | undefined;
|
|
30
51
|
}>;
|
|
31
52
|
export type BaseDropdownSchema = z.infer<typeof baseDropdownSchema>;
|
|
@@ -42,6 +63,17 @@ export declare const nonRecursiveDropdownSchema: z.ZodObject<{
|
|
|
42
63
|
name: string;
|
|
43
64
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
44
65
|
}>]>>;
|
|
66
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
67
|
+
light: z.ZodOptional<z.ZodString>;
|
|
68
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
69
|
+
}, "strict", z.ZodTypeAny, {
|
|
70
|
+
light?: string | undefined;
|
|
71
|
+
dark?: string | undefined;
|
|
72
|
+
}, {
|
|
73
|
+
light?: string | undefined;
|
|
74
|
+
dark?: string | undefined;
|
|
75
|
+
}>>;
|
|
76
|
+
description: z.ZodOptional<z.ZodString>;
|
|
45
77
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
46
78
|
dropdown: z.ZodString;
|
|
47
79
|
href: z.ZodString;
|
|
@@ -52,6 +84,11 @@ export declare const nonRecursiveDropdownSchema: z.ZodObject<{
|
|
|
52
84
|
name: string;
|
|
53
85
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
54
86
|
} | undefined;
|
|
87
|
+
color?: {
|
|
88
|
+
light?: string | undefined;
|
|
89
|
+
dark?: string | undefined;
|
|
90
|
+
} | undefined;
|
|
91
|
+
description?: string | undefined;
|
|
55
92
|
hidden?: boolean | undefined;
|
|
56
93
|
}, {
|
|
57
94
|
href: string;
|
|
@@ -60,6 +97,11 @@ export declare const nonRecursiveDropdownSchema: z.ZodObject<{
|
|
|
60
97
|
name: string;
|
|
61
98
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
62
99
|
} | undefined;
|
|
100
|
+
color?: {
|
|
101
|
+
light?: string | undefined;
|
|
102
|
+
dark?: string | undefined;
|
|
103
|
+
} | undefined;
|
|
104
|
+
description?: string | undefined;
|
|
63
105
|
hidden?: boolean | undefined;
|
|
64
106
|
}>;
|
|
65
107
|
export declare const dropdownsSchema: z.ZodArray<z.ZodType<DropdownNavigation<"default">, z.ZodTypeDef, DropdownNavigation<"default">>, "many">;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { colorSchemaWithOptionalLightAndDark } from '../reusable/color.js';
|
|
2
3
|
import { hiddenSchema } from '../reusable/hidden.js';
|
|
3
4
|
import { hrefSchema } from '../reusable/href.js';
|
|
4
5
|
import { iconSchema } from '../reusable/icon.js';
|
|
@@ -12,6 +13,8 @@ import { decoratedVersionsSchema, versionsSchema } from './version.js';
|
|
|
12
13
|
export const baseDropdownSchema = z.object({
|
|
13
14
|
dropdown: z.string().nonempty().describe('The name of the dropdown'),
|
|
14
15
|
icon: iconSchema.optional(),
|
|
16
|
+
color: colorSchemaWithOptionalLightAndDark.optional(),
|
|
17
|
+
description: z.string().optional().describe('The description of the dropdown'),
|
|
15
18
|
hidden: hiddenSchema.optional(),
|
|
16
19
|
});
|
|
17
20
|
export const dropdownSchema = z.union([
|
|
@@ -74,6 +74,17 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
74
74
|
name: string;
|
|
75
75
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
76
76
|
}>]>>;
|
|
77
|
+
color: z.ZodOptional<z.ZodObject<{
|
|
78
|
+
light: z.ZodOptional<z.ZodString>;
|
|
79
|
+
dark: z.ZodOptional<z.ZodString>;
|
|
80
|
+
}, "strict", z.ZodTypeAny, {
|
|
81
|
+
light?: string | undefined;
|
|
82
|
+
dark?: string | undefined;
|
|
83
|
+
}, {
|
|
84
|
+
light?: string | undefined;
|
|
85
|
+
dark?: string | undefined;
|
|
86
|
+
}>>;
|
|
87
|
+
description: z.ZodOptional<z.ZodString>;
|
|
77
88
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
78
89
|
dropdown: z.ZodString;
|
|
79
90
|
href: z.ZodString;
|
|
@@ -84,6 +95,11 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
84
95
|
name: string;
|
|
85
96
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
86
97
|
} | undefined;
|
|
98
|
+
color?: {
|
|
99
|
+
light?: string | undefined;
|
|
100
|
+
dark?: string | undefined;
|
|
101
|
+
} | undefined;
|
|
102
|
+
description?: string | undefined;
|
|
87
103
|
hidden?: boolean | undefined;
|
|
88
104
|
}, {
|
|
89
105
|
href: string;
|
|
@@ -92,6 +108,11 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
92
108
|
name: string;
|
|
93
109
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
94
110
|
} | undefined;
|
|
111
|
+
color?: {
|
|
112
|
+
light?: string | undefined;
|
|
113
|
+
dark?: string | undefined;
|
|
114
|
+
} | undefined;
|
|
115
|
+
description?: string | undefined;
|
|
95
116
|
hidden?: boolean | undefined;
|
|
96
117
|
}>, "many">>;
|
|
97
118
|
anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -172,6 +193,11 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
172
193
|
name: string;
|
|
173
194
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
174
195
|
} | undefined;
|
|
196
|
+
color?: {
|
|
197
|
+
light?: string | undefined;
|
|
198
|
+
dark?: string | undefined;
|
|
199
|
+
} | undefined;
|
|
200
|
+
description?: string | undefined;
|
|
175
201
|
hidden?: boolean | undefined;
|
|
176
202
|
}[] | undefined;
|
|
177
203
|
anchors?: {
|
|
@@ -216,6 +242,11 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
216
242
|
name: string;
|
|
217
243
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
218
244
|
} | undefined;
|
|
245
|
+
color?: {
|
|
246
|
+
light?: string | undefined;
|
|
247
|
+
dark?: string | undefined;
|
|
248
|
+
} | undefined;
|
|
249
|
+
description?: string | undefined;
|
|
219
250
|
hidden?: boolean | undefined;
|
|
220
251
|
}[] | undefined;
|
|
221
252
|
anchors?: {
|