@mintlify/validation 0.1.43 → 0.1.45

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.
Files changed (60) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +55 -55
  3. package/dist/index.d.ts +7 -11
  4. package/dist/index.js +1 -1
  5. package/dist/mint-config/common.d.ts +6 -6
  6. package/dist/mint-config/flattenUnionErrorMessages.d.ts +7 -7
  7. package/dist/mint-config/hexadecimalPattern.d.ts +1 -1
  8. package/dist/mint-config/schemas/analytics.d.ts +275 -171
  9. package/dist/mint-config/schemas/anchorColors.d.ts +28 -14
  10. package/dist/mint-config/schemas/anchors.d.ts +108 -46
  11. package/dist/mint-config/schemas/apiReference.d.ts +77 -0
  12. package/dist/mint-config/schemas/basics.d.ts +80 -0
  13. package/dist/mint-config/schemas/colors.d.ts +62 -61
  14. package/dist/mint-config/schemas/config.d.ts +814 -822
  15. package/dist/mint-config/schemas/favicon.d.ts +2 -2
  16. package/dist/mint-config/schemas/integrations.d.ts +38 -0
  17. package/dist/mint-config/schemas/name.d.ts +2 -2
  18. package/dist/mint-config/schemas/navigation.d.ts +3 -3
  19. package/dist/mint-config/schemas/tabs.d.ts +31 -11
  20. package/dist/mint-config/schemas/versions.d.ts +24 -11
  21. package/dist/mint-config/types/analytics.d.ts +3 -3
  22. package/dist/mint-config/types/anchors.d.ts +4 -4
  23. package/dist/mint-config/types/colors.d.ts +3 -3
  24. package/dist/mint-config/types/config.d.ts +55 -3
  25. package/dist/mint-config/types/enums.d.ts +4 -0
  26. package/dist/mint-config/types/index.d.ts +12 -0
  27. package/dist/mint-config/types/navigation.d.ts +13 -6
  28. package/dist/mint-config/types/versions.d.ts +3 -3
  29. package/dist/mint-config/validateAnchorsWarnings.d.ts +4 -4
  30. package/dist/mint-config/validateVersionsInNavigation.d.ts +5 -5
  31. package/dist/openapi/convertOpenApi.d.ts +18 -18
  32. package/dist/openapi/convertParameters.d.ts +9 -9
  33. package/dist/openapi/convertSchema.d.ts +11 -11
  34. package/dist/openapi/convertSecurity.d.ts +14 -14
  35. package/dist/openapi/convertServers.d.ts +8 -8
  36. package/dist/openapi/types/endpoint.d.ts +128 -128
  37. package/package.json +75 -75
  38. package/dist/schemas/analytics.d.ts +0 -171
  39. package/dist/schemas/anchorColors.d.ts +0 -14
  40. package/dist/schemas/anchors.d.ts +0 -46
  41. package/dist/schemas/colors.d.ts +0 -61
  42. package/dist/schemas/config.d.ts +0 -799
  43. package/dist/schemas/favicon.d.ts +0 -2
  44. package/dist/schemas/name.d.ts +0 -2
  45. package/dist/schemas/navigation.d.ts +0 -3
  46. package/dist/schemas/tabs.d.ts +0 -11
  47. package/dist/schemas/versions.d.ts +0 -11
  48. package/dist/types/analytics.d.ts +0 -3
  49. package/dist/types/anchors.d.ts +0 -3
  50. package/dist/types/colors.d.ts +0 -3
  51. package/dist/types/config.d.ts +0 -3
  52. package/dist/types/endpoint.d.ts +0 -125
  53. package/dist/types/navigation.d.ts +0 -6
  54. package/dist/types/versions.d.ts +0 -3
  55. package/dist/utils/common.d.ts +0 -6
  56. package/dist/utils/convertOpenApi.d.ts +0 -43
  57. package/dist/utils/flattenUnionErrorMessages.d.ts +0 -7
  58. package/dist/utils/hexadecimalPattern.d.ts +0 -1
  59. package/dist/utils/validateAnchorsWarnings.d.ts +0 -4
  60. package/dist/utils/validateVersionsInNavigation.d.ts +0 -5
