We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07c9b5a commit 0b130b5Copy full SHA for 0b130b5
frontend/src/types/User.ts
@@ -2,6 +2,7 @@ import { z } from "zod";
2
3
export const UserProfileSchema = z.object({
4
email: z.string(),
5
+ roles: z.string().array(),
6
});
7
8
export type UserProfile = z.infer<typeof UserProfileSchema>;
0 commit comments