1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 05:02:37 +01:00

Added accent_color

This commit is contained in:
BuildTools 2021-08-06 15:23:09 +03:00
parent 235ea9fe3e
commit 122bed3456

View File

@ -10,6 +10,7 @@ export const PublicUserProjection = {
id: true, id: true,
public_flags: true, public_flags: true,
avatar: true, avatar: true,
accent_color: true,
bio: true, bio: true,
bot: true, bot: true,
}; };
@ -19,6 +20,7 @@ export interface User {
username: string; // username max length 32, min 2 username: string; // username max length 32, min 2
discriminator: string; // #0001 4 digit long string from #0001 - #9999 discriminator: string; // #0001 4 digit long string from #0001 - #9999
avatar: string | null; // hash of the user avatar avatar: string | null; // hash of the user avatar
accent_color: number; // banner color of user
phone: string | null; // phone number of the user phone: string | null; // phone number of the user
desktop: boolean; // if the user has desktop app installed desktop: boolean; // if the user has desktop app installed
mobile: boolean; // if the user has mobile app installed mobile: boolean; // if the user has mobile app installed
@ -64,6 +66,7 @@ export interface PublicUser {
discriminator: string; discriminator: string;
username: string; username: string;
avatar: string | null; avatar: string | null;
accent_color: number;
public_flags: bigint; public_flags: bigint;
bot: boolean; bot: boolean;
} }