@mintlify/validation 0.1.278 → 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,16 +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.ZodEnum<["bearer", "basic", "key", "cobo"]>>;
72
- name: z.ZodOptional<z.ZodString>;
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
+ }>>;
73
81
  server: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
74
82
  }, "strip", z.ZodTypeAny, {
75
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
76
- name?: string | undefined;
83
+ auth?: {
84
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
85
+ name?: string | undefined;
86
+ } | undefined;
77
87
  server?: string | string[] | undefined;
78
88
  }, {
79
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
80
- name?: string | undefined;
89
+ auth?: {
90
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
91
+ name?: string | undefined;
92
+ } | undefined;
81
93
  server?: string | string[] | undefined;
82
94
  }>>;
83
95
  }, "strip", z.ZodTypeAny, {
@@ -93,8 +105,10 @@ export declare const mapleConfigSchema: z.ZodObject<{
93
105
  languages?: string[] | undefined;
94
106
  } | undefined;
95
107
  mdx?: {
96
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
97
- name?: string | undefined;
108
+ auth?: {
109
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
110
+ name?: string | undefined;
111
+ } | undefined;
98
112
  server?: string | string[] | undefined;
99
113
  } | undefined;
100
114
  }, {
@@ -110,8 +124,10 @@ export declare const mapleConfigSchema: z.ZodObject<{
110
124
  languages?: string[] | undefined;
111
125
  } | undefined;
112
126
  mdx?: {
113
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
114
- name?: string | undefined;
127
+ auth?: {
128
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
129
+ name?: string | undefined;
130
+ } | undefined;
115
131
  server?: string | string[] | undefined;
116
132
  } | undefined;
117
133
  }>>;
@@ -3856,8 +3872,10 @@ export declare const mapleConfigSchema: z.ZodObject<{
3856
3872
  languages?: string[] | undefined;
3857
3873
  } | undefined;
3858
3874
  mdx?: {
3859
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
3860
- name?: string | undefined;
3875
+ auth?: {
3876
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
3877
+ name?: string | undefined;
3878
+ } | undefined;
3861
3879
  server?: string | string[] | undefined;
3862
3880
  } | undefined;
3863
3881
  } | undefined;
@@ -4734,8 +4752,10 @@ export declare const mapleConfigSchema: z.ZodObject<{
4734
4752
  languages?: string[] | undefined;
4735
4753
  } | undefined;
4736
4754
  mdx?: {
4737
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
4738
- name?: string | undefined;
4755
+ auth?: {
4756
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
4757
+ name?: string | undefined;
4758
+ } | undefined;
4739
4759
  server?: string | string[] | undefined;
4740
4760
  } | undefined;
4741
4761
  } | undefined;
@@ -68,16 +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"]>>;
72
- name: z.ZodOptional<z.ZodString>;
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
+ }>>;
73
81
  server: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
74
82
  }, "strip", z.ZodTypeAny, {
75
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
76
- name?: string | undefined;
83
+ auth?: {
84
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
85
+ name?: string | undefined;
86
+ } | undefined;
77
87
  server?: string | string[] | undefined;
78
88
  }, {
79
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
80
- name?: string | undefined;
89
+ auth?: {
90
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
91
+ name?: string | undefined;
92
+ } | undefined;
81
93
  server?: string | string[] | undefined;
82
94
  }>>;
83
95
  }, "strip", z.ZodTypeAny, {
@@ -93,8 +105,10 @@ export declare const mintConfigSchema: z.ZodObject<{
93
105
  languages?: string[] | undefined;
94
106
  } | undefined;
95
107
  mdx?: {
96
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
97
- name?: string | undefined;
108
+ auth?: {
109
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
110
+ name?: string | undefined;
111
+ } | undefined;
98
112
  server?: string | string[] | undefined;
99
113
  } | undefined;
100
114
  }, {
@@ -110,8 +124,10 @@ export declare const mintConfigSchema: z.ZodObject<{
110
124
  languages?: string[] | undefined;
111
125
  } | undefined;
112
126
  mdx?: {
113
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
114
- name?: string | undefined;
127
+ auth?: {
128
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
129
+ name?: string | undefined;
130
+ } | undefined;
115
131
  server?: string | string[] | undefined;
116
132
  } | undefined;
117
133
  }>>;
