AI Implementation feature(883): Admin Area General Settings and Categories 1.01 (#23)
This commit was merged in pull request #23.
This commit is contained in:
@@ -3,7 +3,7 @@ import { THEME_IDS } from '../../../common/types/theme-ids';
|
||||
|
||||
export const GeneralSettingsSchema = z
|
||||
.object({
|
||||
pageTitle: z.string().min(1).max(120),
|
||||
pageTitle: z.string().trim().min(1).max(120),
|
||||
logo: z.string().max(2048),
|
||||
welcomeMarkdown: z.string().max(64_000),
|
||||
themeKey: z.enum(THEME_IDS as unknown as [string, ...string[]]),
|
||||
|
||||
Reference in New Issue
Block a user