updated living space
This commit is contained in:
28
frontend/pages/living-space/tables/part/schema.tsx
Normal file
28
frontend/pages/living-space/tables/part/schema.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
import { z } from "zod";
|
||||
|
||||
export const schema = z.object({
|
||||
|
||||
_id: z.string(),
|
||||
uuid: z.string(),
|
||||
buildId: z.string(),
|
||||
addressGovCode: z.string(),
|
||||
no: z.number(),
|
||||
level: z.number(),
|
||||
code: z.string(),
|
||||
grossSize: z.number(),
|
||||
netSize: z.number(),
|
||||
defaultAccessory: z.string(),
|
||||
humanLivability: z.boolean(),
|
||||
key: z.string(),
|
||||
directionId: z.string().nullable().optional(),
|
||||
typeId: z.string().nullable().optional(),
|
||||
createdAt: z.string(),
|
||||
updatedAt: z.string(),
|
||||
expiryStarts: z.string(),
|
||||
expiryEnds: z.string(),
|
||||
active: z.boolean(),
|
||||
isConfirmed: z.boolean(),
|
||||
|
||||
});
|
||||
|
||||
export type schemaType = z.infer<typeof schema>;
|
||||
Reference in New Issue
Block a user