mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-24 16:55:30 +00:00
⏪ revert guilds in user_data
This commit is contained in:
Vendored
+1
-1
@@ -22,6 +22,7 @@ export interface User {
|
||||
flags: bigint;
|
||||
public_flags: bigint;
|
||||
user_settings: UserSettings;
|
||||
guilds: bigint[];
|
||||
user_data: UserData;
|
||||
presence: {
|
||||
status: Status;
|
||||
@@ -33,7 +34,6 @@ export interface UserData {
|
||||
valid_tokens_since: Date;
|
||||
relationships: Relationship[];
|
||||
connected_accounts: ConnectedAccount[];
|
||||
guilds: bigint[];
|
||||
hash: string;
|
||||
fingerprints: string[];
|
||||
}
|
||||
|
||||
+1
-1
@@ -23,6 +23,7 @@ export interface User {
|
||||
flags: bigint; // UserFlags
|
||||
public_flags: bigint;
|
||||
user_settings: UserSettings;
|
||||
guilds: bigint[]; // array of guild ids the user is part of
|
||||
user_data: UserData;
|
||||
presence: {
|
||||
status: Status;
|
||||
@@ -36,7 +37,6 @@ export interface UserData {
|
||||
valid_tokens_since: Date; // all tokens with a previous issue date are invalid
|
||||
relationships: Relationship[];
|
||||
connected_accounts: ConnectedAccount[];
|
||||
guilds: bigint[]; // array of guild ids the user is part of
|
||||
hash: string; // hash of the password, salt is saved in password (bcrypt)
|
||||
fingerprints: string[]; // array of fingerprints -> used to prevent multiple accounts
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user