From 72fe19987957e78cbd1d97ccfd8b87d85fea5c88 Mon Sep 17 00:00:00 2001 From: Sebastien Castiel Date: Wed, 6 Dec 2023 15:23:18 -0500 Subject: Add currency --- src/lib/schemas.ts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/lib/schemas.ts') diff --git a/src/lib/schemas.ts b/src/lib/schemas.ts index 0219491..6f0c15c 100644 --- a/src/lib/schemas.ts +++ b/src/lib/schemas.ts @@ -6,6 +6,10 @@ export const groupFormSchema = z .string() .min(2, 'Enter at least two characters.') .max(50, 'Enter at most 50 characters.'), + currency: z + .string() + .min(1, 'Enter at least one character.') + .max(5, 'Enter at most five characters.'), participants: z .array( z.object({ -- cgit v1.3