@mintlify/validation 0.1.45 → 0.1.47
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/index.js +1 -1
- package/dist/mint-config/schemas/config.d.ts +9 -8
- package/dist/mint-config/schemas/integrations.d.ts +3 -3
- package/dist/mint-config/types/index.d.ts +1 -1
- package/package.json +3 -2
- 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 -4
- package/dist/mint-config/types/colors.d.ts +0 -3
- package/dist/mint-config/types/config.d.ts +0 -55
- package/dist/mint-config/types/versions.d.ts +0 -3
|
@@ -486,7 +486,7 @@ export declare const configSchema: z.ZodObject<{
|
|
|
486
486
|
integrations: z.ZodOptional<z.ZodObject<{
|
|
487
487
|
intercom: z.ZodOptional<z.ZodString>;
|
|
488
488
|
frontchat: z.ZodOptional<z.ZodString>;
|
|
489
|
-
|
|
489
|
+
inkeep: z.ZodOptional<z.ZodObject<{
|
|
490
490
|
integrationApiKey: z.ZodString;
|
|
491
491
|
}, "strip", z.ZodTypeAny, {
|
|
492
492
|
integrationApiKey: string;
|
|
@@ -496,17 +496,17 @@ export declare const configSchema: z.ZodObject<{
|
|
|
496
496
|
}, "strip", z.ZodTypeAny, {
|
|
497
497
|
intercom?: string | undefined;
|
|
498
498
|
frontchat?: string | undefined;
|
|
499
|
-
|
|
499
|
+
inkeep?: {
|
|
500
500
|
integrationApiKey: string;
|
|
501
501
|
} | undefined;
|
|
502
502
|
}, {
|
|
503
503
|
intercom?: string | undefined;
|
|
504
504
|
frontchat?: string | undefined;
|
|
505
|
-
|
|
505
|
+
inkeep?: {
|
|
506
506
|
integrationApiKey: string;
|
|
507
507
|
} | undefined;
|
|
508
508
|
}>>;
|
|
509
|
-
|
|
509
|
+
isWhiteLabeled: z.ZodOptional<z.ZodBoolean>;
|
|
510
510
|
}, "strip", z.ZodTypeAny, {
|
|
511
511
|
$schema: string;
|
|
512
512
|
name: string;
|
|
@@ -654,11 +654,11 @@ export declare const configSchema: z.ZodObject<{
|
|
|
654
654
|
integrations?: {
|
|
655
655
|
intercom?: string | undefined;
|
|
656
656
|
frontchat?: string | undefined;
|
|
657
|
-
|
|
657
|
+
inkeep?: {
|
|
658
658
|
integrationApiKey: string;
|
|
659
659
|
} | undefined;
|
|
660
660
|
} | undefined;
|
|
661
|
-
|
|
661
|
+
isWhiteLabeled?: boolean | undefined;
|
|
662
662
|
}, {
|
|
663
663
|
name: string;
|
|
664
664
|
favicon: string;
|
|
@@ -806,9 +806,10 @@ export declare const configSchema: z.ZodObject<{
|
|
|
806
806
|
integrations?: {
|
|
807
807
|
intercom?: string | undefined;
|
|
808
808
|
frontchat?: string | undefined;
|
|
809
|
-
|
|
809
|
+
inkeep?: {
|
|
810
810
|
integrationApiKey: string;
|
|
811
811
|
} | undefined;
|
|
812
812
|
} | undefined;
|
|
813
|
-
|
|
813
|
+
isWhiteLabeled?: boolean | undefined;
|
|
814
814
|
}>;
|
|
815
|
+
export type ConfigType = z.infer<typeof configSchema>;
|
|
@@ -11,7 +11,7 @@ declare const inkeepSchema: z.ZodObject<{
|
|
|
11
11
|
export declare const integrationsSchema: z.ZodObject<{
|
|
12
12
|
intercom: z.ZodOptional<z.ZodString>;
|
|
13
13
|
frontchat: z.ZodOptional<z.ZodString>;
|
|
14
|
-
|
|
14
|
+
inkeep: z.ZodOptional<z.ZodObject<{
|
|
15
15
|
integrationApiKey: z.ZodString;
|
|
16
16
|
}, "strip", z.ZodTypeAny, {
|
|
17
17
|
integrationApiKey: string;
|
|
@@ -21,13 +21,13 @@ export declare const integrationsSchema: z.ZodObject<{
|
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
22
|
intercom?: string | undefined;
|
|
23
23
|
frontchat?: string | undefined;
|
|
24
|
-
|
|
24
|
+
inkeep?: {
|
|
25
25
|
integrationApiKey: string;
|
|
26
26
|
} | undefined;
|
|
27
27
|
}, {
|
|
28
28
|
intercom?: string | undefined;
|
|
29
29
|
frontchat?: string | undefined;
|
|
30
|
-
|
|
30
|
+
inkeep?: {
|
|
31
31
|
integrationApiKey: string;
|
|
32
32
|
} | undefined;
|
|
33
33
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type { ConfigType
|
|
1
|
+
export type { ConfigType } from '../schemas/config';
|
|
2
2
|
export type { AnalyticsType, AmplitudeConfigInterface, ClearbitConfigInterface, FathomConfigInterface, GoogleAnalyticsConfigInterface, GoogleTagManagerConfigInterface, HotjarConfigInterface, KoalaConfigInterface, LogrocketConfigInterface, MixpanelConfigInterface, PirschConfigInterface, PostHogConfigInterface, PlausibleConfigInterface, } from '../schemas/analytics';
|
|
3
3
|
export type { AnchorsType, AnchorType, TopAnchorType } from '../schemas/anchors';
|
|
4
4
|
export type { ApiConfigType } from '../schemas/apiReference';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintlify/validation",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.47",
|
|
4
4
|
"description": "Validates mint.json files",
|
|
5
5
|
"author": "Mintlify, Inc.",
|
|
6
6
|
"repository": {
|
|
@@ -71,5 +71,6 @@
|
|
|
71
71
|
"typescript": "^4.8.2",
|
|
72
72
|
"webpack": "^5.75.0",
|
|
73
73
|
"webpack-cli": "^5.0.1"
|
|
74
|
-
}
|
|
74
|
+
},
|
|
75
|
+
"gitHead": "fbd9d3db1899d7acfbff961012afbaefa731a25a"
|
|
75
76
|
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
import { AnalyticsType } from '../schemas/analytics';
|
|
3
|
-
import { AnchorsType } from '../schemas/anchors';
|
|
4
|
-
import { ApiConfigType } from '../schemas/apiReference';
|
|
5
|
-
import { FeedbackType, LogoType, FooterSocialsType, NavbarLink, IconType } from '../schemas/basics';
|
|
6
|
-
import { ColorsType } from '../schemas/colors';
|
|
7
|
-
import { configSchema } from '../schemas/config';
|
|
8
|
-
import { IntegrationsType } from '../schemas/integrations';
|
|
9
|
-
import { TabType } from '../schemas/tabs';
|
|
10
|
-
import { VersionsType } from '../schemas/versions';
|
|
11
|
-
import { ModeToggleType } from './enums';
|
|
12
|
-
import { MintNavigation } from './navigation';
|
|
13
|
-
export type ConfigType = z.infer<typeof configSchema>;
|
|
14
|
-
export type MintConfig = {
|
|
15
|
-
name: string;
|
|
16
|
-
backgroundImage?: string;
|
|
17
|
-
colors?: ColorsType;
|
|
18
|
-
favicon?: string;
|
|
19
|
-
feedback?: FeedbackType;
|
|
20
|
-
footerSocials?: FooterSocialsType;
|
|
21
|
-
logo?: LogoType;
|
|
22
|
-
metadata?: Record<string, string>;
|
|
23
|
-
modeToggle?: {
|
|
24
|
-
default?: ModeToggleType;
|
|
25
|
-
isHidden?: boolean;
|
|
26
|
-
};
|
|
27
|
-
openapi?: string | string[];
|
|
28
|
-
api?: ApiConfigType;
|
|
29
|
-
navigation?: MintNavigation;
|
|
30
|
-
anchors?: AnchorsType;
|
|
31
|
-
versions?: VersionsType;
|
|
32
|
-
topbarCtaButton?: NavbarLink;
|
|
33
|
-
topAnchor?: {
|
|
34
|
-
name: string;
|
|
35
|
-
icon?: string;
|
|
36
|
-
iconType?: IconType;
|
|
37
|
-
};
|
|
38
|
-
topbarLinks?: NavbarLink[];
|
|
39
|
-
primaryTab?: {
|
|
40
|
-
name: string;
|
|
41
|
-
};
|
|
42
|
-
tabs?: TabType[];
|
|
43
|
-
repo?: {
|
|
44
|
-
github?: {
|
|
45
|
-
owner: string;
|
|
46
|
-
repo: string;
|
|
47
|
-
deployBranch: string;
|
|
48
|
-
contentDirectory: string;
|
|
49
|
-
isPrivate?: boolean;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
analytics?: AnalyticsType;
|
|
53
|
-
integrations?: IntegrationsType;
|
|
54
|
-
isWhiteLabeled?: boolean;
|
|
55
|
-
};
|