summary refs log tree commit diff
path: root/dist/models/User.d.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-11 20:44:26 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-02-11 20:44:26 +0100
commit673e691c6e26a0abbadb93cf8ef4b1e45ad1accc (patch)
tree8496623a70f192e4e88ec487e38e0f6c284dc883 /dist/models/User.d.ts
parent:sparkles: updated other models (diff)
downloadserver-673e691c6e26a0abbadb93cf8ef4b1e45ad1accc.tar.xz
:wrench: build
Diffstat (limited to 'dist/models/User.d.ts')
-rw-r--r--dist/models/User.d.ts35
1 files changed, 34 insertions, 1 deletions
diff --git a/dist/models/User.d.ts b/dist/models/User.d.ts

index 5e86a8a3..fad4ccfd 100644 --- a/dist/models/User.d.ts +++ b/dist/models/User.d.ts
@@ -3,17 +3,50 @@ export interface User { username: string; discriminator: string; avatar: string | null; + phone?: string; + desktop: boolean; + mobile: boolean; + premium: boolean; + premium_type: number; bot: boolean; system: boolean; + nsfw_allowed: boolean; mfa_enabled: boolean; created_at: number; verified: boolean; email: string; flags: bigint; + public_flags: bigint; hash: string; + guilds: bigint[]; valid_tokens_since: number; user_settings: UserSettings; - guilds: bigint[]; + relationships: Relationship[]; + connected_accounts: ConnectedAccount[]; +} +export interface PublicUser { + id: bigint; + discriminator: string; + username: string; + avatar?: string; + publicFlags: bigint; +} +export interface ConnectedAccount { + access_token: string; + friend_sync: boolean; + id: string; + name: string; + revoked: boolean; + show_activity: boolean; + type: string; + verifie: boolean; + visibility: number; +} +export interface Relationship { + id: bigint; + nickname?: string; + type: number; + user_id: bigint; } export interface UserSettings { afk_timeout: number;