UNPKG

@mintlify/validation

Version:

Validates mint.json files

33 lines (32 loc) 955 B
import { z } from 'zod'; export declare const heroSchema: z.ZodObject<{ message: z.ZodOptional<z.ZodString>; examples: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodObject<{ icon: z.ZodOptional<z.ZodString>; title: z.ZodString; prompt: z.ZodString; }, "strip", z.ZodTypeAny, { prompt: string; title: string; icon?: string | undefined; }, { prompt: string; title: string; icon?: string | undefined; }>, "many">]>>; }, "strip", z.ZodTypeAny, { message?: string | undefined; examples?: string[] | { prompt: string; title: string; icon?: string | undefined; }[] | undefined; }, { message?: string | undefined; examples?: string[] | { prompt: string; title: string; icon?: string | undefined; }[] | undefined; }>; export type HeroSchema = z.infer<typeof heroSchema>;