@mintlify/validation 0.1.246 → 0.1.248
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 +5215 -2155
- package/dist/mint-config/schemas/v2/index.js +8 -6
- package/dist/mint-config/schemas/v2/properties/api.d.ts +11 -11
- package/dist/mint-config/schemas/v2/properties/api.js +3 -5
- package/dist/mint-config/schemas/v2/properties/appearance.d.ts +4 -4
- package/dist/mint-config/schemas/v2/properties/appearance.js +6 -3
- package/dist/mint-config/schemas/v2/properties/icons.d.ts +2 -2
- package/dist/mint-config/schemas/v2/properties/icons.js +3 -1
- package/dist/mint-config/schemas/v2/properties/index.d.ts +9 -0
- package/dist/mint-config/schemas/v2/properties/index.js +9 -0
- package/dist/mint-config/schemas/v2/properties/navigation/anchors.d.ts +225 -2
- package/dist/mint-config/schemas/v2/properties/navigation/anchors.js +10 -16
- package/dist/mint-config/schemas/v2/properties/navigation/divisionSchemas.d.ts +7 -0
- package/dist/mint-config/schemas/v2/properties/navigation/divisionSchemas.js +26 -0
- package/dist/mint-config/schemas/v2/properties/navigation/dropdown.d.ts +155 -2
- package/dist/mint-config/schemas/v2/properties/navigation/dropdown.js +10 -16
- package/dist/mint-config/schemas/v2/properties/navigation/global.d.ts +25 -0
- package/dist/mint-config/schemas/v2/properties/navigation/groups.d.ts +638 -6
- package/dist/mint-config/schemas/v2/properties/navigation/groups.js +15 -7
- package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +1338 -295
- package/dist/mint-config/schemas/v2/properties/navigation/index.js +20 -18
- package/dist/mint-config/schemas/v2/properties/navigation/languages.d.ts +47 -214
- package/dist/mint-config/schemas/v2/properties/navigation/languages.js +10 -18
- package/dist/mint-config/schemas/v2/properties/navigation/pages.d.ts +4 -0
- package/dist/mint-config/schemas/v2/properties/navigation/pages.js +6 -2
- package/dist/mint-config/schemas/v2/properties/navigation/tabs.d.ts +153 -2
- package/dist/mint-config/schemas/v2/properties/navigation/tabs.js +8 -16
- package/dist/mint-config/schemas/v2/properties/navigation/version.d.ts +81 -2
- package/dist/mint-config/schemas/v2/properties/navigation/version.js +10 -16
- package/dist/mint-config/schemas/v2/properties/reusable/divisions.d.ts +2 -0
- package/dist/mint-config/schemas/v2/properties/reusable/divisions.js +1 -0
- package/dist/mint-config/schemas/v2/properties/reusable/index.d.ts +4 -0
- package/dist/mint-config/schemas/v2/properties/reusable/index.js +4 -0
- package/dist/mint-config/schemas/v2/properties/reusable/page.d.ts +86 -0
- package/dist/mint-config/schemas/v2/properties/reusable/page.js +27 -0
- package/dist/mint-config/schemas/v2/properties/seo.d.ts +2 -2
- package/dist/mint-config/schemas/v2/properties/seo.js +1 -2
- package/dist/mint-config/schemas/v2/properties/styling.d.ts +6 -6
- package/dist/mint-config/schemas/v2/properties/styling.js +3 -6
- package/dist/mint-config/schemas/v2/themes/{quill.d.ts → linden.d.ts} +740 -540
- package/dist/mint-config/schemas/v2/themes/linden.js +3 -0
- package/dist/mint-config/schemas/v2/themes/{venus.d.ts → maple.d.ts} +740 -540
- package/dist/mint-config/schemas/v2/themes/maple.js +3 -0
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +736 -536
- package/dist/mint-config/schemas/v2/themes/{prism.d.ts → palm.d.ts} +740 -540
- package/dist/mint-config/schemas/v2/themes/palm.js +3 -0
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +520 -320
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +2262 -0
- package/dist/mint-config/schemas/v2/themes/willow.js +3 -0
- package/dist/mint-config/upgrades/upgradeToDocsConfig.d.ts +2 -5
- package/dist/mint-config/upgrades/upgradeToDocsConfig.js +47 -29
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/mint-config/schemas/v2/themes/prism.js +0 -3
- package/dist/mint-config/schemas/v2/themes/quill.js +0 -3
- package/dist/mint-config/schemas/v2/themes/venus.js +0 -3
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const dropdownSchema: z.ZodType;
|
|
3
2
|
export declare const nonRecursiveDropdownSchema: z.ZodIntersection<z.ZodObject<{
|
|
4
3
|
dropdown: z.ZodString;
|
|
5
4
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
@@ -13,6 +12,7 @@ export declare const nonRecursiveDropdownSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
13
12
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
14
13
|
}>]>>;
|
|
15
14
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
+
openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
17
|
dropdown: string;
|
|
18
18
|
icon?: string | {
|
|
@@ -20,6 +20,7 @@ export declare const nonRecursiveDropdownSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
20
20
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
21
21
|
} | undefined;
|
|
22
22
|
hidden?: boolean | undefined;
|
|
23
|
+
openapi?: string | string[] | undefined;
|
|
23
24
|
}, {
|
|
24
25
|
dropdown: string;
|
|
25
26
|
icon?: string | {
|
|
@@ -27,6 +28,7 @@ export declare const nonRecursiveDropdownSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
27
28
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
28
29
|
} | undefined;
|
|
29
30
|
hidden?: boolean | undefined;
|
|
31
|
+
openapi?: string | string[] | undefined;
|
|
30
32
|
}>, z.ZodObject<{
|
|
31
33
|
href: z.ZodString;
|
|
32
34
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -34,4 +36,155 @@ export declare const nonRecursiveDropdownSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
34
36
|
}, {
|
|
35
37
|
href: string;
|
|
36
38
|
}>>;
|
|
37
|
-
export declare const
|
|
39
|
+
export declare const dropdownSchema: z.ZodIntersection<z.ZodObject<{
|
|
40
|
+
dropdown: z.ZodString;
|
|
41
|
+
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
42
|
+
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
43
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
name: string;
|
|
46
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
47
|
+
}, {
|
|
48
|
+
name: string;
|
|
49
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
50
|
+
}>]>>;
|
|
51
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
+
openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
|
|
53
|
+
}, "strip", z.ZodTypeAny, {
|
|
54
|
+
dropdown: string;
|
|
55
|
+
icon?: string | {
|
|
56
|
+
name: string;
|
|
57
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
hidden?: boolean | undefined;
|
|
60
|
+
openapi?: string | string[] | undefined;
|
|
61
|
+
}, {
|
|
62
|
+
dropdown: string;
|
|
63
|
+
icon?: string | {
|
|
64
|
+
name: string;
|
|
65
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
66
|
+
} | undefined;
|
|
67
|
+
hidden?: boolean | undefined;
|
|
68
|
+
openapi?: string | string[] | undefined;
|
|
69
|
+
}>, z.ZodUnion<[z.ZodObject<{
|
|
70
|
+
href: z.ZodString;
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
href: string;
|
|
73
|
+
}, {
|
|
74
|
+
href: string;
|
|
75
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, ...z.ZodType<any, z.ZodTypeDef, any>[]]>>;
|
|
76
|
+
export declare const decoratedDropdownSchema: z.ZodIntersection<z.ZodObject<{
|
|
77
|
+
dropdown: z.ZodString;
|
|
78
|
+
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
79
|
+
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
80
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
81
|
+
}, "strip", z.ZodTypeAny, {
|
|
82
|
+
name: string;
|
|
83
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
84
|
+
}, {
|
|
85
|
+
name: string;
|
|
86
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
87
|
+
}>]>>;
|
|
88
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
89
|
+
openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
|
|
90
|
+
}, "strip", z.ZodTypeAny, {
|
|
91
|
+
dropdown: string;
|
|
92
|
+
icon?: string | {
|
|
93
|
+
name: string;
|
|
94
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
95
|
+
} | undefined;
|
|
96
|
+
hidden?: boolean | undefined;
|
|
97
|
+
openapi?: string | string[] | undefined;
|
|
98
|
+
}, {
|
|
99
|
+
dropdown: string;
|
|
100
|
+
icon?: string | {
|
|
101
|
+
name: string;
|
|
102
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
103
|
+
} | undefined;
|
|
104
|
+
hidden?: boolean | undefined;
|
|
105
|
+
openapi?: string | string[] | undefined;
|
|
106
|
+
}>, z.ZodUnion<[z.ZodObject<{
|
|
107
|
+
href: z.ZodString;
|
|
108
|
+
}, "strip", z.ZodTypeAny, {
|
|
109
|
+
href: string;
|
|
110
|
+
}, {
|
|
111
|
+
href: string;
|
|
112
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, ...z.ZodType<any, z.ZodTypeDef, any>[]]>>;
|
|
113
|
+
export declare const dropdownsSchema: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
114
|
+
dropdown: z.ZodString;
|
|
115
|
+
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
116
|
+
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
117
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
118
|
+
}, "strip", z.ZodTypeAny, {
|
|
119
|
+
name: string;
|
|
120
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
121
|
+
}, {
|
|
122
|
+
name: string;
|
|
123
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
124
|
+
}>]>>;
|
|
125
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
126
|
+
openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
|
|
127
|
+
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
dropdown: string;
|
|
129
|
+
icon?: string | {
|
|
130
|
+
name: string;
|
|
131
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
132
|
+
} | undefined;
|
|
133
|
+
hidden?: boolean | undefined;
|
|
134
|
+
openapi?: string | string[] | undefined;
|
|
135
|
+
}, {
|
|
136
|
+
dropdown: string;
|
|
137
|
+
icon?: string | {
|
|
138
|
+
name: string;
|
|
139
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
140
|
+
} | undefined;
|
|
141
|
+
hidden?: boolean | undefined;
|
|
142
|
+
openapi?: string | string[] | undefined;
|
|
143
|
+
}>, z.ZodUnion<[z.ZodObject<{
|
|
144
|
+
href: z.ZodString;
|
|
145
|
+
}, "strip", z.ZodTypeAny, {
|
|
146
|
+
href: string;
|
|
147
|
+
}, {
|
|
148
|
+
href: string;
|
|
149
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, ...z.ZodType<any, z.ZodTypeDef, any>[]]>>, "many">;
|
|
150
|
+
export declare const decoratedDropdownsSchema: z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
151
|
+
dropdown: z.ZodString;
|
|
152
|
+
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
153
|
+
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
154
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
155
|
+
}, "strip", z.ZodTypeAny, {
|
|
156
|
+
name: string;
|
|
157
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
158
|
+
}, {
|
|
159
|
+
name: string;
|
|
160
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
161
|
+
}>]>>;
|
|
162
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
163
|
+
openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
|
|
164
|
+
}, "strip", z.ZodTypeAny, {
|
|
165
|
+
dropdown: string;
|
|
166
|
+
icon?: string | {
|
|
167
|
+
name: string;
|
|
168
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
169
|
+
} | undefined;
|
|
170
|
+
hidden?: boolean | undefined;
|
|
171
|
+
openapi?: string | string[] | undefined;
|
|
172
|
+
}, {
|
|
173
|
+
dropdown: string;
|
|
174
|
+
icon?: string | {
|
|
175
|
+
name: string;
|
|
176
|
+
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
177
|
+
} | undefined;
|
|
178
|
+
hidden?: boolean | undefined;
|
|
179
|
+
openapi?: string | string[] | undefined;
|
|
180
|
+
}>, z.ZodUnion<[z.ZodObject<{
|
|
181
|
+
href: z.ZodString;
|
|
182
|
+
}, "strip", z.ZodTypeAny, {
|
|
183
|
+
href: string;
|
|
184
|
+
}, {
|
|
185
|
+
href: string;
|
|
186
|
+
}>, z.ZodType<any, z.ZodTypeDef, any>, z.ZodType<any, z.ZodTypeDef, any>, ...z.ZodType<any, z.ZodTypeDef, any>[]]>>, "many">;
|
|
187
|
+
export type DropdownsConfig = z.infer<typeof dropdownsSchema>;
|
|
188
|
+
export type DropdownConfig = z.infer<typeof dropdownSchema>;
|
|
189
|
+
export type DecoratedDropdownsConfig = z.infer<typeof decoratedDropdownsSchema>;
|
|
190
|
+
export type DecoratedDropdownConfig = z.infer<typeof decoratedDropdownSchema>;
|
|
@@ -3,26 +3,20 @@ import { hiddenSchema } from '../reusable/hidden.js';
|
|
|
3
3
|
import { hrefSchema } from '../reusable/href.js';
|
|
4
4
|
import { iconSchema } from '../reusable/icon.js';
|
|
5
5
|
import { openApiSchema } from '../reusable/openapi.js';
|
|
6
|
-
import {
|
|
7
|
-
import { groupsSchema } from './groups.js';
|
|
8
|
-
import { languagesSchema } from './languages.js';
|
|
9
|
-
import { pagesSchema } from './pages.js';
|
|
10
|
-
import { tabsSchema } from './tabs.js';
|
|
11
|
-
import { versionsSchema } from './version.js';
|
|
6
|
+
import { getDivisionSchemasExcluding, registerDivisionSchema } from './divisionSchemas.js';
|
|
12
7
|
const baseDropdownSchema = z.object({
|
|
13
8
|
dropdown: z.string().nonempty().describe('The name of the dropdown'),
|
|
14
9
|
icon: iconSchema.optional(),
|
|
15
10
|
hidden: hiddenSchema.optional(),
|
|
11
|
+
openapi: openApiSchema.optional(),
|
|
16
12
|
});
|
|
17
|
-
|
|
18
|
-
z.object({ openapi: openApiSchema }),
|
|
19
|
-
z.object({ href: hrefSchema }),
|
|
20
|
-
z.lazy(() => z.object({ languages: languagesSchema })),
|
|
21
|
-
z.lazy(() => z.object({ versions: versionsSchema })),
|
|
22
|
-
z.lazy(() => z.object({ tabs: tabsSchema })),
|
|
23
|
-
z.lazy(() => z.object({ anchors: anchorsSchema })),
|
|
24
|
-
z.lazy(() => z.object({ groups: groupsSchema })),
|
|
25
|
-
z.lazy(() => z.object({ pages: pagesSchema })),
|
|
26
|
-
]));
|
|
13
|
+
const createDropdownSchema = (type) => baseDropdownSchema.and(z.union([z.object({ href: hrefSchema }), ...getDivisionSchemasExcluding('dropdowns', type)]));
|
|
27
14
|
export const nonRecursiveDropdownSchema = baseDropdownSchema.and(z.object({ href: hrefSchema }));
|
|
15
|
+
export const dropdownSchema = createDropdownSchema('default');
|
|
16
|
+
export const decoratedDropdownSchema = createDropdownSchema('decorated');
|
|
28
17
|
export const dropdownsSchema = z.array(dropdownSchema).describe('Organizing by dropdowns');
|
|
18
|
+
export const decoratedDropdownsSchema = z
|
|
19
|
+
.array(decoratedDropdownSchema)
|
|
20
|
+
.describe('Organizing by dropdowns');
|
|
21
|
+
registerDivisionSchema('dropdowns', dropdownsSchema, 'default');
|
|
22
|
+
registerDivisionSchema('dropdowns', decoratedDropdownsSchema, 'decorated');
|
|
@@ -3,12 +3,15 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
3
3
|
languages: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
4
4
|
language: z.ZodEnum<["en", "cn", "es", "fr", "jp", "pt", "pt-BR", "de"]>;
|
|
5
5
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
+
openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
|
|
6
7
|
}, "strip", z.ZodTypeAny, {
|
|
7
8
|
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
|
|
8
9
|
hidden?: boolean | undefined;
|
|
10
|
+
openapi?: string | string[] | undefined;
|
|
9
11
|
}, {
|
|
10
12
|
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
|
|
11
13
|
hidden?: boolean | undefined;
|
|
14
|
+
openapi?: string | string[] | undefined;
|
|
12
15
|
}>, z.ZodObject<{
|
|
13
16
|
href: z.ZodString;
|
|
14
17
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -19,12 +22,15 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
19
22
|
versions: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
20
23
|
version: z.ZodString;
|
|
21
24
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
25
|
+
openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
|
|
22
26
|
}, "strip", z.ZodTypeAny, {
|
|
23
27
|
version: string;
|
|
24
28
|
hidden?: boolean | undefined;
|
|
29
|
+
openapi?: string | string[] | undefined;
|
|
25
30
|
}, {
|
|
26
31
|
version: string;
|
|
27
32
|
hidden?: boolean | undefined;
|
|
33
|
+
openapi?: string | string[] | undefined;
|
|
28
34
|
}>, z.ZodObject<{
|
|
29
35
|
href: z.ZodString;
|
|
30
36
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -45,6 +51,7 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
45
51
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
46
52
|
}>]>>;
|
|
47
53
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
+
openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
|
|
48
55
|
}, "strip", z.ZodTypeAny, {
|
|
49
56
|
tab: string;
|
|
50
57
|
icon?: string | {
|
|
@@ -52,6 +59,7 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
52
59
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
53
60
|
} | undefined;
|
|
54
61
|
hidden?: boolean | undefined;
|
|
62
|
+
openapi?: string | string[] | undefined;
|
|
55
63
|
}, {
|
|
56
64
|
tab: string;
|
|
57
65
|
icon?: string | {
|
|
@@ -59,6 +67,7 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
59
67
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
60
68
|
} | undefined;
|
|
61
69
|
hidden?: boolean | undefined;
|
|
70
|
+
openapi?: string | string[] | undefined;
|
|
62
71
|
}>, z.ZodObject<{
|
|
63
72
|
href: z.ZodString;
|
|
64
73
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -79,6 +88,7 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
79
88
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
80
89
|
}>]>>;
|
|
81
90
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
91
|
+
openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
|
|
82
92
|
}, "strip", z.ZodTypeAny, {
|
|
83
93
|
dropdown: string;
|
|
84
94
|
icon?: string | {
|
|
@@ -86,6 +96,7 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
86
96
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
87
97
|
} | undefined;
|
|
88
98
|
hidden?: boolean | undefined;
|
|
99
|
+
openapi?: string | string[] | undefined;
|
|
89
100
|
}, {
|
|
90
101
|
dropdown: string;
|
|
91
102
|
icon?: string | {
|
|
@@ -93,6 +104,7 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
93
104
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
94
105
|
} | undefined;
|
|
95
106
|
hidden?: boolean | undefined;
|
|
107
|
+
openapi?: string | string[] | undefined;
|
|
96
108
|
}>, z.ZodObject<{
|
|
97
109
|
href: z.ZodString;
|
|
98
110
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -123,6 +135,7 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
123
135
|
dark?: string | undefined;
|
|
124
136
|
}>>;
|
|
125
137
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
138
|
+
openapi: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">]>>;
|
|
126
139
|
}, "strip", z.ZodTypeAny, {
|
|
127
140
|
anchor: string;
|
|
128
141
|
icon?: string | {
|
|
@@ -134,6 +147,7 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
134
147
|
dark?: string | undefined;
|
|
135
148
|
} | undefined;
|
|
136
149
|
hidden?: boolean | undefined;
|
|
150
|
+
openapi?: string | string[] | undefined;
|
|
137
151
|
}, {
|
|
138
152
|
anchor: string;
|
|
139
153
|
icon?: string | {
|
|
@@ -145,6 +159,7 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
145
159
|
dark?: string | undefined;
|
|
146
160
|
} | undefined;
|
|
147
161
|
hidden?: boolean | undefined;
|
|
162
|
+
openapi?: string | string[] | undefined;
|
|
148
163
|
}>, z.ZodObject<{
|
|
149
164
|
href: z.ZodString;
|
|
150
165
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -156,12 +171,14 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
156
171
|
languages?: ({
|
|
157
172
|
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
|
|
158
173
|
hidden?: boolean | undefined;
|
|
174
|
+
openapi?: string | string[] | undefined;
|
|
159
175
|
} & {
|
|
160
176
|
href: string;
|
|
161
177
|
})[] | undefined;
|
|
162
178
|
versions?: ({
|
|
163
179
|
version: string;
|
|
164
180
|
hidden?: boolean | undefined;
|
|
181
|
+
openapi?: string | string[] | undefined;
|
|
165
182
|
} & {
|
|
166
183
|
href: string;
|
|
167
184
|
})[] | undefined;
|
|
@@ -172,6 +189,7 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
172
189
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
173
190
|
} | undefined;
|
|
174
191
|
hidden?: boolean | undefined;
|
|
192
|
+
openapi?: string | string[] | undefined;
|
|
175
193
|
} & {
|
|
176
194
|
href: string;
|
|
177
195
|
})[] | undefined;
|
|
@@ -182,6 +200,7 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
182
200
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
183
201
|
} | undefined;
|
|
184
202
|
hidden?: boolean | undefined;
|
|
203
|
+
openapi?: string | string[] | undefined;
|
|
185
204
|
} & {
|
|
186
205
|
href: string;
|
|
187
206
|
})[] | undefined;
|
|
@@ -196,6 +215,7 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
196
215
|
dark?: string | undefined;
|
|
197
216
|
} | undefined;
|
|
198
217
|
hidden?: boolean | undefined;
|
|
218
|
+
openapi?: string | string[] | undefined;
|
|
199
219
|
} & {
|
|
200
220
|
href: string;
|
|
201
221
|
})[] | undefined;
|
|
@@ -203,12 +223,14 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
203
223
|
languages?: ({
|
|
204
224
|
language: "en" | "cn" | "es" | "fr" | "jp" | "pt" | "pt-BR" | "de";
|
|
205
225
|
hidden?: boolean | undefined;
|
|
226
|
+
openapi?: string | string[] | undefined;
|
|
206
227
|
} & {
|
|
207
228
|
href: string;
|
|
208
229
|
})[] | undefined;
|
|
209
230
|
versions?: ({
|
|
210
231
|
version: string;
|
|
211
232
|
hidden?: boolean | undefined;
|
|
233
|
+
openapi?: string | string[] | undefined;
|
|
212
234
|
} & {
|
|
213
235
|
href: string;
|
|
214
236
|
})[] | undefined;
|
|
@@ -219,6 +241,7 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
219
241
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
220
242
|
} | undefined;
|
|
221
243
|
hidden?: boolean | undefined;
|
|
244
|
+
openapi?: string | string[] | undefined;
|
|
222
245
|
} & {
|
|
223
246
|
href: string;
|
|
224
247
|
})[] | undefined;
|
|
@@ -229,6 +252,7 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
229
252
|
style?: "brands" | "duotone" | "light" | "regular" | "sharp-duotone-solid" | "sharp-light" | "sharp-regular" | "sharp-solid" | "sharp-thin" | "solid" | "thin" | undefined;
|
|
230
253
|
} | undefined;
|
|
231
254
|
hidden?: boolean | undefined;
|
|
255
|
+
openapi?: string | string[] | undefined;
|
|
232
256
|
} & {
|
|
233
257
|
href: string;
|
|
234
258
|
})[] | undefined;
|
|
@@ -243,6 +267,7 @@ export declare const globalSchema: z.ZodObject<{
|
|
|
243
267
|
dark?: string | undefined;
|
|
244
268
|
} | undefined;
|
|
245
269
|
hidden?: boolean | undefined;
|
|
270
|
+
openapi?: string | string[] | undefined;
|
|
246
271
|
} & {
|
|
247
272
|
href: string;
|
|
248
273
|
})[] | undefined;
|