@mintlify/validation 0.1.46 → 0.1.48
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/LICENSE +21 -21
- package/README.md +55 -55
- package/dist/index.d.ts +7 -7
- package/dist/index.js +1 -1
- package/dist/mint-config/common.d.ts +6 -6
- package/dist/mint-config/flattenUnionErrorMessages.d.ts +7 -7
- package/dist/mint-config/hexadecimalPattern.d.ts +1 -1
- package/dist/mint-config/schemas/analytics.d.ts +275 -275
- package/dist/mint-config/schemas/anchorColors.d.ts +28 -28
- package/dist/mint-config/schemas/anchors.d.ts +108 -108
- package/dist/mint-config/schemas/apiReference.d.ts +77 -77
- package/dist/mint-config/schemas/basics.d.ts +80 -80
- package/dist/mint-config/schemas/colors.d.ts +62 -62
- package/dist/mint-config/schemas/config.d.ts +815 -815
- package/dist/mint-config/schemas/favicon.d.ts +2 -2
- package/dist/mint-config/schemas/integrations.d.ts +38 -38
- package/dist/mint-config/schemas/navigation.d.ts +3 -3
- package/dist/mint-config/schemas/tabs.d.ts +31 -31
- package/dist/mint-config/schemas/versions.d.ts +24 -24
- package/dist/mint-config/types/enums.d.ts +4 -4
- package/dist/mint-config/types/index.d.ts +12 -12
- package/dist/mint-config/types/navigation.d.ts +13 -13
- package/dist/mint-config/validateAnchorsWarnings.d.ts +4 -4
- package/dist/mint-config/validateVersionsInNavigation.d.ts +5 -5
- package/dist/openapi/convertOpenApi.d.ts +18 -18
- package/dist/openapi/convertParameters.d.ts +9 -9
- package/dist/openapi/convertSchema.d.ts +11 -11
- package/dist/openapi/convertSecurity.d.ts +14 -14
- package/dist/openapi/convertServers.d.ts +8 -8
- package/dist/openapi/types/endpoint.d.ts +128 -128
- package/package.json +76 -75
- package/dist/mint-config/schemas/name.d.ts +0 -2
- package/dist/mint-config/types/analytics.d.ts +0 -3
- package/dist/mint-config/types/anchors.d.ts +0 -3
- package/dist/mint-config/types/colors.d.ts +0 -3
- package/dist/mint-config/types/config.d.ts +0 -3
- package/dist/mint-config/types/versions.d.ts +0 -3
- 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 -799
- 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/tabs.d.ts +0 -11
- package/dist/schemas/versions.d.ts +0 -11
- 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/endpoint.d.ts +0 -125
- 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/convertOpenApi.d.ts +0 -43
- 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,6 +1,6 @@
|
|
|
1
|
-
export declare class MintValidationResults {
|
|
2
|
-
status: 'error' | 'success';
|
|
3
|
-
errors: string[];
|
|
4
|
-
warnings: string[];
|
|
5
|
-
constructor();
|
|
6
|
-
}
|
|
1
|
+
export declare class MintValidationResults {
|
|
2
|
+
status: 'error' | 'success';
|
|
3
|
+
errors: string[];
|
|
4
|
+
warnings: string[];
|
|
5
|
+
constructor();
|
|
6
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
type UnionError = {
|
|
2
|
-
message: string;
|
|
3
|
-
code?: string;
|
|
4
|
-
unionErrors?: UnionError[];
|
|
5
|
-
};
|
|
6
|
-
export declare function flattenUnionErrorMessages(unionErrors: UnionError[]): string[];
|
|
7
|
-
export {};
|
|
1
|
+
type UnionError = {
|
|
2
|
+
message: string;
|
|
3
|
+
code?: string;
|
|
4
|
+
unionErrors?: UnionError[];
|
|
5
|
+
};
|
|
6
|
+
export declare function flattenUnionErrorMessages(unionErrors: UnionError[]): string[];
|
|
7
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const hexadecimalPattern: RegExp;
|
|
1
|
+
export declare const hexadecimalPattern: RegExp;
|
|
@@ -1,275 +1,275 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
declare const amplitudeConfigInterfaceSchema: z.ZodObject<{
|
|
3
|
-
apiKey: z.ZodString;
|
|
4
|
-
}, "strip", z.ZodTypeAny, {
|
|
5
|
-
apiKey: string;
|
|
6
|
-
}, {
|
|
7
|
-
apiKey: string;
|
|
8
|
-
}>;
|
|
9
|
-
declare const clearbitConfigInterfaceSchema: z.ZodObject<{
|
|
10
|
-
publicApiKey: z.ZodString;
|
|
11
|
-
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
publicApiKey: string;
|
|
13
|
-
}, {
|
|
14
|
-
publicApiKey: string;
|
|
15
|
-
}>;
|
|
16
|
-
declare const fathomConfigInterfaceSchema: z.ZodObject<{
|
|
17
|
-
siteId: z.ZodString;
|
|
18
|
-
}, "strip", z.ZodTypeAny, {
|
|
19
|
-
siteId: string;
|
|
20
|
-
}, {
|
|
21
|
-
siteId: string;
|
|
22
|
-
}>;
|
|
23
|
-
declare const googleAnalyticsConfigInterfaceSchema: z.ZodObject<{
|
|
24
|
-
measurementId: z.ZodString;
|
|
25
|
-
}, "strip", z.ZodTypeAny, {
|
|
26
|
-
measurementId: string;
|
|
27
|
-
}, {
|
|
28
|
-
measurementId: string;
|
|
29
|
-
}>;
|
|
30
|
-
declare const googleTagManagerConfigInterfaceSchema: z.ZodObject<{
|
|
31
|
-
tagId: z.ZodString;
|
|
32
|
-
}, "strip", z.ZodTypeAny, {
|
|
33
|
-
tagId: string;
|
|
34
|
-
}, {
|
|
35
|
-
tagId: string;
|
|
36
|
-
}>;
|
|
37
|
-
declare const hotjarConfigInterfaceSchema: z.ZodObject<{
|
|
38
|
-
hjid: z.ZodString;
|
|
39
|
-
hjsv: z.ZodString;
|
|
40
|
-
}, "strip", z.ZodTypeAny, {
|
|
41
|
-
hjid: string;
|
|
42
|
-
hjsv: string;
|
|
43
|
-
}, {
|
|
44
|
-
hjid: string;
|
|
45
|
-
hjsv: string;
|
|
46
|
-
}>;
|
|
47
|
-
declare const koalaConfigInterfaceSchema: z.ZodObject<{
|
|
48
|
-
publicApiKey: z.ZodEffects<z.ZodString, string, string>;
|
|
49
|
-
}, "strip", z.ZodTypeAny, {
|
|
50
|
-
publicApiKey: string;
|
|
51
|
-
}, {
|
|
52
|
-
publicApiKey: string;
|
|
53
|
-
}>;
|
|
54
|
-
declare const logrocketConfigInterfaceSchema: z.ZodObject<{
|
|
55
|
-
appId: z.ZodString;
|
|
56
|
-
}, "strip", z.ZodTypeAny, {
|
|
57
|
-
appId: string;
|
|
58
|
-
}, {
|
|
59
|
-
appId: string;
|
|
60
|
-
}>;
|
|
61
|
-
declare const mixpanelConfigInterfaceSchema: z.ZodObject<{
|
|
62
|
-
projectToken: z.ZodString;
|
|
63
|
-
}, "strip", z.ZodTypeAny, {
|
|
64
|
-
projectToken: string;
|
|
65
|
-
}, {
|
|
66
|
-
projectToken: string;
|
|
67
|
-
}>;
|
|
68
|
-
declare const pirschConfigInterfaceSchema: z.ZodObject<{
|
|
69
|
-
id: z.ZodString;
|
|
70
|
-
}, "strip", z.ZodTypeAny, {
|
|
71
|
-
id: string;
|
|
72
|
-
}, {
|
|
73
|
-
id: string;
|
|
74
|
-
}>;
|
|
75
|
-
declare const postHogConfigInterfaceSchema: z.ZodObject<{
|
|
76
|
-
apiKey: z.ZodString;
|
|
77
|
-
apiHost: z.ZodOptional<z.ZodString>;
|
|
78
|
-
}, "strip", z.ZodTypeAny, {
|
|
79
|
-
apiKey: string;
|
|
80
|
-
apiHost?: string | undefined;
|
|
81
|
-
}, {
|
|
82
|
-
apiKey: string;
|
|
83
|
-
apiHost?: string | undefined;
|
|
84
|
-
}>;
|
|
85
|
-
declare const plausibleConfigInterfaceSchema: z.ZodObject<{
|
|
86
|
-
domain: z.ZodEffects<z.ZodString, string, string>;
|
|
87
|
-
}, "strip", z.ZodTypeAny, {
|
|
88
|
-
domain: string;
|
|
89
|
-
}, {
|
|
90
|
-
domain: string;
|
|
91
|
-
}>;
|
|
92
|
-
export type AmplitudeConfigInterface = z.infer<typeof amplitudeConfigInterfaceSchema>;
|
|
93
|
-
export type ClearbitConfigInterface = z.infer<typeof clearbitConfigInterfaceSchema>;
|
|
94
|
-
export type FathomConfigInterface = z.infer<typeof fathomConfigInterfaceSchema>;
|
|
95
|
-
export type GoogleAnalyticsConfigInterface = z.infer<typeof googleAnalyticsConfigInterfaceSchema>;
|
|
96
|
-
export type GoogleTagManagerConfigInterface = z.infer<typeof googleTagManagerConfigInterfaceSchema>;
|
|
97
|
-
export type HotjarConfigInterface = z.infer<typeof hotjarConfigInterfaceSchema>;
|
|
98
|
-
export type KoalaConfigInterface = z.infer<typeof koalaConfigInterfaceSchema>;
|
|
99
|
-
export type LogrocketConfigInterface = z.infer<typeof logrocketConfigInterfaceSchema>;
|
|
100
|
-
export type MixpanelConfigInterface = z.infer<typeof mixpanelConfigInterfaceSchema>;
|
|
101
|
-
export type PirschConfigInterface = z.infer<typeof pirschConfigInterfaceSchema>;
|
|
102
|
-
export type PostHogConfigInterface = z.infer<typeof postHogConfigInterfaceSchema>;
|
|
103
|
-
export type PlausibleConfigInterface = z.infer<typeof plausibleConfigInterfaceSchema>;
|
|
104
|
-
export declare const analyticsSchema: z.ZodObject<{
|
|
105
|
-
amplitude: z.ZodOptional<z.ZodObject<{
|
|
106
|
-
apiKey: z.ZodString;
|
|
107
|
-
}, "strip", z.ZodTypeAny, {
|
|
108
|
-
apiKey: string;
|
|
109
|
-
}, {
|
|
110
|
-
apiKey: string;
|
|
111
|
-
}>>;
|
|
112
|
-
clearbit: z.ZodOptional<z.ZodObject<{
|
|
113
|
-
publicApiKey: z.ZodString;
|
|
114
|
-
}, "strip", z.ZodTypeAny, {
|
|
115
|
-
publicApiKey: string;
|
|
116
|
-
}, {
|
|
117
|
-
publicApiKey: string;
|
|
118
|
-
}>>;
|
|
119
|
-
fathom: z.ZodOptional<z.ZodObject<{
|
|
120
|
-
siteId: z.ZodString;
|
|
121
|
-
}, "strip", z.ZodTypeAny, {
|
|
122
|
-
siteId: string;
|
|
123
|
-
}, {
|
|
124
|
-
siteId: string;
|
|
125
|
-
}>>;
|
|
126
|
-
ga4: z.ZodOptional<z.ZodObject<{
|
|
127
|
-
measurementId: z.ZodString;
|
|
128
|
-
}, "strip", z.ZodTypeAny, {
|
|
129
|
-
measurementId: string;
|
|
130
|
-
}, {
|
|
131
|
-
measurementId: string;
|
|
132
|
-
}>>;
|
|
133
|
-
gtm: z.ZodOptional<z.ZodObject<{
|
|
134
|
-
tagId: z.ZodString;
|
|
135
|
-
}, "strip", z.ZodTypeAny, {
|
|
136
|
-
tagId: string;
|
|
137
|
-
}, {
|
|
138
|
-
tagId: string;
|
|
139
|
-
}>>;
|
|
140
|
-
hotjar: z.ZodOptional<z.ZodObject<{
|
|
141
|
-
hjid: z.ZodString;
|
|
142
|
-
hjsv: z.ZodString;
|
|
143
|
-
}, "strip", z.ZodTypeAny, {
|
|
144
|
-
hjid: string;
|
|
145
|
-
hjsv: string;
|
|
146
|
-
}, {
|
|
147
|
-
hjid: string;
|
|
148
|
-
hjsv: string;
|
|
149
|
-
}>>;
|
|
150
|
-
koala: z.ZodOptional<z.ZodObject<{
|
|
151
|
-
publicApiKey: z.ZodEffects<z.ZodString, string, string>;
|
|
152
|
-
}, "strip", z.ZodTypeAny, {
|
|
153
|
-
publicApiKey: string;
|
|
154
|
-
}, {
|
|
155
|
-
publicApiKey: string;
|
|
156
|
-
}>>;
|
|
157
|
-
logrocket: z.ZodOptional<z.ZodObject<{
|
|
158
|
-
appId: z.ZodString;
|
|
159
|
-
}, "strip", z.ZodTypeAny, {
|
|
160
|
-
appId: string;
|
|
161
|
-
}, {
|
|
162
|
-
appId: string;
|
|
163
|
-
}>>;
|
|
164
|
-
mixpanel: z.ZodOptional<z.ZodObject<{
|
|
165
|
-
projectToken: z.ZodString;
|
|
166
|
-
}, "strip", z.ZodTypeAny, {
|
|
167
|
-
projectToken: string;
|
|
168
|
-
}, {
|
|
169
|
-
projectToken: string;
|
|
170
|
-
}>>;
|
|
171
|
-
pirsch: z.ZodOptional<z.ZodObject<{
|
|
172
|
-
id: z.ZodString;
|
|
173
|
-
}, "strip", z.ZodTypeAny, {
|
|
174
|
-
id: string;
|
|
175
|
-
}, {
|
|
176
|
-
id: string;
|
|
177
|
-
}>>;
|
|
178
|
-
posthog: z.ZodOptional<z.ZodObject<{
|
|
179
|
-
apiKey: z.ZodString;
|
|
180
|
-
apiHost: z.ZodOptional<z.ZodString>;
|
|
181
|
-
}, "strip", z.ZodTypeAny, {
|
|
182
|
-
apiKey: string;
|
|
183
|
-
apiHost?: string | undefined;
|
|
184
|
-
}, {
|
|
185
|
-
apiKey: string;
|
|
186
|
-
apiHost?: string | undefined;
|
|
187
|
-
}>>;
|
|
188
|
-
plausible: z.ZodOptional<z.ZodObject<{
|
|
189
|
-
domain: z.ZodEffects<z.ZodString, string, string>;
|
|
190
|
-
}, "strip", z.ZodTypeAny, {
|
|
191
|
-
domain: string;
|
|
192
|
-
}, {
|
|
193
|
-
domain: string;
|
|
194
|
-
}>>;
|
|
195
|
-
}, "strict", z.ZodTypeAny, {
|
|
196
|
-
amplitude?: {
|
|
197
|
-
apiKey: string;
|
|
198
|
-
} | undefined;
|
|
199
|
-
clearbit?: {
|
|
200
|
-
publicApiKey: string;
|
|
201
|
-
} | undefined;
|
|
202
|
-
fathom?: {
|
|
203
|
-
siteId: string;
|
|
204
|
-
} | undefined;
|
|
205
|
-
ga4?: {
|
|
206
|
-
measurementId: string;
|
|
207
|
-
} | undefined;
|
|
208
|
-
gtm?: {
|
|
209
|
-
tagId: string;
|
|
210
|
-
} | undefined;
|
|
211
|
-
hotjar?: {
|
|
212
|
-
hjid: string;
|
|
213
|
-
hjsv: string;
|
|
214
|
-
} | undefined;
|
|
215
|
-
koala?: {
|
|
216
|
-
publicApiKey: string;
|
|
217
|
-
} | undefined;
|
|
218
|
-
logrocket?: {
|
|
219
|
-
appId: string;
|
|
220
|
-
} | undefined;
|
|
221
|
-
mixpanel?: {
|
|
222
|
-
projectToken: string;
|
|
223
|
-
} | undefined;
|
|
224
|
-
pirsch?: {
|
|
225
|
-
id: string;
|
|
226
|
-
} | undefined;
|
|
227
|
-
posthog?: {
|
|
228
|
-
apiKey: string;
|
|
229
|
-
apiHost?: string | undefined;
|
|
230
|
-
} | undefined;
|
|
231
|
-
plausible?: {
|
|
232
|
-
domain: string;
|
|
233
|
-
} | undefined;
|
|
234
|
-
}, {
|
|
235
|
-
amplitude?: {
|
|
236
|
-
apiKey: string;
|
|
237
|
-
} | undefined;
|
|
238
|
-
clearbit?: {
|
|
239
|
-
publicApiKey: string;
|
|
240
|
-
} | undefined;
|
|
241
|
-
fathom?: {
|
|
242
|
-
siteId: string;
|
|
243
|
-
} | undefined;
|
|
244
|
-
ga4?: {
|
|
245
|
-
measurementId: string;
|
|
246
|
-
} | undefined;
|
|
247
|
-
gtm?: {
|
|
248
|
-
tagId: string;
|
|
249
|
-
} | undefined;
|
|
250
|
-
hotjar?: {
|
|
251
|
-
hjid: string;
|
|
252
|
-
hjsv: string;
|
|
253
|
-
} | undefined;
|
|
254
|
-
koala?: {
|
|
255
|
-
publicApiKey: string;
|
|
256
|
-
} | undefined;
|
|
257
|
-
logrocket?: {
|
|
258
|
-
appId: string;
|
|
259
|
-
} | undefined;
|
|
260
|
-
mixpanel?: {
|
|
261
|
-
projectToken: string;
|
|
262
|
-
} | undefined;
|
|
263
|
-
pirsch?: {
|
|
264
|
-
id: string;
|
|
265
|
-
} | undefined;
|
|
266
|
-
posthog?: {
|
|
267
|
-
apiKey: string;
|
|
268
|
-
apiHost?: string | undefined;
|
|
269
|
-
} | undefined;
|
|
270
|
-
plausible?: {
|
|
271
|
-
domain: string;
|
|
272
|
-
} | undefined;
|
|
273
|
-
}>;
|
|
274
|
-
export type AnalyticsType = z.infer<typeof analyticsSchema>;
|
|
275
|
-
export {};
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
declare const amplitudeConfigInterfaceSchema: z.ZodObject<{
|
|
3
|
+
apiKey: z.ZodString;
|
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
|
5
|
+
apiKey: string;
|
|
6
|
+
}, {
|
|
7
|
+
apiKey: string;
|
|
8
|
+
}>;
|
|
9
|
+
declare const clearbitConfigInterfaceSchema: z.ZodObject<{
|
|
10
|
+
publicApiKey: z.ZodString;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
publicApiKey: string;
|
|
13
|
+
}, {
|
|
14
|
+
publicApiKey: string;
|
|
15
|
+
}>;
|
|
16
|
+
declare const fathomConfigInterfaceSchema: z.ZodObject<{
|
|
17
|
+
siteId: z.ZodString;
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
|
+
siteId: string;
|
|
20
|
+
}, {
|
|
21
|
+
siteId: string;
|
|
22
|
+
}>;
|
|
23
|
+
declare const googleAnalyticsConfigInterfaceSchema: z.ZodObject<{
|
|
24
|
+
measurementId: z.ZodString;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
measurementId: string;
|
|
27
|
+
}, {
|
|
28
|
+
measurementId: string;
|
|
29
|
+
}>;
|
|
30
|
+
declare const googleTagManagerConfigInterfaceSchema: z.ZodObject<{
|
|
31
|
+
tagId: z.ZodString;
|
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
tagId: string;
|
|
34
|
+
}, {
|
|
35
|
+
tagId: string;
|
|
36
|
+
}>;
|
|
37
|
+
declare const hotjarConfigInterfaceSchema: z.ZodObject<{
|
|
38
|
+
hjid: z.ZodString;
|
|
39
|
+
hjsv: z.ZodString;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
hjid: string;
|
|
42
|
+
hjsv: string;
|
|
43
|
+
}, {
|
|
44
|
+
hjid: string;
|
|
45
|
+
hjsv: string;
|
|
46
|
+
}>;
|
|
47
|
+
declare const koalaConfigInterfaceSchema: z.ZodObject<{
|
|
48
|
+
publicApiKey: z.ZodEffects<z.ZodString, string, string>;
|
|
49
|
+
}, "strip", z.ZodTypeAny, {
|
|
50
|
+
publicApiKey: string;
|
|
51
|
+
}, {
|
|
52
|
+
publicApiKey: string;
|
|
53
|
+
}>;
|
|
54
|
+
declare const logrocketConfigInterfaceSchema: z.ZodObject<{
|
|
55
|
+
appId: z.ZodString;
|
|
56
|
+
}, "strip", z.ZodTypeAny, {
|
|
57
|
+
appId: string;
|
|
58
|
+
}, {
|
|
59
|
+
appId: string;
|
|
60
|
+
}>;
|
|
61
|
+
declare const mixpanelConfigInterfaceSchema: z.ZodObject<{
|
|
62
|
+
projectToken: z.ZodString;
|
|
63
|
+
}, "strip", z.ZodTypeAny, {
|
|
64
|
+
projectToken: string;
|
|
65
|
+
}, {
|
|
66
|
+
projectToken: string;
|
|
67
|
+
}>;
|
|
68
|
+
declare const pirschConfigInterfaceSchema: z.ZodObject<{
|
|
69
|
+
id: z.ZodString;
|
|
70
|
+
}, "strip", z.ZodTypeAny, {
|
|
71
|
+
id: string;
|
|
72
|
+
}, {
|
|
73
|
+
id: string;
|
|
74
|
+
}>;
|
|
75
|
+
declare const postHogConfigInterfaceSchema: z.ZodObject<{
|
|
76
|
+
apiKey: z.ZodString;
|
|
77
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
78
|
+
}, "strip", z.ZodTypeAny, {
|
|
79
|
+
apiKey: string;
|
|
80
|
+
apiHost?: string | undefined;
|
|
81
|
+
}, {
|
|
82
|
+
apiKey: string;
|
|
83
|
+
apiHost?: string | undefined;
|
|
84
|
+
}>;
|
|
85
|
+
declare const plausibleConfigInterfaceSchema: z.ZodObject<{
|
|
86
|
+
domain: z.ZodEffects<z.ZodString, string, string>;
|
|
87
|
+
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
domain: string;
|
|
89
|
+
}, {
|
|
90
|
+
domain: string;
|
|
91
|
+
}>;
|
|
92
|
+
export type AmplitudeConfigInterface = z.infer<typeof amplitudeConfigInterfaceSchema>;
|
|
93
|
+
export type ClearbitConfigInterface = z.infer<typeof clearbitConfigInterfaceSchema>;
|
|
94
|
+
export type FathomConfigInterface = z.infer<typeof fathomConfigInterfaceSchema>;
|
|
95
|
+
export type GoogleAnalyticsConfigInterface = z.infer<typeof googleAnalyticsConfigInterfaceSchema>;
|
|
96
|
+
export type GoogleTagManagerConfigInterface = z.infer<typeof googleTagManagerConfigInterfaceSchema>;
|
|
97
|
+
export type HotjarConfigInterface = z.infer<typeof hotjarConfigInterfaceSchema>;
|
|
98
|
+
export type KoalaConfigInterface = z.infer<typeof koalaConfigInterfaceSchema>;
|
|
99
|
+
export type LogrocketConfigInterface = z.infer<typeof logrocketConfigInterfaceSchema>;
|
|
100
|
+
export type MixpanelConfigInterface = z.infer<typeof mixpanelConfigInterfaceSchema>;
|
|
101
|
+
export type PirschConfigInterface = z.infer<typeof pirschConfigInterfaceSchema>;
|
|
102
|
+
export type PostHogConfigInterface = z.infer<typeof postHogConfigInterfaceSchema>;
|
|
103
|
+
export type PlausibleConfigInterface = z.infer<typeof plausibleConfigInterfaceSchema>;
|
|
104
|
+
export declare const analyticsSchema: z.ZodObject<{
|
|
105
|
+
amplitude: z.ZodOptional<z.ZodObject<{
|
|
106
|
+
apiKey: z.ZodString;
|
|
107
|
+
}, "strip", z.ZodTypeAny, {
|
|
108
|
+
apiKey: string;
|
|
109
|
+
}, {
|
|
110
|
+
apiKey: string;
|
|
111
|
+
}>>;
|
|
112
|
+
clearbit: z.ZodOptional<z.ZodObject<{
|
|
113
|
+
publicApiKey: z.ZodString;
|
|
114
|
+
}, "strip", z.ZodTypeAny, {
|
|
115
|
+
publicApiKey: string;
|
|
116
|
+
}, {
|
|
117
|
+
publicApiKey: string;
|
|
118
|
+
}>>;
|
|
119
|
+
fathom: z.ZodOptional<z.ZodObject<{
|
|
120
|
+
siteId: z.ZodString;
|
|
121
|
+
}, "strip", z.ZodTypeAny, {
|
|
122
|
+
siteId: string;
|
|
123
|
+
}, {
|
|
124
|
+
siteId: string;
|
|
125
|
+
}>>;
|
|
126
|
+
ga4: z.ZodOptional<z.ZodObject<{
|
|
127
|
+
measurementId: z.ZodString;
|
|
128
|
+
}, "strip", z.ZodTypeAny, {
|
|
129
|
+
measurementId: string;
|
|
130
|
+
}, {
|
|
131
|
+
measurementId: string;
|
|
132
|
+
}>>;
|
|
133
|
+
gtm: z.ZodOptional<z.ZodObject<{
|
|
134
|
+
tagId: z.ZodString;
|
|
135
|
+
}, "strip", z.ZodTypeAny, {
|
|
136
|
+
tagId: string;
|
|
137
|
+
}, {
|
|
138
|
+
tagId: string;
|
|
139
|
+
}>>;
|
|
140
|
+
hotjar: z.ZodOptional<z.ZodObject<{
|
|
141
|
+
hjid: z.ZodString;
|
|
142
|
+
hjsv: z.ZodString;
|
|
143
|
+
}, "strip", z.ZodTypeAny, {
|
|
144
|
+
hjid: string;
|
|
145
|
+
hjsv: string;
|
|
146
|
+
}, {
|
|
147
|
+
hjid: string;
|
|
148
|
+
hjsv: string;
|
|
149
|
+
}>>;
|
|
150
|
+
koala: z.ZodOptional<z.ZodObject<{
|
|
151
|
+
publicApiKey: z.ZodEffects<z.ZodString, string, string>;
|
|
152
|
+
}, "strip", z.ZodTypeAny, {
|
|
153
|
+
publicApiKey: string;
|
|
154
|
+
}, {
|
|
155
|
+
publicApiKey: string;
|
|
156
|
+
}>>;
|
|
157
|
+
logrocket: z.ZodOptional<z.ZodObject<{
|
|
158
|
+
appId: z.ZodString;
|
|
159
|
+
}, "strip", z.ZodTypeAny, {
|
|
160
|
+
appId: string;
|
|
161
|
+
}, {
|
|
162
|
+
appId: string;
|
|
163
|
+
}>>;
|
|
164
|
+
mixpanel: z.ZodOptional<z.ZodObject<{
|
|
165
|
+
projectToken: z.ZodString;
|
|
166
|
+
}, "strip", z.ZodTypeAny, {
|
|
167
|
+
projectToken: string;
|
|
168
|
+
}, {
|
|
169
|
+
projectToken: string;
|
|
170
|
+
}>>;
|
|
171
|
+
pirsch: z.ZodOptional<z.ZodObject<{
|
|
172
|
+
id: z.ZodString;
|
|
173
|
+
}, "strip", z.ZodTypeAny, {
|
|
174
|
+
id: string;
|
|
175
|
+
}, {
|
|
176
|
+
id: string;
|
|
177
|
+
}>>;
|
|
178
|
+
posthog: z.ZodOptional<z.ZodObject<{
|
|
179
|
+
apiKey: z.ZodString;
|
|
180
|
+
apiHost: z.ZodOptional<z.ZodString>;
|
|
181
|
+
}, "strip", z.ZodTypeAny, {
|
|
182
|
+
apiKey: string;
|
|
183
|
+
apiHost?: string | undefined;
|
|
184
|
+
}, {
|
|
185
|
+
apiKey: string;
|
|
186
|
+
apiHost?: string | undefined;
|
|
187
|
+
}>>;
|
|
188
|
+
plausible: z.ZodOptional<z.ZodObject<{
|
|
189
|
+
domain: z.ZodEffects<z.ZodString, string, string>;
|
|
190
|
+
}, "strip", z.ZodTypeAny, {
|
|
191
|
+
domain: string;
|
|
192
|
+
}, {
|
|
193
|
+
domain: string;
|
|
194
|
+
}>>;
|
|
195
|
+
}, "strict", z.ZodTypeAny, {
|
|
196
|
+
amplitude?: {
|
|
197
|
+
apiKey: string;
|
|
198
|
+
} | undefined;
|
|
199
|
+
clearbit?: {
|
|
200
|
+
publicApiKey: string;
|
|
201
|
+
} | undefined;
|
|
202
|
+
fathom?: {
|
|
203
|
+
siteId: string;
|
|
204
|
+
} | undefined;
|
|
205
|
+
ga4?: {
|
|
206
|
+
measurementId: string;
|
|
207
|
+
} | undefined;
|
|
208
|
+
gtm?: {
|
|
209
|
+
tagId: string;
|
|
210
|
+
} | undefined;
|
|
211
|
+
hotjar?: {
|
|
212
|
+
hjid: string;
|
|
213
|
+
hjsv: string;
|
|
214
|
+
} | undefined;
|
|
215
|
+
koala?: {
|
|
216
|
+
publicApiKey: string;
|
|
217
|
+
} | undefined;
|
|
218
|
+
logrocket?: {
|
|
219
|
+
appId: string;
|
|
220
|
+
} | undefined;
|
|
221
|
+
mixpanel?: {
|
|
222
|
+
projectToken: string;
|
|
223
|
+
} | undefined;
|
|
224
|
+
pirsch?: {
|
|
225
|
+
id: string;
|
|
226
|
+
} | undefined;
|
|
227
|
+
posthog?: {
|
|
228
|
+
apiKey: string;
|
|
229
|
+
apiHost?: string | undefined;
|
|
230
|
+
} | undefined;
|
|
231
|
+
plausible?: {
|
|
232
|
+
domain: string;
|
|
233
|
+
} | undefined;
|
|
234
|
+
}, {
|
|
235
|
+
amplitude?: {
|
|
236
|
+
apiKey: string;
|
|
237
|
+
} | undefined;
|
|
238
|
+
clearbit?: {
|
|
239
|
+
publicApiKey: string;
|
|
240
|
+
} | undefined;
|
|
241
|
+
fathom?: {
|
|
242
|
+
siteId: string;
|
|
243
|
+
} | undefined;
|
|
244
|
+
ga4?: {
|
|
245
|
+
measurementId: string;
|
|
246
|
+
} | undefined;
|
|
247
|
+
gtm?: {
|
|
248
|
+
tagId: string;
|
|
249
|
+
} | undefined;
|
|
250
|
+
hotjar?: {
|
|
251
|
+
hjid: string;
|
|
252
|
+
hjsv: string;
|
|
253
|
+
} | undefined;
|
|
254
|
+
koala?: {
|
|
255
|
+
publicApiKey: string;
|
|
256
|
+
} | undefined;
|
|
257
|
+
logrocket?: {
|
|
258
|
+
appId: string;
|
|
259
|
+
} | undefined;
|
|
260
|
+
mixpanel?: {
|
|
261
|
+
projectToken: string;
|
|
262
|
+
} | undefined;
|
|
263
|
+
pirsch?: {
|
|
264
|
+
id: string;
|
|
265
|
+
} | undefined;
|
|
266
|
+
posthog?: {
|
|
267
|
+
apiKey: string;
|
|
268
|
+
apiHost?: string | undefined;
|
|
269
|
+
} | undefined;
|
|
270
|
+
plausible?: {
|
|
271
|
+
domain: string;
|
|
272
|
+
} | undefined;
|
|
273
|
+
}>;
|
|
274
|
+
export type AnalyticsType = z.infer<typeof analyticsSchema>;
|
|
275
|
+
export {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const gradientSchema: z.ZodObject<{
|
|
3
|
-
from: z.ZodString;
|
|
4
|
-
via: z.ZodOptional<z.ZodString>;
|
|
5
|
-
to: z.ZodString;
|
|
6
|
-
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
from: string;
|
|
8
|
-
to: string;
|
|
9
|
-
via?: string | undefined;
|
|
10
|
-
}, {
|
|
11
|
-
from: string;
|
|
12
|
-
to: string;
|
|
13
|
-
via?: string | undefined;
|
|
14
|
-
}>;
|
|
15
|
-
export type GradientType = z.infer<typeof gradientSchema>;
|
|
16
|
-
export declare const anchorColorSchema: 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
|
-
from: string;
|
|
22
|
-
to: string;
|
|
23
|
-
via?: string | undefined;
|
|
24
|
-
}, {
|
|
25
|
-
from: string;
|
|
26
|
-
to: string;
|
|
27
|
-
via?: string | undefined;
|
|
28
|
-
}>]>;
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const gradientSchema: z.ZodObject<{
|
|
3
|
+
from: z.ZodString;
|
|
4
|
+
via: z.ZodOptional<z.ZodString>;
|
|
5
|
+
to: z.ZodString;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
from: string;
|
|
8
|
+
to: string;
|
|
9
|
+
via?: string | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
from: string;
|
|
12
|
+
to: string;
|
|
13
|
+
via?: string | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export type GradientType = z.infer<typeof gradientSchema>;
|
|
16
|
+
export declare const anchorColorSchema: 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
|
+
from: string;
|
|
22
|
+
to: string;
|
|
23
|
+
via?: string | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
from: string;
|
|
26
|
+
to: string;
|
|
27
|
+
via?: string | undefined;
|
|
28
|
+
}>]>;
|