mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-11 13:14:06 +01:00
⏪ revert guilds in user_data
This commit is contained in:
parent
e5f408be08
commit
770b07400e
2
dist/models/User.d.ts
vendored
2
dist/models/User.d.ts
vendored
@ -22,6 +22,7 @@ export interface User {
|
|||||||
flags: bigint;
|
flags: bigint;
|
||||||
public_flags: bigint;
|
public_flags: bigint;
|
||||||
user_settings: UserSettings;
|
user_settings: UserSettings;
|
||||||
|
guilds: bigint[];
|
||||||
user_data: UserData;
|
user_data: UserData;
|
||||||
presence: {
|
presence: {
|
||||||
status: Status;
|
status: Status;
|
||||||
@ -33,7 +34,6 @@ export interface UserData {
|
|||||||
valid_tokens_since: Date;
|
valid_tokens_since: Date;
|
||||||
relationships: Relationship[];
|
relationships: Relationship[];
|
||||||
connected_accounts: ConnectedAccount[];
|
connected_accounts: ConnectedAccount[];
|
||||||
guilds: bigint[];
|
|
||||||
hash: string;
|
hash: string;
|
||||||
fingerprints: string[];
|
fingerprints: string[];
|
||||||
}
|
}
|
||||||
|
@ -23,6 +23,7 @@ export interface User {
|
|||||||
flags: bigint; // UserFlags
|
flags: bigint; // UserFlags
|
||||||
public_flags: bigint;
|
public_flags: bigint;
|
||||||
user_settings: UserSettings;
|
user_settings: UserSettings;
|
||||||
|
guilds: bigint[]; // array of guild ids the user is part of
|
||||||
user_data: UserData;
|
user_data: UserData;
|
||||||
presence: {
|
presence: {
|
||||||
status: Status;
|
status: Status;
|
||||||
@ -36,7 +37,6 @@ export interface UserData {
|
|||||||
valid_tokens_since: Date; // all tokens with a previous issue date are invalid
|
valid_tokens_since: Date; // all tokens with a previous issue date are invalid
|
||||||
relationships: Relationship[];
|
relationships: Relationship[];
|
||||||
connected_accounts: ConnectedAccount[];
|
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)
|
hash: string; // hash of the password, salt is saved in password (bcrypt)
|
||||||
fingerprints: string[]; // array of fingerprints -> used to prevent multiple accounts
|
fingerprints: string[]; // array of fingerprints -> used to prevent multiple accounts
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user