mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-26 01:09:15 +01:00
✨ Add procedure for updating user settings
This commit is contained in:
@@ -23,3 +23,9 @@ export const colorSchemeParser = z
|
||||
.enum(['light', 'dark', 'environment'])
|
||||
.default('environment')
|
||||
.catch('environment');
|
||||
|
||||
export const updateSettingsValidationSchema = z.object({
|
||||
disablePingPulse: z.boolean(),
|
||||
replaceDotsWithIcons: z.boolean(),
|
||||
language: z.string(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user