Admin persistence changes (#5086)

This commit is contained in:
Joseph Insalaco 2024-08-16 22:31:57 -04:00 committed by GitHub
parent 090a48515c
commit b111f0921c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 148 additions and 10 deletions

View file

@ -8,6 +8,15 @@ export interface User {
avatarBmp?: Uint8Array;
}
export enum UserLevelFlag {
IsNothing = 0,
IsUser = 1,
IsRegistered = 2,
IsModerator = 4,
IsAdmin = 8,
IsJudge = 16,
}
export enum UserPrivLevel {
NONE = 0,
VIP = 1,