feat: add boards management page (#55)

This commit is contained in:
Manuel
2024-02-09 22:20:28 +01:00
committed by GitHub
parent 81e61b4d6b
commit 5ef79edc1a
8 changed files with 152 additions and 2 deletions

View File

@@ -36,8 +36,11 @@ const saveSchema = z.object({
sections: z.array(createSectionSchema(commonItemSchema)),
});
const createSchema = z.object({ name: z.string() });
export const boardSchemas = {
byName: byNameSchema,
saveGeneralSettings: saveGeneralSettingsSchema,
save: saveSchema,
create: createSchema,
};