UNPKG

@mintlify/validation

Version:

Validates mint.json files

28 lines (27 loc) 650 B
import { z } from 'zod'; export declare const gradientSchema: z.ZodObject<{ from: z.ZodString; via: z.ZodOptional<z.ZodString>; to: z.ZodString; }, "strip", z.ZodTypeAny, { from: string; to: string; via?: string | undefined; }, { from: string; to: string; via?: string | undefined; }>; export declare const anchorColorSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{ from: z.ZodString; via: z.ZodOptional<z.ZodString>; to: z.ZodString; }, "strict", z.ZodTypeAny, { from: string; to: string; via?: string | undefined; }, { from: string; to: string; via?: string | undefined; }>]>;