Add roles support server and client side

This commit is contained in:
pikiou
2022-03-11 10:11:54 +01:00
parent ba0753b85a
commit 57057780d8
8 changed files with 47 additions and 19 deletions

View File

@@ -107,8 +107,9 @@ export const passwordMinLength = 4
export type VolunteerWithoutId = Omit<Volunteer, "id">
export interface VolunteerLogin {
id: number
jwt: string
id: number
roles: string[]
}
export interface VolunteerForgot {