@mintlify/validation
Version:
Validates mint.json files
17 lines (16 loc) • 578 B
TypeScript
import { z } from 'zod';
export declare enum ThumbnailAppearance {
Light = "light",
Dark = "dark"
}
export declare const thumbnailsSchema: z.ZodObject<{
appearance: z.ZodOptional<z.ZodEnum<[ThumbnailAppearance.Light, ThumbnailAppearance.Dark]>>;
background: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
appearance?: ThumbnailAppearance | undefined;
background?: string | undefined;
}, {
appearance?: ThumbnailAppearance | undefined;
background?: string | undefined;
}>;
export type ThumbnailsConfig = z.infer<typeof thumbnailsSchema>;