mirror of
https://github.com/hex248/sprint.git
synced 2026-02-07 18:23:03 +00:00
'Assign to me by default' toggle in Account.tsx
This commit is contained in:
@@ -412,6 +412,7 @@ export const UserUpdateRequestSchema = z.object({
|
||||
.optional(),
|
||||
avatarURL: z.string().url().nullable().optional(),
|
||||
iconPreference: z.enum(["lucide", "pixel", "phosphor"]).optional(),
|
||||
preferences: z.record(z.boolean()).optional(),
|
||||
});
|
||||
|
||||
export type UserUpdateRequest = z.infer<typeof UserUpdateRequestSchema>;
|
||||
@@ -431,6 +432,7 @@ export const UserResponseSchema = z.object({
|
||||
avatarURL: z.string().nullable(),
|
||||
iconPreference: z.enum(["lucide", "pixel", "phosphor"]),
|
||||
plan: z.string().nullable().optional(),
|
||||
preferences: z.record(z.boolean()).optional(),
|
||||
createdAt: z.string().nullable().optional(),
|
||||
updatedAt: z.string().nullable().optional(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user