Polished world modal behaviour

This commit is contained in:
Alexis
2025-03-02 20:02:51 +01:00
parent 71866b0e4b
commit 7e2989e383
6 changed files with 102 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ export interface World {
export const postWorldSchema = z.object({
name: z.string(),
description: z.string().optional().nullable(),
color: rpgColorSchema,
color: rpgColorSchema.default("white"),
gmId: z.string().optional().nullable(),
state: z.string().optional().nullable().default("draft"),
})