allow empty player slots for manual entry

This commit is contained in:
2025-12-12 09:35:44 +01:00
parent 78cd5f7007
commit 90ad03ba56
3 changed files with 18 additions and 9 deletions
+3 -3
View File
@@ -65,9 +65,9 @@ export const fetchClubPlayersSchema = z.object({
});
const matchPlayerSchema = z.object({
name: z.string(),
elo: z.string(),
nrFFE: z.string(),
name: z.string().optional(),
elo: z.string().optional(),
nrFFE: z.string().optional(),
});
export const matchSchema = z.object({