✨ Add procedure for updating user settings
This commit is contained in:
1 parent
4b1f5881e3
commit
f8186e68e4
4 files changed
+142
-101
No files matched your search
@@ -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