fix: sync verification state with auth guards
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
export type UserRole = "consumer" | "player" | "owner"
|
||||
export type VerificationStatus = "pending" | "approved" | "rejected"
|
||||
|
||||
export interface User {
|
||||
id: string
|
||||
@@ -6,6 +7,8 @@ export interface User {
|
||||
nickname: string
|
||||
avatar: string
|
||||
role: UserRole
|
||||
verifiedRoles?: UserRole[]
|
||||
verificationStatus?: Partial<Record<UserRole, VerificationStatus>>
|
||||
phone?: string
|
||||
bio?: string
|
||||
createdAt: string
|
||||
|
||||
Reference in New Issue
Block a user