@@ -3856,8 +3872,10 @@ export declare const mintConfigSchema: z.ZodObject<{
3856
3872
  languages?: string[] | undefined;
3857
3873
  } | undefined;
3858
3874
  mdx?: {
3859
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
3860
- name?: string | undefined;
3875
+ auth?: {
3876
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
3877
+ name?: string | undefined;
3878
+ } | undefined;
3861
3879
  server?: string | string[] | undefined;
3862
3880
  } | undefined;
3863
3881
  } | undefined;
@@ -4734,8 +4752,10 @@ export declare const mintConfigSchema: z.ZodObject<{
4734
4752
  languages?: string[] | undefined;
4735
4753
  } | undefined;
4736
4754
  mdx?: {
4737
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
4738
- name?: string | undefined;
4755
+ auth?: {
4756
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
4757
+ name?: string | undefined;
4758
+ } | undefined;
4739
4759
  server?: string | string[] | undefined;
4740
4760
  } | undefined;
4741
4761
  } | undefined;
@@ -68,16 +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"]>>;
72
- name: z.ZodOptional<z.ZodString>;
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
+ }>>;
73
81
  server: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
74
82
  }, "strip", z.ZodTypeAny, {
75
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
76
- name?: string | undefined;
83
+ auth?: {
84
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
85
+ name?: string | undefined;
86
+ } | undefined;
77
87
  server?: string | string[] | undefined;
78
88
  }, {
79
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
80
- name?: string | undefined;
89
+ auth?: {
90
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
91
+ name?: string | undefined;
92
+ } | undefined;
81
93
  server?: string | string[] | undefined;
82
94
  }>>;
83
95
  }, "strip", z.ZodTypeAny, {
@@ -93,8 +105,10 @@ export declare const palmConfigSchema: z.ZodObject<{
93
105
  languages?: string[] | undefined;
94
106
  } | undefined;
95
107
  mdx?: {
96
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
97
- name?: string | undefined;
108
+ auth?: {
109
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
110
+ name?: string | undefined;
111
+ } | undefined;
98
112
  server?: string | string[] | undefined;
99
113
  } | undefined;
100
114
  }, {
@@ -110,8 +124,10 @@ export declare const palmConfigSchema: z.ZodObject<{
110
124
  languages?: string[] | undefined;
111
125
  } | undefined;
112
126
  mdx?: {
113
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
114
- name?: string | undefined;
127
+ auth?: {
128
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
129
+ name?: string | undefined;
130
+ } | undefined;
115
131
  server?: string | string[] | undefined;
116
132
  } | undefined;
117
133
  }>>;
@@ -3856,8 +3872,10 @@ export declare const palmConfigSchema: z.ZodObject<{
3856
3872
  languages?: string[] | undefined;
3857
3873
  } | undefined;
3858
3874
  mdx?: {
3859
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
3860
- name?: string | undefined;
3875
+ auth?: {
3876
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
3877
+ name?: string | undefined;
3878
+ } | undefined;
3861
3879
  server?: string | string[] | undefined;
3862
3880
  } | undefined;
3863
3881
  } | undefined;
@@ -4734,8 +4752,10 @@ export declare const palmConfigSchema: z.ZodObject<{
4734
4752
  languages?: string[] | undefined;
4735
4753
  } | undefined;
4736
4754
  mdx?: {
4737
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
4738
- name?: string | undefined;
4755
+ auth?: {
4756
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
4757
+ name?: string | undefined;
4758
+ } | undefined;
4739
4759
  server?: string | string[] | undefined;
4740
4760
  } | undefined;
4741
4761
  } | undefined;
@@ -67,16 +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"]>>;
71
- name: import("zod").ZodOptional<import("zod").ZodString>;
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
+ }>>;
72
80
  server: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>>;
