UNPKG

@mintlify/validation

Version:

Validates mint.json files

203 lines (202 loc) 4.72 kB
import { z } from 'zod'; export declare const analyticsSchema: z.ZodObject<{ amplitude: z.ZodOptional<z.ZodObject<{ apiKey: z.ZodString; }, "strip", z.ZodTypeAny, { apiKey: string; }, { apiKey: string; }>>; clearbit: z.ZodOptional<z.ZodObject<{ publicApiKey: z.ZodString; }, "strip", z.ZodTypeAny, { publicApiKey: string; }, { publicApiKey: string; }>>; fathom: z.ZodOptional<z.ZodObject<{ siteId: z.ZodString; }, "strip", z.ZodTypeAny, { siteId: string; }, { siteId: string; }>>; ga4: z.ZodOptional<z.ZodObject<{ measurementId: z.ZodString; }, "strip", z.ZodTypeAny, { measurementId: string; }, { measurementId: string; }>>; gtm: z.ZodOptional<z.ZodObject<{ tagId: z.ZodString; }, "strip", z.ZodTypeAny, { tagId: string; }, { tagId: string; }>>; heap: z.ZodOptional<z.ZodObject<{ appId: z.ZodString; }, "strip", z.ZodTypeAny, { appId: string; }, { appId: string; }>>; hotjar: z.ZodOptional<z.ZodObject<{ hjid: z.ZodString; hjsv: z.ZodString; }, "strip", z.ZodTypeAny, { hjid: string; hjsv: string; }, { hjid: string; hjsv: string; }>>; koala: z.ZodOptional<z.ZodObject<{ publicApiKey: z.ZodString; }, "strip", z.ZodTypeAny, { publicApiKey: string; }, { publicApiKey: string; }>>; logrocket: z.ZodOptional<z.ZodObject<{ appId: z.ZodString; }, "strip", z.ZodTypeAny, { appId: string; }, { appId: string; }>>; mixpanel: z.ZodOptional<z.ZodObject<{ projectToken: z.ZodString; }, "strip", z.ZodTypeAny, { projectToken: string; }, { projectToken: string; }>>; pirsch: z.ZodOptional<z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>>; posthog: z.ZodOptional<z.ZodObject<{ apiKey: z.ZodString; apiHost: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { apiKey: string; apiHost?: string | undefined; }, { apiKey: string; apiHost?: string | undefined; }>>; plausible: z.ZodOptional<z.ZodObject<{ domain: z.ZodEffects<z.ZodString, string, string>; server: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>; }, "strip", z.ZodTypeAny, { domain: string; server?: string | undefined; }, { domain: string; server?: string | undefined; }>>; segment: z.ZodOptional<z.ZodObject<{ key: z.ZodString; }, "strip", z.ZodTypeAny, { key: string; }, { key: string; }>>; }, "strict", z.ZodTypeAny, { amplitude?: { apiKey: string; } | undefined; clearbit?: { publicApiKey: string; } | undefined; fathom?: { siteId: string; } | undefined; ga4?: { measurementId: string; } | undefined; gtm?: { tagId: string; } | undefined; heap?: { appId: string; } | undefined; hotjar?: { hjid: string; hjsv: string; } | undefined; koala?: { publicApiKey: string; } | undefined; logrocket?: { appId: string; } | undefined; mixpanel?: { projectToken: string; } | undefined; pirsch?: { id: string; } | undefined; posthog?: { apiKey: string; apiHost?: string | undefined; } | undefined; plausible?: { domain: string; server?: string | undefined; } | undefined; segment?: { key: string; } | undefined; }, { amplitude?: { apiKey: string; } | undefined; clearbit?: { publicApiKey: string; } | undefined; fathom?: { siteId: string; } | undefined; ga4?: { measurementId: string; } | undefined; gtm?: { tagId: string; } | undefined; heap?: { appId: string; } | undefined; hotjar?: { hjid: string; hjsv: string; } | undefined; koala?: { publicApiKey: string; } | undefined; logrocket?: { appId: string; } | undefined; mixpanel?: { projectToken: string; } | undefined; pirsch?: { id: string; } | undefined; posthog?: { apiKey: string; apiHost?: string | undefined; } | undefined; plausible?: { domain: string; server?: string | undefined; } | undefined; segment?: { key: string; } | undefined; }>;