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