mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 15:22:43 +00:00
✨ add guilds array to user model
This commit is contained in:
1 parent
71ace90f07
commit
1b5e487ce0
1 file changed
+1
@@ -15,6 +15,7 @@ export interface User {
|
||||
hash: string; // hash of the password, salt is saved in password (bcrypt)
|
||||
valid_tokens_since: number; // all tokens with a previous issue date are invalid
|
||||
user_settings: UserSettings;
|
||||
guilds: bigint[] // array of guild ids the user is part of
|
||||
}
|
||||
|
||||
export interface UserSettings {
|
||||
|
||||
Reference in new issue
Block a user