@@ -1,822 +1,814 @@
1
- import { z } from 'zod';
2
- export declare const configSchema: z.ZodObject<{
3
- $schema: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4
- mintlify: z.ZodOptional<z.ZodString>;
5
- name: z.ZodString;
6
- logo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
7
- light: z.ZodString;
8
- dark: z.ZodString;
9
- href: z.ZodOptional<z.ZodString>;
10
- }, "strip", z.ZodTypeAny, {
11
- light: string;
12
- dark: string;
13
- href?: string | undefined;
14
- }, {
15
- light: string;
16
- dark: string;
17
- href?: string | undefined;
18
- }>]>>;
19
- favicon: z.ZodEffects<z.ZodString, string, string>;
20
- openapi: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
21
- api: z.ZodOptional<z.ZodObject<{
22
- baseUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
23
- auth: z.ZodOptional<z.ZodObject<{
24
- method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key"]>>;
25
- name: z.ZodOptional<z.ZodString>;
26
- inputPrefix: z.ZodOptional<z.ZodString>;
27
- }, "strict", z.ZodTypeAny, {
28
- method?: "bearer" | "basic" | "key" | undefined;
29
- name?: string | undefined;
30
- inputPrefix?: string | undefined;
31
- }, {
32
- method?: "bearer" | "basic" | "key" | undefined;
33
- name?: string | undefined;
34
- inputPrefix?: string | undefined;
35
- }>>;
36
- playground: z.ZodOptional<z.ZodObject<{
37
- mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["show", "simple", "hide"]>>>;
38
- }, "strip", z.ZodTypeAny, {
39
- mode: "show" | "simple" | "hide";
40
- }, {
41
- mode?: "show" | "simple" | "hide" | undefined;
42
- }>>;
43
- request: z.ZodOptional<z.ZodObject<{
44
- example: z.ZodOptional<z.ZodObject<{
45
- showOptionalParams: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
46
- }, "strip", z.ZodTypeAny, {
47
- showOptionalParams: boolean;
48
- }, {
49
- showOptionalParams?: boolean | undefined;
50
- }>>;
51
- }, "strip", z.ZodTypeAny, {
52
- example?: {
53
- showOptionalParams: boolean;
54
- } | undefined;
55
- }, {
56
- example?: {
57
- showOptionalParams?: boolean | undefined;
58
- } | undefined;
59
- }>>;
60
- maintainOrder: z.ZodOptional<z.ZodBoolean>;
61
- }, "strict", z.ZodTypeAny, {
62
- baseUrl?: string | string[] | undefined;
63
- auth?: {
64
- method?: "bearer" | "basic" | "key" | undefined;
65
- name?: string | undefined;
66
- inputPrefix?: string | undefined;
67
- } | undefined;
68
- playground?: {
69
- mode: "show" | "simple" | "hide";
70
- } | undefined;
71
- request?: {
72
- example?: {
73
- showOptionalParams: boolean;
74
- } | undefined;
75
- } | undefined;
76
- maintainOrder?: boolean | undefined;
77
- }, {
78
- baseUrl?: string | string[] | undefined;
79
- auth?: {
80
- method?: "bearer" | "basic" | "key" | undefined;
81
- name?: string | undefined;
82
- inputPrefix?: string | undefined;
83
- } | undefined;
84
- playground?: {
85
- mode?: "show" | "simple" | "hide" | undefined;
86
- } | undefined;
87
- request?: {
88
- example?: {
89
- showOptionalParams?: boolean | undefined;
90
- } | undefined;
91
- } | undefined;
92
- maintainOrder?: boolean | undefined;
93
- }>>;
94
- modeToggle: z.ZodOptional<z.ZodObject<{
95
- default: z.ZodOptional<z.ZodEnum<["light", "dark"]>>;
96
- isHidden: z.ZodOptional<z.ZodBoolean>;
97
- }, "strip", z.ZodTypeAny, {
98
- default?: "light" | "dark" | undefined;
99
- isHidden?: boolean | undefined;
100
- }, {
101
- default?: "light" | "dark" | undefined;
102
- isHidden?: boolean | undefined;
103
- }>>;
104
- versions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
105
- name: z.ZodString;
106
- url: z.ZodString;
107
- }, "strict", z.ZodTypeAny, {
108
- name: string;
109
- url: string;
110
- }, {
111
- name: string;
112
- url: string;
113
- }>]>, "many">>;
114
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
115
- colors: z.ZodObject<{
116
- primary: z.ZodString;
117
- light: z.ZodOptional<z.ZodString>;
118
- dark: z.ZodOptional<z.ZodString>;
119
- background: z.ZodOptional<z.ZodObject<{
120
- light: z.ZodOptional<z.ZodString>;
121
- dark: z.ZodOptional<z.ZodString>;
122
- }, "strip", z.ZodTypeAny, {
123
- light?: string | undefined;
124
- dark?: string | undefined;
125
- }, {
126
- light?: string | undefined;
127
- dark?: string | undefined;
128
- }>>;
129
- anchors: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
130
- from: z.ZodString;
131
- via: z.ZodOptional<z.ZodString>;
132
- to: z.ZodString;
133
- }, "strict", z.ZodTypeAny, {
134
- from: string;
135
- to: string;
136
- via?: string | undefined;
137
- }, {
138
- from: string;
139
- to: string;
140
- via?: string | undefined;
141
- }>]>>;
142
- ultraLight: z.ZodOptional<z.ZodAny>;
143
- ultraDark: z.ZodOptional<z.ZodAny>;
144
- }, "strict", z.ZodTypeAny, {
145
- primary: string;
146
- light?: string | undefined;
147
- dark?: string | undefined;
148
- background?: {
149
- light?: string | undefined;
150
- dark?: string | undefined;
151
- } | undefined;
152
- anchors?: string | {
153
- from: string;
154
- to: string;
155
- via?: string | undefined;
156
- } | undefined;
157
- ultraLight?: any;
158
- ultraDark?: any;
159
- }, {
160
- primary: string;
161
- light?: string | undefined;
162
- dark?: string | undefined;
163
- background?: {
164
- light?: string | undefined;
165
- dark?: string | undefined;
166
- } | undefined;
167
- anchors?: string | {
168
- from: string;
169
- to: string;
170
- via?: string | undefined;
171
- } | undefined;
172
- ultraLight?: any;
173
- ultraDark?: any;
174
- }>;
175
- topbarCtaButton: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
176
- type: z.ZodOptional<z.ZodLiteral<"link">>;
177
- name: z.ZodString;
178
- url: z.ZodString;
179
- }, "strict", z.ZodTypeAny, {
180
- name: string;
181
- url: string;
182
- type?: "link" | undefined;
183
- }, {
184
- name: string;
185
- url: string;
186
- type?: "link" | undefined;
187
- }>, z.ZodObject<{
188
- type: z.ZodLiteral<"github">;
189
- url: z.ZodString;
190
- }, "strict", z.ZodTypeAny, {
191
- type: "github";
192
- url: string;
193
- }, {
194
- type: "github";
195
- url: string;
196
- }>]>>;
197
- topbarLinks: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
198
- type: z.ZodOptional<z.ZodLiteral<"link">>;
199
- name: z.ZodString;
200
- url: z.ZodString;
201
- }, "strict", z.ZodTypeAny, {
202
- name: string;
203
- url: string;
204
- type?: "link" | undefined;
205
- }, {
206
- name: string;
207
- url: string;
208
- type?: "link" | undefined;
209
- }>, z.ZodObject<{
210
- type: z.ZodLiteral<"github">;
211
- url: z.ZodString;
212
- }, "strict", z.ZodTypeAny, {
213
- type: "github";
214
- url: string;
215
- }, {
216
- type: "github";
217
- url: string;
218
- }>]>, "many">>;
219
- navigation: z.ZodArray<z.ZodType<import("../..").NavigationType, z.ZodTypeDef, import("../..").NavigationType>, "many">;
220
- primaryTab: z.ZodOptional<z.ZodObject<{
221
- name: z.ZodString;
222
- }, "strict", z.ZodTypeAny, {
223
- name: string;
224
- }, {
225
- name: string;
226
- }>>;
227
- topAnchor: z.ZodOptional<z.ZodObject<{
228
- name: z.ZodString;
229
- color: z.ZodOptional<z.ZodString>;
230
- icon: z.ZodOptional<z.ZodString>;
231
- iconType: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "sharp-solid", "solid", "thin"]>>;
232
- }, "strict", z.ZodTypeAny, {
233
- name: string;
234
- color?: string | undefined;
235
- icon?: string | undefined;
236
- iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined;
237
- }, {
238
- name: string;
239
- color?: string | undefined;
240
- icon?: string | undefined;
241
- iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined;
242
- }>>;
243
- anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
244
- name: z.ZodString;
245
- url: z.ZodString;
246
- icon: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
247
- iconType: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "sharp-solid", "solid", "thin"]>>;
248
- color: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
249
- from: z.ZodString;
250
- via: z.ZodOptional<z.ZodString>;
251
- to: z.ZodString;
252
- }, "strict", z.ZodTypeAny, {
253
- from: string;
254
- to: string;
255
- via?: string | undefined;
256
- }, {
257
- from: string;
258
- to: string;
259
- via?: string | undefined;
260
- }>]>>;
261
- isDefaultHidden: z.ZodOptional<z.ZodBoolean>;
262
- version: z.ZodOptional<z.ZodString>;
263
- }, "strip", z.ZodTypeAny, {
264
- name: string;
265
- url: string;
266
- icon?: string | undefined;
267
- iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined;
268
- color?: string | {
269
- from: string;
270
- to: string;
271
- via?: string | undefined;
272
- } | undefined;
273
- isDefaultHidden?: boolean | undefined;
274
- version?: string | undefined;
275
- }, {
276
- name: string;
277
- url: string;
278
- icon?: string | undefined;
279
- iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined;
280
- color?: string | {
281
- from: string;
282
- to: string;
283
- via?: string | undefined;
284
- } | undefined;
285
- isDefaultHidden?: boolean | undefined;
286
- version?: string | undefined;
287
- }>, "many">>;
288
- tabs: z.ZodOptional<z.ZodArray<z.ZodObject<{
289
- name: z.ZodString;
290
- url: z.ZodString;
291
- }, "strip", z.ZodTypeAny, {
292
- name: string;
293
- url: string;
294
- }, {
295
- name: string;
296
- url: string;
297
- }>, "many">>;
298
- footerSocials: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
299
- type: z.ZodString;
300
- url: z.ZodString;
301
- }, "strip", z.ZodTypeAny, {
302
- type: string;
303
- url: string;
304
- }, {
305
- type: string;
306
- url: string;
307
- }>, "many">, z.ZodRecord<z.ZodString, z.ZodString>]>>;
308
- backgroundImage: z.ZodOptional<z.ZodString>;
309
- feedback: z.ZodOptional<z.ZodObject<{
310
- suggestEdit: z.ZodOptional<z.ZodBoolean>;
311
- raiseIssue: z.ZodOptional<z.ZodBoolean>;
312
- }, "strip", z.ZodTypeAny, {
313
- suggestEdit?: boolean | undefined;
314
- raiseIssue?: boolean | undefined;
315
- }, {
316
- suggestEdit?: boolean | undefined;
317
- raiseIssue?: boolean | undefined;
318
- }>>;
319
- analytics: z.ZodOptional<z.ZodObject<{
320
- amplitude: z.ZodOptional<z.ZodObject<{
321
- apiKey: z.ZodString;
322
- }, "strip", z.ZodTypeAny, {
323
- apiKey: string;
324
- }, {
325
- apiKey: string;
326
- }>>;
327
- clearbit: z.ZodOptional<z.ZodObject<{
328
- publicApiKey: z.ZodString;
329
- }, "strip", z.ZodTypeAny, {
330
- publicApiKey: string;
331
- }, {
332
- publicApiKey: string;
333
- }>>;
334
- fathom: z.ZodOptional<z.ZodObject<{
335
- siteId: z.ZodString;
336
- }, "strip", z.ZodTypeAny, {
337
- siteId: string;
338
- }, {
339
- siteId: string;
340
- }>>;
341
- ga4: z.ZodOptional<z.ZodObject<{
342
- measurementId: z.ZodString;
343
- }, "strip", z.ZodTypeAny, {
344
- measurementId: string;
345
- }, {
346
- measurementId: string;
347
- }>>;
348
- gtm: z.ZodOptional<z.ZodObject<{
349
- tagId: z.ZodString;
350
- }, "strip", z.ZodTypeAny, {
351
- tagId: string;
352
- }, {
353
- tagId: string;
354
- }>>;
355
- hotjar: z.ZodOptional<z.ZodObject<{
356
- hjid: z.ZodString;
357
- hjsv: z.ZodString;
358
- }, "strip", z.ZodTypeAny, {
359
- hjid: string;
360
- hjsv: string;
361
- }, {
362
- hjid: string;
363
- hjsv: string;
364
- }>>;
365
- koala: z.ZodOptional<z.ZodObject<{
366
- publicApiKey: z.ZodEffects<z.ZodString, string, string>;
367
- }, "strip", z.ZodTypeAny, {
368
- publicApiKey: string;
369
- }, {
370
- publicApiKey: string;
371
- }>>;
372
- logrocket: z.ZodOptional<z.ZodObject<{
373
- appId: z.ZodString;
374
- }, "strip", z.ZodTypeAny, {
375
- appId: string;
376
- }, {
377
- appId: string;
378
- }>>;
379
- mixpanel: z.ZodOptional<z.ZodObject<{
380
- projectToken: z.ZodString;
381
- }, "strip", z.ZodTypeAny, {
382
- projectToken: string;
383
- }, {
384
- projectToken: string;
385
- }>>;
386
- pirsch: z.ZodOptional<z.ZodObject<{
387
- id: z.ZodString;
388
- }, "strip", z.ZodTypeAny, {
389
- id: string;
390
- }, {
391
- id: string;
392
- }>>;
393
- posthog: z.ZodOptional<z.ZodObject<{
394
- apiKey: z.ZodString;
395
- apiHost: z.ZodOptional<z.ZodString>;
396
- }, "strip", z.ZodTypeAny, {
397
- apiKey: string;
398
- apiHost?: string | undefined;
399
- }, {
400
- apiKey: string;
401
- apiHost?: string | undefined;
402
- }>>;
403
- plausible: z.ZodOptional<z.ZodObject<{
404
- domain: z.ZodEffects<z.ZodString, string, string>;
405
- }, "strip", z.ZodTypeAny, {
406
- domain: string;
407
- }, {
408
- domain: string;
409
- }>>;
410
- }, "strict", z.ZodTypeAny, {
411
- amplitude?: {
412
- apiKey: string;
413
- } | undefined;
414
- clearbit?: {
415
- publicApiKey: string;
416
- } | undefined;
417
- fathom?: {
418
- siteId: string;
419
- } | undefined;
420
- ga4?: {
421
- measurementId: string;
422
- } | undefined;
423
- gtm?: {
424
- tagId: string;
425
- } | undefined;
426
- hotjar?: {
427
- hjid: string;
428
- hjsv: string;
429
- } | undefined;
430
- koala?: {
431
- publicApiKey: string;
432
- } | undefined;
433
- logrocket?: {
434
- appId: string;
435
- } | undefined;
436
- mixpanel?: {
437
- projectToken: string;
438
- } | undefined;
439
- pirsch?: {
440
- id: string;
441
- } | undefined;
442
- posthog?: {
443
- apiKey: string;
444
- apiHost?: string | undefined;
445
- } | undefined;
446
- plausible?: {
447
- domain: string;
448
- } | undefined;
449
- }, {
450
- amplitude?: {
451
- apiKey: string;
452
- } | undefined;
453
- clearbit?: {
454
- publicApiKey: string;
455
- } | undefined;
456
- fathom?: {
457
- siteId: string;
458
- } | undefined;
459
- ga4?: {
460
- measurementId: string;
461
- } | undefined;
462
- gtm?: {
463
- tagId: string;
464
- } | undefined;
465
- hotjar?: {
466
- hjid: string;
467
- hjsv: string;
468
- } | undefined;
469
- koala?: {
470
- publicApiKey: string;
471
- } | undefined;
472
- logrocket?: {
473
- appId: string;
474
- } | undefined;
475
- mixpanel?: {
476
- projectToken: string;
477
- } | undefined;
478
- pirsch?: {
479
- id: string;
480
- } | undefined;
481
- posthog?: {
482
- apiKey: string;
483
- apiHost?: string | undefined;
484
- } | undefined;
485
- plausible?: {
486
- domain: string;
487
- } | undefined;
488
- }>>;
489
- integrations: z.ZodOptional<z.ZodObject<{
490
- intercom: z.ZodOptional<z.ZodString>;
491
- frontchat: z.ZodOptional<z.ZodString>;
492
- inkeep: z.ZodOptional<z.ZodObject<{
493
- integrationApiKey: z.ZodString;
494
- }, "strip", z.ZodTypeAny, {
495
- integrationApiKey: string;
496
- }, {
497
- integrationApiKey: string;
498
- }>>;
499
- }, "strip", z.ZodTypeAny, {
500
- intercom?: string | undefined;
501
- frontchat?: string | undefined;
502
- inkeep?: {
503
- integrationApiKey: string;
504
- } | undefined;
505
- }, {
506
- intercom?: string | undefined;
507
- frontchat?: string | undefined;
508
- inkeep?: {
509
- integrationApiKey: string;
510
- } | undefined;
511
- }>>;
512
- isWhiteLabeled: z.ZodOptional<z.ZodBoolean>;
513
- __injected: z.ZodUndefined;
514
- }, "strip", z.ZodTypeAny, {
515
- $schema: string;
516
- name: string;
517
- favicon: string;
518
- colors: {
519
- primary: string;
520
- light?: string | undefined;
521
- dark?: string | undefined;
522
- background?: {
523
- light?: string | undefined;
524
- dark?: string | undefined;
525
- } | undefined;
526
- anchors?: string | {
527
- from: string;
528
- to: string;
529
- via?: string | undefined;
530
- } | undefined;
531
- ultraLight?: any;
532
- ultraDark?: any;
533
- };
534
- navigation: import("../..").NavigationType[];
535
- mintlify?: string | undefined;
536
- logo?: string | {
537
- light: string;
538
- dark: string;
539
- href?: string | undefined;
540
- } | undefined;
541
- openapi?: string | string[] | undefined;
542
- api?: {
543
- baseUrl?: string | string[] | undefined;
544
- auth?: {
545
- method?: "bearer" | "basic" | "key" | undefined;
546
- name?: string | undefined;
547
- inputPrefix?: string | undefined;
548
- } | undefined;
549
- playground?: {
550
- mode: "show" | "simple" | "hide";
551
- } | undefined;
552
- request?: {
553
- example?: {
554
- showOptionalParams: boolean;
555
- } | undefined;
556
- } | undefined;
557
- maintainOrder?: boolean | undefined;
558
- } | undefined;
559
- modeToggle?: {
560
- default?: "light" | "dark" | undefined;
561
- isHidden?: boolean | undefined;
562
- } | undefined;
563
- versions?: (string | {
564
- name: string;
565
- url: string;
566
- })[] | undefined;
567
- metadata?: Record<string, string> | undefined;
568
- topbarCtaButton?: {
569
- name: string;
570
- url: string;
571
- type?: "link" | undefined;
572
- } | {
573
- type: "github";
574
- url: string;
575
- } | undefined;
576
- topbarLinks?: ({
577
- name: string;
578
- url: string;
579
- type?: "link" | undefined;
580
- } | {
581
- type: "github";
582
- url: string;
583
- })[] | undefined;
584
- primaryTab?: {
585
- name: string;
586
- } | undefined;
587
- topAnchor?: {
588
- name: string;
589
- color?: string | undefined;
590
- icon?: string | undefined;
591
- iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined;
592
- } | undefined;
593
- anchors?: {
594
- name: string;
595
- url: string;
596
- icon?: string | undefined;
597
- iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined;
598
- color?: string | {
599
- from: string;
600
- to: string;
601
- via?: string | undefined;
602
- } | undefined;
603
- isDefaultHidden?: boolean | undefined;
604
- version?: string | undefined;
605
- }[] | undefined;
606
- tabs?: {
607
- name: string;
608
- url: string;
609
- }[] | undefined;
610
- footerSocials?: Record<string, string> | {
611
- type: string;
612
- url: string;
613
- }[] | undefined;
614
- backgroundImage?: string | undefined;
615
- feedback?: {
616
- suggestEdit?: boolean | undefined;
617
- raiseIssue?: boolean | undefined;
618
- } | undefined;
619
- analytics?: {
620
- amplitude?: {
621
- apiKey: string;
622
- } | undefined;
623
- clearbit?: {
624
- publicApiKey: string;
625
- } | undefined;
626
- fathom?: {
627
- siteId: string;
628
- } | undefined;
629
- ga4?: {
630
- measurementId: string;
631
- } | undefined;
632
- gtm?: {
633
- tagId: string;
634
- } | undefined;
635
- hotjar?: {
636
- hjid: string;
637
- hjsv: string;
638
- } | undefined;
639
- koala?: {
640
- publicApiKey: string;
641
- } | undefined;
642
- logrocket?: {
643
- appId: string;
644
- } | undefined;
645
- mixpanel?: {
646
- projectToken: string;
647
- } | undefined;
648
- pirsch?: {
649
- id: string;
650
- } | undefined;
651
- posthog?: {
652
- apiKey: string;
653
- apiHost?: string | undefined;
654
- } | undefined;
655
- plausible?: {
656
- domain: string;
657
- } | undefined;
658
- } | undefined;
659
- integrations?: {
660
- intercom?: string | undefined;
661
- frontchat?: string | undefined;
662
- inkeep?: {
663
- integrationApiKey: string;
664
- } | undefined;
665
- } | undefined;
666
- isWhiteLabeled?: boolean | undefined;
667
- __injected?: undefined;
668
- }, {
669
- name: string;
670
- favicon: string;
671
- colors: {
672
- primary: string;
673
- light?: string | undefined;
674
- dark?: string | undefined;
675
- background?: {
676
- light?: string | undefined;
677
- dark?: string | undefined;
678
- } | undefined;
679
- anchors?: string | {
680
- from: string;
681
- to: string;
682
- via?: string | undefined;
683
- } | undefined;
684
- ultraLight?: any;
685
- ultraDark?: any;
686
- };
687
- navigation: import("../..").NavigationType[];
688
- $schema?: string | undefined;
689
- mintlify?: string | undefined;
690
- logo?: string | {
691
- light: string;
692
- dark: string;
693
- href?: string | undefined;
694
- } | undefined;
695
- openapi?: string | string[] | undefined;
696
- api?: {
697
- baseUrl?: string | string[] | undefined;
698
- auth?: {
699
- method?: "bearer" | "basic" | "key" | undefined;
700
- name?: string | undefined;
701
- inputPrefix?: string | undefined;
702
- } | undefined;
703
- playground?: {
704
- mode?: "show" | "simple" | "hide" | undefined;
705
- } | undefined;
706
- request?: {
707
- example?: {
708
- showOptionalParams?: boolean | undefined;
709
- } | undefined;
710
- } | undefined;
711
- maintainOrder?: boolean | undefined;
712
- } | undefined;
713
- modeToggle?: {
714
- default?: "light" | "dark" | undefined;
715
- isHidden?: boolean | undefined;
716
- } | undefined;
717
- versions?: (string | {
718
- name: string;
719
- url: string;
720
- })[] | undefined;
721
- metadata?: Record<string, string> | undefined;
722
- topbarCtaButton?: {
723
- name: string;
724
- url: string;
725
- type?: "link" | undefined;
726
- } | {
727
- type: "github";
728
- url: string;
729
- } | undefined;
730
- topbarLinks?: ({
731
- name: string;
732
- url: string;
733
- type?: "link" | undefined;
734
- } | {
735
- type: "github";
736
- url: string;
737
- })[] | undefined;
738
- primaryTab?: {
739
- name: string;
740
- } | undefined;
741
- topAnchor?: {
742
- name: string;
743
- color?: string | undefined;
744
- icon?: string | undefined;
745
- iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined;
746
- } | undefined;
747
- anchors?: {
748
- name: string;
749
- url: string;
750
- icon?: string | undefined;
751
- iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined;
752
- color?: string | {
753
- from: string;
754
- to: string;
755
- via?: string | undefined;
756
- } | undefined;
757
- isDefaultHidden?: boolean | undefined;
758
- version?: string | undefined;
759
- }[] | undefined;
760
- tabs?: {
761
- name: string;
762
- url: string;
763
- }[] | undefined;
764
- footerSocials?: Record<string, string> | {
765
- type: string;
766
- url: string;
767
- }[] | undefined;
768
- backgroundImage?: string | undefined;
769
- feedback?: {
770
- suggestEdit?: boolean | undefined;
771
- raiseIssue?: boolean | undefined;
772
- } | undefined;
773
- analytics?: {
774
- amplitude?: {
775
- apiKey: string;
776
- } | undefined;
777
- clearbit?: {
778
- publicApiKey: string;
779
- } | undefined;
780
- fathom?: {
781
- siteId: string;
782
- } | undefined;
783
- ga4?: {
784
- measurementId: string;
785
- } | undefined;
786
- gtm?: {
787
- tagId: string;
788
- } | undefined;
789
- hotjar?: {
790
- hjid: string;
791
- hjsv: string;
792
- } | undefined;
793
- koala?: {
794
- publicApiKey: string;
795
- } | undefined;
796
- logrocket?: {
797
- appId: string;
798
- } | undefined;
799
- mixpanel?: {
800
- projectToken: string;
801
- } | undefined;
802
- pirsch?: {
803
- id: string;
804
- } | undefined;
805
- posthog?: {
806
- apiKey: string;
807
- apiHost?: string | undefined;
808
- } | undefined;
809
- plausible?: {
810
- domain: string;
811
- } | undefined;
812
- } | undefined;
813
- integrations?: {
814
- intercom?: string | undefined;
815
- frontchat?: string | undefined;
816
- inkeep?: {
817
- integrationApiKey: string;
818
- } | undefined;
819
- } | undefined;
820
- isWhiteLabeled?: boolean | undefined;
821
- __injected?: undefined;
822
- }>;
1
+ import { z } from 'zod';
2
+ export declare const configSchema: z.ZodObject<{
3
+ $schema: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4
+ mintlify: z.ZodOptional<z.ZodString>;
5
+ name: z.ZodString;
6
+ logo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
7
+ light: z.ZodString;
8
+ dark: z.ZodString;
9
+ href: z.ZodOptional<z.ZodString>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ light: string;
12
+ dark: string;
13
+ href?: string | undefined;
14
+ }, {
15
+ light: string;
16
+ dark: string;
17
+ href?: string | undefined;
18
+ }>]>>;
19
+ favicon: z.ZodEffects<z.ZodString, string, string>;
20
+ openapi: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
21
+ api: z.ZodOptional<z.ZodObject<{
22
+ baseUrl: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
23
+ auth: z.ZodOptional<z.ZodObject<{
24
+ method: z.ZodOptional<z.ZodEnum<["bearer", "basic", "key"]>>;
25
+ name: z.ZodOptional<z.ZodString>;
26
+ inputPrefix: z.ZodOptional<z.ZodString>;
27
+ }, "strict", z.ZodTypeAny, {
28
+ method?: "bearer" | "basic" | "key" | undefined;
29
+ name?: string | undefined;
30
+ inputPrefix?: string | undefined;
31
+ }, {
32
+ method?: "bearer" | "basic" | "key" | undefined;
33
+ name?: string | undefined;
34
+ inputPrefix?: string | undefined;
35
+ }>>;
36
+ playground: z.ZodOptional<z.ZodObject<{
37
+ mode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["show", "simple", "hide"]>>>;
38
+ }, "strip", z.ZodTypeAny, {
39
+ mode: "show" | "simple" | "hide";
40
+ }, {
41
+ mode?: "show" | "simple" | "hide" | undefined;
42
+ }>>;
43
+ request: z.ZodOptional<z.ZodObject<{
44
+ example: z.ZodOptional<z.ZodObject<{
45
+ showOptionalParams: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
46
+ }, "strip", z.ZodTypeAny, {
47
+ showOptionalParams: boolean;
48
+ }, {
49
+ showOptionalParams?: boolean | undefined;
50
+ }>>;
51
+ }, "strip", z.ZodTypeAny, {
52
+ example?: {
53
+ showOptionalParams: boolean;
54
+ } | undefined;
55
+ }, {
56
+ example?: {
57
+ showOptionalParams?: boolean | undefined;
58
+ } | undefined;
59
+ }>>;
60
+ maintainOrder: z.ZodOptional<z.ZodBoolean>;
61
+ }, "strict", z.ZodTypeAny, {
62
+ baseUrl?: string | string[] | undefined;
63
+ auth?: {
64
+ method?: "bearer" | "basic" | "key" | undefined;
65
+ name?: string | undefined;
66
+ inputPrefix?: string | undefined;
67
+ } | undefined;
68
+ playground?: {
69
+ mode: "show" | "simple" | "hide";
70
+ } | undefined;
71
+ request?: {
72
+ example?: {
73
+ showOptionalParams: boolean;
74
+ } | undefined;
75
+ } | undefined;
76
+ maintainOrder?: boolean | undefined;
77
+ }, {
78
+ baseUrl?: string | string[] | undefined;
79
+ auth?: {
80
+ method?: "bearer" | "basic" | "key" | undefined;
81
+ name?: string | undefined;
82
+ inputPrefix?: string | undefined;
83
+ } | undefined;
84
+ playground?: {
85
+ mode?: "show" | "simple" | "hide" | undefined;
86
+ } | undefined;
87
+ request?: {
88
+ example?: {
89
+ showOptionalParams?: boolean | undefined;
90
+ } | undefined;
91
+ } | undefined;
92
+ maintainOrder?: boolean | undefined;
93
+ }>>;
94
+ modeToggle: z.ZodOptional<z.ZodObject<{
95
+ default: z.ZodOptional<z.ZodEnum<["light", "dark"]>>;
96
+ isHidden: z.ZodOptional<z.ZodBoolean>;
97
+ }, "strip", z.ZodTypeAny, {
98
+ default?: "light" | "dark" | undefined;
99
+ isHidden?: boolean | undefined;
100
+ }, {
101
+ default?: "light" | "dark" | undefined;
102
+ isHidden?: boolean | undefined;
103
+ }>>;
104
+ versions: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
105
+ name: z.ZodString;
106
+ url: z.ZodString;
107
+ }, "strict", z.ZodTypeAny, {
108
+ name: string;
109
+ url: string;
110
+ }, {
111
+ name: string;
112
+ url: string;
113
+ }>]>, "many">>;
114
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
115
+ colors: z.ZodObject<{
116
+ primary: z.ZodString;
117
+ light: z.ZodOptional<z.ZodString>;
118
+ dark: z.ZodOptional<z.ZodString>;
119
+ background: z.ZodOptional<z.ZodObject<{
120
+ light: z.ZodOptional<z.ZodString>;
121
+ dark: z.ZodOptional<z.ZodString>;
122
+ }, "strip", z.ZodTypeAny, {
123
+ light?: string | undefined;
124
+ dark?: string | undefined;
125
+ }, {
126
+ light?: string | undefined;
127
+ dark?: string | undefined;
128
+ }>>;
129
+ anchors: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
130
+ from: z.ZodString;
131
+ via: z.ZodOptional<z.ZodString>;
132
+ to: z.ZodString;
133
+ }, "strict", z.ZodTypeAny, {
134
+ from: string;
135
+ to: string;
136
+ via?: string | undefined;
137
+ }, {
138
+ from: string;
139
+ to: string;
140
+ via?: string | undefined;
141
+ }>]>>;
142
+ ultraLight: z.ZodOptional<z.ZodAny>;
143
+ ultraDark: z.ZodOptional<z.ZodAny>;
144
+ }, "strict", z.ZodTypeAny, {
145
+ primary: string;
146
+ light?: string | undefined;
147
+ dark?: string | undefined;
148
+ background?: {
149
+ light?: string | undefined;
150
+ dark?: string | undefined;
151
+ } | undefined;
152
+ anchors?: string | {
153
+ from: string;
154
+ to: string;
155
+ via?: string | undefined;
156
+ } | undefined;
157
+ ultraLight?: any;
158
+ ultraDark?: any;
159
+ }, {
160
+ primary: string;
161
+ light?: string | undefined;
162
+ dark?: string | undefined;
163
+ background?: {
164
+ light?: string | undefined;
165
+ dark?: string | undefined;
166
+ } | undefined;
167
+ anchors?: string | {
168
+ from: string;
169
+ to: string;
170
+ via?: string | undefined;
171
+ } | undefined;
172
+ ultraLight?: any;
173
+ ultraDark?: any;
174
+ }>;
175
+ topbarCtaButton: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
176
+ type: z.ZodOptional<z.ZodLiteral<"link">>;
177
+ name: z.ZodString;
178
+ url: z.ZodString;
179
+ }, "strict", z.ZodTypeAny, {
180
+ name: string;
181
+ url: string;
182
+ type?: "link" | undefined;
183
+ }, {
184
+ name: string;
185
+ url: string;
186
+ type?: "link" | undefined;
187
+ }>, z.ZodObject<{
188
+ type: z.ZodLiteral<"github">;
189
+ url: z.ZodString;
190
+ }, "strict", z.ZodTypeAny, {
191
+ type: "github";
192
+ url: string;
193
+ }, {
194
+ type: "github";
195
+ url: string;
196
+ }>]>>;
197
+ topbarLinks: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
198
+ type: z.ZodOptional<z.ZodLiteral<"link">>;
199
+ name: z.ZodString;
200
+ url: z.ZodString;
201
+ }, "strict", z.ZodTypeAny, {
202
+ name: string;
203
+ url: string;
204
+ type?: "link" | undefined;
205
+ }, {
206
+ name: string;
207
+ url: string;
208
+ type?: "link" | undefined;
209
+ }>, z.ZodObject<{
210
+ type: z.ZodLiteral<"github">;
211
+ url: z.ZodString;
212
+ }, "strict", z.ZodTypeAny, {
213
+ type: "github";
214
+ url: string;
215
+ }, {
216
+ type: "github";
217
+ url: string;
218
+ }>]>, "many">>;
219
+ navigation: z.ZodArray<z.ZodType<import("../types").MintNavigationGroup, z.ZodTypeDef, import("../types").MintNavigationGroup>, "many">;
220
+ primaryTab: z.ZodOptional<z.ZodObject<{
221
+ name: z.ZodString;
222
+ }, "strict", z.ZodTypeAny, {
223
+ name: string;
224
+ }, {
225
+ name: string;
226
+ }>>;
227
+ topAnchor: z.ZodOptional<z.ZodObject<{
228
+ name: z.ZodString;
229
+ icon: z.ZodOptional<z.ZodString>;
230
+ iconType: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "sharp-solid", "solid", "thin"]>>;
231
+ }, "strict", z.ZodTypeAny, {
232
+ name: string;
233
+ icon?: string | undefined;
234
+ iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined;
235
+ }, {
236
+ name: string;
237
+ icon?: string | undefined;
238
+ iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined;
239
+ }>>;
240
+ anchors: z.ZodOptional<z.ZodArray<z.ZodObject<{
241
+ name: z.ZodString;
242
+ url: z.ZodString;
243
+ icon: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
244
+ iconType: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "sharp-solid", "solid", "thin"]>>;
245
+ color: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
246
+ from: z.ZodString;
247
+ via: z.ZodOptional<z.ZodString>;
248
+ to: z.ZodString;
249
+ }, "strict", z.ZodTypeAny, {
250
+ from: string;
251
+ to: string;
252
+ via?: string | undefined;
253
+ }, {
254
+ from: string;
255
+ to: string;
256
+ via?: string | undefined;
257
+ }>]>>;
258
+ isDefaultHidden: z.ZodOptional<z.ZodBoolean>;
259
+ version: z.ZodOptional<z.ZodString>;
260
+ }, "strip", z.ZodTypeAny, {
261
+ name: string;
262
+ url: string;
263
+ icon?: string | undefined;
264
+ iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined;
265
+ color?: string | {
266
+ from: string;
267
+ to: string;
268
+ via?: string | undefined;
269
+ } | undefined;
270
+ isDefaultHidden?: boolean | undefined;
271
+ version?: string | undefined;
272
+ }, {
273
+ name: string;
274
+ url: string;
275
+ icon?: string | undefined;
276
+ iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined;
277
+ color?: string | {
278
+ from: string;
279
+ to: string;
280
+ via?: string | undefined;
281
+ } | undefined;
282
+ isDefaultHidden?: boolean | undefined;
283
+ version?: string | undefined;
284
+ }>, "many">>;
285
+ tabs: z.ZodOptional<z.ZodArray<z.ZodObject<{
286
+ name: z.ZodString;
287
+ url: z.ZodString;
288
+ }, "strip", z.ZodTypeAny, {
289
+ name: string;
290
+ url: string;
291
+ }, {
292
+ name: string;
293
+ url: string;
294
+ }>, "many">>;
295
+ footerSocials: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodObject<{
296
+ type: z.ZodString;
297
+ url: z.ZodString;
298
+ }, "strip", z.ZodTypeAny, {
299
+ type: string;
300
+ url: string;
301
+ }, {
302
+ type: string;
303
+ url: string;
304
+ }>, "many">, z.ZodRecord<z.ZodString, z.ZodString>]>>;
305
+ backgroundImage: z.ZodOptional<z.ZodString>;
306
+ feedback: z.ZodOptional<z.ZodObject<{
307
+ suggestEdit: z.ZodOptional<z.ZodBoolean>;
308
+ raiseIssue: z.ZodOptional<z.ZodBoolean>;
309
+ }, "strip", z.ZodTypeAny, {
310
+ suggestEdit?: boolean | undefined;
311
+ raiseIssue?: boolean | undefined;
312
+ }, {
313
+ suggestEdit?: boolean | undefined;
314
+ raiseIssue?: boolean | undefined;
315
+ }>>;
316
+ analytics: z.ZodOptional<z.ZodObject<{
317
+ amplitude: z.ZodOptional<z.ZodObject<{
318
+ apiKey: z.ZodString;
319
+ }, "strip", z.ZodTypeAny, {
320
+ apiKey: string;
321
+ }, {
322
+ apiKey: string;
323
+ }>>;
324
+ clearbit: z.ZodOptional<z.ZodObject<{
325
+ publicApiKey: z.ZodString;
326
+ }, "strip", z.ZodTypeAny, {
327
+ publicApiKey: string;
328
+ }, {
329
+ publicApiKey: string;
330
+ }>>;
331
+ fathom: z.ZodOptional<z.ZodObject<{
332
+ siteId: z.ZodString;
333
+ }, "strip", z.ZodTypeAny, {
334
+ siteId: string;
335
+ }, {
336
+ siteId: string;
337
+ }>>;
338
+ ga4: z.ZodOptional<z.ZodObject<{
339
+ measurementId: z.ZodString;
340
+ }, "strip", z.ZodTypeAny, {
341
+ measurementId: string;
342
+ }, {
343
+ measurementId: string;
344
+ }>>;
345
+ gtm: z.ZodOptional<z.ZodObject<{
346
+ tagId: z.ZodString;
347
+ }, "strip", z.ZodTypeAny, {
348
+ tagId: string;
349
+ }, {
350
+ tagId: string;
351
+ }>>;
352
+ hotjar: z.ZodOptional<z.ZodObject<{
353
+ hjid: z.ZodString;
354
+ hjsv: z.ZodString;
355
+ }, "strip", z.ZodTypeAny, {
356
+ hjid: string;
357
+ hjsv: string;
358
+ }, {
359
+ hjid: string;
360
+ hjsv: string;
361
+ }>>;
362
+ koala: z.ZodOptional<z.ZodObject<{
363
+ publicApiKey: z.ZodEffects<z.ZodString, string, string>;
364
+ }, "strip", z.ZodTypeAny, {
365
+ publicApiKey: string;
366
+ }, {
367
+ publicApiKey: string;
368
+ }>>;
369
+ logrocket: z.ZodOptional<z.ZodObject<{
370
+ appId: z.ZodString;
371
+ }, "strip", z.ZodTypeAny, {
372
+ appId: string;
373
+ }, {
374
+ appId: string;
375
+ }>>;
376
+ mixpanel: z.ZodOptional<z.ZodObject<{
377
+ projectToken: z.ZodString;
378
+ }, "strip", z.ZodTypeAny, {
379
+ projectToken: string;
380
+ }, {
381
+ projectToken: string;
382
+ }>>;
383
+ pirsch: z.ZodOptional<z.ZodObject<{
384
+ id: z.ZodString;
385
+ }, "strip", z.ZodTypeAny, {
386
+ id: string;
387
+ }, {
388
+ id: string;
389
+ }>>;
390
+ posthog: z.ZodOptional<z.ZodObject<{
391
+ apiKey: z.ZodString;
392
+ apiHost: z.ZodOptional<z.ZodString>;
393
+ }, "strip", z.ZodTypeAny, {
394
+ apiKey: string;
395
+ apiHost?: string | undefined;
396
+ }, {
397
+ apiKey: string;
398
+ apiHost?: string | undefined;
399
+ }>>;
400
+ plausible: z.ZodOptional<z.ZodObject<{
401
+ domain: z.ZodEffects<z.ZodString, string, string>;
402
+ }, "strip", z.ZodTypeAny, {
403
+ domain: string;
404
+ }, {
405
+ domain: string;
406
+ }>>;
407
+ }, "strict", z.ZodTypeAny, {
408
+ amplitude?: {
409
+ apiKey: string;
410
+ } | undefined;
411
+ clearbit?: {
412
+ publicApiKey: string;
413
+ } | undefined;
414
+ fathom?: {
415
+ siteId: string;
416
+ } | undefined;
417
+ ga4?: {
418
+ measurementId: string;
419
+ } | undefined;
420
+ gtm?: {
421
+ tagId: string;
422
+ } | undefined;
423
+ hotjar?: {
424
+ hjid: string;
425
+ hjsv: string;
426
+ } | undefined;
427
+ koala?: {
428
+ publicApiKey: string;
429
+ } | undefined;
430
+ logrocket?: {
431
+ appId: string;
432
+ } | undefined;
433
+ mixpanel?: {
434
+ projectToken: string;
435
+ } | undefined;
436
+ pirsch?: {
437
+ id: string;
438
+ } | undefined;
439
+ posthog?: {
440
+ apiKey: string;
441
+ apiHost?: string | undefined;
442
+ } | undefined;
443
+ plausible?: {
444
+ domain: string;
445
+ } | undefined;
446
+ }, {
447
+ amplitude?: {
448
+ apiKey: string;
449
+ } | undefined;
450
+ clearbit?: {
451
+ publicApiKey: string;
452
+ } | undefined;
453
+ fathom?: {
454
+ siteId: string;
455
+ } | undefined;
456
+ ga4?: {
457
+ measurementId: string;
458
+ } | undefined;
459
+ gtm?: {
460
+ tagId: string;
461
+ } | undefined;
462
+ hotjar?: {
463
+ hjid: string;
464
+ hjsv: string;
465
+ } | undefined;
466
+ koala?: {
467
+ publicApiKey: string;
468
+ } | undefined;
469
+ logrocket?: {
470
+ appId: string;
471
+ } | undefined;
472
+ mixpanel?: {
473
+ projectToken: string;
474
+ } | undefined;
475
+ pirsch?: {
476
+ id: string;
477
+ } | undefined;
478
+ posthog?: {
479
+ apiKey: string;
480
+ apiHost?: string | undefined;
481
+ } | undefined;
482
+ plausible?: {
483
+ domain: string;
484
+ } | undefined;
485
+ }>>;
486
+ integrations: z.ZodOptional<z.ZodObject<{
487
+ intercom: z.ZodOptional<z.ZodString>;
488
+ frontchat: z.ZodOptional<z.ZodString>;
489
+ inkeepSchema: z.ZodOptional<z.ZodObject<{
490
+ integrationApiKey: z.ZodString;
491
+ }, "strip", z.ZodTypeAny, {
492
+ integrationApiKey: string;
493
+ }, {
494
+ integrationApiKey: string;
495
+ }>>;
496
+ }, "strip", z.ZodTypeAny, {
497
+ intercom?: string | undefined;
498
+ frontchat?: string | undefined;
499
+ inkeepSchema?: {
500
+ integrationApiKey: string;
501
+ } | undefined;
502
+ }, {
503
+ intercom?: string | undefined;
504
+ frontchat?: string | undefined;
505
+ inkeepSchema?: {
506
+ integrationApiKey: string;
507
+ } | undefined;
508
+ }>>;
509
+ Schema: z.ZodOptional<z.ZodBoolean>;
510
+ }, "strip", z.ZodTypeAny, {
511
+ $schema: string;
512
+ name: string;
513
+ favicon: string;
514
+ colors: {
515
+ primary: string;
516
+ light?: string | undefined;
517
+ dark?: string | undefined;
518
+ background?: {
519
+ light?: string | undefined;
520
+ dark?: string | undefined;
521
+ } | undefined;
522
+ anchors?: string | {
523
+ from: string;
524
+ to: string;
525
+ via?: string | undefined;
526
+ } | undefined;
527
+ ultraLight?: any;
528
+ ultraDark?: any;
529
+ };
530
+ navigation: import("../types").MintNavigationGroup[];
531
+ mintlify?: string | undefined;
532
+ logo?: string | {
533
+ light: string;
534
+ dark: string;
535
+ href?: string | undefined;
536
+ } | undefined;
537
+ openapi?: string | string[] | undefined;
538
+ api?: {
539
+ baseUrl?: string | string[] | undefined;
540
+ auth?: {
541
+ method?: "bearer" | "basic" | "key" | undefined;
542
+ name?: string | undefined;
543
+ inputPrefix?: string | undefined;
544
+ } | undefined;
545
+ playground?: {
546
+ mode: "show" | "simple" | "hide";
547
+ } | undefined;
548
+ request?: {
549
+ example?: {
550
+ showOptionalParams: boolean;
551
+ } | undefined;
552
+ } | undefined;
553
+ maintainOrder?: boolean | undefined;
554
+ } | undefined;
555
+ modeToggle?: {
556
+ default?: "light" | "dark" | undefined;
557
+ isHidden?: boolean | undefined;
558
+ } | undefined;
559
+ versions?: (string | {
560
+ name: string;
561
+ url: string;
562
+ })[] | undefined;
563
+ metadata?: Record<string, string> | undefined;
564
+ topbarCtaButton?: {
565
+ name: string;
566
+ url: string;
567
+ type?: "link" | undefined;
568
+ } | {
569
+ type: "github";
570
+ url: string;
571
+ } | undefined;
572
+ topbarLinks?: ({
573
+ name: string;
574
+ url: string;
575
+ type?: "link" | undefined;
576
+ } | {
577
+ type: "github";
578
+ url: string;
579
+ })[] | undefined;
580
+ primaryTab?: {
581
+ name: string;
582
+ } | undefined;
583
+ topAnchor?: {
584
+ name: string;
585
+ icon?: string | undefined;
586
+ iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined;
587
+ } | undefined;
588
+ anchors?: {
589
+ name: string;
590
+ url: string;
591
+ icon?: string | undefined;
592
+ iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined;
593
+ color?: string | {
594
+ from: string;
595
+ to: string;
596
+ via?: string | undefined;
597
+ } | undefined;
598
+ isDefaultHidden?: boolean | undefined;
599
+ version?: string | undefined;
600
+ }[] | undefined;
601
+ tabs?: {
602
+ name: string;
603
+ url: string;
604
+ }[] | undefined;
605
+ footerSocials?: Record<string, string> | {
606
+ type: string;
607
+ url: string;
608
+ }[] | undefined;
609
+ backgroundImage?: string | undefined;
610
+ feedback?: {
611
+ suggestEdit?: boolean | undefined;
612
+ raiseIssue?: boolean | undefined;
613
+ } | undefined;
614
+ analytics?: {
615
+ amplitude?: {
616
+ apiKey: string;
617
+ } | undefined;
618
+ clearbit?: {
619
+ publicApiKey: string;
620
+ } | undefined;
621
+ fathom?: {
622
+ siteId: string;
623
+ } | undefined;
624
+ ga4?: {
625
+ measurementId: string;
626
+ } | undefined;
627
+ gtm?: {
628
+ tagId: string;
629
+ } | undefined;
630
+ hotjar?: {
631
+ hjid: string;
632
+ hjsv: string;
633
+ } | undefined;
634
+ koala?: {
635
+ publicApiKey: string;
636
+ } | undefined;
637
+ logrocket?: {
638
+ appId: string;
639
+ } | undefined;
640
+ mixpanel?: {
641
+ projectToken: string;
642
+ } | undefined;
643
+ pirsch?: {
644
+ id: string;
645
+ } | undefined;
646
+ posthog?: {
647
+ apiKey: string;
648
+ apiHost?: string | undefined;
649
+ } | undefined;
650
+ plausible?: {
651
+ domain: string;
652
+ } | undefined;
653
+ } | undefined;
654
+ integrations?: {
655
+ intercom?: string | undefined;
656
+ frontchat?: string | undefined;
657
+ inkeepSchema?: {
658
+ integrationApiKey: string;
659
+ } | undefined;
660
+ } | undefined;
661
+ Schema?: boolean | undefined;
662
+ }, {
663
+ name: string;
664
+ favicon: string;
665
+ colors: {
666
+ primary: string;
667
+ light?: string | undefined;
668
+ dark?: string | undefined;
669
+ background?: {
670
+ light?: string | undefined;
671
+ dark?: string | undefined;
672
+ } | undefined;
673
+ anchors?: string | {
674
+ from: string;
675
+ to: string;
676
+ via?: string | undefined;
677
+ } | undefined;
678
+ ultraLight?: any;
679
+ ultraDark?: any;
680
+ };
681
+ navigation: import("../types").MintNavigationGroup[];
682
+ $schema?: string | undefined;
683
+ mintlify?: string | undefined;
684
+ logo?: string | {
685
+ light: string;
686
+ dark: string;
687
+ href?: string | undefined;
688
+ } | undefined;
689
+ openapi?: string | string[] | undefined;
690
+ api?: {
691
+ baseUrl?: string | string[] | undefined;
692
+ auth?: {
693
+ method?: "bearer" | "basic" | "key" | undefined;
694
+ name?: string | undefined;
695
+ inputPrefix?: string | undefined;
696
+ } | undefined;
697
+ playground?: {
698
+ mode?: "show" | "simple" | "hide" | undefined;
699
+ } | undefined;
700
+ request?: {
701
+ example?: {
702
+ showOptionalParams?: boolean | undefined;
703
+ } | undefined;
704
+ } | undefined;
705
+ maintainOrder?: boolean | undefined;
706
+ } | undefined;
707
+ modeToggle?: {
708
+ default?: "light" | "dark" | undefined;
709
+ isHidden?: boolean | undefined;
710
+ } | undefined;
711
+ versions?: (string | {
712
+ name: string;
713
+ url: string;
714
+ })[] | undefined;
715
+ metadata?: Record<string, string> | undefined;
716
+ topbarCtaButton?: {
717
+ name: string;
718
+ url: string;
719
+ type?: "link" | undefined;
720
+ } | {
721
+ type: "github";
722
+ url: string;
723
+ } | undefined;
724
+ topbarLinks?: ({
725
+ name: string;
726
+ url: string;
727
+ type?: "link" | undefined;
728
+ } | {
729
+ type: "github";
730
+ url: string;
731
+ })[] | undefined;
732
+ primaryTab?: {
733
+ name: string;
734
+ } | undefined;
735
+ topAnchor?: {
736
+ name: string;
737
+ icon?: string | undefined;
738
+ iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined;
739
+ } | undefined;
740
+ anchors?: {
741
+ name: string;
742
+ url: string;
743
+ icon?: string | undefined;
744
+ iconType?: "light" | "brands" | "duotone" | "sharp-solid" | "solid" | "thin" | undefined;
745
+ color?: string | {
746
+ from: string;
747
+ to: string;
748
+ via?: string | undefined;
749
+ } | undefined;
750
+ isDefaultHidden?: boolean | undefined;
751
+ version?: string | undefined;
752
+ }[] | undefined;
753
+ tabs?: {
754
+ name: string;
755
+ url: string;
756
+ }[] | undefined;
757
+ footerSocials?: Record<string, string> | {
758
+ type: string;
759
+ url: string;
760
+ }[] | undefined;
761
+ backgroundImage?: string | undefined;
762
+ feedback?: {
763
+ suggestEdit?: boolean | undefined;
764
+ raiseIssue?: boolean | undefined;
765
+ } | undefined;
766
+ analytics?: {
767
+ amplitude?: {
768
+ apiKey: string;
769
+ } | undefined;
770
+ clearbit?: {
771
+ publicApiKey: string;
772
+ } | undefined;
773
+ fathom?: {
774
+ siteId: string;
775
+ } | undefined;
776
+ ga4?: {
777
+ measurementId: string;
778
+ } | undefined;
779
+ gtm?: {
780
+ tagId: string;
781
+ } | undefined;
782
+ hotjar?: {
783
+ hjid: string;
784
+ hjsv: string;
785
+ } | undefined;
786
+ koala?: {
787
+ publicApiKey: string;
788
+ } | undefined;
789
+ logrocket?: {
790
+ appId: string;
791
+ } | undefined;
792
+ mixpanel?: {
793
+ projectToken: string;
794
+ } | undefined;
795
+ pirsch?: {
796
+ id: string;
797
+ } | undefined;
798
+ posthog?: {
799
+ apiKey: string;
800
+ apiHost?: string | undefined;
801
+ } | undefined;
802
+ plausible?: {
803
+ domain: string;
804
+ } | undefined;
805
+ } | undefined;
806
+ integrations?: {
807
+ intercom?: string | undefined;
808
+ frontchat?: string | undefined;
809
+ inkeepSchema?: {
810
+ integrationApiKey: string;
811
+ } | undefined;
812
+ } | undefined;
813
+ Schema?: boolean | undefined;
814
+ }>;