@redocly/theme 0.9.7 → 0.9.8

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/lib/config.d.ts CHANGED
@@ -1,86 +1,83 @@
1
1
  import { z } from 'zod';
2
2
  declare const MarkdownConfig: z.ZodDefault<z.ZodObject<{
3
3
  frontMatterKeysToResolve: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
4
- lastUpdatedBlock: z.ZodOptional<z.ZodDefault<z.ZodObject<z.extendShape<{
4
+ lastUpdatedBlock: z.ZodOptional<z.ZodDefault<z.ZodObject<{
5
5
  format: z.ZodOptional<z.ZodDefault<z.ZodEnum<["timeago", "iso", "long", "short"]>>>;
6
6
  locale: z.ZodOptional<z.ZodDefault<z.ZodString>>;
7
- }, {
8
7
  hide: z.ZodOptional<z.ZodBoolean>;
9
- }>, "strip", z.ZodTypeAny, {
10
- hide?: boolean | undefined;
8
+ }, "strip", z.ZodTypeAny, {
11
9
  format?: "timeago" | "iso" | "long" | "short" | undefined;
12
10
  locale?: string | undefined;
13
- }, {
14
11
  hide?: boolean | undefined;
12
+ }, {
15
13
  format?: "timeago" | "iso" | "long" | "short" | undefined;
16
14
  locale?: string | undefined;
15
+ hide?: boolean | undefined;
17
16
  }>>>;
18
- toc: z.ZodDefault<z.ZodOptional<z.ZodObject<z.extendShape<{
17
+ toc: z.ZodDefault<z.ZodOptional<z.ZodObject<{
19
18
  header: z.ZodOptional<z.ZodDefault<z.ZodString>>;
20
19
  depth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
21
- }, {
22
20
  hide: z.ZodOptional<z.ZodBoolean>;
23
- }>, "strip", z.ZodTypeAny, {
24
- hide?: boolean | undefined;
21
+ }, "strip", z.ZodTypeAny, {
25
22
  header?: string | undefined;
26
23
  depth?: number | undefined;
27
- }, {
28
24
  hide?: boolean | undefined;
25
+ }, {
29
26
  header?: string | undefined;
30
27
  depth?: number | undefined;
28
+ hide?: boolean | undefined;
31
29
  }>>>;
32
- editPage: z.ZodOptional<z.ZodDefault<z.ZodObject<z.extendShape<{
30
+ editPage: z.ZodOptional<z.ZodDefault<z.ZodObject<{
33
31
  baseUrl: z.ZodOptional<z.ZodString>;
34
32
  icon: z.ZodOptional<z.ZodString>;
35
33
  text: z.ZodDefault<z.ZodOptional<z.ZodString>>;
36
- }, {
37
34
  hide: z.ZodOptional<z.ZodBoolean>;
38
- }>, "strip", z.ZodTypeAny, {
39
- hide?: boolean | undefined;
35
+ }, "strip", z.ZodTypeAny, {
36
+ text: string;
40
37
  baseUrl?: string | undefined;
41
38
  icon?: string | undefined;
42
- text: string;
43
- }, {
44
39
  hide?: boolean | undefined;
40
+ }, {
45
41
  baseUrl?: string | undefined;
46
42
  icon?: string | undefined;
47
43
  text?: string | undefined;
44
+ hide?: boolean | undefined;
48
45
  }>>>;
49
46
  }, "strict", z.ZodTypeAny, {
47
+ toc: {
48
+ header?: string | undefined;
49
+ depth?: number | undefined;
50
+ hide?: boolean | undefined;
51
+ };
50
52
  frontMatterKeysToResolve?: string[] | undefined;
51
53
  lastUpdatedBlock?: {
52
- hide?: boolean | undefined;
53
54
  format?: "timeago" | "iso" | "long" | "short" | undefined;
54
55
  locale?: string | undefined;
56
+ hide?: boolean | undefined;
55
57
  } | undefined;
56
58
  editPage?: {
57
- hide?: boolean | undefined;
59
+ text: string;
58
60
  baseUrl?: string | undefined;
59
61
  icon?: string | undefined;
60
- text: string;
61
- } | undefined;
62
- toc: {
63
62
  hide?: boolean | undefined;
64
- header?: string | undefined;
65
- depth?: number | undefined;
66
- };
63
+ } | undefined;
67
64
  }, {
68
65
  frontMatterKeysToResolve?: string[] | undefined;
69
66
  lastUpdatedBlock?: {
70
- hide?: boolean | undefined;
71
67
  format?: "timeago" | "iso" | "long" | "short" | undefined;
72
68
  locale?: string | undefined;
69
+ hide?: boolean | undefined;
73
70
  } | undefined;
74
71
  toc?: {
75
- hide?: boolean | undefined;
76
72
  header?: string | undefined;
77
73
  depth?: number | undefined;
74
+ hide?: boolean | undefined;
78
75
  } | undefined;
79
76
  editPage?: {
80
- hide?: boolean | undefined;
81
77
  baseUrl?: string | undefined;
82
78
  icon?: string | undefined;
83
79
  text?: string | undefined;
80
+ hide?: boolean | undefined;
84
81
  } | undefined;
85
82
  }>>;
86
83
  export declare const ThemeConfig: z.ZodDefault<z.ZodObject<{
@@ -101,30 +98,28 @@ export declare const ThemeConfig: z.ZodDefault<z.ZodObject<{
101
98
  link?: string | undefined;
102
99
  favicon?: string | undefined;
103
100
  }>>;
104
- navbar: z.ZodOptional<z.ZodObject<z.extendShape<{
101
+ navbar: z.ZodOptional<z.ZodObject<{
105
102
  items: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
106
- }, {
107
103
  hide: z.ZodOptional<z.ZodBoolean>;
108
- }>, "strict", z.ZodTypeAny, {
109
- hide?: boolean | undefined;
104
+ }, "strict", z.ZodTypeAny, {
110
105
  items?: any[] | undefined;
111
- }, {
112
106
  hide?: boolean | undefined;
107
+ }, {
113
108
  items?: any[] | undefined;
109
+ hide?: boolean | undefined;
114
110
  }>>;
115
- footer: z.ZodOptional<z.ZodObject<z.extendShape<{
111
+ footer: z.ZodOptional<z.ZodObject<{
116
112
  items: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
117
113
  copyrightText: z.ZodOptional<z.ZodString>;
118
- }, {
119
114
  hide: z.ZodOptional<z.ZodBoolean>;
120
- }>, "strict", z.ZodTypeAny, {
121
- hide?: boolean | undefined;
115
+ }, "strict", z.ZodTypeAny, {
122
116
  items?: any[] | undefined;
123
117
  copyrightText?: string | undefined;
124
- }, {
125
118
  hide?: boolean | undefined;
119
+ }, {
126
120
  items?: any[] | undefined;
127
121
  copyrightText?: string | undefined;
122
+ hide?: boolean | undefined;
128
123
  }>>;
129
124
  sidebar: z.ZodOptional<z.ZodObject<{
130
125
  hide: z.ZodOptional<z.ZodBoolean>;
@@ -146,31 +141,31 @@ export declare const ThemeConfig: z.ZodDefault<z.ZodObject<{
146
141
  nonce: z.ZodOptional<z.ZodString>;
147
142
  referrerpolicy: z.ZodOptional<z.ZodString>;
148
143
  type: z.ZodOptional<z.ZodString>;
149
- }, "passthrough", z.ZodTypeAny, {
150
- async?: boolean | undefined;
151
- type?: string | undefined;
152
- crossorigin?: string | undefined;
153
- defer?: boolean | undefined;
154
- fetchpriority?: string | undefined;
155
- integrity?: string | undefined;
156
- module?: boolean | undefined;
157
- nomodule?: boolean | undefined;
158
- nonce?: string | undefined;
159
- referrerpolicy?: string | undefined;
160
- src: string;
161
- }, {
162
- async?: boolean | undefined;
163
- type?: string | undefined;
164
- crossorigin?: string | undefined;
165
- defer?: boolean | undefined;
166
- fetchpriority?: string | undefined;
167
- integrity?: string | undefined;
168
- module?: boolean | undefined;
169
- nomodule?: boolean | undefined;
170
- nonce?: string | undefined;
171
- referrerpolicy?: string | undefined;
172
- src: string;
173
- }>, "many">>;
144
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
145
+ src: z.ZodString;
146
+ async: z.ZodOptional<z.ZodBoolean>;
147
+ crossorigin: z.ZodOptional<z.ZodString>;
148
+ defer: z.ZodOptional<z.ZodBoolean>;
149
+ fetchpriority: z.ZodOptional<z.ZodString>;
150
+ integrity: z.ZodOptional<z.ZodString>;
151
+ module: z.ZodOptional<z.ZodBoolean>;
152
+ nomodule: z.ZodOptional<z.ZodBoolean>;
153
+ nonce: z.ZodOptional<z.ZodString>;
154
+ referrerpolicy: z.ZodOptional<z.ZodString>;
155
+ type: z.ZodOptional<z.ZodString>;
156
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
157
+ src: z.ZodString;
158
+ async: z.ZodOptional<z.ZodBoolean>;
159
+ crossorigin: z.ZodOptional<z.ZodString>;
160
+ defer: z.ZodOptional<z.ZodBoolean>;
161
+ fetchpriority: z.ZodOptional<z.ZodString>;
162
+ integrity: z.ZodOptional<z.ZodString>;
163
+ module: z.ZodOptional<z.ZodBoolean>;
164
+ nomodule: z.ZodOptional<z.ZodBoolean>;
165
+ nonce: z.ZodOptional<z.ZodString>;
166
+ referrerpolicy: z.ZodOptional<z.ZodString>;
167
+ type: z.ZodOptional<z.ZodString>;
168
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
174
169
  body: z.ZodOptional<z.ZodArray<z.ZodObject<{
175
170
  src: z.ZodString;
176
171
  async: z.ZodOptional<z.ZodBoolean>;
@@ -183,85 +178,85 @@ export declare const ThemeConfig: z.ZodDefault<z.ZodObject<{
183
178
  nonce: z.ZodOptional<z.ZodString>;
184
179
  referrerpolicy: z.ZodOptional<z.ZodString>;
185
180
  type: z.ZodOptional<z.ZodString>;
186
- }, "passthrough", z.ZodTypeAny, {
187
- async?: boolean | undefined;
188
- type?: string | undefined;
189
- crossorigin?: string | undefined;
190
- defer?: boolean | undefined;
191
- fetchpriority?: string | undefined;
192
- integrity?: string | undefined;
193
- module?: boolean | undefined;
194
- nomodule?: boolean | undefined;
195
- nonce?: string | undefined;
196
- referrerpolicy?: string | undefined;
197
- src: string;
198
- }, {
199
- async?: boolean | undefined;
200
- type?: string | undefined;
201
- crossorigin?: string | undefined;
202
- defer?: boolean | undefined;
203
- fetchpriority?: string | undefined;
204
- integrity?: string | undefined;
205
- module?: boolean | undefined;
206
- nomodule?: boolean | undefined;
207
- nonce?: string | undefined;
208
- referrerpolicy?: string | undefined;
209
- src: string;
210
- }>, "many">>;
181
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
182
+ src: z.ZodString;
183
+ async: z.ZodOptional<z.ZodBoolean>;
184
+ crossorigin: z.ZodOptional<z.ZodString>;
185
+ defer: z.ZodOptional<z.ZodBoolean>;
186
+ fetchpriority: z.ZodOptional<z.ZodString>;
187
+ integrity: z.ZodOptional<z.ZodString>;
188
+ module: z.ZodOptional<z.ZodBoolean>;
189
+ nomodule: z.ZodOptional<z.ZodBoolean>;
190
+ nonce: z.ZodOptional<z.ZodString>;
191
+ referrerpolicy: z.ZodOptional<z.ZodString>;
192
+ type: z.ZodOptional<z.ZodString>;
193
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
194
+ src: z.ZodString;
195
+ async: z.ZodOptional<z.ZodBoolean>;
196
+ crossorigin: z.ZodOptional<z.ZodString>;
197
+ defer: z.ZodOptional<z.ZodBoolean>;
198
+ fetchpriority: z.ZodOptional<z.ZodString>;
199
+ integrity: z.ZodOptional<z.ZodString>;
200
+ module: z.ZodOptional<z.ZodBoolean>;
201
+ nomodule: z.ZodOptional<z.ZodBoolean>;
202
+ nonce: z.ZodOptional<z.ZodString>;
203
+ referrerpolicy: z.ZodOptional<z.ZodString>;
204
+ type: z.ZodOptional<z.ZodString>;
205
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
211
206
  }, "strip", z.ZodTypeAny, {
212
- head?: {
213
- async?: boolean | undefined;
214
- type?: string | undefined;
215
- crossorigin?: string | undefined;
216
- defer?: boolean | undefined;
217
- fetchpriority?: string | undefined;
218
- integrity?: string | undefined;
219
- module?: boolean | undefined;
220
- nomodule?: boolean | undefined;
221
- nonce?: string | undefined;
222
- referrerpolicy?: string | undefined;
223
- src: string;
224
- }[] | undefined;
225
- body?: {
226
- async?: boolean | undefined;
227
- type?: string | undefined;
228
- crossorigin?: string | undefined;
229
- defer?: boolean | undefined;
230
- fetchpriority?: string | undefined;
231
- integrity?: string | undefined;
232
- module?: boolean | undefined;
233
- nomodule?: boolean | undefined;
234
- nonce?: string | undefined;
235
- referrerpolicy?: string | undefined;
236
- src: string;
237
- }[] | undefined;
238
- }, {
239
- head?: {
240
- async?: boolean | undefined;
241
- type?: string | undefined;
242
- crossorigin?: string | undefined;
243
- defer?: boolean | undefined;
244
- fetchpriority?: string | undefined;
245
- integrity?: string | undefined;
246
- module?: boolean | undefined;
247
- nomodule?: boolean | undefined;
248
- nonce?: string | undefined;
249
- referrerpolicy?: string | undefined;
250
- src: string;
251
- }[] | undefined;
252
- body?: {
253
- async?: boolean | undefined;
254
- type?: string | undefined;
255
- crossorigin?: string | undefined;
256
- defer?: boolean | undefined;
257
- fetchpriority?: string | undefined;
258
- integrity?: string | undefined;
259
- module?: boolean | undefined;
260
- nomodule?: boolean | undefined;
261
- nonce?: string | undefined;
262
- referrerpolicy?: string | undefined;
263
- src: string;
264
- }[] | undefined;
207
+ head?: z.objectOutputType<{
208
+ src: z.ZodString;
209
+ async: z.ZodOptional<z.ZodBoolean>;
210
+ crossorigin: z.ZodOptional<z.ZodString>;
211
+ defer: z.ZodOptional<z.ZodBoolean>;
212
+ fetchpriority: z.ZodOptional<z.ZodString>;
213
+ integrity: z.ZodOptional<z.ZodString>;
214
+ module: z.ZodOptional<z.ZodBoolean>;
215
+ nomodule: z.ZodOptional<z.ZodBoolean>;
216
+ nonce: z.ZodOptional<z.ZodString>;
217
+ referrerpolicy: z.ZodOptional<z.ZodString>;
218
+ type: z.ZodOptional<z.ZodString>;
219
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
220
+ body?: z.objectOutputType<{
221
+ src: z.ZodString;
222
+ async: z.ZodOptional<z.ZodBoolean>;
223
+ crossorigin: z.ZodOptional<z.ZodString>;
224
+ defer: z.ZodOptional<z.ZodBoolean>;
225
+ fetchpriority: z.ZodOptional<z.ZodString>;
226
+ integrity: z.ZodOptional<z.ZodString>;
227
+ module: z.ZodOptional<z.ZodBoolean>;
228
+ nomodule: z.ZodOptional<z.ZodBoolean>;
229
+ nonce: z.ZodOptional<z.ZodString>;
230
+ referrerpolicy: z.ZodOptional<z.ZodString>;
231
+ type: z.ZodOptional<z.ZodString>;
232
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
233
+ }, {
234
+ head?: z.objectInputType<{
235
+ src: z.ZodString;
236
+ async: z.ZodOptional<z.ZodBoolean>;
237
+ crossorigin: z.ZodOptional<z.ZodString>;
238
+ defer: z.ZodOptional<z.ZodBoolean>;
239
+ fetchpriority: z.ZodOptional<z.ZodString>;
240
+ integrity: z.ZodOptional<z.ZodString>;
241
+ module: z.ZodOptional<z.ZodBoolean>;
242
+ nomodule: z.ZodOptional<z.ZodBoolean>;
243
+ nonce: z.ZodOptional<z.ZodString>;
244
+ referrerpolicy: z.ZodOptional<z.ZodString>;
245
+ type: z.ZodOptional<z.ZodString>;
246
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
247
+ body?: z.objectInputType<{
248
+ src: z.ZodString;
249
+ async: z.ZodOptional<z.ZodBoolean>;
250
+ crossorigin: z.ZodOptional<z.ZodString>;
251
+ defer: z.ZodOptional<z.ZodBoolean>;
252
+ fetchpriority: z.ZodOptional<z.ZodString>;
253
+ integrity: z.ZodOptional<z.ZodString>;
254
+ module: z.ZodOptional<z.ZodBoolean>;
255
+ nomodule: z.ZodOptional<z.ZodBoolean>;
256
+ nonce: z.ZodOptional<z.ZodString>;
257
+ referrerpolicy: z.ZodOptional<z.ZodString>;
258
+ type: z.ZodOptional<z.ZodString>;
259
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
265
260
  }>>;
266
261
  links: z.ZodOptional<z.ZodArray<z.ZodObject<{
267
262
  href: z.ZodString;
@@ -279,556 +274,1558 @@ export declare const ThemeConfig: z.ZodDefault<z.ZodObject<{
279
274
  sizes: z.ZodOptional<z.ZodString>;
280
275
  title: z.ZodOptional<z.ZodString>;
281
276
  type: z.ZodOptional<z.ZodString>;
282
- }, "passthrough", z.ZodTypeAny, {
283
- type?: string | undefined;
284
- crossorigin?: string | undefined;
285
- fetchpriority?: string | undefined;
286
- integrity?: string | undefined;
287
- referrerpolicy?: string | undefined;
288
- as?: string | undefined;
289
- hreflang?: string | undefined;
290
- imagesizes?: string | undefined;
291
- imagesrcset?: string | undefined;
292
- media?: string | undefined;
293
- prefetch?: string | undefined;
294
- rel?: string | undefined;
295
- sizes?: string | undefined;
296
- title?: string | undefined;
297
- href: string;
298
- }, {
299
- type?: string | undefined;
300
- crossorigin?: string | undefined;
301
- fetchpriority?: string | undefined;
302
- integrity?: string | undefined;
303
- referrerpolicy?: string | undefined;
304
- as?: string | undefined;
305
- hreflang?: string | undefined;
306
- imagesizes?: string | undefined;
307
- imagesrcset?: string | undefined;
308
- media?: string | undefined;
309
- prefetch?: string | undefined;
310
- rel?: string | undefined;
311
- sizes?: string | undefined;
312
- title?: string | undefined;
313
- href: string;
314
- }>, "many">>;
315
- feedback: z.ZodOptional<z.ZodDefault<z.ZodObject<z.extendShape<{
316
- type: z.ZodDefault<z.ZodString>;
317
- settings: z.ZodOptional<z.ZodString>;
318
- }, {
277
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
278
+ href: z.ZodString;
279
+ as: z.ZodOptional<z.ZodString>;
280
+ crossorigin: z.ZodOptional<z.ZodString>;
281
+ fetchpriority: z.ZodOptional<z.ZodString>;
282
+ hreflang: z.ZodOptional<z.ZodString>;
283
+ imagesizes: z.ZodOptional<z.ZodString>;
284
+ imagesrcset: z.ZodOptional<z.ZodString>;
285
+ integrity: z.ZodOptional<z.ZodString>;
286
+ media: z.ZodOptional<z.ZodString>;
287
+ prefetch: z.ZodOptional<z.ZodString>;
288
+ referrerpolicy: z.ZodOptional<z.ZodString>;
289
+ rel: z.ZodOptional<z.ZodString>;
290
+ sizes: z.ZodOptional<z.ZodString>;
291
+ title: z.ZodOptional<z.ZodString>;
292
+ type: z.ZodOptional<z.ZodString>;
293
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
294
+ href: z.ZodString;
295
+ as: z.ZodOptional<z.ZodString>;
296
+ crossorigin: z.ZodOptional<z.ZodString>;
297
+ fetchpriority: z.ZodOptional<z.ZodString>;
298
+ hreflang: z.ZodOptional<z.ZodString>;
299
+ imagesizes: z.ZodOptional<z.ZodString>;
300
+ imagesrcset: z.ZodOptional<z.ZodString>;
301
+ integrity: z.ZodOptional<z.ZodString>;
302
+ media: z.ZodOptional<z.ZodString>;
303
+ prefetch: z.ZodOptional<z.ZodString>;
304
+ referrerpolicy: z.ZodOptional<z.ZodString>;
305
+ rel: z.ZodOptional<z.ZodString>;
306
+ sizes: z.ZodOptional<z.ZodString>;
307
+ title: z.ZodOptional<z.ZodString>;
308
+ type: z.ZodOptional<z.ZodString>;
309
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
310
+ feedback: z.ZodOptional<z.ZodDefault<z.ZodObject<{
311
+ type: z.ZodDefault<z.ZodEnum<["rating", "sentiment", "comment", "reasons"]>>;
312
+ settings: z.ZodOptional<z.ZodObject<{
313
+ label: z.ZodOptional<z.ZodString>;
314
+ submitText: z.ZodOptional<z.ZodString>;
315
+ max: z.ZodOptional<z.ZodNumber>;
316
+ buttonText: z.ZodOptional<z.ZodString>;
317
+ multi: z.ZodOptional<z.ZodBoolean>;
318
+ items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
319
+ reasons: z.ZodOptional<z.ZodObject<{
320
+ enable: z.ZodDefault<z.ZodBoolean>;
321
+ multi: z.ZodOptional<z.ZodBoolean>;
322
+ label: z.ZodOptional<z.ZodString>;
323
+ items: z.ZodArray<z.ZodString, "many">;
324
+ }, "strip", z.ZodTypeAny, {
325
+ items: string[];
326
+ enable: boolean;
327
+ multi?: boolean | undefined;
328
+ label?: string | undefined;
329
+ }, {
330
+ items: string[];
331
+ enable?: boolean | undefined;
332
+ multi?: boolean | undefined;
333
+ label?: string | undefined;
334
+ }>>;
335
+ comment: z.ZodOptional<z.ZodObject<{
336
+ enable: z.ZodDefault<z.ZodBoolean>;
337
+ label: z.ZodOptional<z.ZodString>;
338
+ likeLabel: z.ZodOptional<z.ZodString>;
339
+ dislikeLabel: z.ZodOptional<z.ZodString>;
340
+ }, "strip", z.ZodTypeAny, {
341
+ enable: boolean;
342
+ label?: string | undefined;
343
+ likeLabel?: string | undefined;
344
+ dislikeLabel?: string | undefined;
345
+ }, {
346
+ enable?: boolean | undefined;
347
+ label?: string | undefined;
348
+ likeLabel?: string | undefined;
349
+ dislikeLabel?: string | undefined;
350
+ }>>;
351
+ }, "strip", z.ZodTypeAny, {
352
+ label?: string | undefined;
353
+ submitText?: string | undefined;
354
+ max?: number | undefined;
355
+ buttonText?: string | undefined;
356
+ multi?: boolean | undefined;
357
+ items?: string[] | undefined;
358
+ reasons?: {
359
+ items: string[];
360
+ enable: boolean;
361
+ multi?: boolean | undefined;
362
+ label?: string | undefined;
363
+ } | undefined;
364
+ comment?: {
365
+ enable: boolean;
366
+ label?: string | undefined;
367
+ likeLabel?: string | undefined;
368
+ dislikeLabel?: string | undefined;
369
+ } | undefined;
370
+ }, {
371
+ label?: string | undefined;
372
+ submitText?: string | undefined;
373
+ max?: number | undefined;
374
+ buttonText?: string | undefined;
375
+ multi?: boolean | undefined;
376
+ items?: string[] | undefined;
377
+ reasons?: {
378
+ items: string[];
379
+ enable?: boolean | undefined;
380
+ multi?: boolean | undefined;
381
+ label?: string | undefined;
382
+ } | undefined;
383
+ comment?: {
384
+ enable?: boolean | undefined;
385
+ label?: string | undefined;
386
+ likeLabel?: string | undefined;
387
+ dislikeLabel?: string | undefined;
388
+ } | undefined;
389
+ }>>;
319
390
  hide: z.ZodOptional<z.ZodBoolean>;
320
- }>, "strict", z.ZodTypeAny, {
391
+ }, "strict", z.ZodTypeAny, {
392
+ type: "rating" | "sentiment" | "comment" | "reasons";
393
+ settings?: {
394
+ label?: string | undefined;
395
+ submitText?: string | undefined;
396
+ max?: number | undefined;
397
+ buttonText?: string | undefined;
398
+ multi?: boolean | undefined;
399
+ items?: string[] | undefined;
400
+ reasons?: {
401
+ items: string[];
402
+ enable: boolean;
403
+ multi?: boolean | undefined;
404
+ label?: string | undefined;
405
+ } | undefined;
406
+ comment?: {
407
+ enable: boolean;
408
+ label?: string | undefined;
409
+ likeLabel?: string | undefined;
410
+ dislikeLabel?: string | undefined;
411
+ } | undefined;
412
+ } | undefined;
321
413
  hide?: boolean | undefined;
322
- settings?: string | undefined;
323
- type: string;
324
414
  }, {
325
- type?: string | undefined;
415
+ type?: "rating" | "sentiment" | "comment" | "reasons" | undefined;
416
+ settings?: {
417
+ label?: string | undefined;
418
+ submitText?: string | undefined;
419
+ max?: number | undefined;
420
+ buttonText?: string | undefined;
421
+ multi?: boolean | undefined;
422
+ items?: string[] | undefined;
423
+ reasons?: {
424
+ items: string[];
425
+ enable?: boolean | undefined;
426
+ multi?: boolean | undefined;
427
+ label?: string | undefined;
428
+ } | undefined;
429
+ comment?: {
430
+ enable?: boolean | undefined;
431
+ label?: string | undefined;
432
+ likeLabel?: string | undefined;
433
+ dislikeLabel?: string | undefined;
434
+ } | undefined;
435
+ } | undefined;
326
436
  hide?: boolean | undefined;
327
- settings?: string | undefined;
328
437
  }>>>;
329
- search: z.ZodOptional<z.ZodDefault<z.ZodObject<z.extendShape<{
438
+ search: z.ZodOptional<z.ZodDefault<z.ZodObject<{
330
439
  placement: z.ZodOptional<z.ZodDefault<z.ZodString>>;
331
440
  shortcuts: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
332
- }, {
333
441
  hide: z.ZodOptional<z.ZodBoolean>;
334
- }>, "strict", z.ZodTypeAny, {
335
- hide?: boolean | undefined;
442
+ }, "strict", z.ZodTypeAny, {
336
443
  placement?: string | undefined;
337
444
  shortcuts?: string[] | undefined;
338
- }, {
339
445
  hide?: boolean | undefined;
446
+ }, {
340
447
  placement?: string | undefined;
341
448
  shortcuts?: string[] | undefined;
449
+ hide?: boolean | undefined;
342
450
  }>>>;
343
- colorMode: z.ZodDefault<z.ZodOptional<z.ZodObject<z.extendShape<{
451
+ colorMode: z.ZodDefault<z.ZodOptional<z.ZodObject<{
344
452
  ignoreDetection: z.ZodOptional<z.ZodBoolean>;
345
453
  modes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
346
- }, {
347
454
  hide: z.ZodOptional<z.ZodBoolean>;
348
- }>, "strict", z.ZodTypeAny, {
349
- hide?: boolean | undefined;
455
+ }, "strict", z.ZodTypeAny, {
350
456
  ignoreDetection?: boolean | undefined;
351
457
  modes?: string[] | undefined;
352
- }, {
353
458
  hide?: boolean | undefined;
459
+ }, {
354
460
  ignoreDetection?: boolean | undefined;
355
461
  modes?: string[] | undefined;
462
+ hide?: boolean | undefined;
356
463
  }>>>;
357
464
  navigation: z.ZodDefault<z.ZodOptional<z.ZodObject<{
358
- nextButton: z.ZodDefault<z.ZodOptional<z.ZodObject<z.extendShape<{
465
+ nextButton: z.ZodDefault<z.ZodOptional<z.ZodObject<{
359
466
  text: z.ZodDefault<z.ZodString>;
360
- }, {
361
467
  hide: z.ZodOptional<z.ZodBoolean>;
362
- }>, "strip", z.ZodTypeAny, {
363
- hide?: boolean | undefined;
468
+ }, "strip", z.ZodTypeAny, {
364
469
  text: string;
365
- }, {
366
470
  hide?: boolean | undefined;
471
+ }, {
367
472
  text?: string | undefined;
473
+ hide?: boolean | undefined;
368
474
  }>>>;
369
- previousButton: z.ZodDefault<z.ZodOptional<z.ZodObject<z.extendShape<{
475
+ previousButton: z.ZodDefault<z.ZodOptional<z.ZodObject<{
370
476
  text: z.ZodDefault<z.ZodString>;
371
- }, {
372
477
  hide: z.ZodOptional<z.ZodBoolean>;
373
- }>, "strip", z.ZodTypeAny, {
374
- hide?: boolean | undefined;
478
+ }, "strip", z.ZodTypeAny, {
375
479
  text: string;
376
- }, {
377
480
  hide?: boolean | undefined;
481
+ }, {
378
482
  text?: string | undefined;
483
+ hide?: boolean | undefined;
379
484
  }>>>;
380
485
  }, "strict", z.ZodTypeAny, {
381
486
  nextButton: {
382
- hide?: boolean | undefined;
383
487
  text: string;
488
+ hide?: boolean | undefined;
384
489
  };
385
490
  previousButton: {
386
- hide?: boolean | undefined;
387
491
  text: string;
492
+ hide?: boolean | undefined;
388
493
  };
389
494
  }, {
390
495
  nextButton?: {
391
- hide?: boolean | undefined;
392
496
  text?: string | undefined;
497
+ hide?: boolean | undefined;
393
498
  } | undefined;
394
499
  previousButton?: {
395
- hide?: boolean | undefined;
396
500
  text?: string | undefined;
501
+ hide?: boolean | undefined;
397
502
  } | undefined;
398
503
  }>>>;
399
504
  codeSnippet: z.ZodOptional<z.ZodDefault<z.ZodObject<{
400
- copy: z.ZodDefault<z.ZodOptional<z.ZodObject<z.extendShape<{
505
+ copy: z.ZodDefault<z.ZodOptional<z.ZodObject<{
401
506
  buttonText: z.ZodOptional<z.ZodDefault<z.ZodString>>;
402
507
  tooltipText: z.ZodOptional<z.ZodDefault<z.ZodString>>;
403
508
  toasterText: z.ZodOptional<z.ZodDefault<z.ZodString>>;
404
509
  toasterDuration: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
405
- }, {
406
510
  hide: z.ZodOptional<z.ZodBoolean>;
407
- }>, "strip", z.ZodTypeAny, {
408
- hide?: boolean | undefined;
511
+ }, "strip", z.ZodTypeAny, {
409
512
  buttonText?: string | undefined;
410
513
  tooltipText?: string | undefined;
411
514
  toasterText?: string | undefined;
412
515
  toasterDuration?: number | undefined;
413
- }, {
414
516
  hide?: boolean | undefined;
517
+ }, {
415
518
  buttonText?: string | undefined;
416
519
  tooltipText?: string | undefined;
417
520
  toasterText?: string | undefined;
418
521
  toasterDuration?: number | undefined;
522
+ hide?: boolean | undefined;
419
523
  }>>>;
420
- report: z.ZodDefault<z.ZodOptional<z.ZodObject<z.extendShape<{
421
- tooltipText: z.ZodOptional<z.ZodDefault<z.ZodString>>;
524
+ report: z.ZodDefault<z.ZodOptional<z.ZodObject<{
422
525
  label: z.ZodOptional<z.ZodString>;
423
- }, {
526
+ tooltipText: z.ZodOptional<z.ZodDefault<z.ZodString>>;
424
527
  hide: z.ZodOptional<z.ZodBoolean>;
425
- }>, "strip", z.ZodTypeAny, {
426
- hide?: boolean | undefined;
427
- tooltipText?: string | undefined;
528
+ }, "strip", z.ZodTypeAny, {
428
529
  label?: string | undefined;
429
- }, {
430
- hide?: boolean | undefined;
431
530
  tooltipText?: string | undefined;
531
+ hide?: boolean | undefined;
532
+ }, {
432
533
  label?: string | undefined;
534
+ tooltipText?: string | undefined;
535
+ hide?: boolean | undefined;
433
536
  }>>>;
434
537
  }, "strict", z.ZodTypeAny, {
435
538
  copy: {
436
- hide?: boolean | undefined;
437
539
  buttonText?: string | undefined;
438
540
  tooltipText?: string | undefined;
439
541
  toasterText?: string | undefined;
440
542
  toasterDuration?: number | undefined;
543
+ hide?: boolean | undefined;
441
544
  };
442
545
  report: {
443
- hide?: boolean | undefined;
444
- tooltipText?: string | undefined;
445
546
  label?: string | undefined;
547
+ tooltipText?: string | undefined;
548
+ hide?: boolean | undefined;
446
549
  };
447
550
  }, {
448
551
  copy?: {
449
- hide?: boolean | undefined;
450
552
  buttonText?: string | undefined;
451
553
  tooltipText?: string | undefined;
452
554
  toasterText?: string | undefined;
453
555
  toasterDuration?: number | undefined;
556
+ hide?: boolean | undefined;
454
557
  } | undefined;
455
558
  report?: {
456
- hide?: boolean | undefined;
457
- tooltipText?: string | undefined;
458
559
  label?: string | undefined;
560
+ tooltipText?: string | undefined;
561
+ hide?: boolean | undefined;
459
562
  } | undefined;
460
563
  }>>>;
461
564
  markdown: z.ZodOptional<z.ZodDefault<z.ZodObject<{
462
565
  frontMatterKeysToResolve: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
463
- lastUpdatedBlock: z.ZodOptional<z.ZodDefault<z.ZodObject<z.extendShape<{
566
+ lastUpdatedBlock: z.ZodOptional<z.ZodDefault<z.ZodObject<{
464
567
  format: z.ZodOptional<z.ZodDefault<z.ZodEnum<["timeago", "iso", "long", "short"]>>>;
465
568
  locale: z.ZodOptional<z.ZodDefault<z.ZodString>>;
466
- }, {
467
569
  hide: z.ZodOptional<z.ZodBoolean>;
468
- }>, "strip", z.ZodTypeAny, {
469
- hide?: boolean | undefined;
570
+ }, "strip", z.ZodTypeAny, {
470
571
  format?: "timeago" | "iso" | "long" | "short" | undefined;
471
572
  locale?: string | undefined;
472
- }, {
473
573
  hide?: boolean | undefined;
574
+ }, {
474
575
  format?: "timeago" | "iso" | "long" | "short" | undefined;
475
576
  locale?: string | undefined;
577
+ hide?: boolean | undefined;
476
578
  }>>>;
477
- toc: z.ZodDefault<z.ZodOptional<z.ZodObject<z.extendShape<{
579
+ toc: z.ZodDefault<z.ZodOptional<z.ZodObject<{
478
580
  header: z.ZodOptional<z.ZodDefault<z.ZodString>>;
479
581
  depth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
480
- }, {
481
582
  hide: z.ZodOptional<z.ZodBoolean>;
482
- }>, "strip", z.ZodTypeAny, {
483
- hide?: boolean | undefined;
583
+ }, "strip", z.ZodTypeAny, {
484
584
  header?: string | undefined;
485
585
  depth?: number | undefined;
486
- }, {
487
586
  hide?: boolean | undefined;
587
+ }, {
488
588
  header?: string | undefined;
489
589
  depth?: number | undefined;
590
+ hide?: boolean | undefined;
490
591
  }>>>;
491
- editPage: z.ZodOptional<z.ZodDefault<z.ZodObject<z.extendShape<{
592
+ editPage: z.ZodOptional<z.ZodDefault<z.ZodObject<{
492
593
  baseUrl: z.ZodOptional<z.ZodString>;
493
594
  icon: z.ZodOptional<z.ZodString>;
494
595
  text: z.ZodDefault<z.ZodOptional<z.ZodString>>;
495
- }, {
496
596
  hide: z.ZodOptional<z.ZodBoolean>;
497
- }>, "strip", z.ZodTypeAny, {
498
- hide?: boolean | undefined;
597
+ }, "strip", z.ZodTypeAny, {
598
+ text: string;
499
599
  baseUrl?: string | undefined;
500
600
  icon?: string | undefined;
501
- text: string;
502
- }, {
503
601
  hide?: boolean | undefined;
602
+ }, {
504
603
  baseUrl?: string | undefined;
505
604
  icon?: string | undefined;
506
605
  text?: string | undefined;
606
+ hide?: boolean | undefined;
507
607
  }>>>;
508
608
  }, "strict", z.ZodTypeAny, {
609
+ toc: {
610
+ header?: string | undefined;
611
+ depth?: number | undefined;
612
+ hide?: boolean | undefined;
613
+ };
509
614
  frontMatterKeysToResolve?: string[] | undefined;
510
615
  lastUpdatedBlock?: {
511
- hide?: boolean | undefined;
512
616
  format?: "timeago" | "iso" | "long" | "short" | undefined;
513
617
  locale?: string | undefined;
618
+ hide?: boolean | undefined;
514
619
  } | undefined;
515
620
  editPage?: {
516
- hide?: boolean | undefined;
621
+ text: string;
517
622
  baseUrl?: string | undefined;
518
623
  icon?: string | undefined;
519
- text: string;
520
- } | undefined;
521
- toc: {
522
624
  hide?: boolean | undefined;
523
- header?: string | undefined;
524
- depth?: number | undefined;
525
- };
625
+ } | undefined;
526
626
  }, {
527
627
  frontMatterKeysToResolve?: string[] | undefined;
528
628
  lastUpdatedBlock?: {
529
- hide?: boolean | undefined;
530
629
  format?: "timeago" | "iso" | "long" | "short" | undefined;
531
630
  locale?: string | undefined;
631
+ hide?: boolean | undefined;
532
632
  } | undefined;
533
633
  toc?: {
534
- hide?: boolean | undefined;
535
634
  header?: string | undefined;
536
635
  depth?: number | undefined;
636
+ hide?: boolean | undefined;
537
637
  } | undefined;
538
638
  editPage?: {
539
- hide?: boolean | undefined;
540
639
  baseUrl?: string | undefined;
541
640
  icon?: string | undefined;
542
641
  text?: string | undefined;
642
+ hide?: boolean | undefined;
543
643
  } | undefined;
544
644
  }>>>;
545
- openapi: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, {}, {}>>;
546
- graphql: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, {}, {}>>;
645
+ openapi: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
646
+ graphql: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
547
647
  analytics: z.ZodOptional<z.ZodAny>;
548
- userProfile: z.ZodDefault<z.ZodOptional<z.ZodObject<z.extendShape<{
648
+ userProfile: z.ZodDefault<z.ZodOptional<z.ZodObject<{
549
649
  loginLabel: z.ZodOptional<z.ZodDefault<z.ZodString>>;
550
650
  logoutLabel: z.ZodOptional<z.ZodDefault<z.ZodString>>;
551
651
  logoutRedirect: z.ZodOptional<z.ZodDefault<z.ZodString>>;
552
- }, {
553
652
  hide: z.ZodOptional<z.ZodBoolean>;
554
- }>, "strip", z.ZodTypeAny, {
555
- hide?: boolean | undefined;
653
+ }, "strip", z.ZodTypeAny, {
556
654
  loginLabel?: string | undefined;
557
655
  logoutLabel?: string | undefined;
558
656
  logoutRedirect?: string | undefined;
559
- }, {
560
657
  hide?: boolean | undefined;
658
+ }, {
561
659
  loginLabel?: string | undefined;
562
660
  logoutLabel?: string | undefined;
563
661
  logoutRedirect?: string | undefined;
662
+ hide?: boolean | undefined;
564
663
  }>>>;
565
- }, "passthrough", z.ZodTypeAny, {
566
- links?: {
567
- type?: string | undefined;
568
- crossorigin?: string | undefined;
569
- fetchpriority?: string | undefined;
570
- integrity?: string | undefined;
571
- referrerpolicy?: string | undefined;
572
- as?: string | undefined;
573
- hreflang?: string | undefined;
574
- imagesizes?: string | undefined;
575
- imagesrcset?: string | undefined;
576
- media?: string | undefined;
577
- prefetch?: string | undefined;
578
- rel?: string | undefined;
579
- sizes?: string | undefined;
580
- title?: string | undefined;
581
- href: string;
582
- }[] | undefined;
583
- imports?: string[] | undefined;
584
- logo?: {
664
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
665
+ imports: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
666
+ logo: z.ZodOptional<z.ZodObject<{
667
+ image: z.ZodOptional<z.ZodString>;
668
+ altText: z.ZodOptional<z.ZodString>;
669
+ link: z.ZodOptional<z.ZodString>;
670
+ favicon: z.ZodOptional<z.ZodString>;
671
+ }, "strict", z.ZodTypeAny, {
585
672
  image?: string | undefined;
586
673
  altText?: string | undefined;
587
674
  link?: string | undefined;
588
675
  favicon?: string | undefined;
589
- } | undefined;
590
- navbar?: {
591
- hide?: boolean | undefined;
592
- items?: any[] | undefined;
593
- } | undefined;
594
- footer?: {
595
- hide?: boolean | undefined;
596
- items?: any[] | undefined;
597
- copyrightText?: string | undefined;
598
- } | undefined;
599
- sidebar?: {
600
- hide?: boolean | undefined;
601
- } | undefined;
602
- scripts?: {
603
- head?: {
604
- async?: boolean | undefined;
605
- type?: string | undefined;
606
- crossorigin?: string | undefined;
607
- defer?: boolean | undefined;
608
- fetchpriority?: string | undefined;
609
- integrity?: string | undefined;
610
- module?: boolean | undefined;
611
- nomodule?: boolean | undefined;
612
- nonce?: string | undefined;
613
- referrerpolicy?: string | undefined;
614
- src: string;
615
- }[] | undefined;
616
- body?: {
617
- async?: boolean | undefined;
618
- type?: string | undefined;
619
- crossorigin?: string | undefined;
620
- defer?: boolean | undefined;
621
- fetchpriority?: string | undefined;
622
- integrity?: string | undefined;
623
- module?: boolean | undefined;
624
- nomodule?: boolean | undefined;
625
- nonce?: string | undefined;
626
- referrerpolicy?: string | undefined;
627
- src: string;
628
- }[] | undefined;
629
- } | undefined;
630
- feedback?: {
631
- hide?: boolean | undefined;
632
- settings?: string | undefined;
633
- type: string;
634
- } | undefined;
635
- search?: {
636
- hide?: boolean | undefined;
637
- placement?: string | undefined;
638
- shortcuts?: string[] | undefined;
639
- } | undefined;
640
- codeSnippet?: {
641
- copy: {
642
- hide?: boolean | undefined;
643
- buttonText?: string | undefined;
644
- tooltipText?: string | undefined;
645
- toasterText?: string | undefined;
646
- toasterDuration?: number | undefined;
647
- };
648
- report: {
649
- hide?: boolean | undefined;
650
- tooltipText?: string | undefined;
651
- label?: string | undefined;
652
- };
653
- } | undefined;
654
- markdown?: {
655
- frontMatterKeysToResolve?: string[] | undefined;
656
- lastUpdatedBlock?: {
657
- hide?: boolean | undefined;
658
- format?: "timeago" | "iso" | "long" | "short" | undefined;
659
- locale?: string | undefined;
660
- } | undefined;
661
- editPage?: {
662
- hide?: boolean | undefined;
663
- baseUrl?: string | undefined;
664
- icon?: string | undefined;
665
- text: string;
666
- } | undefined;
667
- toc: {
668
- hide?: boolean | undefined;
669
- header?: string | undefined;
670
- depth?: number | undefined;
671
- };
672
- } | undefined;
673
- openapi?: {} | undefined;
674
- graphql?: {} | undefined;
675
- analytics?: any;
676
- colorMode: {
677
- hide?: boolean | undefined;
678
- ignoreDetection?: boolean | undefined;
679
- modes?: string[] | undefined;
680
- };
681
- navigation: {
682
- nextButton: {
683
- hide?: boolean | undefined;
684
- text: string;
685
- };
686
- previousButton: {
687
- hide?: boolean | undefined;
688
- text: string;
689
- };
690
- };
691
- userProfile: {
692
- hide?: boolean | undefined;
693
- loginLabel?: string | undefined;
694
- logoutLabel?: string | undefined;
695
- logoutRedirect?: string | undefined;
696
- };
697
- }, {
698
- links?: {
699
- type?: string | undefined;
700
- crossorigin?: string | undefined;
701
- fetchpriority?: string | undefined;
702
- integrity?: string | undefined;
703
- referrerpolicy?: string | undefined;
704
- as?: string | undefined;
705
- hreflang?: string | undefined;
706
- imagesizes?: string | undefined;
707
- imagesrcset?: string | undefined;
708
- media?: string | undefined;
709
- prefetch?: string | undefined;
710
- rel?: string | undefined;
711
- sizes?: string | undefined;
712
- title?: string | undefined;
713
- href: string;
714
- }[] | undefined;
715
- imports?: string[] | undefined;
716
- logo?: {
676
+ }, {
717
677
  image?: string | undefined;
718
678
  altText?: string | undefined;
719
679
  link?: string | undefined;
720
680
  favicon?: string | undefined;
721
- } | undefined;
722
- navbar?: {
681
+ }>>;
682
+ navbar: z.ZodOptional<z.ZodObject<{
683
+ items: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
684
+ hide: z.ZodOptional<z.ZodBoolean>;
685
+ }, "strict", z.ZodTypeAny, {
686
+ items?: any[] | undefined;
723
687
  hide?: boolean | undefined;
688
+ }, {
724
689
  items?: any[] | undefined;
725
- } | undefined;
726
- footer?: {
727
690
  hide?: boolean | undefined;
691
+ }>>;
692
+ footer: z.ZodOptional<z.ZodObject<{
693
+ items: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
694
+ copyrightText: z.ZodOptional<z.ZodString>;
695
+ hide: z.ZodOptional<z.ZodBoolean>;
696
+ }, "strict", z.ZodTypeAny, {
728
697
  items?: any[] | undefined;
729
698
  copyrightText?: string | undefined;
730
- } | undefined;
731
- sidebar?: {
732
- hide?: boolean | undefined;
733
- } | undefined;
734
- scripts?: {
735
- head?: {
736
- async?: boolean | undefined;
737
- type?: string | undefined;
738
- crossorigin?: string | undefined;
739
- defer?: boolean | undefined;
740
- fetchpriority?: string | undefined;
741
- integrity?: string | undefined;
742
- module?: boolean | undefined;
743
- nomodule?: boolean | undefined;
744
- nonce?: string | undefined;
745
- referrerpolicy?: string | undefined;
746
- src: string;
747
- }[] | undefined;
748
- body?: {
749
- async?: boolean | undefined;
750
- type?: string | undefined;
751
- crossorigin?: string | undefined;
752
- defer?: boolean | undefined;
753
- fetchpriority?: string | undefined;
754
- integrity?: string | undefined;
755
- module?: boolean | undefined;
756
- nomodule?: boolean | undefined;
757
- nonce?: string | undefined;
758
- referrerpolicy?: string | undefined;
759
- src: string;
760
- }[] | undefined;
761
- } | undefined;
762
- feedback?: {
763
- type?: string | undefined;
764
699
  hide?: boolean | undefined;
765
- settings?: string | undefined;
766
- } | undefined;
767
- search?: {
700
+ }, {
701
+ items?: any[] | undefined;
702
+ copyrightText?: string | undefined;
768
703
  hide?: boolean | undefined;
769
- placement?: string | undefined;
770
- shortcuts?: string[] | undefined;
771
- } | undefined;
772
- colorMode?: {
704
+ }>>;
705
+ sidebar: z.ZodOptional<z.ZodObject<{
706
+ hide: z.ZodOptional<z.ZodBoolean>;
707
+ }, "strict", z.ZodTypeAny, {
773
708
  hide?: boolean | undefined;
774
- ignoreDetection?: boolean | undefined;
775
- modes?: string[] | undefined;
776
- } | undefined;
777
- navigation?: {
778
- nextButton?: {
779
- hide?: boolean | undefined;
780
- text?: string | undefined;
781
- } | undefined;
782
- previousButton?: {
783
- hide?: boolean | undefined;
784
- text?: string | undefined;
785
- } | undefined;
786
- } | undefined;
787
- codeSnippet?: {
788
- copy?: {
789
- hide?: boolean | undefined;
790
- buttonText?: string | undefined;
791
- tooltipText?: string | undefined;
792
- toasterText?: string | undefined;
793
- toasterDuration?: number | undefined;
794
- } | undefined;
795
- report?: {
796
- hide?: boolean | undefined;
797
- tooltipText?: string | undefined;
798
- label?: string | undefined;
799
- } | undefined;
800
- } | undefined;
801
- markdown?: {
802
- frontMatterKeysToResolve?: string[] | undefined;
803
- lastUpdatedBlock?: {
804
- hide?: boolean | undefined;
805
- format?: "timeago" | "iso" | "long" | "short" | undefined;
806
- locale?: string | undefined;
807
- } | undefined;
808
- toc?: {
809
- hide?: boolean | undefined;
810
- header?: string | undefined;
811
- depth?: number | undefined;
812
- } | undefined;
813
- editPage?: {
814
- hide?: boolean | undefined;
815
- baseUrl?: string | undefined;
816
- icon?: string | undefined;
817
- text?: string | undefined;
818
- } | undefined;
819
- } | undefined;
820
- openapi?: {} | undefined;
821
- graphql?: {} | undefined;
822
- analytics?: any;
823
- userProfile?: {
709
+ }, {
824
710
  hide?: boolean | undefined;
825
- loginLabel?: string | undefined;
826
- logoutLabel?: string | undefined;
827
- logoutRedirect?: string | undefined;
828
- } | undefined;
829
- }>>;
711
+ }>>;
712
+ scripts: z.ZodOptional<z.ZodObject<{
713
+ head: z.ZodOptional<z.ZodArray<z.ZodObject<{
714
+ src: z.ZodString;
715
+ async: z.ZodOptional<z.ZodBoolean>;
716
+ crossorigin: z.ZodOptional<z.ZodString>;
717
+ defer: z.ZodOptional<z.ZodBoolean>;
718
+ fetchpriority: z.ZodOptional<z.ZodString>;
719
+ integrity: z.ZodOptional<z.ZodString>;
720
+ module: z.ZodOptional<z.ZodBoolean>;
721
+ nomodule: z.ZodOptional<z.ZodBoolean>;
722
+ nonce: z.ZodOptional<z.ZodString>;
723
+ referrerpolicy: z.ZodOptional<z.ZodString>;
724
+ type: z.ZodOptional<z.ZodString>;
725
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
726
+ src: z.ZodString;
727
+ async: z.ZodOptional<z.ZodBoolean>;
728
+ crossorigin: z.ZodOptional<z.ZodString>;
729
+ defer: z.ZodOptional<z.ZodBoolean>;
730
+ fetchpriority: z.ZodOptional<z.ZodString>;
731
+ integrity: z.ZodOptional<z.ZodString>;
732
+ module: z.ZodOptional<z.ZodBoolean>;
733
+ nomodule: z.ZodOptional<z.ZodBoolean>;
734
+ nonce: z.ZodOptional<z.ZodString>;
735
+ referrerpolicy: z.ZodOptional<z.ZodString>;
736
+ type: z.ZodOptional<z.ZodString>;
737
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
738
+ src: z.ZodString;
739
+ async: z.ZodOptional<z.ZodBoolean>;
740
+ crossorigin: z.ZodOptional<z.ZodString>;
741
+ defer: z.ZodOptional<z.ZodBoolean>;
742
+ fetchpriority: z.ZodOptional<z.ZodString>;
743
+ integrity: z.ZodOptional<z.ZodString>;
744
+ module: z.ZodOptional<z.ZodBoolean>;
745
+ nomodule: z.ZodOptional<z.ZodBoolean>;
746
+ nonce: z.ZodOptional<z.ZodString>;
747
+ referrerpolicy: z.ZodOptional<z.ZodString>;
748
+ type: z.ZodOptional<z.ZodString>;
749
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
750
+ body: z.ZodOptional<z.ZodArray<z.ZodObject<{
751
+ src: z.ZodString;
752
+ async: z.ZodOptional<z.ZodBoolean>;
753
+ crossorigin: z.ZodOptional<z.ZodString>;
754
+ defer: z.ZodOptional<z.ZodBoolean>;
755
+ fetchpriority: z.ZodOptional<z.ZodString>;
756
+ integrity: z.ZodOptional<z.ZodString>;
757
+ module: z.ZodOptional<z.ZodBoolean>;
758
+ nomodule: z.ZodOptional<z.ZodBoolean>;
759
+ nonce: z.ZodOptional<z.ZodString>;
760
+ referrerpolicy: z.ZodOptional<z.ZodString>;
761
+ type: z.ZodOptional<z.ZodString>;
762
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
763
+ src: z.ZodString;
764
+ async: z.ZodOptional<z.ZodBoolean>;
765
+ crossorigin: z.ZodOptional<z.ZodString>;
766
+ defer: z.ZodOptional<z.ZodBoolean>;
767
+ fetchpriority: z.ZodOptional<z.ZodString>;
768
+ integrity: z.ZodOptional<z.ZodString>;
769
+ module: z.ZodOptional<z.ZodBoolean>;
770
+ nomodule: z.ZodOptional<z.ZodBoolean>;
771
+ nonce: z.ZodOptional<z.ZodString>;
772
+ referrerpolicy: z.ZodOptional<z.ZodString>;
773
+ type: z.ZodOptional<z.ZodString>;
774
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
775
+ src: z.ZodString;
776
+ async: z.ZodOptional<z.ZodBoolean>;
777
+ crossorigin: z.ZodOptional<z.ZodString>;
778
+ defer: z.ZodOptional<z.ZodBoolean>;
779
+ fetchpriority: z.ZodOptional<z.ZodString>;
780
+ integrity: z.ZodOptional<z.ZodString>;
781
+ module: z.ZodOptional<z.ZodBoolean>;
782
+ nomodule: z.ZodOptional<z.ZodBoolean>;
783
+ nonce: z.ZodOptional<z.ZodString>;
784
+ referrerpolicy: z.ZodOptional<z.ZodString>;
785
+ type: z.ZodOptional<z.ZodString>;
786
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
787
+ }, "strip", z.ZodTypeAny, {
788
+ head?: z.objectOutputType<{
789
+ src: z.ZodString;
790
+ async: z.ZodOptional<z.ZodBoolean>;
791
+ crossorigin: z.ZodOptional<z.ZodString>;
792
+ defer: z.ZodOptional<z.ZodBoolean>;
793
+ fetchpriority: z.ZodOptional<z.ZodString>;
794
+ integrity: z.ZodOptional<z.ZodString>;
795
+ module: z.ZodOptional<z.ZodBoolean>;
796
+ nomodule: z.ZodOptional<z.ZodBoolean>;
797
+ nonce: z.ZodOptional<z.ZodString>;
798
+ referrerpolicy: z.ZodOptional<z.ZodString>;
799
+ type: z.ZodOptional<z.ZodString>;
800
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
801
+ body?: z.objectOutputType<{
802
+ src: z.ZodString;
803
+ async: z.ZodOptional<z.ZodBoolean>;
804
+ crossorigin: z.ZodOptional<z.ZodString>;
805
+ defer: z.ZodOptional<z.ZodBoolean>;
806
+ fetchpriority: z.ZodOptional<z.ZodString>;
807
+ integrity: z.ZodOptional<z.ZodString>;
808
+ module: z.ZodOptional<z.ZodBoolean>;
809
+ nomodule: z.ZodOptional<z.ZodBoolean>;
810
+ nonce: z.ZodOptional<z.ZodString>;
811
+ referrerpolicy: z.ZodOptional<z.ZodString>;
812
+ type: z.ZodOptional<z.ZodString>;
813
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
814
+ }, {
815
+ head?: z.objectInputType<{
816
+ src: z.ZodString;
817
+ async: z.ZodOptional<z.ZodBoolean>;
818
+ crossorigin: z.ZodOptional<z.ZodString>;
819
+ defer: z.ZodOptional<z.ZodBoolean>;
820
+ fetchpriority: z.ZodOptional<z.ZodString>;
821
+ integrity: z.ZodOptional<z.ZodString>;
822
+ module: z.ZodOptional<z.ZodBoolean>;
823
+ nomodule: z.ZodOptional<z.ZodBoolean>;
824
+ nonce: z.ZodOptional<z.ZodString>;
825
+ referrerpolicy: z.ZodOptional<z.ZodString>;
826
+ type: z.ZodOptional<z.ZodString>;
827
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
828
+ body?: z.objectInputType<{
829
+ src: z.ZodString;
830
+ async: z.ZodOptional<z.ZodBoolean>;
831
+ crossorigin: z.ZodOptional<z.ZodString>;
832
+ defer: z.ZodOptional<z.ZodBoolean>;
833
+ fetchpriority: z.ZodOptional<z.ZodString>;
834
+ integrity: z.ZodOptional<z.ZodString>;
835
+ module: z.ZodOptional<z.ZodBoolean>;
836
+ nomodule: z.ZodOptional<z.ZodBoolean>;
837
+ nonce: z.ZodOptional<z.ZodString>;
838
+ referrerpolicy: z.ZodOptional<z.ZodString>;
839
+ type: z.ZodOptional<z.ZodString>;
840
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
841
+ }>>;
842
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
843
+ href: z.ZodString;
844
+ as: z.ZodOptional<z.ZodString>;
845
+ crossorigin: z.ZodOptional<z.ZodString>;
846
+ fetchpriority: z.ZodOptional<z.ZodString>;
847
+ hreflang: z.ZodOptional<z.ZodString>;
848
+ imagesizes: z.ZodOptional<z.ZodString>;
849
+ imagesrcset: z.ZodOptional<z.ZodString>;
850
+ integrity: z.ZodOptional<z.ZodString>;
851
+ media: z.ZodOptional<z.ZodString>;
852
+ prefetch: z.ZodOptional<z.ZodString>;
853
+ referrerpolicy: z.ZodOptional<z.ZodString>;
854
+ rel: z.ZodOptional<z.ZodString>;
855
+ sizes: z.ZodOptional<z.ZodString>;
856
+ title: z.ZodOptional<z.ZodString>;
857
+ type: z.ZodOptional<z.ZodString>;
858
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
859
+ href: z.ZodString;
860
+ as: z.ZodOptional<z.ZodString>;
861
+ crossorigin: z.ZodOptional<z.ZodString>;
862
+ fetchpriority: z.ZodOptional<z.ZodString>;
863
+ hreflang: z.ZodOptional<z.ZodString>;
864
+ imagesizes: z.ZodOptional<z.ZodString>;
865
+ imagesrcset: z.ZodOptional<z.ZodString>;
866
+ integrity: z.ZodOptional<z.ZodString>;
867
+ media: z.ZodOptional<z.ZodString>;
868
+ prefetch: z.ZodOptional<z.ZodString>;
869
+ referrerpolicy: z.ZodOptional<z.ZodString>;
870
+ rel: z.ZodOptional<z.ZodString>;
871
+ sizes: z.ZodOptional<z.ZodString>;
872
+ title: z.ZodOptional<z.ZodString>;
873
+ type: z.ZodOptional<z.ZodString>;
874
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
875
+ href: z.ZodString;
876
+ as: z.ZodOptional<z.ZodString>;
877
+ crossorigin: z.ZodOptional<z.ZodString>;
878
+ fetchpriority: z.ZodOptional<z.ZodString>;
879
+ hreflang: z.ZodOptional<z.ZodString>;
880
+ imagesizes: z.ZodOptional<z.ZodString>;
881
+ imagesrcset: z.ZodOptional<z.ZodString>;
882
+ integrity: z.ZodOptional<z.ZodString>;
883
+ media: z.ZodOptional<z.ZodString>;
884
+ prefetch: z.ZodOptional<z.ZodString>;
885
+ referrerpolicy: z.ZodOptional<z.ZodString>;
886
+ rel: z.ZodOptional<z.ZodString>;
887
+ sizes: z.ZodOptional<z.ZodString>;
888
+ title: z.ZodOptional<z.ZodString>;
889
+ type: z.ZodOptional<z.ZodString>;
890
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
891
+ feedback: z.ZodOptional<z.ZodDefault<z.ZodObject<{
892
+ type: z.ZodDefault<z.ZodEnum<["rating", "sentiment", "comment", "reasons"]>>;
893
+ settings: z.ZodOptional<z.ZodObject<{
894
+ label: z.ZodOptional<z.ZodString>;
895
+ submitText: z.ZodOptional<z.ZodString>;
896
+ max: z.ZodOptional<z.ZodNumber>;
897
+ buttonText: z.ZodOptional<z.ZodString>;
898
+ multi: z.ZodOptional<z.ZodBoolean>;
899
+ items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
900
+ reasons: z.ZodOptional<z.ZodObject<{
901
+ enable: z.ZodDefault<z.ZodBoolean>;
902
+ multi: z.ZodOptional<z.ZodBoolean>;
903
+ label: z.ZodOptional<z.ZodString>;
904
+ items: z.ZodArray<z.ZodString, "many">;
905
+ }, "strip", z.ZodTypeAny, {
906
+ items: string[];
907
+ enable: boolean;
908
+ multi?: boolean | undefined;
909
+ label?: string | undefined;
910
+ }, {
911
+ items: string[];
912
+ enable?: boolean | undefined;
913
+ multi?: boolean | undefined;
914
+ label?: string | undefined;
915
+ }>>;
916
+ comment: z.ZodOptional<z.ZodObject<{
917
+ enable: z.ZodDefault<z.ZodBoolean>;
918
+ label: z.ZodOptional<z.ZodString>;
919
+ likeLabel: z.ZodOptional<z.ZodString>;
920
+ dislikeLabel: z.ZodOptional<z.ZodString>;
921
+ }, "strip", z.ZodTypeAny, {
922
+ enable: boolean;
923
+ label?: string | undefined;
924
+ likeLabel?: string | undefined;
925
+ dislikeLabel?: string | undefined;
926
+ }, {
927
+ enable?: boolean | undefined;
928
+ label?: string | undefined;
929
+ likeLabel?: string | undefined;
930
+ dislikeLabel?: string | undefined;
931
+ }>>;
932
+ }, "strip", z.ZodTypeAny, {
933
+ label?: string | undefined;
934
+ submitText?: string | undefined;
935
+ max?: number | undefined;
936
+ buttonText?: string | undefined;
937
+ multi?: boolean | undefined;
938
+ items?: string[] | undefined;
939
+ reasons?: {
940
+ items: string[];
941
+ enable: boolean;
942
+ multi?: boolean | undefined;
943
+ label?: string | undefined;
944
+ } | undefined;
945
+ comment?: {
946
+ enable: boolean;
947
+ label?: string | undefined;
948
+ likeLabel?: string | undefined;
949
+ dislikeLabel?: string | undefined;
950
+ } | undefined;
951
+ }, {
952
+ label?: string | undefined;
953
+ submitText?: string | undefined;
954
+ max?: number | undefined;
955
+ buttonText?: string | undefined;
956
+ multi?: boolean | undefined;
957
+ items?: string[] | undefined;
958
+ reasons?: {
959
+ items: string[];
960
+ enable?: boolean | undefined;
961
+ multi?: boolean | undefined;
962
+ label?: string | undefined;
963
+ } | undefined;
964
+ comment?: {
965
+ enable?: boolean | undefined;
966
+ label?: string | undefined;
967
+ likeLabel?: string | undefined;
968
+ dislikeLabel?: string | undefined;
969
+ } | undefined;
970
+ }>>;
971
+ hide: z.ZodOptional<z.ZodBoolean>;
972
+ }, "strict", z.ZodTypeAny, {
973
+ type: "rating" | "sentiment" | "comment" | "reasons";
974
+ settings?: {
975
+ label?: string | undefined;
976
+ submitText?: string | undefined;
977
+ max?: number | undefined;
978
+ buttonText?: string | undefined;
979
+ multi?: boolean | undefined;
980
+ items?: string[] | undefined;
981
+ reasons?: {
982
+ items: string[];
983
+ enable: boolean;
984
+ multi?: boolean | undefined;
985
+ label?: string | undefined;
986
+ } | undefined;
987
+ comment?: {
988
+ enable: boolean;
989
+ label?: string | undefined;
990
+ likeLabel?: string | undefined;
991
+ dislikeLabel?: string | undefined;
992
+ } | undefined;
993
+ } | undefined;
994
+ hide?: boolean | undefined;
995
+ }, {
996
+ type?: "rating" | "sentiment" | "comment" | "reasons" | undefined;
997
+ settings?: {
998
+ label?: string | undefined;
999
+ submitText?: string | undefined;
1000
+ max?: number | undefined;
1001
+ buttonText?: string | undefined;
1002
+ multi?: boolean | undefined;
1003
+ items?: string[] | undefined;
1004
+ reasons?: {
1005
+ items: string[];
1006
+ enable?: boolean | undefined;
1007
+ multi?: boolean | undefined;
1008
+ label?: string | undefined;
1009
+ } | undefined;
1010
+ comment?: {
1011
+ enable?: boolean | undefined;
1012
+ label?: string | undefined;
1013
+ likeLabel?: string | undefined;
1014
+ dislikeLabel?: string | undefined;
1015
+ } | undefined;
1016
+ } | undefined;
1017
+ hide?: boolean | undefined;
1018
+ }>>>;
1019
+ search: z.ZodOptional<z.ZodDefault<z.ZodObject<{
1020
+ placement: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1021
+ shortcuts: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1022
+ hide: z.ZodOptional<z.ZodBoolean>;
1023
+ }, "strict", z.ZodTypeAny, {
1024
+ placement?: string | undefined;
1025
+ shortcuts?: string[] | undefined;
1026
+ hide?: boolean | undefined;
1027
+ }, {
1028
+ placement?: string | undefined;
1029
+ shortcuts?: string[] | undefined;
1030
+ hide?: boolean | undefined;
1031
+ }>>>;
1032
+ colorMode: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1033
+ ignoreDetection: z.ZodOptional<z.ZodBoolean>;
1034
+ modes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1035
+ hide: z.ZodOptional<z.ZodBoolean>;
1036
+ }, "strict", z.ZodTypeAny, {
1037
+ ignoreDetection?: boolean | undefined;
1038
+ modes?: string[] | undefined;
1039
+ hide?: boolean | undefined;
1040
+ }, {
1041
+ ignoreDetection?: boolean | undefined;
1042
+ modes?: string[] | undefined;
1043
+ hide?: boolean | undefined;
1044
+ }>>>;
1045
+ navigation: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1046
+ nextButton: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1047
+ text: z.ZodDefault<z.ZodString>;
1048
+ hide: z.ZodOptional<z.ZodBoolean>;
1049
+ }, "strip", z.ZodTypeAny, {
1050
+ text: string;
1051
+ hide?: boolean | undefined;
1052
+ }, {
1053
+ text?: string | undefined;
1054
+ hide?: boolean | undefined;
1055
+ }>>>;
1056
+ previousButton: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1057
+ text: z.ZodDefault<z.ZodString>;
1058
+ hide: z.ZodOptional<z.ZodBoolean>;
1059
+ }, "strip", z.ZodTypeAny, {
1060
+ text: string;
1061
+ hide?: boolean | undefined;
1062
+ }, {
1063
+ text?: string | undefined;
1064
+ hide?: boolean | undefined;
1065
+ }>>>;
1066
+ }, "strict", z.ZodTypeAny, {
1067
+ nextButton: {
1068
+ text: string;
1069
+ hide?: boolean | undefined;
1070
+ };
1071
+ previousButton: {
1072
+ text: string;
1073
+ hide?: boolean | undefined;
1074
+ };
1075
+ }, {
1076
+ nextButton?: {
1077
+ text?: string | undefined;
1078
+ hide?: boolean | undefined;
1079
+ } | undefined;
1080
+ previousButton?: {
1081
+ text?: string | undefined;
1082
+ hide?: boolean | undefined;
1083
+ } | undefined;
1084
+ }>>>;
1085
+ codeSnippet: z.ZodOptional<z.ZodDefault<z.ZodObject<{
1086
+ copy: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1087
+ buttonText: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1088
+ tooltipText: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1089
+ toasterText: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1090
+ toasterDuration: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1091
+ hide: z.ZodOptional<z.ZodBoolean>;
1092
+ }, "strip", z.ZodTypeAny, {
1093
+ buttonText?: string | undefined;
1094
+ tooltipText?: string | undefined;
1095
+ toasterText?: string | undefined;
1096
+ toasterDuration?: number | undefined;
1097
+ hide?: boolean | undefined;
1098
+ }, {
1099
+ buttonText?: string | undefined;
1100
+ tooltipText?: string | undefined;
1101
+ toasterText?: string | undefined;
1102
+ toasterDuration?: number | undefined;
1103
+ hide?: boolean | undefined;
1104
+ }>>>;
1105
+ report: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1106
+ label: z.ZodOptional<z.ZodString>;
1107
+ tooltipText: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1108
+ hide: z.ZodOptional<z.ZodBoolean>;
1109
+ }, "strip", z.ZodTypeAny, {
1110
+ label?: string | undefined;
1111
+ tooltipText?: string | undefined;
1112
+ hide?: boolean | undefined;
1113
+ }, {
1114
+ label?: string | undefined;
1115
+ tooltipText?: string | undefined;
1116
+ hide?: boolean | undefined;
1117
+ }>>>;
1118
+ }, "strict", z.ZodTypeAny, {
1119
+ copy: {
1120
+ buttonText?: string | undefined;
1121
+ tooltipText?: string | undefined;
1122
+ toasterText?: string | undefined;
1123
+ toasterDuration?: number | undefined;
1124
+ hide?: boolean | undefined;
1125
+ };
1126
+ report: {
1127
+ label?: string | undefined;
1128
+ tooltipText?: string | undefined;
1129
+ hide?: boolean | undefined;
1130
+ };
1131
+ }, {
1132
+ copy?: {
1133
+ buttonText?: string | undefined;
1134
+ tooltipText?: string | undefined;
1135
+ toasterText?: string | undefined;
1136
+ toasterDuration?: number | undefined;
1137
+ hide?: boolean | undefined;
1138
+ } | undefined;
1139
+ report?: {
1140
+ label?: string | undefined;
1141
+ tooltipText?: string | undefined;
1142
+ hide?: boolean | undefined;
1143
+ } | undefined;
1144
+ }>>>;
1145
+ markdown: z.ZodOptional<z.ZodDefault<z.ZodObject<{
1146
+ frontMatterKeysToResolve: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1147
+ lastUpdatedBlock: z.ZodOptional<z.ZodDefault<z.ZodObject<{
1148
+ format: z.ZodOptional<z.ZodDefault<z.ZodEnum<["timeago", "iso", "long", "short"]>>>;
1149
+ locale: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1150
+ hide: z.ZodOptional<z.ZodBoolean>;
1151
+ }, "strip", z.ZodTypeAny, {
1152
+ format?: "timeago" | "iso" | "long" | "short" | undefined;
1153
+ locale?: string | undefined;
1154
+ hide?: boolean | undefined;
1155
+ }, {
1156
+ format?: "timeago" | "iso" | "long" | "short" | undefined;
1157
+ locale?: string | undefined;
1158
+ hide?: boolean | undefined;
1159
+ }>>>;
1160
+ toc: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1161
+ header: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1162
+ depth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1163
+ hide: z.ZodOptional<z.ZodBoolean>;
1164
+ }, "strip", z.ZodTypeAny, {
1165
+ header?: string | undefined;
1166
+ depth?: number | undefined;
1167
+ hide?: boolean | undefined;
1168
+ }, {
1169
+ header?: string | undefined;
1170
+ depth?: number | undefined;
1171
+ hide?: boolean | undefined;
1172
+ }>>>;
1173
+ editPage: z.ZodOptional<z.ZodDefault<z.ZodObject<{
1174
+ baseUrl: z.ZodOptional<z.ZodString>;
1175
+ icon: z.ZodOptional<z.ZodString>;
1176
+ text: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1177
+ hide: z.ZodOptional<z.ZodBoolean>;
1178
+ }, "strip", z.ZodTypeAny, {
1179
+ text: string;
1180
+ baseUrl?: string | undefined;
1181
+ icon?: string | undefined;
1182
+ hide?: boolean | undefined;
1183
+ }, {
1184
+ baseUrl?: string | undefined;
1185
+ icon?: string | undefined;
1186
+ text?: string | undefined;
1187
+ hide?: boolean | undefined;
1188
+ }>>>;
1189
+ }, "strict", z.ZodTypeAny, {
1190
+ toc: {
1191
+ header?: string | undefined;
1192
+ depth?: number | undefined;
1193
+ hide?: boolean | undefined;
1194
+ };
1195
+ frontMatterKeysToResolve?: string[] | undefined;
1196
+ lastUpdatedBlock?: {
1197
+ format?: "timeago" | "iso" | "long" | "short" | undefined;
1198
+ locale?: string | undefined;
1199
+ hide?: boolean | undefined;
1200
+ } | undefined;
1201
+ editPage?: {
1202
+ text: string;
1203
+ baseUrl?: string | undefined;
1204
+ icon?: string | undefined;
1205
+ hide?: boolean | undefined;
1206
+ } | undefined;
1207
+ }, {
1208
+ frontMatterKeysToResolve?: string[] | undefined;
1209
+ lastUpdatedBlock?: {
1210
+ format?: "timeago" | "iso" | "long" | "short" | undefined;
1211
+ locale?: string | undefined;
1212
+ hide?: boolean | undefined;
1213
+ } | undefined;
1214
+ toc?: {
1215
+ header?: string | undefined;
1216
+ depth?: number | undefined;
1217
+ hide?: boolean | undefined;
1218
+ } | undefined;
1219
+ editPage?: {
1220
+ baseUrl?: string | undefined;
1221
+ icon?: string | undefined;
1222
+ text?: string | undefined;
1223
+ hide?: boolean | undefined;
1224
+ } | undefined;
1225
+ }>>>;
1226
+ openapi: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1227
+ graphql: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1228
+ analytics: z.ZodOptional<z.ZodAny>;
1229
+ userProfile: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1230
+ loginLabel: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1231
+ logoutLabel: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1232
+ logoutRedirect: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1233
+ hide: z.ZodOptional<z.ZodBoolean>;
1234
+ }, "strip", z.ZodTypeAny, {
1235
+ loginLabel?: string | undefined;
1236
+ logoutLabel?: string | undefined;
1237
+ logoutRedirect?: string | undefined;
1238
+ hide?: boolean | undefined;
1239
+ }, {
1240
+ loginLabel?: string | undefined;
1241
+ logoutLabel?: string | undefined;
1242
+ logoutRedirect?: string | undefined;
1243
+ hide?: boolean | undefined;
1244
+ }>>>;
1245
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1246
+ imports: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1247
+ logo: z.ZodOptional<z.ZodObject<{
1248
+ image: z.ZodOptional<z.ZodString>;
1249
+ altText: z.ZodOptional<z.ZodString>;
1250
+ link: z.ZodOptional<z.ZodString>;
1251
+ favicon: z.ZodOptional<z.ZodString>;
1252
+ }, "strict", z.ZodTypeAny, {
1253
+ image?: string | undefined;
1254
+ altText?: string | undefined;
1255
+ link?: string | undefined;
1256
+ favicon?: string | undefined;
1257
+ }, {
1258
+ image?: string | undefined;
1259
+ altText?: string | undefined;
1260
+ link?: string | undefined;
1261
+ favicon?: string | undefined;
1262
+ }>>;
1263
+ navbar: z.ZodOptional<z.ZodObject<{
1264
+ items: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1265
+ hide: z.ZodOptional<z.ZodBoolean>;
1266
+ }, "strict", z.ZodTypeAny, {
1267
+ items?: any[] | undefined;
1268
+ hide?: boolean | undefined;
1269
+ }, {
1270
+ items?: any[] | undefined;
1271
+ hide?: boolean | undefined;
1272
+ }>>;
1273
+ footer: z.ZodOptional<z.ZodObject<{
1274
+ items: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
1275
+ copyrightText: z.ZodOptional<z.ZodString>;
1276
+ hide: z.ZodOptional<z.ZodBoolean>;
1277
+ }, "strict", z.ZodTypeAny, {
1278
+ items?: any[] | undefined;
1279
+ copyrightText?: string | undefined;
1280
+ hide?: boolean | undefined;
1281
+ }, {
1282
+ items?: any[] | undefined;
1283
+ copyrightText?: string | undefined;
1284
+ hide?: boolean | undefined;
1285
+ }>>;
1286
+ sidebar: z.ZodOptional<z.ZodObject<{
1287
+ hide: z.ZodOptional<z.ZodBoolean>;
1288
+ }, "strict", z.ZodTypeAny, {
1289
+ hide?: boolean | undefined;
1290
+ }, {
1291
+ hide?: boolean | undefined;
1292
+ }>>;
1293
+ scripts: z.ZodOptional<z.ZodObject<{
1294
+ head: z.ZodOptional<z.ZodArray<z.ZodObject<{
1295
+ src: z.ZodString;
1296
+ async: z.ZodOptional<z.ZodBoolean>;
1297
+ crossorigin: z.ZodOptional<z.ZodString>;
1298
+ defer: z.ZodOptional<z.ZodBoolean>;
1299
+ fetchpriority: z.ZodOptional<z.ZodString>;
1300
+ integrity: z.ZodOptional<z.ZodString>;
1301
+ module: z.ZodOptional<z.ZodBoolean>;
1302
+ nomodule: z.ZodOptional<z.ZodBoolean>;
1303
+ nonce: z.ZodOptional<z.ZodString>;
1304
+ referrerpolicy: z.ZodOptional<z.ZodString>;
1305
+ type: z.ZodOptional<z.ZodString>;
1306
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1307
+ src: z.ZodString;
1308
+ async: z.ZodOptional<z.ZodBoolean>;
1309
+ crossorigin: z.ZodOptional<z.ZodString>;
1310
+ defer: z.ZodOptional<z.ZodBoolean>;
1311
+ fetchpriority: z.ZodOptional<z.ZodString>;
1312
+ integrity: z.ZodOptional<z.ZodString>;
1313
+ module: z.ZodOptional<z.ZodBoolean>;
1314
+ nomodule: z.ZodOptional<z.ZodBoolean>;
1315
+ nonce: z.ZodOptional<z.ZodString>;
1316
+ referrerpolicy: z.ZodOptional<z.ZodString>;
1317
+ type: z.ZodOptional<z.ZodString>;
1318
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1319
+ src: z.ZodString;
1320
+ async: z.ZodOptional<z.ZodBoolean>;
1321
+ crossorigin: z.ZodOptional<z.ZodString>;
1322
+ defer: z.ZodOptional<z.ZodBoolean>;
1323
+ fetchpriority: z.ZodOptional<z.ZodString>;
1324
+ integrity: z.ZodOptional<z.ZodString>;
1325
+ module: z.ZodOptional<z.ZodBoolean>;
1326
+ nomodule: z.ZodOptional<z.ZodBoolean>;
1327
+ nonce: z.ZodOptional<z.ZodString>;
1328
+ referrerpolicy: z.ZodOptional<z.ZodString>;
1329
+ type: z.ZodOptional<z.ZodString>;
1330
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1331
+ body: z.ZodOptional<z.ZodArray<z.ZodObject<{
1332
+ src: z.ZodString;
1333
+ async: z.ZodOptional<z.ZodBoolean>;
1334
+ crossorigin: z.ZodOptional<z.ZodString>;
1335
+ defer: z.ZodOptional<z.ZodBoolean>;
1336
+ fetchpriority: z.ZodOptional<z.ZodString>;
1337
+ integrity: z.ZodOptional<z.ZodString>;
1338
+ module: z.ZodOptional<z.ZodBoolean>;
1339
+ nomodule: z.ZodOptional<z.ZodBoolean>;
1340
+ nonce: z.ZodOptional<z.ZodString>;
1341
+ referrerpolicy: z.ZodOptional<z.ZodString>;
1342
+ type: z.ZodOptional<z.ZodString>;
1343
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1344
+ src: z.ZodString;
1345
+ async: z.ZodOptional<z.ZodBoolean>;
1346
+ crossorigin: z.ZodOptional<z.ZodString>;
1347
+ defer: z.ZodOptional<z.ZodBoolean>;
1348
+ fetchpriority: z.ZodOptional<z.ZodString>;
1349
+ integrity: z.ZodOptional<z.ZodString>;
1350
+ module: z.ZodOptional<z.ZodBoolean>;
1351
+ nomodule: z.ZodOptional<z.ZodBoolean>;
1352
+ nonce: z.ZodOptional<z.ZodString>;
1353
+ referrerpolicy: z.ZodOptional<z.ZodString>;
1354
+ type: z.ZodOptional<z.ZodString>;
1355
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1356
+ src: z.ZodString;
1357
+ async: z.ZodOptional<z.ZodBoolean>;
1358
+ crossorigin: z.ZodOptional<z.ZodString>;
1359
+ defer: z.ZodOptional<z.ZodBoolean>;
1360
+ fetchpriority: z.ZodOptional<z.ZodString>;
1361
+ integrity: z.ZodOptional<z.ZodString>;
1362
+ module: z.ZodOptional<z.ZodBoolean>;
1363
+ nomodule: z.ZodOptional<z.ZodBoolean>;
1364
+ nonce: z.ZodOptional<z.ZodString>;
1365
+ referrerpolicy: z.ZodOptional<z.ZodString>;
1366
+ type: z.ZodOptional<z.ZodString>;
1367
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1368
+ }, "strip", z.ZodTypeAny, {
1369
+ head?: z.objectOutputType<{
1370
+ src: z.ZodString;
1371
+ async: z.ZodOptional<z.ZodBoolean>;
1372
+ crossorigin: z.ZodOptional<z.ZodString>;
1373
+ defer: z.ZodOptional<z.ZodBoolean>;
1374
+ fetchpriority: z.ZodOptional<z.ZodString>;
1375
+ integrity: z.ZodOptional<z.ZodString>;
1376
+ module: z.ZodOptional<z.ZodBoolean>;
1377
+ nomodule: z.ZodOptional<z.ZodBoolean>;
1378
+ nonce: z.ZodOptional<z.ZodString>;
1379
+ referrerpolicy: z.ZodOptional<z.ZodString>;
1380
+ type: z.ZodOptional<z.ZodString>;
1381
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
1382
+ body?: z.objectOutputType<{
1383
+ src: z.ZodString;
1384
+ async: z.ZodOptional<z.ZodBoolean>;
1385
+ crossorigin: z.ZodOptional<z.ZodString>;
1386
+ defer: z.ZodOptional<z.ZodBoolean>;
1387
+ fetchpriority: z.ZodOptional<z.ZodString>;
1388
+ integrity: z.ZodOptional<z.ZodString>;
1389
+ module: z.ZodOptional<z.ZodBoolean>;
1390
+ nomodule: z.ZodOptional<z.ZodBoolean>;
1391
+ nonce: z.ZodOptional<z.ZodString>;
1392
+ referrerpolicy: z.ZodOptional<z.ZodString>;
1393
+ type: z.ZodOptional<z.ZodString>;
1394
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
1395
+ }, {
1396
+ head?: z.objectInputType<{
1397
+ src: z.ZodString;
1398
+ async: z.ZodOptional<z.ZodBoolean>;
1399
+ crossorigin: z.ZodOptional<z.ZodString>;
1400
+ defer: z.ZodOptional<z.ZodBoolean>;
1401
+ fetchpriority: z.ZodOptional<z.ZodString>;
1402
+ integrity: z.ZodOptional<z.ZodString>;
1403
+ module: z.ZodOptional<z.ZodBoolean>;
1404
+ nomodule: z.ZodOptional<z.ZodBoolean>;
1405
+ nonce: z.ZodOptional<z.ZodString>;
1406
+ referrerpolicy: z.ZodOptional<z.ZodString>;
1407
+ type: z.ZodOptional<z.ZodString>;
1408
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
1409
+ body?: z.objectInputType<{
1410
+ src: z.ZodString;
1411
+ async: z.ZodOptional<z.ZodBoolean>;
1412
+ crossorigin: z.ZodOptional<z.ZodString>;
1413
+ defer: z.ZodOptional<z.ZodBoolean>;
1414
+ fetchpriority: z.ZodOptional<z.ZodString>;
1415
+ integrity: z.ZodOptional<z.ZodString>;
1416
+ module: z.ZodOptional<z.ZodBoolean>;
1417
+ nomodule: z.ZodOptional<z.ZodBoolean>;
1418
+ nonce: z.ZodOptional<z.ZodString>;
1419
+ referrerpolicy: z.ZodOptional<z.ZodString>;
1420
+ type: z.ZodOptional<z.ZodString>;
1421
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
1422
+ }>>;
1423
+ links: z.ZodOptional<z.ZodArray<z.ZodObject<{
1424
+ href: z.ZodString;
1425
+ as: z.ZodOptional<z.ZodString>;
1426
+ crossorigin: z.ZodOptional<z.ZodString>;
1427
+ fetchpriority: z.ZodOptional<z.ZodString>;
1428
+ hreflang: z.ZodOptional<z.ZodString>;
1429
+ imagesizes: z.ZodOptional<z.ZodString>;
1430
+ imagesrcset: z.ZodOptional<z.ZodString>;
1431
+ integrity: z.ZodOptional<z.ZodString>;
1432
+ media: z.ZodOptional<z.ZodString>;
1433
+ prefetch: z.ZodOptional<z.ZodString>;
1434
+ referrerpolicy: z.ZodOptional<z.ZodString>;
1435
+ rel: z.ZodOptional<z.ZodString>;
1436
+ sizes: z.ZodOptional<z.ZodString>;
1437
+ title: z.ZodOptional<z.ZodString>;
1438
+ type: z.ZodOptional<z.ZodString>;
1439
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1440
+ href: z.ZodString;
1441
+ as: z.ZodOptional<z.ZodString>;
1442
+ crossorigin: z.ZodOptional<z.ZodString>;
1443
+ fetchpriority: z.ZodOptional<z.ZodString>;
1444
+ hreflang: z.ZodOptional<z.ZodString>;
1445
+ imagesizes: z.ZodOptional<z.ZodString>;
1446
+ imagesrcset: z.ZodOptional<z.ZodString>;
1447
+ integrity: z.ZodOptional<z.ZodString>;
1448
+ media: z.ZodOptional<z.ZodString>;
1449
+ prefetch: z.ZodOptional<z.ZodString>;
1450
+ referrerpolicy: z.ZodOptional<z.ZodString>;
1451
+ rel: z.ZodOptional<z.ZodString>;
1452
+ sizes: z.ZodOptional<z.ZodString>;
1453
+ title: z.ZodOptional<z.ZodString>;
1454
+ type: z.ZodOptional<z.ZodString>;
1455
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1456
+ href: z.ZodString;
1457
+ as: z.ZodOptional<z.ZodString>;
1458
+ crossorigin: z.ZodOptional<z.ZodString>;
1459
+ fetchpriority: z.ZodOptional<z.ZodString>;
1460
+ hreflang: z.ZodOptional<z.ZodString>;
1461
+ imagesizes: z.ZodOptional<z.ZodString>;
1462
+ imagesrcset: z.ZodOptional<z.ZodString>;
1463
+ integrity: z.ZodOptional<z.ZodString>;
1464
+ media: z.ZodOptional<z.ZodString>;
1465
+ prefetch: z.ZodOptional<z.ZodString>;
1466
+ referrerpolicy: z.ZodOptional<z.ZodString>;
1467
+ rel: z.ZodOptional<z.ZodString>;
1468
+ sizes: z.ZodOptional<z.ZodString>;
1469
+ title: z.ZodOptional<z.ZodString>;
1470
+ type: z.ZodOptional<z.ZodString>;
1471
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1472
+ feedback: z.ZodOptional<z.ZodDefault<z.ZodObject<{
1473
+ type: z.ZodDefault<z.ZodEnum<["rating", "sentiment", "comment", "reasons"]>>;
1474
+ settings: z.ZodOptional<z.ZodObject<{
1475
+ label: z.ZodOptional<z.ZodString>;
1476
+ submitText: z.ZodOptional<z.ZodString>;
1477
+ max: z.ZodOptional<z.ZodNumber>;
1478
+ buttonText: z.ZodOptional<z.ZodString>;
1479
+ multi: z.ZodOptional<z.ZodBoolean>;
1480
+ items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1481
+ reasons: z.ZodOptional<z.ZodObject<{
1482
+ enable: z.ZodDefault<z.ZodBoolean>;
1483
+ multi: z.ZodOptional<z.ZodBoolean>;
1484
+ label: z.ZodOptional<z.ZodString>;
1485
+ items: z.ZodArray<z.ZodString, "many">;
1486
+ }, "strip", z.ZodTypeAny, {
1487
+ items: string[];
1488
+ enable: boolean;
1489
+ multi?: boolean | undefined;
1490
+ label?: string | undefined;
1491
+ }, {
1492
+ items: string[];
1493
+ enable?: boolean | undefined;
1494
+ multi?: boolean | undefined;
1495
+ label?: string | undefined;
1496
+ }>>;
1497
+ comment: z.ZodOptional<z.ZodObject<{
1498
+ enable: z.ZodDefault<z.ZodBoolean>;
1499
+ label: z.ZodOptional<z.ZodString>;
1500
+ likeLabel: z.ZodOptional<z.ZodString>;
1501
+ dislikeLabel: z.ZodOptional<z.ZodString>;
1502
+ }, "strip", z.ZodTypeAny, {
1503
+ enable: boolean;
1504
+ label?: string | undefined;
1505
+ likeLabel?: string | undefined;
1506
+ dislikeLabel?: string | undefined;
1507
+ }, {
1508
+ enable?: boolean | undefined;
1509
+ label?: string | undefined;
1510
+ likeLabel?: string | undefined;
1511
+ dislikeLabel?: string | undefined;
1512
+ }>>;
1513
+ }, "strip", z.ZodTypeAny, {
1514
+ label?: string | undefined;
1515
+ submitText?: string | undefined;
1516
+ max?: number | undefined;
1517
+ buttonText?: string | undefined;
1518
+ multi?: boolean | undefined;
1519
+ items?: string[] | undefined;
1520
+ reasons?: {
1521
+ items: string[];
1522
+ enable: boolean;
1523
+ multi?: boolean | undefined;
1524
+ label?: string | undefined;
1525
+ } | undefined;
1526
+ comment?: {
1527
+ enable: boolean;
1528
+ label?: string | undefined;
1529
+ likeLabel?: string | undefined;
1530
+ dislikeLabel?: string | undefined;
1531
+ } | undefined;
1532
+ }, {
1533
+ label?: string | undefined;
1534
+ submitText?: string | undefined;
1535
+ max?: number | undefined;
1536
+ buttonText?: string | undefined;
1537
+ multi?: boolean | undefined;
1538
+ items?: string[] | undefined;
1539
+ reasons?: {
1540
+ items: string[];
1541
+ enable?: boolean | undefined;
1542
+ multi?: boolean | undefined;
1543
+ label?: string | undefined;
1544
+ } | undefined;
1545
+ comment?: {
1546
+ enable?: boolean | undefined;
1547
+ label?: string | undefined;
1548
+ likeLabel?: string | undefined;
1549
+ dislikeLabel?: string | undefined;
1550
+ } | undefined;
1551
+ }>>;
1552
+ hide: z.ZodOptional<z.ZodBoolean>;
1553
+ }, "strict", z.ZodTypeAny, {
1554
+ type: "rating" | "sentiment" | "comment" | "reasons";
1555
+ settings?: {
1556
+ label?: string | undefined;
1557
+ submitText?: string | undefined;
1558
+ max?: number | undefined;
1559
+ buttonText?: string | undefined;
1560
+ multi?: boolean | undefined;
1561
+ items?: string[] | undefined;
1562
+ reasons?: {
1563
+ items: string[];
1564
+ enable: boolean;
1565
+ multi?: boolean | undefined;
1566
+ label?: string | undefined;
1567
+ } | undefined;
1568
+ comment?: {
1569
+ enable: boolean;
1570
+ label?: string | undefined;
1571
+ likeLabel?: string | undefined;
1572
+ dislikeLabel?: string | undefined;
1573
+ } | undefined;
1574
+ } | undefined;
1575
+ hide?: boolean | undefined;
1576
+ }, {
1577
+ type?: "rating" | "sentiment" | "comment" | "reasons" | undefined;
1578
+ settings?: {
1579
+ label?: string | undefined;
1580
+ submitText?: string | undefined;
1581
+ max?: number | undefined;
1582
+ buttonText?: string | undefined;
1583
+ multi?: boolean | undefined;
1584
+ items?: string[] | undefined;
1585
+ reasons?: {
1586
+ items: string[];
1587
+ enable?: boolean | undefined;
1588
+ multi?: boolean | undefined;
1589
+ label?: string | undefined;
1590
+ } | undefined;
1591
+ comment?: {
1592
+ enable?: boolean | undefined;
1593
+ label?: string | undefined;
1594
+ likeLabel?: string | undefined;
1595
+ dislikeLabel?: string | undefined;
1596
+ } | undefined;
1597
+ } | undefined;
1598
+ hide?: boolean | undefined;
1599
+ }>>>;
1600
+ search: z.ZodOptional<z.ZodDefault<z.ZodObject<{
1601
+ placement: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1602
+ shortcuts: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1603
+ hide: z.ZodOptional<z.ZodBoolean>;
1604
+ }, "strict", z.ZodTypeAny, {
1605
+ placement?: string | undefined;
1606
+ shortcuts?: string[] | undefined;
1607
+ hide?: boolean | undefined;
1608
+ }, {
1609
+ placement?: string | undefined;
1610
+ shortcuts?: string[] | undefined;
1611
+ hide?: boolean | undefined;
1612
+ }>>>;
1613
+ colorMode: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1614
+ ignoreDetection: z.ZodOptional<z.ZodBoolean>;
1615
+ modes: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1616
+ hide: z.ZodOptional<z.ZodBoolean>;
1617
+ }, "strict", z.ZodTypeAny, {
1618
+ ignoreDetection?: boolean | undefined;
1619
+ modes?: string[] | undefined;
1620
+ hide?: boolean | undefined;
1621
+ }, {
1622
+ ignoreDetection?: boolean | undefined;
1623
+ modes?: string[] | undefined;
1624
+ hide?: boolean | undefined;
1625
+ }>>>;
1626
+ navigation: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1627
+ nextButton: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1628
+ text: z.ZodDefault<z.ZodString>;
1629
+ hide: z.ZodOptional<z.ZodBoolean>;
1630
+ }, "strip", z.ZodTypeAny, {
1631
+ text: string;
1632
+ hide?: boolean | undefined;
1633
+ }, {
1634
+ text?: string | undefined;
1635
+ hide?: boolean | undefined;
1636
+ }>>>;
1637
+ previousButton: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1638
+ text: z.ZodDefault<z.ZodString>;
1639
+ hide: z.ZodOptional<z.ZodBoolean>;
1640
+ }, "strip", z.ZodTypeAny, {
1641
+ text: string;
1642
+ hide?: boolean | undefined;
1643
+ }, {
1644
+ text?: string | undefined;
1645
+ hide?: boolean | undefined;
1646
+ }>>>;
1647
+ }, "strict", z.ZodTypeAny, {
1648
+ nextButton: {
1649
+ text: string;
1650
+ hide?: boolean | undefined;
1651
+ };
1652
+ previousButton: {
1653
+ text: string;
1654
+ hide?: boolean | undefined;
1655
+ };
1656
+ }, {
1657
+ nextButton?: {
1658
+ text?: string | undefined;
1659
+ hide?: boolean | undefined;
1660
+ } | undefined;
1661
+ previousButton?: {
1662
+ text?: string | undefined;
1663
+ hide?: boolean | undefined;
1664
+ } | undefined;
1665
+ }>>>;
1666
+ codeSnippet: z.ZodOptional<z.ZodDefault<z.ZodObject<{
1667
+ copy: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1668
+ buttonText: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1669
+ tooltipText: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1670
+ toasterText: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1671
+ toasterDuration: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1672
+ hide: z.ZodOptional<z.ZodBoolean>;
1673
+ }, "strip", z.ZodTypeAny, {
1674
+ buttonText?: string | undefined;
1675
+ tooltipText?: string | undefined;
1676
+ toasterText?: string | undefined;
1677
+ toasterDuration?: number | undefined;
1678
+ hide?: boolean | undefined;
1679
+ }, {
1680
+ buttonText?: string | undefined;
1681
+ tooltipText?: string | undefined;
1682
+ toasterText?: string | undefined;
1683
+ toasterDuration?: number | undefined;
1684
+ hide?: boolean | undefined;
1685
+ }>>>;
1686
+ report: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1687
+ label: z.ZodOptional<z.ZodString>;
1688
+ tooltipText: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1689
+ hide: z.ZodOptional<z.ZodBoolean>;
1690
+ }, "strip", z.ZodTypeAny, {
1691
+ label?: string | undefined;
1692
+ tooltipText?: string | undefined;
1693
+ hide?: boolean | undefined;
1694
+ }, {
1695
+ label?: string | undefined;
1696
+ tooltipText?: string | undefined;
1697
+ hide?: boolean | undefined;
1698
+ }>>>;
1699
+ }, "strict", z.ZodTypeAny, {
1700
+ copy: {
1701
+ buttonText?: string | undefined;
1702
+ tooltipText?: string | undefined;
1703
+ toasterText?: string | undefined;
1704
+ toasterDuration?: number | undefined;
1705
+ hide?: boolean | undefined;
1706
+ };
1707
+ report: {
1708
+ label?: string | undefined;
1709
+ tooltipText?: string | undefined;
1710
+ hide?: boolean | undefined;
1711
+ };
1712
+ }, {
1713
+ copy?: {
1714
+ buttonText?: string | undefined;
1715
+ tooltipText?: string | undefined;
1716
+ toasterText?: string | undefined;
1717
+ toasterDuration?: number | undefined;
1718
+ hide?: boolean | undefined;
1719
+ } | undefined;
1720
+ report?: {
1721
+ label?: string | undefined;
1722
+ tooltipText?: string | undefined;
1723
+ hide?: boolean | undefined;
1724
+ } | undefined;
1725
+ }>>>;
1726
+ markdown: z.ZodOptional<z.ZodDefault<z.ZodObject<{
1727
+ frontMatterKeysToResolve: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
1728
+ lastUpdatedBlock: z.ZodOptional<z.ZodDefault<z.ZodObject<{
1729
+ format: z.ZodOptional<z.ZodDefault<z.ZodEnum<["timeago", "iso", "long", "short"]>>>;
1730
+ locale: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1731
+ hide: z.ZodOptional<z.ZodBoolean>;
1732
+ }, "strip", z.ZodTypeAny, {
1733
+ format?: "timeago" | "iso" | "long" | "short" | undefined;
1734
+ locale?: string | undefined;
1735
+ hide?: boolean | undefined;
1736
+ }, {
1737
+ format?: "timeago" | "iso" | "long" | "short" | undefined;
1738
+ locale?: string | undefined;
1739
+ hide?: boolean | undefined;
1740
+ }>>>;
1741
+ toc: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1742
+ header: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1743
+ depth: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
1744
+ hide: z.ZodOptional<z.ZodBoolean>;
1745
+ }, "strip", z.ZodTypeAny, {
1746
+ header?: string | undefined;
1747
+ depth?: number | undefined;
1748
+ hide?: boolean | undefined;
1749
+ }, {
1750
+ header?: string | undefined;
1751
+ depth?: number | undefined;
1752
+ hide?: boolean | undefined;
1753
+ }>>>;
1754
+ editPage: z.ZodOptional<z.ZodDefault<z.ZodObject<{
1755
+ baseUrl: z.ZodOptional<z.ZodString>;
1756
+ icon: z.ZodOptional<z.ZodString>;
1757
+ text: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1758
+ hide: z.ZodOptional<z.ZodBoolean>;
1759
+ }, "strip", z.ZodTypeAny, {
1760
+ text: string;
1761
+ baseUrl?: string | undefined;
1762
+ icon?: string | undefined;
1763
+ hide?: boolean | undefined;
1764
+ }, {
1765
+ baseUrl?: string | undefined;
1766
+ icon?: string | undefined;
1767
+ text?: string | undefined;
1768
+ hide?: boolean | undefined;
1769
+ }>>>;
1770
+ }, "strict", z.ZodTypeAny, {
1771
+ toc: {
1772
+ header?: string | undefined;
1773
+ depth?: number | undefined;
1774
+ hide?: boolean | undefined;
1775
+ };
1776
+ frontMatterKeysToResolve?: string[] | undefined;
1777
+ lastUpdatedBlock?: {
1778
+ format?: "timeago" | "iso" | "long" | "short" | undefined;
1779
+ locale?: string | undefined;
1780
+ hide?: boolean | undefined;
1781
+ } | undefined;
1782
+ editPage?: {
1783
+ text: string;
1784
+ baseUrl?: string | undefined;
1785
+ icon?: string | undefined;
1786
+ hide?: boolean | undefined;
1787
+ } | undefined;
1788
+ }, {
1789
+ frontMatterKeysToResolve?: string[] | undefined;
1790
+ lastUpdatedBlock?: {
1791
+ format?: "timeago" | "iso" | "long" | "short" | undefined;
1792
+ locale?: string | undefined;
1793
+ hide?: boolean | undefined;
1794
+ } | undefined;
1795
+ toc?: {
1796
+ header?: string | undefined;
1797
+ depth?: number | undefined;
1798
+ hide?: boolean | undefined;
1799
+ } | undefined;
1800
+ editPage?: {
1801
+ baseUrl?: string | undefined;
1802
+ icon?: string | undefined;
1803
+ text?: string | undefined;
1804
+ hide?: boolean | undefined;
1805
+ } | undefined;
1806
+ }>>>;
1807
+ openapi: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1808
+ graphql: z.ZodOptional<z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>;
1809
+ analytics: z.ZodOptional<z.ZodAny>;
1810
+ userProfile: z.ZodDefault<z.ZodOptional<z.ZodObject<{
1811
+ loginLabel: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1812
+ logoutLabel: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1813
+ logoutRedirect: z.ZodOptional<z.ZodDefault<z.ZodString>>;
1814
+ hide: z.ZodOptional<z.ZodBoolean>;
1815
+ }, "strip", z.ZodTypeAny, {
1816
+ loginLabel?: string | undefined;
1817
+ logoutLabel?: string | undefined;
1818
+ logoutRedirect?: string | undefined;
1819
+ hide?: boolean | undefined;
1820
+ }, {
1821
+ loginLabel?: string | undefined;
1822
+ logoutLabel?: string | undefined;
1823
+ logoutRedirect?: string | undefined;
1824
+ hide?: boolean | undefined;
1825
+ }>>>;
1826
+ }, z.ZodTypeAny, "passthrough">>>;
830
1827
  export type ThemeConfig = z.infer<typeof ThemeConfig>;
831
- export type ThemeUIConfig = Omit<ThemeConfig, 'navbar' | 'footer' | 'links' | 'scripts'> & {
1828
+ export type ThemeUIConfig = ThemeConfig & {
832
1829
  navbar?: any;
833
1830
  footer?: any;
834
1831
  auth?: {