@mintlify/validation 0.1.662 → 0.1.664
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/editor-navigation/conversion/common.d.ts +1 -1
- package/dist/editor-navigation/conversion/common.js +5 -1
- package/dist/editor-navigation/conversion/docsjson-to-tree.js +2 -0
- package/dist/editor-navigation/conversion/tree-to-docsjson.js +1 -1
- package/dist/mint-config/schemas/v2/index.d.ts +330 -330
- package/dist/mint-config/schemas/v2/properties/navbar.d.ts +9 -9
- package/dist/mint-config/schemas/v2/properties/navigation/anchors.d.ts +3 -3
- package/dist/mint-config/schemas/v2/properties/navigation/dropdown.d.ts +3 -3
- package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +24 -24
- package/dist/mint-config/schemas/v2/properties/navigation/languages.d.ts +21 -21
- package/dist/mint-config/schemas/v2/properties/navigation/menu.d.ts +3 -3
- package/dist/mint-config/schemas/v2/properties/navigation/products.d.ts +3 -3
- package/dist/mint-config/schemas/v2/properties/navigation/tabs.d.ts +3 -3
- package/dist/mint-config/schemas/v2/properties/navigation/version.d.ts +3 -3
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +33 -33
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +33 -33
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +33 -33
- package/dist/mint-config/schemas/v2/themes/luma.d.ts +33 -33
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +33 -33
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +33 -33
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +33 -33
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +33 -33
- package/dist/mint-config/schemas/v2/themes/sequoia.d.ts +33 -33
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +33 -33
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -37,7 +37,7 @@ export declare const primarySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject
|
|
|
37
37
|
label?: string | undefined;
|
|
38
38
|
}>]>;
|
|
39
39
|
export declare const navbarSchema: z.ZodObject<{
|
|
40
|
-
links: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<
|
|
40
|
+
links: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
41
41
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
42
42
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
43
43
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -52,10 +52,10 @@ export declare const navbarSchema: z.ZodObject<{
|
|
|
52
52
|
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
53
53
|
}>]>>;
|
|
54
54
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
55
|
-
}
|
|
55
|
+
} & {
|
|
56
56
|
label: z.ZodOptional<z.ZodString>;
|
|
57
57
|
type: z.ZodLiteral<"github">;
|
|
58
|
-
}
|
|
58
|
+
}, "strip", z.ZodTypeAny, {
|
|
59
59
|
type: "github";
|
|
60
60
|
href: string;
|
|
61
61
|
icon?: string | {
|
|
@@ -73,7 +73,7 @@ export declare const navbarSchema: z.ZodObject<{
|
|
|
73
73
|
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
74
74
|
} | undefined;
|
|
75
75
|
label?: string | undefined;
|
|
76
|
-
}>, z.ZodObject<
|
|
76
|
+
}>, z.ZodObject<{
|
|
77
77
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
78
78
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
79
79
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -88,10 +88,10 @@ export declare const navbarSchema: z.ZodObject<{
|
|
|
88
88
|
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
89
89
|
}>]>>;
|
|
90
90
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
91
|
-
}
|
|
91
|
+
} & {
|
|
92
92
|
label: z.ZodOptional<z.ZodString>;
|
|
93
93
|
type: z.ZodLiteral<"discord">;
|
|
94
|
-
}
|
|
94
|
+
}, "strip", z.ZodTypeAny, {
|
|
95
95
|
type: "discord";
|
|
96
96
|
href: string;
|
|
97
97
|
icon?: string | {
|
|
@@ -109,7 +109,7 @@ export declare const navbarSchema: z.ZodObject<{
|
|
|
109
109
|
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
110
110
|
} | undefined;
|
|
111
111
|
label?: string | undefined;
|
|
112
|
-
}>, z.ZodObject<
|
|
112
|
+
}>, z.ZodObject<{
|
|
113
113
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
114
114
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
115
115
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -124,10 +124,10 @@ export declare const navbarSchema: z.ZodObject<{
|
|
|
124
124
|
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
125
125
|
}>]>>;
|
|
126
126
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
127
|
-
}
|
|
127
|
+
} & {
|
|
128
128
|
label: z.ZodString;
|
|
129
129
|
type: z.ZodOptional<z.ZodString>;
|
|
130
|
-
}
|
|
130
|
+
}, "strip", z.ZodTypeAny, {
|
|
131
131
|
href: string;
|
|
132
132
|
label: string;
|
|
133
133
|
type?: string | undefined;
|
|
@@ -55,7 +55,7 @@ export declare const baseAnchorSchema: z.ZodObject<{
|
|
|
55
55
|
hidden?: boolean | undefined;
|
|
56
56
|
}>;
|
|
57
57
|
export type BaseAnchorSchema = z.infer<typeof baseAnchorSchema>;
|
|
58
|
-
export declare const nonRecursiveAnchorSchema: z.ZodObject<
|
|
58
|
+
export declare const nonRecursiveAnchorSchema: z.ZodObject<{
|
|
59
59
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
60
60
|
anchor: z.ZodString;
|
|
61
61
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
@@ -82,9 +82,9 @@ export declare const nonRecursiveAnchorSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
82
82
|
dark?: string | undefined;
|
|
83
83
|
}>>;
|
|
84
84
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
85
|
-
}
|
|
85
|
+
} & {
|
|
86
86
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
87
|
-
}
|
|
87
|
+
}, "strip", z.ZodTypeAny, {
|
|
88
88
|
href: string;
|
|
89
89
|
anchor: string;
|
|
90
90
|
icon?: string | {
|
|
@@ -58,7 +58,7 @@ export declare const baseDropdownSchema: z.ZodObject<{
|
|
|
58
58
|
hidden?: boolean | undefined;
|
|
59
59
|
}>;
|
|
60
60
|
export type BaseDropdownSchema = z.infer<typeof baseDropdownSchema>;
|
|
61
|
-
export declare const nonRecursiveDropdownSchema: z.ZodObject<
|
|
61
|
+
export declare const nonRecursiveDropdownSchema: z.ZodObject<{
|
|
62
62
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
63
63
|
dropdown: z.ZodString;
|
|
64
64
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
@@ -86,9 +86,9 @@ export declare const nonRecursiveDropdownSchema: z.ZodObject<z.objectUtil.extend
|
|
|
86
86
|
}>>;
|
|
87
87
|
description: z.ZodOptional<z.ZodString>;
|
|
88
88
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
89
|
-
}
|
|
89
|
+
} & {
|
|
90
90
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
91
|
-
}
|
|
91
|
+
}, "strip", z.ZodTypeAny, {
|
|
92
92
|
href: string;
|
|
93
93
|
dropdown: string;
|
|
94
94
|
icon?: string | {
|
|
@@ -7,12 +7,12 @@ import { DecoratedMenuItemConfig, MenuItemConfig } from './menu.js';
|
|
|
7
7
|
import { DecoratedProductConfig, ProductConfig } from './products.js';
|
|
8
8
|
import { DecoratedTabConfig, TabAlign, TabConfig } from './tabs.js';
|
|
9
9
|
import { DecoratedVersionConfig, VersionConfig } from './version.js';
|
|
10
|
-
export declare const navigationSchema: z.ZodUnion<[z.ZodObject<
|
|
10
|
+
export declare const navigationSchema: z.ZodUnion<[z.ZodObject<{
|
|
11
11
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
12
12
|
global: z.ZodOptional<z.ZodType<import("./divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./divisionNav.js").GlobalNavigation>>;
|
|
13
|
-
}
|
|
13
|
+
} & {
|
|
14
14
|
products: z.ZodArray<z.ZodType<import("./divisionNav.js").ProductNavigation<"default">, z.ZodTypeDef, import("./divisionNav.js").ProductNavigation<"default">>, "many">;
|
|
15
|
-
}
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
products: import("./divisionNav.js").ProductNavigation<"default">[];
|
|
17
17
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
18
18
|
global?: import("./divisionNav.js").GlobalNavigation | undefined;
|
|
@@ -20,12 +20,12 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exte
|
|
|
20
20
|
products: import("./divisionNav.js").ProductNavigation<"default">[];
|
|
21
21
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
22
22
|
global?: import("./divisionNav.js").GlobalNavigation | undefined;
|
|
23
|
-
}>, z.ZodObject<
|
|
23
|
+
}>, z.ZodObject<{
|
|
24
24
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
25
25
|
global: z.ZodOptional<z.ZodType<import("./divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./divisionNav.js").GlobalNavigation>>;
|
|
26
|
-
}
|
|
26
|
+
} & {
|
|
27
27
|
languages: z.ZodArray<z.ZodType<import("./divisionNav.js").LanguageNavigation<"default">, z.ZodTypeDef, import("./divisionNav.js").LanguageNavigation<"default">>, "many">;
|
|
28
|
-
}
|
|
28
|
+
}, "strip", z.ZodTypeAny, {
|
|
29
29
|
languages: import("./divisionNav.js").LanguageNavigation<"default">[];
|
|
30
30
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
31
31
|
global?: import("./divisionNav.js").GlobalNavigation | undefined;
|
|
@@ -33,12 +33,12 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exte
|
|
|
33
33
|
languages: import("./divisionNav.js").LanguageNavigation<"default">[];
|
|
34
34
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
35
35
|
global?: import("./divisionNav.js").GlobalNavigation | undefined;
|
|
36
|
-
}>, z.ZodObject<
|
|
36
|
+
}>, z.ZodObject<{
|
|
37
37
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
38
38
|
global: z.ZodOptional<z.ZodType<import("./divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./divisionNav.js").GlobalNavigation>>;
|
|
39
|
-
}
|
|
39
|
+
} & {
|
|
40
40
|
versions: z.ZodArray<z.ZodType<import("./divisionNav.js").VersionNavigation<"default">, z.ZodTypeDef, import("./divisionNav.js").VersionNavigation<"default">>, "many">;
|
|
41
|
-
}
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
42
|
versions: import("./divisionNav.js").VersionNavigation<"default">[];
|
|
43
43
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
44
44
|
global?: import("./divisionNav.js").GlobalNavigation | undefined;
|
|
@@ -46,12 +46,12 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exte
|
|
|
46
46
|
versions: import("./divisionNav.js").VersionNavigation<"default">[];
|
|
47
47
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
48
48
|
global?: import("./divisionNav.js").GlobalNavigation | undefined;
|
|
49
|
-
}>, z.ZodObject<
|
|
49
|
+
}>, z.ZodObject<{
|
|
50
50
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
51
51
|
global: z.ZodOptional<z.ZodType<import("./divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./divisionNav.js").GlobalNavigation>>;
|
|
52
|
-
}
|
|
52
|
+
} & {
|
|
53
53
|
tabs: z.ZodArray<z.ZodType<import("./divisionNav.js").TabNavigation<"default">, z.ZodTypeDef, import("./divisionNav.js").TabNavigation<"default">>, "many">;
|
|
54
|
-
}
|
|
54
|
+
}, "strip", z.ZodTypeAny, {
|
|
55
55
|
tabs: import("./divisionNav.js").TabNavigation<"default">[];
|
|
56
56
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
57
57
|
global?: import("./divisionNav.js").GlobalNavigation | undefined;
|
|
@@ -59,12 +59,12 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exte
|
|
|
59
59
|
tabs: import("./divisionNav.js").TabNavigation<"default">[];
|
|
60
60
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
61
61
|
global?: import("./divisionNav.js").GlobalNavigation | undefined;
|
|
62
|
-
}>, z.ZodObject<
|
|
62
|
+
}>, z.ZodObject<{
|
|
63
63
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
64
64
|
global: z.ZodOptional<z.ZodType<import("./divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./divisionNav.js").GlobalNavigation>>;
|
|
65
|
-
}
|
|
65
|
+
} & {
|
|
66
66
|
dropdowns: z.ZodArray<z.ZodType<import("./divisionNav.js").DropdownNavigation<"default">, z.ZodTypeDef, import("./divisionNav.js").DropdownNavigation<"default">>, "many">;
|
|
67
|
-
}
|
|
67
|
+
}, "strip", z.ZodTypeAny, {
|
|
68
68
|
dropdowns: import("./divisionNav.js").DropdownNavigation<"default">[];
|
|
69
69
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
70
70
|
global?: import("./divisionNav.js").GlobalNavigation | undefined;
|
|
@@ -72,12 +72,12 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exte
|
|
|
72
72
|
dropdowns: import("./divisionNav.js").DropdownNavigation<"default">[];
|
|
73
73
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
74
74
|
global?: import("./divisionNav.js").GlobalNavigation | undefined;
|
|
75
|
-
}>, z.ZodObject<
|
|
75
|
+
}>, z.ZodObject<{
|
|
76
76
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
77
77
|
global: z.ZodOptional<z.ZodType<import("./divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./divisionNav.js").GlobalNavigation>>;
|
|
78
|
-
}
|
|
78
|
+
} & {
|
|
79
79
|
anchors: z.ZodArray<z.ZodType<import("./divisionNav.js").AnchorNavigation<"default">, z.ZodTypeDef, import("./divisionNav.js").AnchorNavigation<"default">>, "many">;
|
|
80
|
-
}
|
|
80
|
+
}, "strip", z.ZodTypeAny, {
|
|
81
81
|
anchors: import("./divisionNav.js").AnchorNavigation<"default">[];
|
|
82
82
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
83
83
|
global?: import("./divisionNav.js").GlobalNavigation | undefined;
|
|
@@ -85,10 +85,10 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exte
|
|
|
85
85
|
anchors: import("./divisionNav.js").AnchorNavigation<"default">[];
|
|
86
86
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
87
87
|
global?: import("./divisionNav.js").GlobalNavigation | undefined;
|
|
88
|
-
}>, z.ZodObject<
|
|
88
|
+
}>, z.ZodObject<{
|
|
89
89
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
90
90
|
global: z.ZodOptional<z.ZodType<import("./divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./divisionNav.js").GlobalNavigation>>;
|
|
91
|
-
}
|
|
91
|
+
} & {
|
|
92
92
|
groups: z.ZodArray<z.ZodType<{
|
|
93
93
|
group: string;
|
|
94
94
|
icon?: string | {
|
|
@@ -138,7 +138,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exte
|
|
|
138
138
|
} & {
|
|
139
139
|
pages?: import("./divisionNav.js").PageOrGroupNavigation<"default">[];
|
|
140
140
|
}>, "many">;
|
|
141
|
-
}
|
|
141
|
+
}, "strip", z.ZodTypeAny, {
|
|
142
142
|
groups: ({
|
|
143
143
|
group: string;
|
|
144
144
|
icon?: string | {
|
|
@@ -194,10 +194,10 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exte
|
|
|
194
194
|
})[];
|
|
195
195
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
196
196
|
global?: import("./divisionNav.js").GlobalNavigation | undefined;
|
|
197
|
-
}>, z.ZodObject<
|
|
197
|
+
}>, z.ZodObject<{
|
|
198
198
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
199
199
|
global: z.ZodOptional<z.ZodType<import("./divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./divisionNav.js").GlobalNavigation>>;
|
|
200
|
-
}
|
|
200
|
+
} & {
|
|
201
201
|
pages: z.ZodArray<z.ZodType<string | ({
|
|
202
202
|
group: string;
|
|
203
203
|
icon?: string | {
|
|
@@ -247,7 +247,7 @@ export declare const navigationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.exte
|
|
|
247
247
|
} & {
|
|
248
248
|
pages?: import("./divisionNav.js").PageOrGroupNavigation<"default">[];
|
|
249
249
|
})>, "many">;
|
|
250
|
-
}
|
|
250
|
+
}, "strip", z.ZodTypeAny, {
|
|
251
251
|
pages: (string | ({
|
|
252
252
|
group: string;
|
|
253
253
|
icon?: string | {
|
|
@@ -61,7 +61,7 @@ export declare const baseLanguageSchema: z.ZodObject<{
|
|
|
61
61
|
socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
|
|
62
62
|
}>>;
|
|
63
63
|
navbar: z.ZodOptional<z.ZodObject<{
|
|
64
|
-
links: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<
|
|
64
|
+
links: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
65
65
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
66
66
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
67
67
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -76,10 +76,10 @@ export declare const baseLanguageSchema: z.ZodObject<{
|
|
|
76
76
|
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
77
77
|
}>]>>;
|
|
78
78
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
79
|
-
}
|
|
79
|
+
} & {
|
|
80
80
|
label: z.ZodOptional<z.ZodString>;
|
|
81
81
|
type: z.ZodLiteral<"github">;
|
|
82
|
-
}
|
|
82
|
+
}, "strip", z.ZodTypeAny, {
|
|
83
83
|
type: "github";
|
|
84
84
|
href: string;
|
|
85
85
|
icon?: string | {
|
|
@@ -97,7 +97,7 @@ export declare const baseLanguageSchema: z.ZodObject<{
|
|
|
97
97
|
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
98
98
|
} | undefined;
|
|
99
99
|
label?: string | undefined;
|
|
100
|
-
}>, z.ZodObject<
|
|
100
|
+
}>, z.ZodObject<{
|
|
101
101
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
102
102
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
103
103
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -112,10 +112,10 @@ export declare const baseLanguageSchema: z.ZodObject<{
|
|
|
112
112
|
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
113
113
|
}>]>>;
|
|
114
114
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
115
|
-
}
|
|
115
|
+
} & {
|
|
116
116
|
label: z.ZodOptional<z.ZodString>;
|
|
117
117
|
type: z.ZodLiteral<"discord">;
|
|
118
|
-
}
|
|
118
|
+
}, "strip", z.ZodTypeAny, {
|
|
119
119
|
type: "discord";
|
|
120
120
|
href: string;
|
|
121
121
|
icon?: string | {
|
|
@@ -133,7 +133,7 @@ export declare const baseLanguageSchema: z.ZodObject<{
|
|
|
133
133
|
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
134
134
|
} | undefined;
|
|
135
135
|
label?: string | undefined;
|
|
136
|
-
}>, z.ZodObject<
|
|
136
|
+
}>, z.ZodObject<{
|
|
137
137
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
138
138
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
139
139
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -148,10 +148,10 @@ export declare const baseLanguageSchema: z.ZodObject<{
|
|
|
148
148
|
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
149
149
|
}>]>>;
|
|
150
150
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
151
|
-
}
|
|
151
|
+
} & {
|
|
152
152
|
label: z.ZodString;
|
|
153
153
|
type: z.ZodOptional<z.ZodString>;
|
|
154
|
-
}
|
|
154
|
+
}, "strip", z.ZodTypeAny, {
|
|
155
155
|
href: string;
|
|
156
156
|
label: string;
|
|
157
157
|
type?: string | undefined;
|
|
@@ -419,7 +419,7 @@ export declare const baseLanguageSchema: z.ZodObject<{
|
|
|
419
419
|
} | undefined;
|
|
420
420
|
}>;
|
|
421
421
|
export type BaseLanguageSchema = z.infer<typeof baseLanguageSchema>;
|
|
422
|
-
export declare const nonRecursiveLanguageSchema: z.ZodObject<
|
|
422
|
+
export declare const nonRecursiveLanguageSchema: z.ZodObject<{
|
|
423
423
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
424
424
|
language: z.ZodEnum<["en", "cn", "zh", "zh-Hans", "zh-Hant", "es", "fr", "fr-CA", "fr-ca", "ja", "jp", "ja-jp", "pt", "pt-BR", "de", "ko", "it", "ru", "ro", "cs", "id", "ar", "tr", "hi", "sv", "no", "lv", "nl", "uk", "vi", "pl", "uz", "he", "ca", "fi", "hu"]>;
|
|
425
425
|
default: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -480,7 +480,7 @@ export declare const nonRecursiveLanguageSchema: z.ZodObject<z.objectUtil.extend
|
|
|
480
480
|
socials?: Partial<Record<"github" | "x" | "website" | "facebook" | "youtube" | "discord" | "slack" | "linkedin" | "instagram" | "hacker-news" | "medium" | "telegram" | "twitter" | "x-twitter" | "earth-americas" | "bluesky" | "threads" | "reddit" | "podcast", string>> | undefined;
|
|
481
481
|
}>>;
|
|
482
482
|
navbar: z.ZodOptional<z.ZodObject<{
|
|
483
|
-
links: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<
|
|
483
|
+
links: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
484
484
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
485
485
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
486
486
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -495,10 +495,10 @@ export declare const nonRecursiveLanguageSchema: z.ZodObject<z.objectUtil.extend
|
|
|
495
495
|
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
496
496
|
}>]>>;
|
|
497
497
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
498
|
-
}
|
|
498
|
+
} & {
|
|
499
499
|
label: z.ZodOptional<z.ZodString>;
|
|
500
500
|
type: z.ZodLiteral<"github">;
|
|
501
|
-
}
|
|
501
|
+
}, "strip", z.ZodTypeAny, {
|
|
502
502
|
type: "github";
|
|
503
503
|
href: string;
|
|
504
504
|
icon?: string | {
|
|
@@ -516,7 +516,7 @@ export declare const nonRecursiveLanguageSchema: z.ZodObject<z.objectUtil.extend
|
|
|
516
516
|
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
517
517
|
} | undefined;
|
|
518
518
|
label?: string | undefined;
|
|
519
|
-
}>, z.ZodObject<
|
|
519
|
+
}>, z.ZodObject<{
|
|
520
520
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
521
521
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
522
522
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -531,10 +531,10 @@ export declare const nonRecursiveLanguageSchema: z.ZodObject<z.objectUtil.extend
|
|
|
531
531
|
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
532
532
|
}>]>>;
|
|
533
533
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
534
|
-
}
|
|
534
|
+
} & {
|
|
535
535
|
label: z.ZodOptional<z.ZodString>;
|
|
536
536
|
type: z.ZodLiteral<"discord">;
|
|
537
|
-
}
|
|
537
|
+
}, "strip", z.ZodTypeAny, {
|
|
538
538
|
type: "discord";
|
|
539
539
|
href: string;
|
|
540
540
|
icon?: string | {
|
|
@@ -552,7 +552,7 @@ export declare const nonRecursiveLanguageSchema: z.ZodObject<z.objectUtil.extend
|
|
|
552
552
|
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
553
553
|
} | undefined;
|
|
554
554
|
label?: string | undefined;
|
|
555
|
-
}>, z.ZodObject<
|
|
555
|
+
}>, z.ZodObject<{
|
|
556
556
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
557
557
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
558
558
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -567,10 +567,10 @@ export declare const nonRecursiveLanguageSchema: z.ZodObject<z.objectUtil.extend
|
|
|
567
567
|
library?: "fontawesome" | "lucide" | "tabler" | undefined;
|
|
568
568
|
}>]>>;
|
|
569
569
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
570
|
-
}
|
|
570
|
+
} & {
|
|
571
571
|
label: z.ZodString;
|
|
572
572
|
type: z.ZodOptional<z.ZodString>;
|
|
573
|
-
}
|
|
573
|
+
}, "strip", z.ZodTypeAny, {
|
|
574
574
|
href: string;
|
|
575
575
|
label: string;
|
|
576
576
|
type?: string | undefined;
|
|
@@ -712,9 +712,9 @@ export declare const nonRecursiveLanguageSchema: z.ZodObject<z.objectUtil.extend
|
|
|
712
712
|
})[] | undefined;
|
|
713
713
|
}>>;
|
|
714
714
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
715
|
-
}
|
|
715
|
+
} & {
|
|
716
716
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
717
|
-
}
|
|
717
|
+
}, "strip", z.ZodTypeAny, {
|
|
718
718
|
href: string;
|
|
719
719
|
language: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | "ca" | "fi" | "hu";
|
|
720
720
|
default?: boolean | undefined;
|
|
@@ -40,7 +40,7 @@ export declare const baseMenuItemSchema: z.ZodObject<{
|
|
|
40
40
|
hidden?: boolean | undefined;
|
|
41
41
|
}>;
|
|
42
42
|
export type BaseMenuItemSchema = z.infer<typeof baseMenuItemSchema>;
|
|
43
|
-
export declare const nonRecursiveMenuItemSchema: z.ZodObject<
|
|
43
|
+
export declare const nonRecursiveMenuItemSchema: z.ZodObject<{
|
|
44
44
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
45
45
|
item: z.ZodString;
|
|
46
46
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
@@ -58,9 +58,9 @@ export declare const nonRecursiveMenuItemSchema: z.ZodObject<z.objectUtil.extend
|
|
|
58
58
|
}>]>>;
|
|
59
59
|
description: z.ZodOptional<z.ZodString>;
|
|
60
60
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
61
|
-
}
|
|
61
|
+
} & {
|
|
62
62
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
63
|
-
}
|
|
63
|
+
}, "strip", z.ZodTypeAny, {
|
|
64
64
|
href: string;
|
|
65
65
|
item: string;
|
|
66
66
|
icon?: string | {
|
|
@@ -65,7 +65,7 @@ export declare const decoratedProductSchema: z.ZodType<ProductNavigation<'decora
|
|
|
65
65
|
export declare const productsSchema: z.ZodArray<z.ZodType<ProductNavigation<"default">, z.ZodTypeDef, ProductNavigation<"default">>, "many">;
|
|
66
66
|
export declare const decoratedProductsSchema: z.ZodArray<z.ZodType<ProductNavigation<"decorated">, z.ZodTypeDef, ProductNavigation<"decorated">>, "many">;
|
|
67
67
|
export type BaseProductSchema = z.infer<typeof baseProductSchema>;
|
|
68
|
-
export declare const nonRecursiveProductSchema: z.ZodObject<
|
|
68
|
+
export declare const nonRecursiveProductSchema: z.ZodObject<{
|
|
69
69
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
70
70
|
product: z.ZodString;
|
|
71
71
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -94,9 +94,9 @@ export declare const nonRecursiveProductSchema: z.ZodObject<z.objectUtil.extendS
|
|
|
94
94
|
}>>;
|
|
95
95
|
description: z.ZodOptional<z.ZodString>;
|
|
96
96
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
97
|
-
}
|
|
97
|
+
} & {
|
|
98
98
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
99
|
-
}
|
|
99
|
+
}, "strip", z.ZodTypeAny, {
|
|
100
100
|
href: string;
|
|
101
101
|
product: string;
|
|
102
102
|
name?: string | undefined;
|
|
@@ -42,7 +42,7 @@ export declare const baseTabSchema: z.ZodObject<{
|
|
|
42
42
|
align?: "start" | "end" | undefined;
|
|
43
43
|
}>;
|
|
44
44
|
export type BaseTabSchema = z.infer<typeof baseTabSchema>;
|
|
45
|
-
export declare const nonRecursiveTabSchema: z.ZodObject<
|
|
45
|
+
export declare const nonRecursiveTabSchema: z.ZodObject<{
|
|
46
46
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
47
47
|
tab: z.ZodString;
|
|
48
48
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
@@ -60,9 +60,9 @@ export declare const nonRecursiveTabSchema: z.ZodObject<z.objectUtil.extendShape
|
|
|
60
60
|
}>]>>;
|
|
61
61
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
62
62
|
align: z.ZodOptional<z.ZodEnum<["start", "end"]>>;
|
|
63
|
-
}
|
|
63
|
+
} & {
|
|
64
64
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
65
|
-
}
|
|
65
|
+
}, "strip", z.ZodTypeAny, {
|
|
66
66
|
href: string;
|
|
67
67
|
tab: string;
|
|
68
68
|
icon?: string | {
|
|
@@ -20,15 +20,15 @@ export declare const baseVersionSchema: z.ZodObject<{
|
|
|
20
20
|
hidden?: boolean | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
export type BaseVersionSchema = z.infer<typeof baseVersionSchema>;
|
|
23
|
-
export declare const nonRecursiveVersionSchema: z.ZodObject<
|
|
23
|
+
export declare const nonRecursiveVersionSchema: z.ZodObject<{
|
|
24
24
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
25
25
|
version: z.ZodString;
|
|
26
26
|
default: z.ZodOptional<z.ZodBoolean>;
|
|
27
27
|
tag: z.ZodOptional<z.ZodString>;
|
|
28
28
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
29
|
-
}
|
|
29
|
+
} & {
|
|
30
30
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
31
|
-
}
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
32
|
version: string;
|
|
33
33
|
href: string;
|
|
34
34
|
default?: boolean | undefined;
|