✨ Add procedure for updating user settings

This commit is contained in:
Manuel committed 2023-07-30 23:29:41 +02:00
1 parent 4b1f5881e3
commit f8186e68e4
4 files changed
+142 -101

No files matched your search

+6
View File
@@ -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(),
});