feat(boards): add form logic and translations to board create modal

This commit is contained in:
Meier Lukas committed 2025-11-26 18:38:32 +01:00
1 parent 2b6eb88a53
commit 0843ccda99
7 files changed
+35 -13

No files matched your search

+2
View File
@@ -4,6 +4,7 @@ import {
backgroundImageAttachments,
backgroundImageRepeats,
backgroundImageSizes,
boardLayoutModes,
boardPermissions,
} from "@homarr/definitions";
@@ -90,6 +91,7 @@ export const boardSaveSchema = z.object({
export const boardCreateSchema = z.object({
name: boardNameSchema,
columnCount: boardColumnCountSchema,
layoutMode: z.enum(boardLayoutModes.values).default(boardLayoutModes.defaultValue),
isPublic: z.boolean(),
});