@mintlify/validation 0.1.571 → 0.1.573
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/v2/index.d.ts +112 -112
- package/dist/mint-config/schemas/v2/properties/api.d.ts +5 -5
- package/dist/mint-config/schemas/v2/properties/api.js +2 -2
- package/dist/mint-config/schemas/v2/properties/contextual.d.ts +6 -6
- package/dist/mint-config/schemas/v2/properties/contextual.js +1 -0
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +14 -14
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +14 -14
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +14 -14
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +14 -14
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +14 -14
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +14 -14
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +10 -10
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +14 -14
- package/dist/mint-config/validateConfig.d.ts +28 -28
- package/dist/openapi/types/endpoint.d.ts +1 -1
- package/dist/openapi/types/endpoint.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -604,7 +604,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
604
604
|
directory?: string | undefined;
|
|
605
605
|
} | undefined;
|
|
606
606
|
playground?: {
|
|
607
|
-
display?: "simple" | "none" | "interactive" | undefined;
|
|
607
|
+
display?: "auth" | "simple" | "none" | "interactive" | undefined;
|
|
608
608
|
proxy?: boolean | undefined;
|
|
609
609
|
} | undefined;
|
|
610
610
|
asyncapi?: string | string[] | {
|
|
@@ -791,7 +791,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
791
791
|
};
|
|
792
792
|
} | undefined;
|
|
793
793
|
contextual?: {
|
|
794
|
-
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "mcp" | "cursor" | "vscode" | {
|
|
794
|
+
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
|
|
795
795
|
href: string | {
|
|
796
796
|
base: string;
|
|
797
797
|
query?: {
|
|
@@ -929,7 +929,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
929
929
|
directory?: string | undefined;
|
|
930
930
|
} | undefined;
|
|
931
931
|
playground?: {
|
|
932
|
-
display?: "simple" | "none" | "interactive" | undefined;
|
|
932
|
+
display?: "auth" | "simple" | "none" | "interactive" | undefined;
|
|
933
933
|
proxy?: boolean | undefined;
|
|
934
934
|
} | undefined;
|
|
935
935
|
asyncapi?: string | string[] | {
|
|
@@ -1116,7 +1116,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1116
1116
|
};
|
|
1117
1117
|
} | undefined;
|
|
1118
1118
|
contextual?: {
|
|
1119
|
-
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "mcp" | "cursor" | "vscode" | {
|
|
1119
|
+
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
|
|
1120
1120
|
href: string | {
|
|
1121
1121
|
base: string;
|
|
1122
1122
|
query?: {
|
|
@@ -1254,7 +1254,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1254
1254
|
directory?: string | undefined;
|
|
1255
1255
|
} | undefined;
|
|
1256
1256
|
playground?: {
|
|
1257
|
-
display?: "simple" | "none" | "interactive" | undefined;
|
|
1257
|
+
display?: "auth" | "simple" | "none" | "interactive" | undefined;
|
|
1258
1258
|
proxy?: boolean | undefined;
|
|
1259
1259
|
} | undefined;
|
|
1260
1260
|
asyncapi?: string | string[] | {
|
|
@@ -1441,7 +1441,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1441
1441
|
};
|
|
1442
1442
|
} | undefined;
|
|
1443
1443
|
contextual?: {
|
|
1444
|
-
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "mcp" | "cursor" | "vscode" | {
|
|
1444
|
+
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
|
|
1445
1445
|
href: string | {
|
|
1446
1446
|
base: string;
|
|
1447
1447
|
query?: {
|
|
@@ -1579,7 +1579,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1579
1579
|
directory?: string | undefined;
|
|
1580
1580
|
} | undefined;
|
|
1581
1581
|
playground?: {
|
|
1582
|
-
display?: "simple" | "none" | "interactive" | undefined;
|
|
1582
|
+
display?: "auth" | "simple" | "none" | "interactive" | undefined;
|
|
1583
1583
|
proxy?: boolean | undefined;
|
|
1584
1584
|
} | undefined;
|
|
1585
1585
|
asyncapi?: string | string[] | {
|
|
@@ -1766,7 +1766,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1766
1766
|
};
|
|
1767
1767
|
} | undefined;
|
|
1768
1768
|
contextual?: {
|
|
1769
|
-
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "mcp" | "cursor" | "vscode" | {
|
|
1769
|
+
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
|
|
1770
1770
|
href: string | {
|
|
1771
1771
|
base: string;
|
|
1772
1772
|
query?: {
|
|
@@ -1904,7 +1904,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1904
1904
|
directory?: string | undefined;
|
|
1905
1905
|
} | undefined;
|
|
1906
1906
|
playground?: {
|
|
1907
|
-
display?: "simple" | "none" | "interactive" | undefined;
|
|
1907
|
+
display?: "auth" | "simple" | "none" | "interactive" | undefined;
|
|
1908
1908
|
proxy?: boolean | undefined;
|
|
1909
1909
|
} | undefined;
|
|
1910
1910
|
asyncapi?: string | string[] | {
|
|
@@ -2091,7 +2091,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2091
2091
|
};
|
|
2092
2092
|
} | undefined;
|
|
2093
2093
|
contextual?: {
|
|
2094
|
-
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "mcp" | "cursor" | "vscode" | {
|
|
2094
|
+
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
|
|
2095
2095
|
href: string | {
|
|
2096
2096
|
base: string;
|
|
2097
2097
|
query?: {
|
|
@@ -2229,7 +2229,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2229
2229
|
directory?: string | undefined;
|
|
2230
2230
|
} | undefined;
|
|
2231
2231
|
playground?: {
|
|
2232
|
-
display?: "simple" | "none" | "interactive" | undefined;
|
|
2232
|
+
display?: "auth" | "simple" | "none" | "interactive" | undefined;
|
|
2233
2233
|
proxy?: boolean | undefined;
|
|
2234
2234
|
} | undefined;
|
|
2235
2235
|
asyncapi?: string | string[] | {
|
|
@@ -2416,7 +2416,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2416
2416
|
};
|
|
2417
2417
|
} | undefined;
|
|
2418
2418
|
contextual?: {
|
|
2419
|
-
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "mcp" | "cursor" | "vscode" | {
|
|
2419
|
+
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
|
|
2420
2420
|
href: string | {
|
|
2421
2421
|
base: string;
|
|
2422
2422
|
query?: {
|
|
@@ -2554,7 +2554,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2554
2554
|
directory?: string | undefined;
|
|
2555
2555
|
} | undefined;
|
|
2556
2556
|
playground?: {
|
|
2557
|
-
display?: "simple" | "none" | "interactive" | undefined;
|
|
2557
|
+
display?: "auth" | "simple" | "none" | "interactive" | undefined;
|
|
2558
2558
|
proxy?: boolean | undefined;
|
|
2559
2559
|
} | undefined;
|
|
2560
2560
|
asyncapi?: string | string[] | {
|
|
@@ -2741,7 +2741,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2741
2741
|
};
|
|
2742
2742
|
} | undefined;
|
|
2743
2743
|
contextual?: {
|
|
2744
|
-
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "mcp" | "cursor" | "vscode" | {
|
|
2744
|
+
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
|
|
2745
2745
|
href: string | {
|
|
2746
2746
|
base: string;
|
|
2747
2747
|
query?: {
|
|
@@ -2882,7 +2882,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2882
2882
|
directory?: string | undefined;
|
|
2883
2883
|
} | undefined;
|
|
2884
2884
|
playground?: {
|
|
2885
|
-
display?: "simple" | "none" | "interactive" | undefined;
|
|
2885
|
+
display?: "auth" | "simple" | "none" | "interactive" | undefined;
|
|
2886
2886
|
proxy?: boolean | undefined;
|
|
2887
2887
|
} | undefined;
|
|
2888
2888
|
asyncapi?: string | string[] | {
|
|
@@ -3069,7 +3069,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
3069
3069
|
};
|
|
3070
3070
|
} | undefined;
|
|
3071
3071
|
contextual?: {
|
|
3072
|
-
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "mcp" | "cursor" | "vscode" | {
|
|
3072
|
+
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
|
|
3073
3073
|
href: string | {
|
|
3074
3074
|
base: string;
|
|
3075
3075
|
query?: {
|
|
@@ -3207,7 +3207,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
3207
3207
|
directory?: string | undefined;
|
|
3208
3208
|
} | undefined;
|
|
3209
3209
|
playground?: {
|
|
3210
|
-
display?: "simple" | "none" | "interactive" | undefined;
|
|
3210
|
+
display?: "auth" | "simple" | "none" | "interactive" | undefined;
|
|
3211
3211
|
proxy?: boolean | undefined;
|
|
3212
3212
|
} | undefined;
|
|
3213
3213
|
asyncapi?: string | string[] | {
|
|
@@ -3394,7 +3394,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
3394
3394
|
};
|
|
3395
3395
|
} | undefined;
|
|
3396
3396
|
contextual?: {
|
|
3397
|
-
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "mcp" | "cursor" | "vscode" | {
|
|
3397
|
+
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
|
|
3398
3398
|
href: string | {
|
|
3399
3399
|
base: string;
|
|
3400
3400
|
query?: {
|
|
@@ -3532,7 +3532,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
3532
3532
|
directory?: string | undefined;
|
|
3533
3533
|
} | undefined;
|
|
3534
3534
|
playground?: {
|
|
3535
|
-
display?: "simple" | "none" | "interactive" | undefined;
|
|
3535
|
+
display?: "auth" | "simple" | "none" | "interactive" | undefined;
|
|
3536
3536
|
proxy?: boolean | undefined;
|
|
3537
3537
|
} | undefined;
|
|
3538
3538
|
asyncapi?: string | string[] | {
|
|
@@ -3719,7 +3719,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
3719
3719
|
};
|
|
3720
3720
|
} | undefined;
|
|
3721
3721
|
contextual?: {
|
|
3722
|
-
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "mcp" | "cursor" | "vscode" | {
|
|
3722
|
+
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
|
|
3723
3723
|
href: string | {
|
|
3724
3724
|
base: string;
|
|
3725
3725
|
query?: {
|
|
@@ -3857,7 +3857,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
3857
3857
|
directory?: string | undefined;
|
|
3858
3858
|
} | undefined;
|
|
3859
3859
|
playground?: {
|
|
3860
|
-
display?: "simple" | "none" | "interactive" | undefined;
|
|
3860
|
+
display?: "auth" | "simple" | "none" | "interactive" | undefined;
|
|
3861
3861
|
proxy?: boolean | undefined;
|
|
3862
3862
|
} | undefined;
|
|
3863
3863
|
asyncapi?: string | string[] | {
|
|
@@ -4044,7 +4044,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
4044
4044
|
};
|
|
4045
4045
|
} | undefined;
|
|
4046
4046
|
contextual?: {
|
|
4047
|
-
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "mcp" | "cursor" | "vscode" | {
|
|
4047
|
+
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
|
|
4048
4048
|
href: string | {
|
|
4049
4049
|
base: string;
|
|
4050
4050
|
query?: {
|
|
@@ -4182,7 +4182,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
4182
4182
|
directory?: string | undefined;
|
|
4183
4183
|
} | undefined;
|
|
4184
4184
|
playground?: {
|
|
4185
|
-
display?: "simple" | "none" | "interactive" | undefined;
|
|
4185
|
+
display?: "auth" | "simple" | "none" | "interactive" | undefined;
|
|
4186
4186
|
proxy?: boolean | undefined;
|
|
4187
4187
|
} | undefined;
|
|
4188
4188
|
asyncapi?: string | string[] | {
|
|
@@ -4369,7 +4369,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
4369
4369
|
};
|
|
4370
4370
|
} | undefined;
|
|
4371
4371
|
contextual?: {
|
|
4372
|
-
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "mcp" | "cursor" | "vscode" | {
|
|
4372
|
+
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
|
|
4373
4373
|
href: string | {
|
|
4374
4374
|
base: string;
|
|
4375
4375
|
query?: {
|
|
@@ -4507,7 +4507,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
4507
4507
|
directory?: string | undefined;
|
|
4508
4508
|
} | undefined;
|
|
4509
4509
|
playground?: {
|
|
4510
|
-
display?: "simple" | "none" | "interactive" | undefined;
|
|
4510
|
+
display?: "auth" | "simple" | "none" | "interactive" | undefined;
|
|
4511
4511
|
proxy?: boolean | undefined;
|
|
4512
4512
|
} | undefined;
|
|
4513
4513
|
asyncapi?: string | string[] | {
|
|
@@ -4694,7 +4694,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
4694
4694
|
};
|
|
4695
4695
|
} | undefined;
|
|
4696
4696
|
contextual?: {
|
|
4697
|
-
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "mcp" | "cursor" | "vscode" | {
|
|
4697
|
+
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
|
|
4698
4698
|
href: string | {
|
|
4699
4699
|
base: string;
|
|
4700
4700
|
query?: {
|
|
@@ -4832,7 +4832,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
4832
4832
|
directory?: string | undefined;
|
|
4833
4833
|
} | undefined;
|
|
4834
4834
|
playground?: {
|
|
4835
|
-
display?: "simple" | "none" | "interactive" | undefined;
|
|
4835
|
+
display?: "auth" | "simple" | "none" | "interactive" | undefined;
|
|
4836
4836
|
proxy?: boolean | undefined;
|
|
4837
4837
|
} | undefined;
|
|
4838
4838
|
asyncapi?: string | string[] | {
|
|
@@ -5019,7 +5019,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
5019
5019
|
};
|
|
5020
5020
|
} | undefined;
|
|
5021
5021
|
contextual?: {
|
|
5022
|
-
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "mcp" | "cursor" | "vscode" | {
|
|
5022
|
+
options: ("copy" | "view" | "chatgpt" | "claude" | "perplexity" | "grok" | "mcp" | "cursor" | "vscode" | {
|
|
5023
5023
|
href: string | {
|
|
5024
5024
|
base: string;
|
|
5025
5025
|
query?: {
|
|
@@ -239,7 +239,7 @@ export declare const XMintType: import("arktype/internal/variants/object.ts").Ob
|
|
|
239
239
|
noindex?: boolean | undefined;
|
|
240
240
|
isPublic?: boolean | undefined;
|
|
241
241
|
public?: boolean | undefined;
|
|
242
|
-
playground?: "simple" | "none" | "interactive" | undefined;
|
|
242
|
+
playground?: "auth" | "simple" | "none" | "interactive" | undefined;
|
|
243
243
|
keywords?: string[] | undefined;
|
|
244
244
|
} | undefined;
|
|
245
245
|
content?: string | undefined;
|
|
@@ -43,7 +43,7 @@ export const typeList = [
|
|
|
43
43
|
];
|
|
44
44
|
// arktype types for validation
|
|
45
45
|
const IconType = type("'brands' | 'duotone' | 'light' | 'regular' | 'sharp-duotone-solid' | 'sharp-light' | 'sharp-regular' | 'sharp-solid' | 'sharp-thin' | 'solid' | 'thin'");
|
|
46
|
-
const ApiPlaygroundDisplayType = type("'interactive' | 'simple' | 'none'");
|
|
46
|
+
const ApiPlaygroundDisplayType = type("'interactive' | 'simple' | 'none' | 'auth'");
|
|
47
47
|
const PageMetaTagsType = type({
|
|
48
48
|
'+': 'delete',
|
|
49
49
|
'href?': 'string',
|