feat: add column count and is public options to board creation modal (#930)

* feat: add column count and is public options to board creation modal

* test: adjust board creation test to match modified schema
This commit is contained in:
Meier Lukas
2024-08-09 18:28:52 +02:00
committed by GitHub
parent 349c49462f
commit fcb72e6716
6 changed files with 36 additions and 11 deletions

View File

@@ -61,7 +61,7 @@ const saveSchema = z.object({
sections: z.array(createSectionSchema(commonItemSchema)),
});
const createSchema = z.object({ name: boardNameSchema });
const createSchema = z.object({ name: boardNameSchema, columnCount: z.number().min(1).max(24), isPublic: z.boolean() });
const permissionsSchema = z.object({
id: z.string(),