feat(boards): add form logic and translations to board create modal
This commit is contained in:
7 files changed
+35
-13
No files matched your search
@@ -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(),
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user