@mintlify/validation 0.1.625 → 0.1.627
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/config.d.ts +7 -7
- package/dist/mint-config/schemas/v1/versions.d.ts +5 -5
- package/dist/mint-config/schemas/v2/index.d.ts +50 -0
- package/dist/mint-config/schemas/v2/properties/api.d.ts +3 -0
- package/dist/mint-config/schemas/v2/properties/api.js +4 -0
- package/dist/mint-config/schemas/v2/properties/localization.d.ts +1 -1
- package/dist/mint-config/schemas/v2/properties/localization.js +2 -0
- package/dist/mint-config/schemas/v2/properties/navigation/languages.d.ts +6 -6
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +5 -0
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +5 -0
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +5 -0
- package/dist/mint-config/schemas/v2/themes/luma.d.ts +5 -0
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +5 -0
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +5 -0
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +5 -0
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +3 -0
- package/dist/mint-config/schemas/v2/themes/sequoia.d.ts +5 -0
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +5 -0
- package/dist/mint-config/validateConfig.d.ts +20 -2
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -147,27 +147,27 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
147
147
|
name: z.ZodString;
|
|
148
148
|
url: z.ZodOptional<z.ZodString>;
|
|
149
149
|
default: z.ZodOptional<z.ZodLiteral<true>>;
|
|
150
|
-
locale: z.ZodOptional<z.ZodEnum<["en", "cn", "zh", "zh-Hans", "zh-Hant", "es", "fr", "fr-CA", "fr-ca", "ja", "jp", "ja-jp", "pt", "pt-BR", "de", "ko", "it", "ru", "ro", "cs", "id", "ar", "tr", "hi", "sv", "no", "lv", "nl", "uk", "vi", "pl", "uz", "he"]>>;
|
|
150
|
+
locale: z.ZodOptional<z.ZodEnum<["en", "cn", "zh", "zh-Hans", "zh-Hant", "es", "fr", "fr-CA", "fr-ca", "ja", "jp", "ja-jp", "pt", "pt-BR", "de", "ko", "it", "ru", "ro", "cs", "id", "ar", "tr", "hi", "sv", "no", "lv", "nl", "uk", "vi", "pl", "uz", "he", "ca"]>>;
|
|
151
151
|
}, "strict", z.ZodTypeAny, {
|
|
152
152
|
name: string;
|
|
153
153
|
url?: string | undefined;
|
|
154
154
|
default?: true | undefined;
|
|
155
|
-
locale?: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | undefined;
|
|
155
|
+
locale?: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | "ca" | undefined;
|
|
156
156
|
}, {
|
|
157
157
|
name: string;
|
|
158
158
|
url?: string | undefined;
|
|
159
159
|
default?: true | undefined;
|
|
160
|
-
locale?: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | undefined;
|
|
160
|
+
locale?: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | "ca" | undefined;
|
|
161
161
|
}>]>, "many">, (string | {
|
|
162
162
|
name: string;
|
|
163
163
|
url?: string | undefined;
|
|
164
164
|
default?: true | undefined;
|
|
165
|
-
locale?: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | undefined;
|
|
165
|
+
locale?: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | "ca" | undefined;
|
|
166
166
|
})[], (string | {
|
|
167
167
|
name: string;
|
|
168
168
|
url?: string | undefined;
|
|
169
169
|
default?: true | undefined;
|
|
170
|
-
locale?: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | undefined;
|
|
170
|
+
locale?: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | "ca" | undefined;
|
|
171
171
|
})[]>>;
|
|
172
172
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
173
173
|
codeBlock: z.ZodOptional<z.ZodObject<{
|
|
@@ -971,7 +971,7 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
971
971
|
name: string;
|
|
972
972
|
url?: string | undefined;
|
|
973
973
|
default?: true | undefined;
|
|
974
|
-
locale?: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | undefined;
|
|
974
|
+
locale?: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | "ca" | undefined;
|
|
975
975
|
})[] | undefined;
|
|
976
976
|
metadata?: Record<string, string> | undefined;
|
|
977
977
|
codeBlock?: {
|
|
@@ -1217,7 +1217,7 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1217
1217
|
name: string;
|
|
1218
1218
|
url?: string | undefined;
|
|
1219
1219
|
default?: true | undefined;
|
|
1220
|
-
locale?: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | undefined;
|
|
1220
|
+
locale?: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | "ca" | undefined;
|
|
1221
1221
|
})[] | undefined;
|
|
1222
1222
|
metadata?: Record<string, string> | undefined;
|
|
1223
1223
|
codeBlock?: {
|
|
@@ -3,25 +3,25 @@ export declare const versionsSchema: z.ZodEffects<z.ZodArray<z.ZodUnion<[z.ZodSt
|
|
|
3
3
|
name: z.ZodString;
|
|
4
4
|
url: z.ZodOptional<z.ZodString>;
|
|
5
5
|
default: z.ZodOptional<z.ZodLiteral<true>>;
|
|
6
|
-
locale: z.ZodOptional<z.ZodEnum<["en", "cn", "zh", "zh-Hans", "zh-Hant", "es", "fr", "fr-CA", "fr-ca", "ja", "jp", "ja-jp", "pt", "pt-BR", "de", "ko", "it", "ru", "ro", "cs", "id", "ar", "tr", "hi", "sv", "no", "lv", "nl", "uk", "vi", "pl", "uz", "he"]>>;
|
|
6
|
+
locale: z.ZodOptional<z.ZodEnum<["en", "cn", "zh", "zh-Hans", "zh-Hant", "es", "fr", "fr-CA", "fr-ca", "ja", "jp", "ja-jp", "pt", "pt-BR", "de", "ko", "it", "ru", "ro", "cs", "id", "ar", "tr", "hi", "sv", "no", "lv", "nl", "uk", "vi", "pl", "uz", "he", "ca"]>>;
|
|
7
7
|
}, "strict", z.ZodTypeAny, {
|
|
8
8
|
name: string;
|
|
9
9
|
url?: string | undefined;
|
|
10
10
|
default?: true | undefined;
|
|
11
|
-
locale?: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | undefined;
|
|
11
|
+
locale?: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | "ca" | undefined;
|
|
12
12
|
}, {
|
|
13
13
|
name: string;
|
|
14
14
|
url?: string | undefined;
|
|
15
15
|
default?: true | undefined;
|
|
16
|
-
locale?: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | undefined;
|
|
16
|
+
locale?: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | "ca" | undefined;
|
|
17
17
|
}>]>, "many">, (string | {
|
|
18
18
|
name: string;
|
|
19
19
|
url?: string | undefined;
|
|
20
20
|
default?: true | undefined;
|
|
21
|
-
locale?: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | undefined;
|
|
21
|
+
locale?: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | "ca" | undefined;
|
|
22
22
|
})[], (string | {
|
|
23
23
|
name: string;
|
|
24
24
|
url?: string | undefined;
|
|
25
25
|
default?: true | undefined;
|
|
26
|
-
locale?: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | undefined;
|
|
26
|
+
locale?: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | "ca" | undefined;
|
|
27
27
|
})[]>;
|
|
@@ -97,6 +97,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
97
97
|
prefill?: boolean | undefined;
|
|
98
98
|
autogenerate?: boolean | undefined;
|
|
99
99
|
}>>;
|
|
100
|
+
url: z.ZodOptional<z.ZodEnum<["full"]>>;
|
|
100
101
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
101
102
|
auth: z.ZodOptional<z.ZodObject<{
|
|
102
103
|
method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
|
|
@@ -126,6 +127,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
126
127
|
params?: {
|
|
127
128
|
expanded?: "all" | "closed" | undefined;
|
|
128
129
|
} | undefined;
|
|
130
|
+
url?: "full" | undefined;
|
|
129
131
|
openapi?: string | string[] | {
|
|
130
132
|
source: string;
|
|
131
133
|
directory?: string | undefined;
|
|
@@ -155,6 +157,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
155
157
|
params?: {
|
|
156
158
|
expanded?: "all" | "closed" | undefined;
|
|
157
159
|
} | undefined;
|
|
160
|
+
url?: "full" | undefined;
|
|
158
161
|
openapi?: string | string[] | {
|
|
159
162
|
source: string;
|
|
160
163
|
directory?: string | undefined;
|
|
@@ -1619,6 +1622,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1619
1622
|
params?: {
|
|
1620
1623
|
expanded?: "all" | "closed" | undefined;
|
|
1621
1624
|
} | undefined;
|
|
1625
|
+
url?: "full" | undefined;
|
|
1622
1626
|
openapi?: string | string[] | {
|
|
1623
1627
|
source: string;
|
|
1624
1628
|
directory?: string | undefined;
|
|
@@ -1970,6 +1974,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
1970
1974
|
params?: {
|
|
1971
1975
|
expanded?: "all" | "closed" | undefined;
|
|
1972
1976
|
} | undefined;
|
|
1977
|
+
url?: "full" | undefined;
|
|
1973
1978
|
openapi?: string | string[] | {
|
|
1974
1979
|
source: string;
|
|
1975
1980
|
directory?: string | undefined;
|
|
@@ -2311,6 +2316,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
2311
2316
|
prefill?: boolean | undefined;
|
|
2312
2317
|
autogenerate?: boolean | undefined;
|
|
2313
2318
|
}>>;
|
|
2319
|
+
url: z.ZodOptional<z.ZodEnum<["full"]>>;
|
|
2314
2320
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
2315
2321
|
auth: z.ZodOptional<z.ZodObject<{
|
|
2316
2322
|
method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
|
|
@@ -2340,6 +2346,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
2340
2346
|
params?: {
|
|
2341
2347
|
expanded?: "all" | "closed" | undefined;
|
|
2342
2348
|
} | undefined;
|
|
2349
|
+
url?: "full" | undefined;
|
|
2343
2350
|
openapi?: string | string[] | {
|
|
2344
2351
|
source: string;
|
|
2345
2352
|
directory?: string | undefined;
|
|
@@ -2369,6 +2376,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
2369
2376
|
params?: {
|
|
2370
2377
|
expanded?: "all" | "closed" | undefined;
|
|
2371
2378
|
} | undefined;
|
|
2379
|
+
url?: "full" | undefined;
|
|
2372
2380
|
openapi?: string | string[] | {
|
|
2373
2381
|
source: string;
|
|
2374
2382
|
directory?: string | undefined;
|
|
@@ -3833,6 +3841,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
3833
3841
|
params?: {
|
|
3834
3842
|
expanded?: "all" | "closed" | undefined;
|
|
3835
3843
|
} | undefined;
|
|
3844
|
+
url?: "full" | undefined;
|
|
3836
3845
|
openapi?: string | string[] | {
|
|
3837
3846
|
source: string;
|
|
3838
3847
|
directory?: string | undefined;
|
|
@@ -4184,6 +4193,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4184
4193
|
params?: {
|
|
4185
4194
|
expanded?: "all" | "closed" | undefined;
|
|
4186
4195
|
} | undefined;
|
|
4196
|
+
url?: "full" | undefined;
|
|
4187
4197
|
openapi?: string | string[] | {
|
|
4188
4198
|
source: string;
|
|
4189
4199
|
directory?: string | undefined;
|
|
@@ -4525,6 +4535,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4525
4535
|
prefill?: boolean | undefined;
|
|
4526
4536
|
autogenerate?: boolean | undefined;
|
|
4527
4537
|
}>>;
|
|
4538
|
+
url: z.ZodOptional<z.ZodEnum<["full"]>>;
|
|
4528
4539
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
4529
4540
|
auth: z.ZodOptional<z.ZodObject<{
|
|
4530
4541
|
method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
|
|
@@ -4554,6 +4565,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4554
4565
|
params?: {
|
|
4555
4566
|
expanded?: "all" | "closed" | undefined;
|
|
4556
4567
|
} | undefined;
|
|
4568
|
+
url?: "full" | undefined;
|
|
4557
4569
|
openapi?: string | string[] | {
|
|
4558
4570
|
source: string;
|
|
4559
4571
|
directory?: string | undefined;
|
|
@@ -4583,6 +4595,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
4583
4595
|
params?: {
|
|
4584
4596
|
expanded?: "all" | "closed" | undefined;
|
|
4585
4597
|
} | undefined;
|
|
4598
|
+
url?: "full" | undefined;
|
|
4586
4599
|
openapi?: string | string[] | {
|
|
4587
4600
|
source: string;
|
|
4588
4601
|
directory?: string | undefined;
|
|
@@ -6047,6 +6060,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6047
6060
|
params?: {
|
|
6048
6061
|
expanded?: "all" | "closed" | undefined;
|
|
6049
6062
|
} | undefined;
|
|
6063
|
+
url?: "full" | undefined;
|
|
6050
6064
|
openapi?: string | string[] | {
|
|
6051
6065
|
source: string;
|
|
6052
6066
|
directory?: string | undefined;
|
|
@@ -6398,6 +6412,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6398
6412
|
params?: {
|
|
6399
6413
|
expanded?: "all" | "closed" | undefined;
|
|
6400
6414
|
} | undefined;
|
|
6415
|
+
url?: "full" | undefined;
|
|
6401
6416
|
openapi?: string | string[] | {
|
|
6402
6417
|
source: string;
|
|
6403
6418
|
directory?: string | undefined;
|
|
@@ -6739,6 +6754,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6739
6754
|
prefill?: boolean | undefined;
|
|
6740
6755
|
autogenerate?: boolean | undefined;
|
|
6741
6756
|
}>>;
|
|
6757
|
+
url: z.ZodOptional<z.ZodEnum<["full"]>>;
|
|
6742
6758
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
6743
6759
|
auth: z.ZodOptional<z.ZodObject<{
|
|
6744
6760
|
method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
|
|
@@ -6768,6 +6784,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6768
6784
|
params?: {
|
|
6769
6785
|
expanded?: "all" | "closed" | undefined;
|
|
6770
6786
|
} | undefined;
|
|
6787
|
+
url?: "full" | undefined;
|
|
6771
6788
|
openapi?: string | string[] | {
|
|
6772
6789
|
source: string;
|
|
6773
6790
|
directory?: string | undefined;
|
|
@@ -6797,6 +6814,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
6797
6814
|
params?: {
|
|
6798
6815
|
expanded?: "all" | "closed" | undefined;
|
|
6799
6816
|
} | undefined;
|
|
6817
|
+
url?: "full" | undefined;
|
|
6800
6818
|
openapi?: string | string[] | {
|
|
6801
6819
|
source: string;
|
|
6802
6820
|
directory?: string | undefined;
|
|
@@ -8261,6 +8279,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8261
8279
|
params?: {
|
|
8262
8280
|
expanded?: "all" | "closed" | undefined;
|
|
8263
8281
|
} | undefined;
|
|
8282
|
+
url?: "full" | undefined;
|
|
8264
8283
|
openapi?: string | string[] | {
|
|
8265
8284
|
source: string;
|
|
8266
8285
|
directory?: string | undefined;
|
|
@@ -8612,6 +8631,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8612
8631
|
params?: {
|
|
8613
8632
|
expanded?: "all" | "closed" | undefined;
|
|
8614
8633
|
} | undefined;
|
|
8634
|
+
url?: "full" | undefined;
|
|
8615
8635
|
openapi?: string | string[] | {
|
|
8616
8636
|
source: string;
|
|
8617
8637
|
directory?: string | undefined;
|
|
@@ -8953,6 +8973,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8953
8973
|
prefill?: boolean | undefined;
|
|
8954
8974
|
autogenerate?: boolean | undefined;
|
|
8955
8975
|
}>>;
|
|
8976
|
+
url: z.ZodOptional<z.ZodEnum<["full"]>>;
|
|
8956
8977
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
8957
8978
|
auth: z.ZodOptional<z.ZodObject<{
|
|
8958
8979
|
method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
|
|
@@ -8982,6 +9003,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
8982
9003
|
params?: {
|
|
8983
9004
|
expanded?: "all" | "closed" | undefined;
|
|
8984
9005
|
} | undefined;
|
|
9006
|
+
url?: "full" | undefined;
|
|
8985
9007
|
openapi?: string | string[] | {
|
|
8986
9008
|
source: string;
|
|
8987
9009
|
directory?: string | undefined;
|
|
@@ -9011,6 +9033,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
9011
9033
|
params?: {
|
|
9012
9034
|
expanded?: "all" | "closed" | undefined;
|
|
9013
9035
|
} | undefined;
|
|
9036
|
+
url?: "full" | undefined;
|
|
9014
9037
|
openapi?: string | string[] | {
|
|
9015
9038
|
source: string;
|
|
9016
9039
|
directory?: string | undefined;
|
|
@@ -10475,6 +10498,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
10475
10498
|
params?: {
|
|
10476
10499
|
expanded?: "all" | "closed" | undefined;
|
|
10477
10500
|
} | undefined;
|
|
10501
|
+
url?: "full" | undefined;
|
|
10478
10502
|
openapi?: string | string[] | {
|
|
10479
10503
|
source: string;
|
|
10480
10504
|
directory?: string | undefined;
|
|
@@ -10826,6 +10850,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
10826
10850
|
params?: {
|
|
10827
10851
|
expanded?: "all" | "closed" | undefined;
|
|
10828
10852
|
} | undefined;
|
|
10853
|
+
url?: "full" | undefined;
|
|
10829
10854
|
openapi?: string | string[] | {
|
|
10830
10855
|
source: string;
|
|
10831
10856
|
directory?: string | undefined;
|
|
@@ -11167,6 +11192,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
11167
11192
|
prefill?: boolean | undefined;
|
|
11168
11193
|
autogenerate?: boolean | undefined;
|
|
11169
11194
|
}>>;
|
|
11195
|
+
url: z.ZodOptional<z.ZodEnum<["full"]>>;
|
|
11170
11196
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
11171
11197
|
auth: z.ZodOptional<z.ZodObject<{
|
|
11172
11198
|
method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
|
|
@@ -11196,6 +11222,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
11196
11222
|
params?: {
|
|
11197
11223
|
expanded?: "all" | "closed" | undefined;
|
|
11198
11224
|
} | undefined;
|
|
11225
|
+
url?: "full" | undefined;
|
|
11199
11226
|
openapi?: string | string[] | {
|
|
11200
11227
|
source: string;
|
|
11201
11228
|
directory?: string | undefined;
|
|
@@ -11225,6 +11252,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
11225
11252
|
params?: {
|
|
11226
11253
|
expanded?: "all" | "closed" | undefined;
|
|
11227
11254
|
} | undefined;
|
|
11255
|
+
url?: "full" | undefined;
|
|
11228
11256
|
openapi?: string | string[] | {
|
|
11229
11257
|
source: string;
|
|
11230
11258
|
directory?: string | undefined;
|
|
@@ -12689,6 +12717,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
12689
12717
|
params?: {
|
|
12690
12718
|
expanded?: "all" | "closed" | undefined;
|
|
12691
12719
|
} | undefined;
|
|
12720
|
+
url?: "full" | undefined;
|
|
12692
12721
|
openapi?: string | string[] | {
|
|
12693
12722
|
source: string;
|
|
12694
12723
|
directory?: string | undefined;
|
|
@@ -13040,6 +13069,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
13040
13069
|
params?: {
|
|
13041
13070
|
expanded?: "all" | "closed" | undefined;
|
|
13042
13071
|
} | undefined;
|
|
13072
|
+
url?: "full" | undefined;
|
|
13043
13073
|
openapi?: string | string[] | {
|
|
13044
13074
|
source: string;
|
|
13045
13075
|
directory?: string | undefined;
|
|
@@ -13381,6 +13411,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
13381
13411
|
prefill?: boolean | undefined;
|
|
13382
13412
|
autogenerate?: boolean | undefined;
|
|
13383
13413
|
}>>;
|
|
13414
|
+
url: z.ZodOptional<z.ZodEnum<["full"]>>;
|
|
13384
13415
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
13385
13416
|
auth: z.ZodOptional<z.ZodObject<{
|
|
13386
13417
|
method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
|
|
@@ -13410,6 +13441,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
13410
13441
|
params?: {
|
|
13411
13442
|
expanded?: "all" | "closed" | undefined;
|
|
13412
13443
|
} | undefined;
|
|
13444
|
+
url?: "full" | undefined;
|
|
13413
13445
|
openapi?: string | string[] | {
|
|
13414
13446
|
source: string;
|
|
13415
13447
|
directory?: string | undefined;
|
|
@@ -13439,6 +13471,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
13439
13471
|
params?: {
|
|
13440
13472
|
expanded?: "all" | "closed" | undefined;
|
|
13441
13473
|
} | undefined;
|
|
13474
|
+
url?: "full" | undefined;
|
|
13442
13475
|
openapi?: string | string[] | {
|
|
13443
13476
|
source: string;
|
|
13444
13477
|
directory?: string | undefined;
|
|
@@ -14903,6 +14936,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
14903
14936
|
params?: {
|
|
14904
14937
|
expanded?: "all" | "closed" | undefined;
|
|
14905
14938
|
} | undefined;
|
|
14939
|
+
url?: "full" | undefined;
|
|
14906
14940
|
openapi?: string | string[] | {
|
|
14907
14941
|
source: string;
|
|
14908
14942
|
directory?: string | undefined;
|
|
@@ -15254,6 +15288,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
15254
15288
|
params?: {
|
|
15255
15289
|
expanded?: "all" | "closed" | undefined;
|
|
15256
15290
|
} | undefined;
|
|
15291
|
+
url?: "full" | undefined;
|
|
15257
15292
|
openapi?: string | string[] | {
|
|
15258
15293
|
source: string;
|
|
15259
15294
|
directory?: string | undefined;
|
|
@@ -15595,6 +15630,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
15595
15630
|
prefill?: boolean | undefined;
|
|
15596
15631
|
autogenerate?: boolean | undefined;
|
|
15597
15632
|
}>>;
|
|
15633
|
+
url: z.ZodOptional<z.ZodEnum<["full"]>>;
|
|
15598
15634
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
15599
15635
|
auth: z.ZodOptional<z.ZodObject<{
|
|
15600
15636
|
method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
|
|
@@ -15624,6 +15660,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
15624
15660
|
params?: {
|
|
15625
15661
|
expanded?: "all" | "closed" | undefined;
|
|
15626
15662
|
} | undefined;
|
|
15663
|
+
url?: "full" | undefined;
|
|
15627
15664
|
openapi?: string | string[] | {
|
|
15628
15665
|
source: string;
|
|
15629
15666
|
directory?: string | undefined;
|
|
@@ -15653,6 +15690,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
15653
15690
|
params?: {
|
|
15654
15691
|
expanded?: "all" | "closed" | undefined;
|
|
15655
15692
|
} | undefined;
|
|
15693
|
+
url?: "full" | undefined;
|
|
15656
15694
|
openapi?: string | string[] | {
|
|
15657
15695
|
source: string;
|
|
15658
15696
|
directory?: string | undefined;
|
|
@@ -17117,6 +17155,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
17117
17155
|
params?: {
|
|
17118
17156
|
expanded?: "all" | "closed" | undefined;
|
|
17119
17157
|
} | undefined;
|
|
17158
|
+
url?: "full" | undefined;
|
|
17120
17159
|
openapi?: string | string[] | {
|
|
17121
17160
|
source: string;
|
|
17122
17161
|
directory?: string | undefined;
|
|
@@ -17468,6 +17507,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
17468
17507
|
params?: {
|
|
17469
17508
|
expanded?: "all" | "closed" | undefined;
|
|
17470
17509
|
} | undefined;
|
|
17510
|
+
url?: "full" | undefined;
|
|
17471
17511
|
openapi?: string | string[] | {
|
|
17472
17512
|
source: string;
|
|
17473
17513
|
directory?: string | undefined;
|
|
@@ -17809,6 +17849,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
17809
17849
|
prefill?: boolean | undefined;
|
|
17810
17850
|
autogenerate?: boolean | undefined;
|
|
17811
17851
|
}>>;
|
|
17852
|
+
url: z.ZodOptional<z.ZodEnum<["full"]>>;
|
|
17812
17853
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
17813
17854
|
auth: z.ZodOptional<z.ZodObject<{
|
|
17814
17855
|
method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
|
|
@@ -17838,6 +17879,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
17838
17879
|
params?: {
|
|
17839
17880
|
expanded?: "all" | "closed" | undefined;
|
|
17840
17881
|
} | undefined;
|
|
17882
|
+
url?: "full" | undefined;
|
|
17841
17883
|
openapi?: string | string[] | {
|
|
17842
17884
|
source: string;
|
|
17843
17885
|
directory?: string | undefined;
|
|
@@ -17867,6 +17909,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
17867
17909
|
params?: {
|
|
17868
17910
|
expanded?: "all" | "closed" | undefined;
|
|
17869
17911
|
} | undefined;
|
|
17912
|
+
url?: "full" | undefined;
|
|
17870
17913
|
openapi?: string | string[] | {
|
|
17871
17914
|
source: string;
|
|
17872
17915
|
directory?: string | undefined;
|
|
@@ -19331,6 +19374,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
19331
19374
|
params?: {
|
|
19332
19375
|
expanded?: "all" | "closed" | undefined;
|
|
19333
19376
|
} | undefined;
|
|
19377
|
+
url?: "full" | undefined;
|
|
19334
19378
|
openapi?: string | string[] | {
|
|
19335
19379
|
source: string;
|
|
19336
19380
|
directory?: string | undefined;
|
|
@@ -19682,6 +19726,7 @@ export declare const docsConfigSchema: z.ZodDiscriminatedUnion<"theme", [z.ZodOb
|
|
|
19682
19726
|
params?: {
|
|
19683
19727
|
expanded?: "all" | "closed" | undefined;
|
|
19684
19728
|
} | undefined;
|
|
19729
|
+
url?: "full" | undefined;
|
|
19685
19730
|
openapi?: string | string[] | {
|
|
19686
19731
|
source: string;
|
|
19687
19732
|
directory?: string | undefined;
|
|
@@ -20024,6 +20069,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
20024
20069
|
prefill?: boolean | undefined;
|
|
20025
20070
|
autogenerate?: boolean | undefined;
|
|
20026
20071
|
}>>;
|
|
20072
|
+
url: z.ZodOptional<z.ZodEnum<["full"]>>;
|
|
20027
20073
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
20028
20074
|
auth: z.ZodOptional<z.ZodObject<{
|
|
20029
20075
|
method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
|
|
@@ -20053,6 +20099,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
20053
20099
|
params?: {
|
|
20054
20100
|
expanded?: "all" | "closed" | undefined;
|
|
20055
20101
|
} | undefined;
|
|
20102
|
+
url?: "full" | undefined;
|
|
20056
20103
|
openapi?: string | string[] | {
|
|
20057
20104
|
source: string;
|
|
20058
20105
|
directory?: string | undefined;
|
|
@@ -20082,6 +20129,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
20082
20129
|
params?: {
|
|
20083
20130
|
expanded?: "all" | "closed" | undefined;
|
|
20084
20131
|
} | undefined;
|
|
20132
|
+
url?: "full" | undefined;
|
|
20085
20133
|
openapi?: string | string[] | {
|
|
20086
20134
|
source: string;
|
|
20087
20135
|
directory?: string | undefined;
|
|
@@ -21546,6 +21594,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
21546
21594
|
params?: {
|
|
21547
21595
|
expanded?: "all" | "closed" | undefined;
|
|
21548
21596
|
} | undefined;
|
|
21597
|
+
url?: "full" | undefined;
|
|
21549
21598
|
openapi?: string | string[] | {
|
|
21550
21599
|
source: string;
|
|
21551
21600
|
directory?: string | undefined;
|
|
@@ -21897,6 +21946,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
21897
21946
|
params?: {
|
|
21898
21947
|
expanded?: "all" | "closed" | undefined;
|
|
21899
21948
|
} | undefined;
|
|
21949
|
+
url?: "full" | undefined;
|
|
21900
21950
|
openapi?: string | string[] | {
|
|
21901
21951
|
source: string;
|
|
21902
21952
|
directory?: string | undefined;
|
|
@@ -53,6 +53,7 @@ export declare const apiSchema: z.ZodObject<{
|
|
|
53
53
|
prefill?: boolean | undefined;
|
|
54
54
|
autogenerate?: boolean | undefined;
|
|
55
55
|
}>>;
|
|
56
|
+
url: z.ZodOptional<z.ZodEnum<["full"]>>;
|
|
56
57
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
57
58
|
auth: z.ZodOptional<z.ZodObject<{
|
|
58
59
|
method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
|
|
@@ -82,6 +83,7 @@ export declare const apiSchema: z.ZodObject<{
|
|
|
82
83
|
params?: {
|
|
83
84
|
expanded?: "all" | "closed" | undefined;
|
|
84
85
|
} | undefined;
|
|
86
|
+
url?: "full" | undefined;
|
|
85
87
|
openapi?: string | string[] | {
|
|
86
88
|
source: string;
|
|
87
89
|
directory?: string | undefined;
|
|
@@ -111,6 +113,7 @@ export declare const apiSchema: z.ZodObject<{
|
|
|
111
113
|
params?: {
|
|
112
114
|
expanded?: "all" | "closed" | undefined;
|
|
113
115
|
} | undefined;
|
|
116
|
+
url?: "full" | undefined;
|
|
114
117
|
openapi?: string | string[] | {
|
|
115
118
|
source: string;
|
|
116
119
|
directory?: string | undefined;
|
|
@@ -48,6 +48,10 @@ export const apiSchema = z
|
|
|
48
48
|
})
|
|
49
49
|
.optional()
|
|
50
50
|
.describe('Configurations for the autogenerated API examples'),
|
|
51
|
+
url: z
|
|
52
|
+
.enum(['full'])
|
|
53
|
+
.optional()
|
|
54
|
+
.describe('The display mode of the base URL in the endpoint header. Set to `full` to always show the full base URL on every endpoint page.'),
|
|
51
55
|
mdx: z
|
|
52
56
|
.object({
|
|
53
57
|
auth: z
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const locales: readonly ["en", "cn", "zh", "zh-Hans", "zh-Hant", "es", "fr", "fr-CA", "fr-ca", "ja", "jp", "ja-jp", "pt", "pt-BR", "de", "ko", "it", "ru", "ro", "cs", "id", "ar", "tr", "hi", "sv", "no", "lv", "nl", "uk", "vi", "pl", "uz", "he"];
|
|
1
|
+
export declare const locales: readonly ["en", "cn", "zh", "zh-Hans", "zh-Hant", "es", "fr", "fr-CA", "fr-ca", "ja", "jp", "ja-jp", "pt", "pt-BR", "de", "ko", "it", "ru", "ro", "cs", "id", "ar", "tr", "hi", "sv", "no", "lv", "nl", "uk", "vi", "pl", "uz", "he", "ca"];
|
|
2
2
|
export type LocaleType = (typeof locales)[number];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { LanguageNavigation } from './divisionNav.js';
|
|
3
3
|
export declare const baseLanguageSchema: z.ZodObject<{
|
|
4
|
-
language: z.ZodEnum<["en", "cn", "zh", "zh-Hans", "zh-Hant", "es", "fr", "fr-CA", "fr-ca", "ja", "jp", "ja-jp", "pt", "pt-BR", "de", "ko", "it", "ru", "ro", "cs", "id", "ar", "tr", "hi", "sv", "no", "lv", "nl", "uk", "vi", "pl", "uz", "he"]>;
|
|
4
|
+
language: z.ZodEnum<["en", "cn", "zh", "zh-Hans", "zh-Hant", "es", "fr", "fr-CA", "fr-ca", "ja", "jp", "ja-jp", "pt", "pt-BR", "de", "ko", "it", "ru", "ro", "cs", "id", "ar", "tr", "hi", "sv", "no", "lv", "nl", "uk", "vi", "pl", "uz", "he", "ca"]>;
|
|
5
5
|
default: z.ZodOptional<z.ZodBoolean>;
|
|
6
6
|
banner: z.ZodOptional<z.ZodObject<{
|
|
7
7
|
content: z.ZodString;
|
|
@@ -15,7 +15,7 @@ export declare const baseLanguageSchema: z.ZodObject<{
|
|
|
15
15
|
}>>;
|
|
16
16
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
-
language: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he";
|
|
18
|
+
language: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | "ca";
|
|
19
19
|
default?: boolean | undefined;
|
|
20
20
|
hidden?: boolean | undefined;
|
|
21
21
|
banner?: {
|
|
@@ -23,7 +23,7 @@ export declare const baseLanguageSchema: z.ZodObject<{
|
|
|
23
23
|
dismissible?: boolean | undefined;
|
|
24
24
|
} | undefined;
|
|
25
25
|
}, {
|
|
26
|
-
language: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he";
|
|
26
|
+
language: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | "ca";
|
|
27
27
|
default?: boolean | undefined;
|
|
28
28
|
hidden?: boolean | undefined;
|
|
29
29
|
banner?: {
|
|
@@ -33,7 +33,7 @@ export declare const baseLanguageSchema: z.ZodObject<{
|
|
|
33
33
|
}>;
|
|
34
34
|
export type BaseLanguageSchema = z.infer<typeof baseLanguageSchema>;
|
|
35
35
|
export declare const nonRecursiveLanguageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
36
|
-
language: z.ZodEnum<["en", "cn", "zh", "zh-Hans", "zh-Hant", "es", "fr", "fr-CA", "fr-ca", "ja", "jp", "ja-jp", "pt", "pt-BR", "de", "ko", "it", "ru", "ro", "cs", "id", "ar", "tr", "hi", "sv", "no", "lv", "nl", "uk", "vi", "pl", "uz", "he"]>;
|
|
36
|
+
language: z.ZodEnum<["en", "cn", "zh", "zh-Hans", "zh-Hant", "es", "fr", "fr-CA", "fr-ca", "ja", "jp", "ja-jp", "pt", "pt-BR", "de", "ko", "it", "ru", "ro", "cs", "id", "ar", "tr", "hi", "sv", "no", "lv", "nl", "uk", "vi", "pl", "uz", "he", "ca"]>;
|
|
37
37
|
default: z.ZodOptional<z.ZodBoolean>;
|
|
38
38
|
banner: z.ZodOptional<z.ZodObject<{
|
|
39
39
|
content: z.ZodString;
|
|
@@ -50,7 +50,7 @@ export declare const nonRecursiveLanguageSchema: z.ZodObject<z.objectUtil.extend
|
|
|
50
50
|
href: z.ZodEffects<z.ZodString, string, string>;
|
|
51
51
|
}>, "strip", z.ZodTypeAny, {
|
|
52
52
|
href: string;
|
|
53
|
-
language: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he";
|
|
53
|
+
language: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | "ca";
|
|
54
54
|
default?: boolean | undefined;
|
|
55
55
|
hidden?: boolean | undefined;
|
|
56
56
|
banner?: {
|
|
@@ -59,7 +59,7 @@ export declare const nonRecursiveLanguageSchema: z.ZodObject<z.objectUtil.extend
|
|
|
59
59
|
} | undefined;
|
|
60
60
|
}, {
|
|
61
61
|
href: string;
|
|
62
|
-
language: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he";
|
|
62
|
+
language: "id" | "en" | "cn" | "zh" | "zh-Hans" | "zh-Hant" | "es" | "fr" | "fr-CA" | "fr-ca" | "ja" | "jp" | "ja-jp" | "pt" | "pt-BR" | "de" | "ko" | "it" | "ru" | "ro" | "cs" | "ar" | "tr" | "hi" | "sv" | "no" | "lv" | "nl" | "uk" | "vi" | "pl" | "uz" | "he" | "ca";
|
|
63
63
|
default?: boolean | undefined;
|
|
64
64
|
hidden?: boolean | undefined;
|
|
65
65
|
banner?: {
|
|
@@ -94,6 +94,7 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
94
94
|
prefill?: boolean | undefined;
|
|
95
95
|
autogenerate?: boolean | undefined;
|
|
96
96
|
}>>;
|
|
97
|
+
url: z.ZodOptional<z.ZodEnum<["full"]>>;
|
|
97
98
|
mdx: z.ZodOptional<z.ZodObject<{
|
|
98
99
|
auth: z.ZodOptional<z.ZodObject<{
|
|
99
100
|
method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
|
|
@@ -123,6 +124,7 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
123
124
|
params?: {
|
|
124
125
|
expanded?: "all" | "closed" | undefined;
|
|
125
126
|
} | undefined;
|
|
127
|
+
url?: "full" | undefined;
|
|
126
128
|
openapi?: string | string[] | {
|
|
127
129
|
source: string;
|
|
128
130
|
directory?: string | undefined;
|
|
@@ -152,6 +154,7 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
152
154
|
params?: {
|
|
153
155
|
expanded?: "all" | "closed" | undefined;
|
|
154
156
|
} | undefined;
|
|
157
|
+
url?: "full" | undefined;
|
|
155
158
|
openapi?: string | string[] | {
|
|
156
159
|
source: string;
|
|
157
160
|
directory?: string | undefined;
|
|
@@ -1616,6 +1619,7 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
1616
1619
|
params?: {
|
|
1617
1620
|
expanded?: "all" | "closed" | undefined;
|
|
1618
1621
|
} | undefined;
|
|
1622
|
+
url?: "full" | undefined;
|
|
1619
1623
|
openapi?: string | string[] | {
|
|
1620
1624
|
source: string;
|
|
1621
1625
|
directory?: string | undefined;
|
|
@@ -1967,6 +1971,7 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
1967
1971
|
params?: {
|
|
1968
1972
|
expanded?: "all" | "closed" | undefined;
|
|
1969
1973
|
} | undefined;
|
|
1974
|
+
url?: "full" | undefined;
|
|
1970
1975
|
openapi?: string | string[] | {
|
|
1971
1976
|
source: string;
|
|
1972
1977
|
directory?: string | undefined;
|