@mintlify/validation
Version:
Validates mint.json files
23 lines (22 loc) • 589 B
TypeScript
import { z } from 'zod';
export declare const redirectsSchema: z.ZodEffects<z.ZodArray<z.ZodObject<{
source: z.ZodString;
destination: z.ZodString;
permanent: z.ZodOptional<z.ZodBoolean>;
}, "strip", z.ZodTypeAny, {
source: string;
destination: string;
permanent?: boolean | undefined;
}, {
source: string;
destination: string;
permanent?: boolean | undefined;
}>, "many">, {
source: string;
destination: string;
permanent?: boolean | undefined;
}[], {
source: string;
destination: string;
permanent?: boolean | undefined;
}[]>;