@mintlify/validation 0.1.42 → 0.1.44
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.
|
@@ -1,4 +1,77 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const apiSchema: z.ZodObject<{
|
|
3
|
+
baseUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
4
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
5
|
+
method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key"]>>;
|
|
6
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7
|
+
inputPrefix: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, "strict", z.ZodTypeAny, {
|
|
9
|
+
method?: "bearer" | "basic" | "key" | undefined;
|
|
10
|
+
name?: string | undefined;
|
|
11
|
+
inputPrefix?: string | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
method?: "bearer" | "basic" | "key" | undefined;
|
|
14
|
+
name?: string | undefined;
|
|
15
|
+
inputPrefix?: string | undefined;
|
|
16
|
+
}>>;
|
|
17
|
+
playground: z.ZodOptional<z.ZodObject<{
|
|
18
|
+
mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["show", "simple", "hide"]>>>;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
mode: "show" | "simple" | "hide";
|
|
21
|
+
}, {
|
|
22
|
+
mode?: "show" | "simple" | "hide" | undefined;
|
|
23
|
+
}>>;
|
|
24
|
+
request: z.ZodOptional<z.ZodObject<{
|
|
25
|
+
example: z.ZodOptional<z.ZodObject<{
|
|
26
|
+
showOptionalParams: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
showOptionalParams: boolean;
|
|
29
|
+
}, {
|
|
30
|
+
showOptionalParams?: boolean | undefined;
|
|
31
|
+
}>>;
|
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
example?: {
|
|
34
|
+
showOptionalParams: boolean;
|
|
35
|
+
} | undefined;
|
|
36
|
+
}, {
|
|
37
|
+
example?: {
|
|
38
|
+
showOptionalParams?: boolean | undefined;
|
|
39
|
+
} | undefined;
|
|
40
|
+
}>>;
|
|
41
|
+
maintainOrder: z.ZodOptional<z.ZodBoolean>;
|
|
42
|
+
}, "strict", z.ZodTypeAny, {
|
|
43
|
+
baseUrl?: string | string[] | undefined;
|
|
44
|
+
auth?: {
|
|
45
|
+
method?: "bearer" | "basic" | "key" | undefined;
|
|
46
|
+
name?: string | undefined;
|
|
47
|
+
inputPrefix?: string | undefined;
|
|
48
|
+
} | undefined;
|
|
49
|
+
playground?: {
|
|
50
|
+
mode: "show" | "simple" | "hide";
|
|
51
|
+
} | undefined;
|
|
52
|
+
request?: {
|
|
53
|
+
example?: {
|
|
54
|
+
showOptionalParams: boolean;
|
|
55
|
+
} | undefined;
|
|
56
|
+
} | undefined;
|
|
57
|
+
maintainOrder?: boolean | undefined;
|
|
58
|
+
}, {
|
|
59
|
+
baseUrl?: string | string[] | undefined;
|
|
60
|
+
auth?: {
|
|
61
|
+
method?: "bearer" | "basic" | "key" | undefined;
|
|
62
|
+
name?: string | undefined;
|
|
63
|
+
inputPrefix?: string | undefined;
|
|
64
|
+
} | undefined;
|
|
65
|
+
playground?: {
|
|
66
|
+
mode?: "show" | "simple" | "hide" | undefined;
|
|
67
|
+
} | undefined;
|
|
68
|
+
request?: {
|
|
69
|
+
example?: {
|
|
70
|
+
showOptionalParams?: boolean | undefined;
|
|
71
|
+
} | undefined;
|
|
72
|
+
} | undefined;
|
|
73
|
+
maintainOrder?: boolean | undefined;
|
|
74
|
+
}>;
|
|
2
75
|
export declare const configSchema: z.ZodObject<{
|
|
3
76
|
$schema: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
4
77
|
mintlify: z.ZodOptional<z.ZodString>;
|
|
@@ -217,13 +290,6 @@ export declare const configSchema: z.ZodObject<{
|
|
|
217
290
|
url: string;
|
|
218
291
|
}>]>, "many">>;
|
|
219
292
|
navigation: z.ZodArray<z.ZodType<import("../..").NavigationType, z.ZodTypeDef, import("../..").NavigationType>, "many">;
|
|
220
|
-
inkeep: z.ZodOptional<z.ZodObject<{
|
|
221
|
-
integrationApiKey: z.ZodString;
|
|
222
|
-
}, "strip", z.ZodTypeAny, {
|
|
223
|
-
integrationApiKey: string;
|
|
224
|
-
}, {
|
|
225
|
-
integrationApiKey: string;
|
|
226
|
-
}>>;
|
|
227
293
|
primaryTab: z.ZodOptional<z.ZodObject<{
|
|
228
294
|
name: z.ZodString;
|
|
229
295
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -496,12 +562,25 @@ export declare const configSchema: z.ZodObject<{
|
|
|
496
562
|
integrations: z.ZodOptional<z.ZodObject<{
|
|
497
563
|
intercom: z.ZodOptional<z.ZodString>;
|
|
498
564
|
frontchat: z.ZodOptional<z.ZodString>;
|
|
565
|
+
inkeep: z.ZodOptional<z.ZodObject<{
|
|
566
|
+
integrationApiKey: z.ZodString;
|
|
567
|
+
}, "strip", z.ZodTypeAny, {
|
|
568
|
+
integrationApiKey: string;
|
|
569
|
+
}, {
|
|
570
|
+
integrationApiKey: string;
|
|
571
|
+
}>>;
|
|
499
572
|
}, "strip", z.ZodTypeAny, {
|
|
500
573
|
intercom?: string | undefined;
|
|
501
574
|
frontchat?: string | undefined;
|
|
575
|
+
inkeep?: {
|
|
576
|
+
integrationApiKey: string;
|
|
577
|
+
} | undefined;
|
|
502
578
|
}, {
|
|
503
579
|
intercom?: string | undefined;
|
|
504
580
|
frontchat?: string | undefined;
|
|
581
|
+
inkeep?: {
|
|
582
|
+
integrationApiKey: string;
|
|
583
|
+
} | undefined;
|
|
505
584
|
}>>;
|
|
506
585
|
isWhiteLabeled: z.ZodOptional<z.ZodBoolean>;
|
|
507
586
|
__injected: z.ZodUndefined;
|
|
@@ -575,9 +654,6 @@ export declare const configSchema: z.ZodObject<{
|
|
|
575
654
|
type: "github";
|
|
576
655
|
url: string;
|
|
577
656
|
})[] | undefined;
|
|
578
|
-
inkeep?: {
|
|
579
|
-
integrationApiKey: string;
|
|
580
|
-
} | undefined;
|
|
581
657
|
primaryTab?: {
|
|
582
658
|
name: string;
|
|
583
659
|
} | undefined;
|
|
@@ -656,6 +732,9 @@ export declare const configSchema: z.ZodObject<{
|
|
|
656
732
|
integrations?: {
|
|
657
733
|
intercom?: string | undefined;
|
|
658
734
|
frontchat?: string | undefined;
|
|
735
|
+
inkeep?: {
|
|
736
|
+
integrationApiKey: string;
|
|
737
|
+
} | undefined;
|
|
659
738
|
} | undefined;
|
|
660
739
|
isWhiteLabeled?: boolean | undefined;
|
|
661
740
|
__injected?: undefined;
|
|
@@ -729,9 +808,6 @@ export declare const configSchema: z.ZodObject<{
|
|
|
729
808
|
type: "github";
|
|
730
809
|
url: string;
|
|
731
810
|
})[] | undefined;
|
|
732
|
-
inkeep?: {
|
|
733
|
-
integrationApiKey: string;
|
|
734
|
-
} | undefined;
|
|
735
811
|
primaryTab?: {
|
|
736
812
|
name: string;
|
|
737
813
|
} | undefined;
|
|
@@ -810,6 +886,9 @@ export declare const configSchema: z.ZodObject<{
|
|
|
810
886
|
integrations?: {
|
|
811
887
|
intercom?: string | undefined;
|
|
812
888
|
frontchat?: string | undefined;
|
|
889
|
+
inkeep?: {
|
|
890
|
+
integrationApiKey: string;
|
|
891
|
+
} | undefined;
|
|
813
892
|
} | undefined;
|
|
814
893
|
isWhiteLabeled?: boolean | undefined;
|
|
815
894
|
__injected?: undefined;
|