Skip to content

Commit 0b130b5

Browse files
committed
Add roles array to UserProfile schema definition
1 parent 07c9b5a commit 0b130b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/src/types/User.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { z } from "zod";
22

33
export const UserProfileSchema = z.object({
44
email: z.string(),
5+
roles: z.string().array(),
56
});
67

78
export type UserProfile = z.infer<typeof UserProfileSchema>;

0 commit comments

Comments
 (0)