@mintlify/validation 0.1.514 → 0.1.516
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/v1/analytics.d.ts +13 -0
- package/dist/mint-config/schemas/v1/analytics.js +5 -1
- package/dist/mint-config/schemas/v1/config.d.ts +19 -0
- package/dist/mint-config/schemas/v2/index.d.ts +308 -0
- package/dist/mint-config/schemas/v2/properties/integrations.d.ts +13 -0
- package/dist/mint-config/schemas/v2/properties/integrations.js +4 -0
- package/dist/mint-config/schemas/v2/properties/styling.d.ts +19 -0
- package/dist/mint-config/schemas/v2/properties/styling.js +10 -0
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +44 -0
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +44 -0
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +44 -0
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +44 -0
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +44 -0
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +44 -0
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +32 -0
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +44 -0
- package/dist/mint-config/validateConfig.d.ts +90 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -7,6 +7,13 @@ export declare const analyticsSchema: z.ZodObject<{
|
|
|
7
7
|
}, {
|
|
8
8
|
apiKey: string;
|
|
9
9
|
}>>;
|
|
10
|
+
clarity: z.ZodOptional<z.ZodObject<{
|
|
11
|
+
projectId: z.ZodString;
|
|
12
|
+
}, "strip", z.ZodTypeAny, {
|
|
13
|
+
projectId: string;
|
|
14
|
+
}, {
|
|
15
|
+
projectId: string;
|
|
16
|
+
}>>;
|
|
10
17
|
clearbit: z.ZodOptional<z.ZodObject<{
|
|
11
18
|
publicApiKey: z.ZodString;
|
|
12
19
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -124,6 +131,9 @@ export declare const analyticsSchema: z.ZodObject<{
|
|
|
124
131
|
amplitude?: {
|
|
125
132
|
apiKey: string;
|
|
126
133
|
} | undefined;
|
|
134
|
+
clarity?: {
|
|
135
|
+
projectId: string;
|
|
136
|
+
} | undefined;
|
|
127
137
|
clearbit?: {
|
|
128
138
|
publicApiKey: string;
|
|
129
139
|
} | undefined;
|
|
@@ -175,6 +185,9 @@ export declare const analyticsSchema: z.ZodObject<{
|
|
|
175
185
|
amplitude?: {
|
|
176
186
|
apiKey: string;
|
|
177
187
|
} | undefined;
|
|
188
|
+
clarity?: {
|
|
189
|
+
projectId: string;
|
|
190
|
+
} | undefined;
|
|
178
191
|
clearbit?: {
|
|
179
192
|
publicApiKey: string;
|
|
180
193
|
} | undefined;
|
|
@@ -51,12 +51,16 @@ const hightouchConfigInterfaceSchema = z.object({
|
|
|
51
51
|
writeKey: z.string(),
|
|
52
52
|
apiHost: z.string().optional(),
|
|
53
53
|
});
|
|
54
|
+
const clarityConfigInterfaceSchema = z.object({
|
|
55
|
+
projectId: z.string(),
|
|
56
|
+
});
|
|
54
57
|
const segmentConfigInterfaceSchema = z.object({
|
|
55
58
|
key: z.string(),
|
|
56
59
|
});
|
|
57
60
|
export const analyticsSchema = z
|
|
58
61
|
.object({
|
|
59
62
|
amplitude: amplitudeConfigInterfaceSchema.optional(),
|
|
63
|
+
clarity: clarityConfigInterfaceSchema.optional(),
|
|
60
64
|
clearbit: clearbitConfigInterfaceSchema.optional(),
|
|
61
65
|
fathom: fathomConfigInterfaceSchema.optional(),
|
|
62
66
|
ga4: googleAnalyticsConfigInterfaceSchema.optional(),
|
|
@@ -72,4 +76,4 @@ export const analyticsSchema = z
|
|
|
72
76
|
plausible: plausibleConfigInterfaceSchema.optional(),
|
|
73
77
|
segment: segmentConfigInterfaceSchema.optional(),
|
|
74
78
|
})
|
|
75
|
-
.strict('Mintlify only supports analytics integrations from: amplitude, clearbit, fathom, ga4, gtm, heap, hotjar, koala, logrocket, mixpanel, pirsch, posthog, plausible, and segment.');
|
|
79
|
+
.strict('Mintlify only supports analytics integrations from: amplitude, clarity, clearbit, fathom, ga4, gtm, heap, hotjar, koala, logrocket, mixpanel, pirsch, posthog, plausible, and segment.');
|
|
@@ -586,6 +586,13 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
586
586
|
}, {
|
|
587
587
|
apiKey: string;
|
|
588
588
|
}>>;
|
|
589
|
+
clarity: z.ZodOptional<z.ZodObject<{
|
|
590
|
+
projectId: z.ZodString;
|
|
591
|
+
}, "strip", z.ZodTypeAny, {
|
|
592
|
+
projectId: string;
|
|
593
|
+
}, {
|
|
594
|
+
projectId: string;
|
|
595
|
+
}>>;
|
|
589
596
|
clearbit: z.ZodOptional<z.ZodObject<{
|
|
590
597
|
publicApiKey: z.ZodString;
|
|
591
598
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -703,6 +710,9 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
703
710
|
amplitude?: {
|
|
704
711
|
apiKey: string;
|
|
705
712
|
} | undefined;
|
|
713
|
+
clarity?: {
|
|
714
|
+
projectId: string;
|
|
715
|
+
} | undefined;
|
|
706
716
|
clearbit?: {
|
|
707
717
|
publicApiKey: string;
|
|
708
718
|
} | undefined;
|
|
@@ -754,6 +764,9 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
754
764
|
amplitude?: {
|
|
755
765
|
apiKey: string;
|
|
756
766
|
} | undefined;
|
|
767
|
+
clarity?: {
|
|
768
|
+
projectId: string;
|
|
769
|
+
} | undefined;
|
|
757
770
|
clearbit?: {
|
|
758
771
|
publicApiKey: string;
|
|
759
772
|
} | undefined;
|
|
@@ -1035,6 +1048,9 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1035
1048
|
amplitude?: {
|
|
1036
1049
|
apiKey: string;
|
|
1037
1050
|
} | undefined;
|
|
1051
|
+
clarity?: {
|
|
1052
|
+
projectId: string;
|
|
1053
|
+
} | undefined;
|
|
1038
1054
|
clearbit?: {
|
|
1039
1055
|
publicApiKey: string;
|
|
1040
1056
|
} | undefined;
|
|
@@ -1276,6 +1292,9 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1276
1292
|
amplitude?: {
|
|
1277
1293
|
apiKey: string;
|
|
1278
1294
|
} | undefined;
|
|
1295
|
+
clarity?: {
|
|
1296
|
+
projectId: string;
|
|
1297
|
+
} | undefined;
|
|
1279
1298
|
clearbit?: {
|
|
1280
1299
|
publicApiKey: string;
|
|
1281
1300
|
} | undefined;
|