@mintlify/validation 0.1.8 → 0.1.10
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/README.md +3 -6
- package/dist/index.js +1 -1
- package/package.json +39 -22
- package/dist/index.d.ts +0 -4
- package/dist/schemas/analytics.d.ts +0 -171
- package/dist/schemas/anchorColors.d.ts +0 -14
- package/dist/schemas/anchors.d.ts +0 -46
- package/dist/schemas/colors.d.ts +0 -61
- package/dist/schemas/config.d.ts +0 -665
- package/dist/schemas/favicon.d.ts +0 -2
- package/dist/schemas/name.d.ts +0 -2
- package/dist/schemas/navigation.d.ts +0 -3
- package/dist/schemas/versions.d.ts +0 -2
- package/dist/types/analytics.d.ts +0 -3
- package/dist/types/anchors.d.ts +0 -3
- package/dist/types/colors.d.ts +0 -3
- package/dist/types/config.d.ts +0 -3
- package/dist/types/navigation.d.ts +0 -6
- package/dist/types/versions.d.ts +0 -3
- package/dist/utils/common.d.ts +0 -6
- package/dist/utils/flattenUnionErrorMessages.d.ts +0 -7
- package/dist/utils/hexadecimalPattern.d.ts +0 -1
- package/dist/utils/validateAnchorsWarnings.d.ts +0 -4
- package/dist/utils/validateVersionsInNavigation.d.ts +0 -5
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const analyticsSchema: z.ZodObject<{
|
|
3
|
-
amplitude: z.ZodOptional<z.ZodObject<{
|
|
4
|
-
apiKey: z.ZodString;
|
|
5
|
-
}, "strip", z.ZodTypeAny, {
|
|
6
|
-
apiKey: string;
|
|
7
|
-
}, {
|
|
8
|
-
apiKey: string;
|
|
9
|
-
}>>;
|
|
10
|
-
fathom: z.ZodOptional<z.ZodObject<{
|
|
11
|
-
siteId: z.ZodString;
|
|
12
|
-
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
siteId: string;
|
|
14
|
-
}, {
|
|
15
|
-
siteId: string;
|
|
16
|
-
}>>;
|
|
17
|
-
ga4: z.ZodOptional<z.ZodObject<{
|
|
18
|
-
measurementId: z.ZodString;
|
|
19
|
-
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
measurementId: string;
|
|
21
|
-
}, {
|
|
22
|
-
measurementId: string;
|
|
23
|
-
}>>;
|
|
24
|
-
gtm: z.ZodOptional<z.ZodObject<{
|
|
25
|
-
tagId: z.ZodString;
|
|
26
|
-
}, "strip", z.ZodTypeAny, {
|
|
27
|
-
tagId: string;
|
|
28
|
-
}, {
|
|
29
|
-
tagId: string;
|
|
30
|
-
}>>;
|
|
31
|
-
hotjar: z.ZodOptional<z.ZodObject<{
|
|
32
|
-
hjid: z.ZodString;
|
|
33
|
-
hjsv: z.ZodString;
|
|
34
|
-
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
hjid: string;
|
|
36
|
-
hjsv: string;
|
|
37
|
-
}, {
|
|
38
|
-
hjid: string;
|
|
39
|
-
hjsv: string;
|
|
40
|
-
}>>;
|
|
41
|
-
koala: z.ZodOptional<z.ZodObject<{
|
|
42
|
-
projectId: z.ZodEffects<z.ZodString, string, string>;
|
|
43
|
-
}, "strip", z.ZodTypeAny, {
|
|
44
|
-
projectId: string;
|
|
45
|
-
}, {
|
|
46
|
-
projectId: string;
|
|
47
|
-
}>>;
|
|
48
|
-
logrocket: z.ZodOptional<z.ZodObject<{
|
|
49
|
-
appId: z.ZodString;
|
|
50
|
-
}, "strip", z.ZodTypeAny, {
|
|
51
|
-
appId: string;
|
|
52
|
-
}, {
|
|
53
|
-
appId: string;
|
|
54
|
-
}>>;
|
|
55
|
-
mixpanel: z.ZodOptional<z.ZodObject<{
|
|
56
|
-
projectToken: z.ZodString;
|
|
57
|
-
}, "strip", z.ZodTypeAny, {
|
|
58
|
-
projectToken: string;
|
|
59
|
-
}, {
|
|
60
|
-
projectToken: string;
|
|
61
|
-
}>>;
|
|
62
|
-
pirsch: z.ZodOptional<z.ZodObject<{
|
|
63
|
-
id: z.ZodString;
|
|
64
|
-
}, "strip", z.ZodTypeAny, {
|
|
65
|
-
id: string;
|
|
66
|
-
}, {
|
|
67
|
-
id: string;
|
|
68
|
-
}>>;
|
|
69
|
-
posthog: z.ZodOptional<z.ZodObject<{
|
|
70
|
-
apiKey: z.ZodString;
|
|
71
|
-
apiHost: z.ZodOptional<z.ZodString>;
|
|
72
|
-
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
apiHost?: string | undefined;
|
|
74
|
-
apiKey: string;
|
|
75
|
-
}, {
|
|
76
|
-
apiHost?: string | undefined;
|
|
77
|
-
apiKey: string;
|
|
78
|
-
}>>;
|
|
79
|
-
plausible: z.ZodOptional<z.ZodObject<{
|
|
80
|
-
domain: z.ZodEffects<z.ZodString, string, string>;
|
|
81
|
-
}, "strip", z.ZodTypeAny, {
|
|
82
|
-
domain: string;
|
|
83
|
-
}, {
|
|
84
|
-
domain: string;
|
|
85
|
-
}>>;
|
|
86
|
-
segment: z.ZodOptional<z.ZodObject<{
|
|
87
|
-
writeKey: z.ZodString;
|
|
88
|
-
}, "strip", z.ZodTypeAny, {
|
|
89
|
-
writeKey: string;
|
|
90
|
-
}, {
|
|
91
|
-
writeKey: string;
|
|
92
|
-
}>>;
|
|
93
|
-
}, "strict", z.ZodTypeAny, {
|
|
94
|
-
amplitude?: {
|
|
95
|
-
apiKey: string;
|
|
96
|
-
} | undefined;
|
|
97
|
-
fathom?: {
|
|
98
|
-
siteId: string;
|
|
99
|
-
} | undefined;
|
|
100
|
-
ga4?: {
|
|
101
|
-
measurementId: string;
|
|
102
|
-
} | undefined;
|
|
103
|
-
gtm?: {
|
|
104
|
-
tagId: string;
|
|
105
|
-
} | undefined;
|
|
106
|
-
hotjar?: {
|
|
107
|
-
hjid: string;
|
|
108
|
-
hjsv: string;
|
|
109
|
-
} | undefined;
|
|
110
|
-
koala?: {
|
|
111
|
-
projectId: string;
|
|
112
|
-
} | undefined;
|
|
113
|
-
logrocket?: {
|
|
114
|
-
appId: string;
|
|
115
|
-
} | undefined;
|
|
116
|
-
mixpanel?: {
|
|
117
|
-
projectToken: string;
|
|
118
|
-
} | undefined;
|
|
119
|
-
pirsch?: {
|
|
120
|
-
id: string;
|
|
121
|
-
} | undefined;
|
|
122
|
-
posthog?: {
|
|
123
|
-
apiHost?: string | undefined;
|
|
124
|
-
apiKey: string;
|
|
125
|
-
} | undefined;
|
|
126
|
-
plausible?: {
|
|
127
|
-
domain: string;
|
|
128
|
-
} | undefined;
|
|
129
|
-
segment?: {
|
|
130
|
-
writeKey: string;
|
|
131
|
-
} | undefined;
|
|
132
|
-
}, {
|
|
133
|
-
amplitude?: {
|
|
134
|
-
apiKey: string;
|
|
135
|
-
} | undefined;
|
|
136
|
-
fathom?: {
|
|
137
|
-
siteId: string;
|
|
138
|
-
} | undefined;
|
|
139
|
-
ga4?: {
|
|
140
|
-
measurementId: string;
|
|
141
|
-
} | undefined;
|
|
142
|
-
gtm?: {
|
|
143
|
-
tagId: string;
|
|
144
|
-
} | undefined;
|
|
145
|
-
hotjar?: {
|
|
146
|
-
hjid: string;
|
|
147
|
-
hjsv: string;
|
|
148
|
-
} | undefined;
|
|
149
|
-
koala?: {
|
|
150
|
-
projectId: string;
|
|
151
|
-
} | undefined;
|
|
152
|
-
logrocket?: {
|
|
153
|
-
appId: string;
|
|
154
|
-
} | undefined;
|
|
155
|
-
mixpanel?: {
|
|
156
|
-
projectToken: string;
|
|
157
|
-
} | undefined;
|
|
158
|
-
pirsch?: {
|
|
159
|
-
id: string;
|
|
160
|
-
} | undefined;
|
|
161
|
-
posthog?: {
|
|
162
|
-
apiHost?: string | undefined;
|
|
163
|
-
apiKey: string;
|
|
164
|
-
} | undefined;
|
|
165
|
-
plausible?: {
|
|
166
|
-
domain: string;
|
|
167
|
-
} | undefined;
|
|
168
|
-
segment?: {
|
|
169
|
-
writeKey: string;
|
|
170
|
-
} | undefined;
|
|
171
|
-
}>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const anchorColorSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
3
|
-
from: z.ZodString;
|
|
4
|
-
via: z.ZodOptional<z.ZodString>;
|
|
5
|
-
to: z.ZodString;
|
|
6
|
-
}, "strict", z.ZodTypeAny, {
|
|
7
|
-
via?: string | undefined;
|
|
8
|
-
from: string;
|
|
9
|
-
to: string;
|
|
10
|
-
}, {
|
|
11
|
-
via?: string | undefined;
|
|
12
|
-
from: string;
|
|
13
|
-
to: string;
|
|
14
|
-
}>]>;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const anchorsSchema: z.ZodArray<z.ZodObject<{
|
|
3
|
-
name: z.ZodString;
|
|
4
|
-
url: z.ZodString;
|
|
5
|
-
icon: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
6
|
-
iconType: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "sharp-solid", "solid", "thin"]>>;
|
|
7
|
-
color: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
8
|
-
from: z.ZodString;
|
|
9
|
-
via: z.ZodOptional<z.ZodString>;
|
|
10
|
-
to: z.ZodString;
|
|
11
|
-
}, "strict", z.ZodTypeAny, {
|
|
12
|
-
via?: string | undefined;
|
|
13
|
-
from: string;
|
|
14
|
-
to: string;
|
|
15
|
-
}, {
|
|
16
|
-
via?: string | undefined;
|
|
17
|
-
from: string;
|
|
18
|
-
to: string;
|
|
19
|
-
}>]>>;
|
|
20
|
-
isDefaultHidden: z.ZodOptional<z.ZodBoolean>;
|
|
21
|
-
version: z.ZodOptional<z.ZodString>;
|
|
22
|
-
}, "strip", z.ZodTypeAny, {
|
|
23
|
-
icon?: string | undefined;
|
|
24
|
-
iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined;
|
|
25
|
-
color?: string | {
|
|
26
|
-
via?: string | undefined;
|
|
27
|
-
from: string;
|
|
28
|
-
to: string;
|
|
29
|
-
} | undefined;
|
|
30
|
-
isDefaultHidden?: boolean | undefined;
|
|
31
|
-
version?: string | undefined;
|
|
32
|
-
name: string;
|
|
33
|
-
url: string;
|
|
34
|
-
}, {
|
|
35
|
-
icon?: string | undefined;
|
|
36
|
-
iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined;
|
|
37
|
-
color?: string | {
|
|
38
|
-
via?: string | undefined;
|
|
39
|
-
from: string;
|
|
40
|
-
to: string;
|
|
41
|
-
} | undefined;
|
|
42
|
-
isDefaultHidden?: boolean | undefined;
|
|
43
|
-
version?: string | undefined;
|
|
44
|
-
name: string;
|
|
45
|
-
url: string;
|
|
46
|
-
}>, "many">;
|
package/dist/schemas/colors.d.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const colorsSchema: z.ZodObject<{
|
|
3
|
-
primary: z.ZodString;
|
|
4
|
-
light: z.ZodOptional<z.ZodString>;
|
|
5
|
-
dark: z.ZodOptional<z.ZodString>;
|
|
6
|
-
background: z.ZodOptional<z.ZodObject<{
|
|
7
|
-
light: z.ZodOptional<z.ZodString>;
|
|
8
|
-
dark: z.ZodOptional<z.ZodString>;
|
|
9
|
-
}, "strip", z.ZodTypeAny, {
|
|
10
|
-
light?: string | undefined;
|
|
11
|
-
dark?: string | undefined;
|
|
12
|
-
}, {
|
|
13
|
-
light?: string | undefined;
|
|
14
|
-
dark?: string | undefined;
|
|
15
|
-
}>>;
|
|
16
|
-
anchors: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
17
|
-
from: z.ZodString;
|
|
18
|
-
via: z.ZodOptional<z.ZodString>;
|
|
19
|
-
to: z.ZodString;
|
|
20
|
-
}, "strict", z.ZodTypeAny, {
|
|
21
|
-
via?: string | undefined;
|
|
22
|
-
from: string;
|
|
23
|
-
to: string;
|
|
24
|
-
}, {
|
|
25
|
-
via?: string | undefined;
|
|
26
|
-
from: string;
|
|
27
|
-
to: string;
|
|
28
|
-
}>]>>;
|
|
29
|
-
ultraLight: z.ZodOptional<z.ZodAny>;
|
|
30
|
-
ultraDark: z.ZodOptional<z.ZodAny>;
|
|
31
|
-
}, "strict", z.ZodTypeAny, {
|
|
32
|
-
light?: string | undefined;
|
|
33
|
-
dark?: string | undefined;
|
|
34
|
-
background?: {
|
|
35
|
-
light?: string | undefined;
|
|
36
|
-
dark?: string | undefined;
|
|
37
|
-
} | undefined;
|
|
38
|
-
anchors?: string | {
|
|
39
|
-
via?: string | undefined;
|
|
40
|
-
from: string;
|
|
41
|
-
to: string;
|
|
42
|
-
} | undefined;
|
|
43
|
-
ultraLight?: any;
|
|
44
|
-
ultraDark?: any;
|
|
45
|
-
primary: string;
|
|
46
|
-
}, {
|
|
47
|
-
light?: string | undefined;
|
|
48
|
-
dark?: string | undefined;
|
|
49
|
-
background?: {
|
|
50
|
-
light?: string | undefined;
|
|
51
|
-
dark?: string | undefined;
|
|
52
|
-
} | undefined;
|
|
53
|
-
anchors?: string | {
|
|
54
|
-
via?: string | undefined;
|
|
55
|
-
from: string;
|
|
56
|
-
to: string;
|
|
57
|
-
} | undefined;
|
|
58
|
-
ultraLight?: any;
|
|
59
|
-
ultraDark?: any;
|
|
60
|
-
primary: string;
|
|
61
|
-
}>;
|