Wrapped up discharge form close #159

This commit is contained in:
2026-01-28 15:39:45 -05:00
parent c646254616
commit 22eaba6f90
8 changed files with 111 additions and 25 deletions

View File

@@ -0,0 +1,10 @@
import z from "zod";
export const dischargeSchema = z.object({
reason: z.string().min(1, "Please provide a valid reason for discharge").max(200),
// effectiveDate: z.string().min(1, "Date is required"),
})
export type Discharge = z.infer<typeof dischargeSchema> & {
userID: number;
};