@mintlify/validation 0.1.277 → 0.1.279
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/apiReference.js +1 -1
- package/dist/mint-config/schemas/v2/index.d.ts +170 -35
- package/dist/mint-config/schemas/v2/properties/api.d.ts +26 -5
- package/dist/mint-config/schemas/v2/properties/api.js +8 -2
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +34 -7
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +34 -7
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +34 -7
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +34 -7
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +26 -5
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +34 -7
- package/dist/mint-config/upgrades/upgradeToDocsConfig.js +20 -16
- package/dist/mint-config/validateConfig.d.ts +40 -10
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -11,7 +11,7 @@ export const apiSchema = z
|
|
|
11
11
|
.object({
|
|
12
12
|
method: z.enum(['bearer', 'basic', 'key', 'cobo']).optional(),
|
|
13
13
|
name: z.string().optional(),
|
|
14
|
-
inputPrefix: z.string().optional(),
|
|
14
|
+
inputPrefix: z.string().optional(), // deprecated
|
|
15
15
|
})
|
|
16
16
|
.strict()
|
|
17
17
|
.optional(),
|
|
@@ -69,13 +69,28 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
69
69
|
languages?: string[] | undefined;
|
|
70
70
|
}>>;
|
|
71
71
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
72
|
-
auth: z.ZodOptional<z.
|
|
72
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
73
|
+
method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
|
|
74
|
+
name: z.ZodOptional<z.ZodString>;
|
|
75
|
+
}, "strip", z.ZodTypeAny, {
|
|
76
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
77
|
+
name?: string | undefined;
|
|
78
|
+
}, {
|
|
79
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
80
|
+
name?: string | undefined;
|
|
81
|
+
}>>;
|
|
73
82
|
server: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
74
83
|
}, "strip", z.ZodTypeAny, {
|
|
75
|
-
auth?:
|
|
84
|
+
auth?: {
|
|
85
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
86
|
+
name?: string | undefined;
|
|
87
|
+
} | undefined;
|
|
76
88
|
server?: string | string[] | undefined;
|
|
77
89
|
}, {
|
|
78
|
-
auth?:
|
|
90
|
+
auth?: {
|
|
91
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
92
|
+
name?: string | undefined;
|
|
93
|
+
} | undefined;
|
|
79
94
|
server?: string | string[] | undefined;
|
|
80
95
|
}>>;
|
|
81
96
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -91,7 +106,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
91
106
|
languages?: string[] | undefined;
|
|
92
107
|
} | undefined;
|
|
93
108
|
mdx?: {
|
|
94
|
-
auth?:
|
|
109
|
+
auth?: {
|
|
110
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
111
|
+
name?: string | undefined;
|
|
112
|
+
} | undefined;
|
|
95
113
|
server?: string | string[] | undefined;
|
|
96
114
|
} | undefined;
|
|
97
115
|
}, {
|
|
@@ -107,7 +125,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
107
125
|
languages?: string[] | undefined;
|
|
108
126
|
} | undefined;
|
|
109
127
|
mdx?: {
|
|
110
|
-
auth?:
|
|
128
|
+
auth?: {
|
|
129
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
130
|
+
name?: string | undefined;
|
|
131
|
+
} | undefined;
|
|
111
132
|
server?: string | string[] | undefined;
|
|
112
133
|
} | undefined;
|
|
113
134
|
}>>;
|
|
@@ -3852,7 +3873,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
3852
3873
|
languages?: string[] | undefined;
|
|
3853
3874
|
} | undefined;
|
|
3854
3875
|
mdx?: {
|
|
3855
|
-
auth?:
|
|
3876
|
+
auth?: {
|
|
3877
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
3878
|
+
name?: string | undefined;
|
|
3879
|
+
} | undefined;
|
|
3856
3880
|
server?: string | string[] | undefined;
|
|
3857
3881
|
} | undefined;
|
|
3858
3882
|
} | undefined;
|
|
@@ -4729,7 +4753,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4729
4753
|
languages?: string[] | undefined;
|
|
4730
4754
|
} | undefined;
|
|
4731
4755
|
mdx?: {
|
|
4732
|
-
auth?:
|
|
4756
|
+
auth?: {
|
|
4757
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
4758
|
+
name?: string | undefined;
|
|
4759
|
+
} | undefined;
|
|
4733
4760
|
server?: string | string[] | undefined;
|
|
4734
4761
|
} | undefined;
|
|
4735
4762
|
} | undefined;
|
|
@@ -4936,13 +4963,28 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4936
4963
|
languages?: string[] | undefined;
|
|
4937
4964
|
}>>;
|
|
4938
4965
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
4939
|
-
auth: z.ZodOptional<z.
|
|
4966
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
4967
|
+
method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
|
|
4968
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4969
|
+
}, "strip", z.ZodTypeAny, {
|
|
4970
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
4971
|
+
name?: string | undefined;
|
|
4972
|
+
}, {
|
|
4973
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
4974
|
+
name?: string | undefined;
|
|
4975
|
+
}>>;
|
|
4940
4976
|
server: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
4941
4977
|
}, "strip", z.ZodTypeAny, {
|
|
4942
|
-
auth?:
|
|
4978
|
+
auth?: {
|
|
4979
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
4980
|
+
name?: string | undefined;
|
|
4981
|
+
} | undefined;
|
|
4943
4982
|
server?: string | string[] | undefined;
|
|
4944
4983
|
}, {
|
|
4945
|
-
auth?:
|
|
4984
|
+
auth?: {
|
|
4985
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
4986
|
+
name?: string | undefined;
|
|
4987
|
+
} | undefined;
|
|
4946
4988
|
server?: string | string[] | undefined;
|
|
4947
4989
|
}>>;
|
|
4948
4990
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4958,7 +5000,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4958
5000
|
languages?: string[] | undefined;
|
|
4959
5001
|
} | undefined;
|
|
4960
5002
|
mdx?: {
|
|
4961
|
-
auth?:
|
|
5003
|
+
auth?: {
|
|
5004
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
5005
|
+
name?: string | undefined;
|
|
5006
|
+
} | undefined;
|
|
4962
5007
|
server?: string | string[] | undefined;
|
|
4963
5008
|
} | undefined;
|
|
4964
5009
|
}, {
|
|
@@ -4974,7 +5019,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4974
5019
|
languages?: string[] | undefined;
|
|
4975
5020
|
} | undefined;
|
|
4976
5021
|
mdx?: {
|
|
4977
|
-
auth?:
|
|
5022
|
+
auth?: {
|
|
5023
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
5024
|
+
name?: string | undefined;
|
|
5025
|
+
} | undefined;
|
|
4978
5026
|
server?: string | string[] | undefined;
|
|
4979
5027
|
} | undefined;
|
|
4980
5028
|
}>>;
|
|
@@ -8719,7 +8767,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8719
8767
|
languages?: string[] | undefined;
|
|
8720
8768
|
} | undefined;
|
|
8721
8769
|
mdx?: {
|
|
8722
|
-
auth?:
|
|
8770
|
+
auth?: {
|
|
8771
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
8772
|
+
name?: string | undefined;
|
|
8773
|
+
} | undefined;
|
|
8723
8774
|
server?: string | string[] | undefined;
|
|
8724
8775
|
} | undefined;
|
|
8725
8776
|
} | undefined;
|
|
@@ -9596,7 +9647,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
9596
9647
|
languages?: string[] | undefined;
|
|
9597
9648
|
} | undefined;
|
|
9598
9649
|
mdx?: {
|
|
9599
|
-
auth?:
|
|
9650
|
+
auth?: {
|
|
9651
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
9652
|
+
name?: string | undefined;
|
|
9653
|
+
} | undefined;
|
|
9600
9654
|
server?: string | string[] | undefined;
|
|
9601
9655
|
} | undefined;
|
|
9602
9656
|
} | undefined;
|
|
@@ -9803,13 +9857,28 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
9803
9857
|
languages?: string[] | undefined;
|
|
9804
9858
|
}>>;
|
|
9805
9859
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
9806
|
-
auth: z.ZodOptional<z.
|
|
9860
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
9861
|
+
method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
|
|
9862
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9863
|
+
}, "strip", z.ZodTypeAny, {
|
|
9864
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
9865
|
+
name?: string | undefined;
|
|
9866
|
+
}, {
|
|
9867
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
9868
|
+
name?: string | undefined;
|
|
9869
|
+
}>>;
|
|
9807
9870
|
server: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
9808
9871
|
}, "strip", z.ZodTypeAny, {
|
|
9809
|
-
auth?:
|
|
9872
|
+
auth?: {
|
|
9873
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
9874
|
+
name?: string | undefined;
|
|
9875
|
+
} | undefined;
|
|
9810
9876
|
server?: string | string[] | undefined;
|
|
9811
9877
|
}, {
|
|
9812
|
-
auth?:
|
|
9878
|
+
auth?: {
|
|
9879
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
9880
|
+
name?: string | undefined;
|
|
9881
|
+
} | undefined;
|
|
9813
9882
|
server?: string | string[] | undefined;
|
|
9814
9883
|
}>>;
|
|
9815
9884
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -9825,7 +9894,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
9825
9894
|
languages?: string[] | undefined;
|
|
9826
9895
|
} | undefined;
|
|
9827
9896
|
mdx?: {
|
|
9828
|
-
auth?:
|
|
9897
|
+
auth?: {
|
|
9898
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
9899
|
+
name?: string | undefined;
|
|
9900
|
+
} | undefined;
|
|
9829
9901
|
server?: string | string[] | undefined;
|
|
9830
9902
|
} | undefined;
|
|
9831
9903
|
}, {
|
|
@@ -9841,7 +9913,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
9841
9913
|
languages?: string[] | undefined;
|
|
9842
9914
|
} | undefined;
|
|
9843
9915
|
mdx?: {
|
|
9844
|
-
auth?:
|
|
9916
|
+
auth?: {
|
|
9917
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
9918
|
+
name?: string | undefined;
|
|
9919
|
+
} | undefined;
|
|
9845
9920
|
server?: string | string[] | undefined;
|
|
9846
9921
|
} | undefined;
|
|
9847
9922
|
}>>;
|
|
@@ -13586,7 +13661,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
13586
13661
|
languages?: string[] | undefined;
|
|
13587
13662
|
} | undefined;
|
|
13588
13663
|
mdx?: {
|
|
13589
|
-
auth?:
|
|
13664
|
+
auth?: {
|
|
13665
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
13666
|
+
name?: string | undefined;
|
|
13667
|
+
} | undefined;
|
|
13590
13668
|
server?: string | string[] | undefined;
|
|
13591
13669
|
} | undefined;
|
|
13592
13670
|
} | undefined;
|
|
@@ -14463,7 +14541,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
14463
14541
|
languages?: string[] | undefined;
|
|
14464
14542
|
} | undefined;
|
|
14465
14543
|
mdx?: {
|
|
14466
|
-
auth?:
|
|
14544
|
+
auth?: {
|
|
14545
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
14546
|
+
name?: string | undefined;
|
|
14547
|
+
} | undefined;
|
|
14467
14548
|
server?: string | string[] | undefined;
|
|
14468
14549
|
} | undefined;
|
|
14469
14550
|
} | undefined;
|
|
@@ -14670,13 +14751,28 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
14670
14751
|
languages?: string[] | undefined;
|
|
14671
14752
|
}>>;
|
|
14672
14753
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
14673
|
-
auth: z.ZodOptional<z.
|
|
14754
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
14755
|
+
method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
|
|
14756
|
+
name: z.ZodOptional<z.ZodString>;
|
|
14757
|
+
}, "strip", z.ZodTypeAny, {
|
|
14758
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
14759
|
+
name?: string | undefined;
|
|
14760
|
+
}, {
|
|
14761
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
14762
|
+
name?: string | undefined;
|
|
14763
|
+
}>>;
|
|
14674
14764
|
server: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
14675
14765
|
}, "strip", z.ZodTypeAny, {
|
|
14676
|
-
auth?:
|
|
14766
|
+
auth?: {
|
|
14767
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
14768
|
+
name?: string | undefined;
|
|
14769
|
+
} | undefined;
|
|
14677
14770
|
server?: string | string[] | undefined;
|
|
14678
14771
|
}, {
|
|
14679
|
-
auth?:
|
|
14772
|
+
auth?: {
|
|
14773
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
14774
|
+
name?: string | undefined;
|
|
14775
|
+
} | undefined;
|
|
14680
14776
|
server?: string | string[] | undefined;
|
|
14681
14777
|
}>>;
|
|
14682
14778
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -14692,7 +14788,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
14692
14788
|
languages?: string[] | undefined;
|
|
14693
14789
|
} | undefined;
|
|
14694
14790
|
mdx?: {
|
|
14695
|
-
auth?:
|
|
14791
|
+
auth?: {
|
|
14792
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
14793
|
+
name?: string | undefined;
|
|
14794
|
+
} | undefined;
|
|
14696
14795
|
server?: string | string[] | undefined;
|
|
14697
14796
|
} | undefined;
|
|
14698
14797
|
}, {
|
|
@@ -14708,7 +14807,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
14708
14807
|
languages?: string[] | undefined;
|
|
14709
14808
|
} | undefined;
|
|
14710
14809
|
mdx?: {
|
|
14711
|
-
auth?:
|
|
14810
|
+
auth?: {
|
|
14811
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
14812
|
+
name?: string | undefined;
|
|
14813
|
+
} | undefined;
|
|
14712
14814
|
server?: string | string[] | undefined;
|
|
14713
14815
|
} | undefined;
|
|
14714
14816
|
}>>;
|
|
@@ -18453,7 +18555,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
18453
18555
|
languages?: string[] | undefined;
|
|
18454
18556
|
} | undefined;
|
|
18455
18557
|
mdx?: {
|
|
18456
|
-
auth?:
|
|
18558
|
+
auth?: {
|
|
18559
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
18560
|
+
name?: string | undefined;
|
|
18561
|
+
} | undefined;
|
|
18457
18562
|
server?: string | string[] | undefined;
|
|
18458
18563
|
} | undefined;
|
|
18459
18564
|
} | undefined;
|
|
@@ -19330,7 +19435,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
19330
19435
|
languages?: string[] | undefined;
|
|
19331
19436
|
} | undefined;
|
|
19332
19437
|
mdx?: {
|
|
19333
|
-
auth?:
|
|
19438
|
+
auth?: {
|
|
19439
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
19440
|
+
name?: string | undefined;
|
|
19441
|
+
} | undefined;
|
|
19334
19442
|
server?: string | string[] | undefined;
|
|
19335
19443
|
} | undefined;
|
|
19336
19444
|
} | undefined;
|
|
@@ -19537,13 +19645,28 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
19537
19645
|
languages?: string[] | undefined;
|
|
19538
19646
|
}>>;
|
|
19539
19647
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
19540
|
-
auth: z.ZodOptional<z.
|
|
19648
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
19649
|
+
method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
|
|
19650
|
+
name: z.ZodOptional<z.ZodString>;
|
|
19651
|
+
}, "strip", z.ZodTypeAny, {
|
|
19652
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
19653
|
+
name?: string | undefined;
|
|
19654
|
+
}, {
|
|
19655
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
19656
|
+
name?: string | undefined;
|
|
19657
|
+
}>>;
|
|
19541
19658
|
server: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
19542
19659
|
}, "strip", z.ZodTypeAny, {
|
|
19543
|
-
auth?:
|
|
19660
|
+
auth?: {
|
|
19661
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
19662
|
+
name?: string | undefined;
|
|
19663
|
+
} | undefined;
|
|
19544
19664
|
server?: string | string[] | undefined;
|
|
19545
19665
|
}, {
|
|
19546
|
-
auth?:
|
|
19666
|
+
auth?: {
|
|
19667
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
19668
|
+
name?: string | undefined;
|
|
19669
|
+
} | undefined;
|
|
19547
19670
|
server?: string | string[] | undefined;
|
|
19548
19671
|
}>>;
|
|
19549
19672
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -19559,7 +19682,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
19559
19682
|
languages?: string[] | undefined;
|
|
19560
19683
|
} | undefined;
|
|
19561
19684
|
mdx?: {
|
|
19562
|
-
auth?:
|
|
19685
|
+
auth?: {
|
|
19686
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
19687
|
+
name?: string | undefined;
|
|
19688
|
+
} | undefined;
|
|
19563
19689
|
server?: string | string[] | undefined;
|
|
19564
19690
|
} | undefined;
|
|
19565
19691
|
}, {
|
|
@@ -19575,7 +19701,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
19575
19701
|
languages?: string[] | undefined;
|
|
19576
19702
|
} | undefined;
|
|
19577
19703
|
mdx?: {
|
|
19578
|
-
auth?:
|
|
19704
|
+
auth?: {
|
|
19705
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
19706
|
+
name?: string | undefined;
|
|
19707
|
+
} | undefined;
|
|
19579
19708
|
server?: string | string[] | undefined;
|
|
19580
19709
|
} | undefined;
|
|
19581
19710
|
}>>;
|
|
@@ -23320,7 +23449,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
23320
23449
|
languages?: string[] | undefined;
|
|
23321
23450
|
} | undefined;
|
|
23322
23451
|
mdx?: {
|
|
23323
|
-
auth?:
|
|
23452
|
+
auth?: {
|
|
23453
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
23454
|
+
name?: string | undefined;
|
|
23455
|
+
} | undefined;
|
|
23324
23456
|
server?: string | string[] | undefined;
|
|
23325
23457
|
} | undefined;
|
|
23326
23458
|
} | undefined;
|
|
@@ -24197,7 +24329,10 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
24197
24329
|
languages?: string[] | undefined;
|
|
24198
24330
|
} | undefined;
|
|
24199
24331
|
mdx?: {
|
|
24200
|
-
auth?:
|
|
24332
|
+
auth?: {
|
|
24333
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
24334
|
+
name?: string | undefined;
|
|
24335
|
+
} | undefined;
|
|
24201
24336
|
server?: string | string[] | undefined;
|
|
24202
24337
|
} | undefined;
|
|
24203
24338
|
} | undefined;
|
|
@@ -28,13 +28,28 @@ export declare const apiSchema: z.ZodObject<{
|
|
|
28
28
|
languages?: string[] | undefined;
|
|
29
29
|
}>>;
|
|
30
30
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
31
|
-
auth: z.ZodOptional<z.
|
|
31
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
32
|
+
method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
|
|
33
|
+
name: z.ZodOptional<z.ZodString>;
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
36
|
+
name?: string | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
39
|
+
name?: string | undefined;
|
|
40
|
+
}>>;
|
|
32
41
|
server: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
33
42
|
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
auth?:
|
|
43
|
+
auth?: {
|
|
44
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
45
|
+
name?: string | undefined;
|
|
46
|
+
} | undefined;
|
|
35
47
|
server?: string | string[] | undefined;
|
|
36
48
|
}, {
|
|
37
|
-
auth?:
|
|
49
|
+
auth?: {
|
|
50
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
51
|
+
name?: string | undefined;
|
|
52
|
+
} | undefined;
|
|
38
53
|
server?: string | string[] | undefined;
|
|
39
54
|
}>>;
|
|
40
55
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -50,7 +65,10 @@ export declare const apiSchema: z.ZodObject<{
|
|
|
50
65
|
languages?: string[] | undefined;
|
|
51
66
|
} | undefined;
|
|
52
67
|
mdx?: {
|
|
53
|
-
auth?:
|
|
68
|
+
auth?: {
|
|
69
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
70
|
+
name?: string | undefined;
|
|
71
|
+
} | undefined;
|
|
54
72
|
server?: string | string[] | undefined;
|
|
55
73
|
} | undefined;
|
|
56
74
|
}, {
|
|
@@ -66,7 +84,10 @@ export declare const apiSchema: z.ZodObject<{
|
|
|
66
84
|
languages?: string[] | undefined;
|
|
67
85
|
} | undefined;
|
|
68
86
|
mdx?: {
|
|
69
|
-
auth?:
|
|
87
|
+
auth?: {
|
|
88
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
89
|
+
name?: string | undefined;
|
|
90
|
+
} | undefined;
|
|
70
91
|
server?: string | string[] | undefined;
|
|
71
92
|
} | undefined;
|
|
72
93
|
}>;
|
|
@@ -28,9 +28,15 @@ export const apiSchema = z
|
|
|
28
28
|
mdx: z
|
|
29
29
|
.object({
|
|
30
30
|
auth: z
|
|
31
|
-
.
|
|
31
|
+
.object({
|
|
32
|
+
method: z
|
|
33
|
+
.enum(['bearer', 'basic', 'key', 'cobo'])
|
|
34
|
+
.optional()
|
|
35
|
+
.describe('Authentication method for the API'),
|
|
36
|
+
name: z.string().optional().describe('Authentication name for the API'),
|
|
37
|
+
})
|
|
32
38
|
.optional()
|
|
33
|
-
.describe('Authentication
|
|
39
|
+
.describe('Authentication configuration for the API'),
|
|
34
40
|
server: z
|
|
35
41
|
.union([z.string().url(), z.array(z.string().url())])
|
|
36
42
|
.optional()
|
|
@@ -68,13 +68,28 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
68
68
|
languages?: string[] | undefined;
|
|
69
69
|
}>>;
|
|
70
70
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
71
|
-
auth: z.ZodOptional<z.
|
|
71
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
72
|
+
method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
|
|
73
|
+
name: z.ZodOptional<z.ZodString>;
|
|
74
|
+
}, "strip", z.ZodTypeAny, {
|
|
75
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
76
|
+
name?: string | undefined;
|
|
77
|
+
}, {
|
|
78
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
79
|
+
name?: string | undefined;
|
|
80
|
+
}>>;
|
|
72
81
|
server: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
73
82
|
}, "strip", z.ZodTypeAny, {
|
|
74
|
-
auth?:
|
|
83
|
+
auth?: {
|
|
84
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
85
|
+
name?: string | undefined;
|
|
86
|
+
} | undefined;
|
|
75
87
|
server?: string | string[] | undefined;
|
|
76
88
|
}, {
|
|
77
|
-
auth?:
|
|
89
|
+
auth?: {
|
|
90
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
91
|
+
name?: string | undefined;
|
|
92
|
+
} | undefined;
|
|
78
93
|
server?: string | string[] | undefined;
|
|
79
94
|
}>>;
|
|
80
95
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -90,7 +105,10 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
90
105
|
languages?: string[] | undefined;
|
|
91
106
|
} | undefined;
|
|
92
107
|
mdx?: {
|
|
93
|
-
auth?:
|
|
108
|
+
auth?: {
|
|
109
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
110
|
+
name?: string | undefined;
|
|
111
|
+
} | undefined;
|
|
94
112
|
server?: string | string[] | undefined;
|
|
95
113
|
} | undefined;
|
|
96
114
|
}, {
|
|
@@ -106,7 +124,10 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
106
124
|
languages?: string[] | undefined;
|
|
107
125
|
} | undefined;
|
|
108
126
|
mdx?: {
|
|
109
|
-
auth?:
|
|
127
|
+
auth?: {
|
|
128
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
129
|
+
name?: string | undefined;
|
|
130
|
+
} | undefined;
|
|
110
131
|
server?: string | string[] | undefined;
|
|
111
132
|
} | undefined;
|
|
112
133
|
}>>;
|
|
@@ -3851,7 +3872,10 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
3851
3872
|
languages?: string[] | undefined;
|
|
3852
3873
|
} | undefined;
|
|
3853
3874
|
mdx?: {
|
|
3854
|
-
auth?:
|
|
3875
|
+
auth?: {
|
|
3876
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
3877
|
+
name?: string | undefined;
|
|
3878
|
+
} | undefined;
|
|
3855
3879
|
server?: string | string[] | undefined;
|
|
3856
3880
|
} | undefined;
|
|
3857
3881
|
} | undefined;
|
|
@@ -4728,7 +4752,10 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
4728
4752
|
languages?: string[] | undefined;
|
|
4729
4753
|
} | undefined;
|
|
4730
4754
|
mdx?: {
|
|
4731
|
-
auth?:
|
|
4755
|
+
auth?: {
|
|
4756
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
4757
|
+
name?: string | undefined;
|
|
4758
|
+
} | undefined;
|
|
4732
4759
|
server?: string | string[] | undefined;
|
|
4733
4760
|
} | undefined;
|
|
4734
4761
|
} | undefined;
|
|
@@ -68,13 +68,28 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
68
68
|
languages?: string[] | undefined;
|
|
69
69
|
}>>;
|
|
70
70
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
71
|
-
auth: z.ZodOptional<z.
|
|
71
|
+
auth: z.ZodOptional<z.ZodObject<{
|
|
72
|
+
method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
|
|
73
|
+
name: z.ZodOptional<z.ZodString>;
|
|
74
|
+
}, "strip", z.ZodTypeAny, {
|
|
75
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
76
|
+
name?: string | undefined;
|
|
77
|
+
}, {
|
|
78
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
79
|
+
name?: string | undefined;
|
|
80
|
+
}>>;
|
|
72
81
|
server: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
73
82
|
}, "strip", z.ZodTypeAny, {
|
|
74
|
-
auth?:
|
|
83
|
+
auth?: {
|
|
84
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
85
|
+
name?: string | undefined;
|
|
86
|
+
} | undefined;
|
|
75
87
|
server?: string | string[] | undefined;
|
|
76
88
|
}, {
|
|
77
|
-
auth?:
|
|
89
|
+
auth?: {
|
|
90
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
91
|
+
name?: string | undefined;
|
|
92
|
+
} | undefined;
|
|
78
93
|
server?: string | string[] | undefined;
|
|
79
94
|
}>>;
|
|
80
95
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -90,7 +105,10 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
90
105
|
languages?: string[] | undefined;
|
|
91
106
|
} | undefined;
|
|
92
107
|
mdx?: {
|
|
93
|
-
auth?:
|
|
108
|
+
auth?: {
|
|
109
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
110
|
+
name?: string | undefined;
|
|
111
|
+
} | undefined;
|
|
94
112
|
server?: string | string[] | undefined;
|
|
95
113
|
} | undefined;
|
|
96
114
|
}, {
|
|
@@ -106,7 +124,10 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
106
124
|
languages?: string[] | undefined;
|
|
107
125
|
} | undefined;
|
|
108
126
|
mdx?: {
|
|
109
|
-
auth?:
|
|
127
|
+
auth?: {
|
|
128
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
129
|
+
name?: string | undefined;
|
|
130
|
+
} | undefined;
|
|
110
131
|
server?: string | string[] | undefined;
|
|
111
132
|
} | undefined;
|
|
112
133
|
}>>;
|
|
@@ -3851,7 +3872,10 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
3851
3872
|
languages?: string[] | undefined;
|
|
3852
3873
|
} | undefined;
|
|
3853
3874
|
mdx?: {
|
|
3854
|
-
auth?:
|
|
3875
|
+
auth?: {
|
|
3876
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
3877
|
+
name?: string | undefined;
|
|
3878
|
+
} | undefined;
|
|
3855
3879
|
server?: string | string[] | undefined;
|
|
3856
3880
|
} | undefined;
|
|
3857
3881
|
} | undefined;
|
|
@@ -4728,7 +4752,10 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
4728
4752
|
languages?: string[] | undefined;
|
|
4729
4753
|
} | undefined;
|
|
4730
4754
|
mdx?: {
|
|
4731
|
-
auth?:
|
|
4755
|
+
auth?: {
|
|
4756
|
+
method?: "key" | "bearer" | "basic" | "cobo" | undefined;
|
|
4757
|
+
name?: string | undefined;
|
|
4758
|
+
} | undefined;
|
|
4732
4759
|
server?: string | string[] | undefined;
|
|
4733
4760
|
} | undefined;
|
|
4734
4761
|
} | undefined;
|