feature: board operations (#1800)
This commit is contained in:
@@ -2,8 +2,10 @@ import { DEFAULT_THEME, MANTINE_COLORS, MantineColor } from '@mantine/core';
|
||||
import { z } from 'zod';
|
||||
import { BackgroundImageAttachment, BackgroundImageRepeat, BackgroundImageSize } from '~/types/settings';
|
||||
|
||||
export const configNameSchema = z.string().regex(/^[a-zA-Z0-9-_\s()]+$/);
|
||||
|
||||
export const createBoardSchemaValidation = z.object({
|
||||
name: z.string().min(2).max(25),
|
||||
name: configNameSchema,
|
||||
});
|
||||
|
||||
export const boardCustomizationSchema = z.object({
|
||||
|
||||
Reference in New Issue
Block a user