@mintlify/validation 0.1.46 → 0.1.47

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 -7
  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 -275
  9. package/dist/mint-config/schemas/anchorColors.d.ts +28 -28
  10. package/dist/mint-config/schemas/anchors.d.ts +108 -108
  11. package/dist/mint-config/schemas/apiReference.d.ts +77 -77
  12. package/dist/mint-config/schemas/basics.d.ts +80 -80
  13. package/dist/mint-config/schemas/colors.d.ts +62 -62
  14. package/dist/mint-config/schemas/config.d.ts +815 -815
  15. package/dist/mint-config/schemas/favicon.d.ts +2 -2
  16. package/dist/mint-config/schemas/integrations.d.ts +38 -38
  17. package/dist/mint-config/schemas/navigation.d.ts +3 -3
  18. package/dist/mint-config/schemas/tabs.d.ts +31 -31
  19. package/dist/mint-config/schemas/versions.d.ts +24 -24
  20. package/dist/mint-config/types/enums.d.ts +4 -4
  21. package/dist/mint-config/types/index.d.ts +12 -12
  22. package/dist/mint-config/types/navigation.d.ts +13 -13
  23. package/dist/mint-config/validateAnchorsWarnings.d.ts +4 -4
  24. package/dist/mint-config/validateVersionsInNavigation.d.ts +5 -5
  25. package/dist/openapi/convertOpenApi.d.ts +18 -18
  26. package/dist/openapi/convertParameters.d.ts +9 -9
  27. package/dist/openapi/convertSchema.d.ts +11 -11
  28. package/dist/openapi/convertSecurity.d.ts +14 -14
  29. package/dist/openapi/convertServers.d.ts +8 -8
  30. package/dist/openapi/types/endpoint.d.ts +128 -128
  31. package/package.json +76 -75
  32. package/dist/mint-config/schemas/name.d.ts +0 -2
  33. package/dist/mint-config/types/analytics.d.ts +0 -3
  34. package/dist/mint-config/types/anchors.d.ts +0 -3
  35. package/dist/mint-config/types/colors.d.ts +0 -3
  36. package/dist/mint-config/types/config.d.ts +0 -3
  37. package/dist/mint-config/types/versions.d.ts +0 -3
  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,815 +1,815 @@
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
- inkeep: 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
- inkeep?: {
500
- integrationApiKey: string;
501
- } | undefined;
502
- }, {
503
- intercom?: string | undefined;
504
- frontchat?: string | undefined;
505
- inkeep?: {
506
- integrationApiKey: string;
507
- } | undefined;
508
- }>>;
509
- isWhiteLabeled: 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
- inkeep?: {
658
- integrationApiKey: string;
659
- } | undefined;
660
- } | undefined;
661
- isWhiteLabeled?: 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
- inkeep?: {
810
- integrationApiKey: string;
811
- } | undefined;
812
- } | undefined;
813
- isWhiteLabeled?: boolean | undefined;
814
- }>;
815
- export type ConfigType = z.infer<typeof configSchema>;
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
+ inkeep: 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
+ inkeep?: {
500
+ integrationApiKey: string;
501
+ } | undefined;
502
+ }, {
503
+ intercom?: string | undefined;
504
+ frontchat?: string | undefined;
505
+ inkeep?: {
506
+ integrationApiKey: string;
507
+ } | undefined;
508
+ }>>;
509
+ isWhiteLabeled: 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
+ inkeep?: {
658
+ integrationApiKey: string;
659
+ } | undefined;
660
+ } | undefined;
661
+ isWhiteLabeled?: 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
+ inkeep?: {
810
+ integrationApiKey: string;
811
+ } | undefined;
812
+ } | undefined;
813
+ isWhiteLabeled?: boolean | undefined;
814
+ }>;
815
+ export type ConfigType = z.infer<typeof configSchema>;