@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.
@@ -68,13 +68,28 @@ export declare const mintConfigSchema: z.ZodObject<{
68
68
  languages?: string[] | undefined;
69
69
  }>>;
70
70
  mdx: z.ZodOptional<z.ZodObject<{
71
- auth: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
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?: "key" | "bearer" | "basic" | "cobo" | undefined;
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?: "key" | "bearer" | "basic" | "cobo" | undefined;
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 mintConfigSchema: z.ZodObject<{
90
105
  languages?: string[] | undefined;
91
106
  } | undefined;
92
107
  mdx?: {
93
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
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 mintConfigSchema: z.ZodObject<{
106
124
  languages?: string[] | undefined;
107
125
  } | undefined;
108
126
  mdx?: {
109
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
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 mintConfigSchema: z.ZodObject<{
3851
3872
  languages?: string[] | undefined;
3852
3873
  } | undefined;
3853
3874
  mdx?: {
3854
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
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 mintConfigSchema: z.ZodObject<{
4728
4752
  languages?: string[] | undefined;
4729
4753
  } | undefined;
4730
4754
  mdx?: {
4731
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
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 palmConfigSchema: z.ZodObject<{
68
68
  languages?: string[] | undefined;
69
69
  }>>;
70
70
  mdx: z.ZodOptional<z.ZodObject<{
71
- auth: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
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?: "key" | "bearer" | "basic" | "cobo" | undefined;
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?: "key" | "bearer" | "basic" | "cobo" | undefined;
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 palmConfigSchema: z.ZodObject<{
90
105
  languages?: string[] | undefined;
91
106
  } | undefined;
92
107
  mdx?: {
93
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
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 palmConfigSchema: z.ZodObject<{
106
124
  languages?: string[] | undefined;
107
125
  } | undefined;
108
126
  mdx?: {
109
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
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 palmConfigSchema: z.ZodObject<{
3851
3872
  languages?: string[] | undefined;
3852
3873
  } | undefined;
3853
3874
  mdx?: {
3854
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
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 palmConfigSchema: z.ZodObject<{
4728
4752
  languages?: string[] | undefined;
4729
4753
  } | undefined;
4730
4754
  mdx?: {
4731
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
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;
@@ -67,13 +67,28 @@ export declare const standardConfigSchema: {
67
67
  languages?: string[] | undefined;
68
68
  }>>;
69
69
  mdx: import("zod").ZodOptional<import("zod").ZodObject<{
70
- auth: import("zod").ZodOptional<import("zod").ZodEnum<["bearer", "basic", "key", "cobo"]>>;
70
+ auth: import("zod").ZodOptional<import("zod").ZodObject<{
71
+ method: import("zod").ZodOptional<import("zod").ZodEnum<["bearer", "basic", "key", "cobo"]>>;
72
+ name: import("zod").ZodOptional<import("zod").ZodString>;
73
+ }, "strip", import("zod").ZodTypeAny, {
74
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
75
+ name?: string | undefined;
76
+ }, {
77
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
78
+ name?: string | undefined;
79
+ }>>;
71
80
  server: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
72
81
  }, "strip", import("zod").ZodTypeAny, {
73
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
82
+ auth?: {
83
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
84
+ name?: string | undefined;
85
+ } | undefined;
74
86
  server?: string | string[] | undefined;
75
87
  }, {
76
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
88
+ auth?: {
89
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
90
+ name?: string | undefined;
91
+ } | undefined;
77
92
  server?: string | string[] | undefined;
78
93
  }>>;
79
94
  }, "strip", import("zod").ZodTypeAny, {
@@ -89,7 +104,10 @@ export declare const standardConfigSchema: {
89
104
  languages?: string[] | undefined;
90
105
  } | undefined;
91
106
  mdx?: {
92
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
107
+ auth?: {
108
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
109
+ name?: string | undefined;
110
+ } | undefined;
93
111
  server?: string | string[] | undefined;
94
112
  } | undefined;
95
113
  }, {
@@ -105,7 +123,10 @@ export declare const standardConfigSchema: {
105
123
  languages?: string[] | undefined;
106
124
  } | undefined;
107
125
  mdx?: {
108
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
126
+ auth?: {
127
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
128
+ name?: string | undefined;
129
+ } | undefined;
109
130
  server?: string | string[] | undefined;
110
131
  } | undefined;
111
132
  }>>;
@@ -68,13 +68,28 @@ export declare const willowConfigSchema: z.ZodObject<{
68
68
  languages?: string[] | undefined;
69
69
  }>>;
70
70
  mdx: z.ZodOptional<z.ZodObject<{
71
- auth: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
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?: "key" | "bearer" | "basic" | "cobo" | undefined;
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?: "key" | "bearer" | "basic" | "cobo" | undefined;
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 willowConfigSchema: z.ZodObject<{
90
105
  languages?: string[] | undefined;
91
106
  } | undefined;
92
107
  mdx?: {
93
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
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 willowConfigSchema: z.ZodObject<{
106
124
  languages?: string[] | undefined;
107
125
  } | undefined;
108
126
  mdx?: {
109
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
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 willowConfigSchema: z.ZodObject<{
3851
3872
  languages?: string[] | undefined;
3852
3873
  } | undefined;
3853
3874
  mdx?: {
3854
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
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 willowConfigSchema: z.ZodObject<{
4728
4752
  languages?: string[] | undefined;
4729
4753
  } | undefined;
4730
4754
  mdx?: {
4731
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
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;
@@ -102,7 +102,7 @@ function updateFooterSocials(config) {
102
102
  return footerSocials;
103
103
  }
104
104
  export function upgradeToDocsConfig(config) {
105
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z;
105
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2;
106
106
  const theme = 'mint';
107
107
  const fonts = updateFont(config);
108
108
  const playground = updateApiPlayground(config);
@@ -145,16 +145,20 @@ export function upgradeToDocsConfig(config) {
145
145
  languages: config.api.request.example.languages,
146
146
  },
147
147
  }
148
- : {})), (((_k = config.api) === null || _k === void 0 ? void 0 : _k.baseUrl) || ((_m = (_l = config.api) === null || _l === void 0 ? void 0 : _l.auth) === null || _m === void 0 ? void 0 : _m.method)
148
+ : {})), (((_k = config.api) === null || _k === void 0 ? void 0 : _k.baseUrl) || ((_m = (_l = config.api) === null || _l === void 0 ? void 0 : _l.auth) === null || _m === void 0 ? void 0 : _m.method) || ((_p = (_o = config.api) === null || _o === void 0 ? void 0 : _o.auth) === null || _p === void 0 ? void 0 : _p.name)
149
149
  ? {
150
- mdx: {
151
- server: config.api.baseUrl,
152
- auth: (_o = config.api.auth) === null || _o === void 0 ? void 0 : _o.method,
153
- },
150
+ mdx: Object.assign({ server: config.api.baseUrl }, (((_q = config.api.auth) === null || _q === void 0 ? void 0 : _q.method) || ((_r = config.api.auth) === null || _r === void 0 ? void 0 : _r.name)
151
+ ? {
152
+ auth: {
153
+ method: config.api.auth.method,
154
+ name: config.api.auth.name,
155
+ },
156
+ }
157
+ : {})),
154
158
  }
155
159
  : {})),
156
160
  }
157
- : {})), (((_p = config.modeToggle) === null || _p === void 0 ? void 0 : _p.default) || ((_q = config.modeToggle) === null || _q === void 0 ? void 0 : _q.isHidden) != undefined
161
+ : {})), (((_s = config.modeToggle) === null || _s === void 0 ? void 0 : _s.default) || ((_t = config.modeToggle) === null || _t === void 0 ? void 0 : _t.isHidden) != undefined
158
162
  ? {
159
163
  appearance: {
160
164
  default: config.modeToggle.default,
@@ -163,7 +167,7 @@ export function upgradeToDocsConfig(config) {
163
167
  }
164
168
  : {})), (config.background || config.backgroundImage || (config.colors && config.colors.background)
165
169
  ? {
166
- background: Object.assign(Object.assign(Object.assign({}, (config.backgroundImage ? { image: config.backgroundImage } : {})), { decoration: (_r = config.background) === null || _r === void 0 ? void 0 : _r.style }), (config.colors && config.colors.background
170
+ background: Object.assign(Object.assign(Object.assign({}, (config.backgroundImage ? { image: config.backgroundImage } : {})), { decoration: (_u = config.background) === null || _u === void 0 ? void 0 : _u.style }), (config.colors && config.colors.background
167
171
  ? {
168
172
  color: {
169
173
  light: config.colors.background.light,
@@ -193,21 +197,21 @@ export function upgradeToDocsConfig(config) {
193
197
  }
194
198
  : {})), { primary: updateTopbarPrimary(config) }),
195
199
  }
196
- : {})), (((_s = config.search) === null || _s === void 0 ? void 0 : _s.prompt)
200
+ : {})), (((_v = config.search) === null || _v === void 0 ? void 0 : _v.prompt)
197
201
  ? {
198
202
  search: {
199
203
  prompt: config.search.prompt,
200
204
  },
201
205
  }
202
- : {})), (config.metadata || ((_t = config.seo) === null || _t === void 0 ? void 0 : _t.indexHiddenPages) !== undefined
206
+ : {})), (config.metadata || ((_w = config.seo) === null || _w === void 0 ? void 0 : _w.indexHiddenPages) !== undefined
203
207
  ? {
204
- seo: Object.assign(Object.assign({}, (config.metadata ? { metatags: config.metadata } : {})), { indexing: ((_u = config.seo) === null || _u === void 0 ? void 0 : _u.indexHiddenPages) ? 'navigable' : 'all' }),
208
+ seo: Object.assign(Object.assign({}, (config.metadata ? { metatags: config.metadata } : {})), { indexing: ((_x = config.seo) === null || _x === void 0 ? void 0 : _x.indexHiddenPages) ? 'navigable' : 'all' }),
205
209
  }
206
210
  : {})), (config.footer || config.footerSocials
207
211
  ? {
208
- footer: Object.assign(Object.assign({}, (((_v = config.footer) === null || _v === void 0 ? void 0 : _v.socials) || config.footerSocials
212
+ footer: Object.assign(Object.assign({}, (((_y = config.footer) === null || _y === void 0 ? void 0 : _y.socials) || config.footerSocials
209
213
  ? { socials: updateFooterSocials(config) }
210
- : {})), (((_w = config.footer) === null || _w === void 0 ? void 0 : _w.links)
214
+ : {})), (((_z = config.footer) === null || _z === void 0 ? void 0 : _z.links)
211
215
  ? {
212
216
  links: config.footer.links.map((group) => {
213
217
  return {
@@ -225,19 +229,19 @@ export function upgradeToDocsConfig(config) {
225
229
  }
226
230
  : {})), (config.integrations || config.analytics
227
231
  ? {
228
- integrations: Object.assign(Object.assign(Object.assign(Object.assign({}, config.analytics), (((_x = config.integrations) === null || _x === void 0 ? void 0 : _x.intercom)
232
+ integrations: Object.assign(Object.assign(Object.assign(Object.assign({}, config.analytics), (((_0 = config.integrations) === null || _0 === void 0 ? void 0 : _0.intercom)
229
233
  ? {
230
234
  intercom: {
231
235
  appId: config.integrations.intercom,
232
236
  },
233
237
  }
234
- : {})), (((_y = config.integrations) === null || _y === void 0 ? void 0 : _y.frontchat)
238
+ : {})), (((_1 = config.integrations) === null || _1 === void 0 ? void 0 : _1.frontchat)
235
239
  ? {
236
240
  frontchat: {
237
241
  snippetId: config.integrations.frontchat,
238
242
  },
239
243
  }
240
- : {})), (((_z = config.integrations) === null || _z === void 0 ? void 0 : _z.osano)
244
+ : {})), (((_2 = config.integrations) === null || _2 === void 0 ? void 0 : _2.osano)
241
245
  ? {
242
246
  osano: {
243
247
  scriptSource: config.integrations.osano,
@@ -1215,7 +1215,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
1215
1215
  languages?: string[] | undefined;
1216
1216
  } | undefined;
1217
1217
  mdx?: {
1218
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
1218
+ auth?: {
1219
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
1220
+ name?: string | undefined;
1221
+ } | undefined;
1219
1222
  server?: string | string[] | undefined;
1220
1223
  } | undefined;
1221
1224
  } | undefined;
@@ -2092,7 +2095,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
2092
2095
  languages?: string[] | undefined;
2093
2096
  } | undefined;
2094
2097
  mdx?: {
2095
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
2098
+ auth?: {
2099
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
2100
+ name?: string | undefined;
2101
+ } | undefined;
2096
2102
  server?: string | string[] | undefined;
2097
2103
  } | undefined;
2098
2104
  } | undefined;
@@ -2969,7 +2975,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
2969
2975
  languages?: string[] | undefined;
2970
2976
  } | undefined;
2971
2977
  mdx?: {
2972
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
2978
+ auth?: {
2979
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
2980
+ name?: string | undefined;
2981
+ } | undefined;
2973
2982
  server?: string | string[] | undefined;
2974
2983
  } | undefined;
2975
2984
  } | undefined;
@@ -3846,7 +3855,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
3846
3855
  languages?: string[] | undefined;
3847
3856
  } | undefined;
3848
3857
  mdx?: {
3849
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
3858
+ auth?: {
3859
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
3860
+ name?: string | undefined;
3861
+ } | undefined;
3850
3862
  server?: string | string[] | undefined;
3851
3863
  } | undefined;
3852
3864
  } | undefined;
@@ -4723,7 +4735,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
4723
4735
  languages?: string[] | undefined;
4724
4736
  } | undefined;
4725
4737
  mdx?: {
4726
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
4738
+ auth?: {
4739
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
4740
+ name?: string | undefined;
4741
+ } | undefined;
4727
4742
  server?: string | string[] | undefined;
4728
4743
  } | undefined;
4729
4744
  } | undefined;
@@ -5603,7 +5618,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
5603
5618
  languages?: string[] | undefined;
5604
5619
  } | undefined;
5605
5620
  mdx?: {
5606
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
5621
+ auth?: {
5622
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
5623
+ name?: string | undefined;
5624
+ } | undefined;
5607
5625
  server?: string | string[] | undefined;
5608
5626
  } | undefined;
5609
5627
  } | undefined;
@@ -6480,7 +6498,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
6480
6498
  languages?: string[] | undefined;
6481
6499
  } | undefined;
6482
6500
  mdx?: {
6483
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
6501
+ auth?: {
6502
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
6503
+ name?: string | undefined;
6504
+ } | undefined;
6484
6505
  server?: string | string[] | undefined;
6485
6506
  } | undefined;
6486
6507
  } | undefined;
@@ -7357,7 +7378,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
7357
7378
  languages?: string[] | undefined;
7358
7379
  } | undefined;
7359
7380
  mdx?: {
7360
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
7381
+ auth?: {
7382
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
7383
+ name?: string | undefined;
7384
+ } | undefined;
7361
7385
  server?: string | string[] | undefined;
7362
7386
  } | undefined;
7363
7387
  } | undefined;
@@ -8234,7 +8258,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
8234
8258
  languages?: string[] | undefined;
8235
8259
  } | undefined;
8236
8260
  mdx?: {
8237
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
8261
+ auth?: {
8262
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
8263
+ name?: string | undefined;
8264
+ } | undefined;
8238
8265
  server?: string | string[] | undefined;
8239
8266
  } | undefined;
8240
8267
  } | undefined;
@@ -9111,7 +9138,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
9111
9138
  languages?: string[] | undefined;
9112
9139
  } | undefined;
9113
9140
  mdx?: {
9114
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
9141
+ auth?: {
9142
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
9143
+ name?: string | undefined;
9144
+ } | undefined;
9115
9145
  server?: string | string[] | undefined;
9116
9146
  } | undefined;
9117
9147
  } | undefined;