builds backend initated
This commit is contained in:
20
frontend/pages/build-areas/add/table/schema.tsx
Normal file
20
frontend/pages/build-areas/add/table/schema.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import { z } from "zod";
|
||||
|
||||
export const schema = z.object({
|
||||
_id: z.string(),
|
||||
uuid: z.string(),
|
||||
areaName: z.string(),
|
||||
areaCode: z.string(),
|
||||
areaType: z.string(),
|
||||
areaDirection: z.string(),
|
||||
areaGrossSize: z.number(),
|
||||
areaNetSize: z.number(),
|
||||
width: z.number(),
|
||||
size: z.number(),
|
||||
expiryStarts: z.string().optional(),
|
||||
expiryEnds: z.string().optional(),
|
||||
createdAt: z.string(),
|
||||
updatedAt: z.string(),
|
||||
});
|
||||
|
||||
export type schemaType = z.infer<typeof schema>;
|
||||
Reference in New Issue
Block a user