evyos-frontend-development/frontend/pages/build-sites/list/schema.tsx

15 lines
340 B
TypeScript

import { z } from "zod";
export const schema = z.object({
_id: z.string(),
uuid: z.string(),
siteName: z.string(),
siteNo: z.string(),
expiryStarts: z.string().optional(),
expiryEnds: z.string().optional(),
createdAt: z.string(),
updatedAt: z.string(),
});
export type schemaType = z.infer<typeof schema>;