mt-flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS
50 lines (49 loc) • 1.29 kB
TypeScript
import * as z from "zod";
export declare const spRouteSchema: z.ZodObject<{
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
spSiteId: z.ZodNumber;
path: z.ZodString;
rPath: z.ZodDefault<z.ZodString>;
}, "strip", z.ZodTypeAny, {
path: string;
spSiteId: number;
rPath: string;
id?: string | number | undefined;
}, {
path: string;
spSiteId: number;
id?: string | number | undefined;
rPath?: string | undefined;
}>;
export declare const spRouteCreateSchema: z.ZodObject<{
path: z.ZodString;
id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
spSiteId: z.ZodNumber;
rPath: z.ZodDefault<z.ZodString>;
}, "strip", z.ZodTypeAny, {
path: string;
spSiteId: number;
rPath: string;
id?: string | number | undefined;
}, {
path: string;
spSiteId: number;
id?: string | number | undefined;
rPath?: string | undefined;
}>;
export declare const spRouteUpdateSchema: z.ZodObject<{
path: z.ZodString;
spSiteId: z.ZodNumber;
rPath: z.ZodDefault<z.ZodString>;
id: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
path: string;
id: number;
spSiteId: number;
rPath: string;
}, {
path: string;
id: number;
spSiteId: number;
rPath?: string | undefined;
}>;