Add current user object that holds user session values instead of standalone getters. Closes #2050
This commit is contained in:
6
web/interfaces/current-user.ts
Normal file
6
web/interfaces/current-user.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export interface CurrentUser {
|
||||
id: string;
|
||||
displayName: string;
|
||||
displayColor: number;
|
||||
isModerator: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user