73
81
  }, "strip", import("zod").ZodTypeAny, {
74
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
75
- name?: string | undefined;
82
+ auth?: {
83
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
84
+ name?: string | undefined;
85
+ } | undefined;
76
86
  server?: string | string[] | undefined;
77
87
  }, {
78
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
79
- name?: string | undefined;
88
+ auth?: {
89
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
90
+ name?: string | undefined;
91
+ } | undefined;
80
92
  server?: string | string[] | undefined;
81
93
  }>>;
82
94
  }, "strip", import("zod").ZodTypeAny, {
@@ -92,8 +104,10 @@ export declare const standardConfigSchema: {
92
104
  languages?: string[] | undefined;
93
105
  } | undefined;
94
106
  mdx?: {
95
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
96
- name?: string | undefined;
107
+ auth?: {
108
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
109
+ name?: string | undefined;
110
+ } | undefined;
97
111
  server?: string | string[] | undefined;
98
112
  } | undefined;
99
113
  }, {
@@ -109,8 +123,10 @@ export declare const standardConfigSchema: {
109
123
  languages?: string[] | undefined;
110
124
  } | undefined;
111
125
  mdx?: {
112
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
113
- name?: string | undefined;
126
+ auth?: {
127
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
128
+ name?: string | undefined;
129
+ } | undefined;
114
130
  server?: string | string[] | undefined;
115
131
  } | undefined;
116
132
  }>>;
@@ -68,16 +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"]>>;
72
- name: z.ZodOptional<z.ZodString>;
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
+ }>>;
73
81
  server: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
74
82
  }, "strip", z.ZodTypeAny, {
75
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
76
- name?: string | undefined;
83
+ auth?: {
84
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
85
+ name?: string | undefined;
86
+ } | undefined;
77
87
  server?: string | string[] | undefined;
78
88
  }, {
79
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
80
- name?: string | undefined;
89
+ auth?: {
90
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
91
+ name?: string | undefined;
92
+ } | undefined;
81
93
  server?: string | string[] | undefined;
82
94
  }>>;
83
95
  }, "strip", z.ZodTypeAny, {
@@ -93,8 +105,10 @@ export declare const willowConfigSchema: z.ZodObject<{
93
105
  languages?: string[] | undefined;
94
106
  } | undefined;
95
107
  mdx?: {
96
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
97
- name?: string | undefined;
108
+ auth?: {
109
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
110
+ name?: string | undefined;
111
+ } | undefined;
98
112
  server?: string | string[] | undefined;
99
113
  } | undefined;
100
114
  }, {
@@ -110,8 +124,10 @@ export declare const willowConfigSchema: z.ZodObject<{
110
124
  languages?: string[] | undefined;
111
125
  } | undefined;
112
126
  mdx?: {
113
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
114
- name?: string | undefined;
127
+ auth?: {
128
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
129
+ name?: string | undefined;
130
+ } | undefined;
115
131
  server?: string | string[] | undefined;
116
132
  } | undefined;
117
133
  }>>;
@@ -3856,8 +3872,10 @@ export declare const willowConfigSchema: z.ZodObject<{
3856
3872
  languages?: string[] | undefined;
3857
3873
  } | undefined;
3858
3874
  mdx?: {
3859
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
3860
- name?: string | undefined;
3875
+ auth?: {
3876
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
3877
+ name?: string | undefined;
3878
+ } | undefined;
3861
3879
  server?: string | string[] | undefined;
3862
3880
  } | undefined;
3863
3881
  } | undefined;
@@ -4734,8 +4752,10 @@ export declare const willowConfigSchema: z.ZodObject<{
4734
4752
  languages?: string[] | undefined;
4735
4753
  } | undefined;
4736
4754
  mdx?: {
4737
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
4738
- name?: string | undefined;
4755
+ auth?: {
4756
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
4757
+ name?: string | undefined;
4758
+ } | undefined;
4739
4759
  server?: string | string[] | undefined;
4740
4760
  } | undefined;
4741
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,8 +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;
1219
- name?: string | undefined;
1218
+ auth?: {
1219
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
1220
+ name?: string | undefined;
1221
+ } | undefined;
1220
1222
  server?: string | string[] | undefined;
1221
1223
  } | undefined;
1222
1224
  } | undefined;
