feat(profile): add optional name field to user profile form and schema

This commit is contained in:
Mauricio Siu
2025-07-27 23:13:06 -06:00
parent b95dfed8fc
commit 79e9593663
2 changed files with 19 additions and 0 deletions

View File

@@ -323,6 +323,7 @@ export const apiUpdateWebServerMonitoring = z.object({
export const apiUpdateUser = createSchema.partial().extend({
password: z.string().optional(),
currentPassword: z.string().optional(),
name: z.string().optional(),
metricsConfig: z
.object({
server: z.object({