aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/schemas.ts
diff options
context:
space:
mode:
authorSebastien Castiel <sebastien@castiel.me>2023-12-06 20:21:26 -0500
committerSebastien Castiel <sebastien@castiel.me>2023-12-06 20:21:26 -0500
commit57899b0160385c53df4e43ef2fd12492e0dffb77 (patch)
tree83f616c406c2d37aec2250bb0c44fcb8d701c177 /src/lib/schemas.ts
parent6ce2329f5ce20f8352e3ea15594f2532ab8a392c (diff)
Reimbursements
Diffstat (limited to 'src/lib/schemas.ts')
-rw-r--r--src/lib/schemas.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/schemas.ts b/src/lib/schemas.ts
index 6f0c15c..5c3489b 100644
--- a/src/lib/schemas.ts
+++ b/src/lib/schemas.ts
@@ -49,6 +49,7 @@ export const expenseFormSchema = z.object({
paidFor: z
.array(z.string())
.min(1, 'The expense must be paid for at least 1 participant.'),
+ isReimbursement: z.boolean(),
})
export type ExpenseFormValues = z.infer<typeof expenseFormSchema>