updated build-sites
This commit is contained in:
14
frontend/pages/build-sites/add/table/schema.tsx
Normal file
14
frontend/pages/build-sites/add/table/schema.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import { z } from "zod";
|
||||
|
||||
export const schema = z.object({
|
||||
_id: z.string(),
|
||||
uuid: z.string(),
|
||||
siteNo: z.string().optional(),
|
||||
siteName: z.string().optional(),
|
||||
createdAt: z.string().optional(),
|
||||
updatedAt: z.string().optional(),
|
||||
expiryEnds: z.string().optional(),
|
||||
expiryStarts: z.string().optional(),
|
||||
});
|
||||
|
||||
export type schemaType = z.infer<typeof schema>;
|
||||
Reference in New Issue
Block a user