diff options
| author | Sebastien Castiel <sebastien@castiel.me> | 2023-12-06 15:23:18 -0500 |
|---|---|---|
| committer | Sebastien Castiel <sebastien@castiel.me> | 2023-12-06 15:23:18 -0500 |
| commit | 72fe19987957e78cbd1d97ccfd8b87d85fea5c88 (patch) | |
| tree | da34dcde025697e8a4b13aad17d9291ee454d328 /src/lib/schemas.ts | |
| parent | 570aa713b1b2becf7c06c89610c75d2cb119b532 (diff) | |
Add currency
Diffstat (limited to 'src/lib/schemas.ts')
| -rw-r--r-- | src/lib/schemas.ts | 4 |
1 files changed, 4 insertions, 0 deletions
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({ |