@@ -2093,8 +2095,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
2093
2095
  languages?: string[] | undefined;
2094
2096
  } | undefined;
2095
2097
  mdx?: {
2096
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
2097
- name?: string | undefined;
2098
+ auth?: {
2099
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
2100
+ name?: string | undefined;
2101
+ } | undefined;
2098
2102
  server?: string | string[] | undefined;
2099
2103
  } | undefined;
2100
2104
  } | undefined;
@@ -2971,8 +2975,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
2971
2975
  languages?: string[] | undefined;
2972
2976
  } | undefined;
2973
2977
  mdx?: {
2974
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
2975
- name?: string | undefined;
2978
+ auth?: {
2979
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
2980
+ name?: string | undefined;
2981
+ } | undefined;
2976
2982
  server?: string | string[] | undefined;
2977
2983
  } | undefined;
2978
2984
  } | undefined;
@@ -3849,8 +3855,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
3849
3855
  languages?: string[] | undefined;
3850
3856
  } | undefined;
3851
3857
  mdx?: {
3852
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
3853
- name?: string | undefined;
3858
+ auth?: {
3859
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
3860
+ name?: string | undefined;
3861
+ } | undefined;
3854
3862
  server?: string | string[] | undefined;
3855
3863
  } | undefined;
3856
3864
  } | undefined;
@@ -4727,8 +4735,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
4727
4735
  languages?: string[] | undefined;
4728
4736
  } | undefined;
4729
4737
  mdx?: {
4730
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
4731
- name?: string | undefined;
4738
+ auth?: {
4739
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
4740
+ name?: string | undefined;
4741
+ } | undefined;
4732
4742
  server?: string | string[] | undefined;
4733
4743
  } | undefined;
4734
4744
  } | undefined;
@@ -5608,8 +5618,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
5608
5618
  languages?: string[] | undefined;
5609
5619
  } | undefined;
5610
5620
  mdx?: {
5611
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
5612
- name?: string | undefined;
5621
+ auth?: {
5622
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
5623
+ name?: string | undefined;
5624
+ } | undefined;
5613
5625
  server?: string | string[] | undefined;
5614
5626
  } | undefined;
5615
5627
  } | undefined;
@@ -6486,8 +6498,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
6486
6498
  languages?: string[] | undefined;
6487
6499
  } | undefined;
6488
6500
  mdx?: {
6489
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
6490
- name?: string | undefined;
6501
+ auth?: {
6502
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
6503
+ name?: string | undefined;
6504
+ } | undefined;
6491
6505
  server?: string | string[] | undefined;
6492
6506
  } | undefined;
6493
6507
  } | undefined;
@@ -7364,8 +7378,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
7364
7378
  languages?: string[] | undefined;
7365
7379
  } | undefined;
7366
7380
  mdx?: {
7367
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
7368
- name?: string | undefined;
7381
+ auth?: {
7382
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
7383
+ name?: string | undefined;
7384
+ } | undefined;
7369
7385
  server?: string | string[] | undefined;
7370
7386
  } | undefined;
7371
7387
  } | undefined;
@@ -8242,8 +8258,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
8242
8258
  languages?: string[] | undefined;
8243
8259
  } | undefined;
8244
8260
  mdx?: {
8245
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
8246
- name?: string | undefined;
8261
+ auth?: {
8262
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
8263
+ name?: string | undefined;
8264
+ } | undefined;
8247
8265
  server?: string | string[] | undefined;
8248
8266
  } | undefined;
8249
8267
  } | undefined;
@@ -9120,8 +9138,10 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
9120
9138
  languages?: string[] | undefined;
9121
9139
  } | undefined;
9122
9140
  mdx?: {
9123
- auth?: "key" | "bearer" | "basic" | "cobo" | undefined;
9124
- name?: string | undefined;
9141
+ auth?: {
9142
+ method?: "key" | "bearer" | "basic" | "cobo" | undefined;
9143
+ name?: string | undefined;
9144
+ } | undefined;
9125
9145
  server?: string | string[] | undefined;
9126
9146
  } | undefined;
9127
9147
  } | undefined;