From de0715f659e72b28349fd5dd7e95bb0b6750552c Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Fri, 19 May 2023 16:45:02 -0400 Subject: update some properties --- src/util/entities/User.ts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/util') diff --git a/src/util/entities/User.ts b/src/util/entities/User.ts index 3e72c3c9..21e01403 100644 --- a/src/util/entities/User.ts +++ b/src/util/entities/User.ts @@ -48,8 +48,10 @@ export enum PublicUserEnum { id, public_flags, avatar, + avatar_decoration, accent_color, banner, + banner_color, bio, bot, premium_since, @@ -103,12 +105,18 @@ export class User extends BaseClass { @Column({ nullable: true }) avatar?: string; // hash of the user avatar + @Column({ nullable: true }) + avatar_decoration?: string; // hash of the users avatar decoration + @Column({ nullable: true }) accent_color?: number; // banner color of user @Column({ nullable: true }) banner?: string; // hash of the user banner + @Column({ nullable: true }) + banner_color?: number; // the real banner color of the user? lol + // TODO: Separate `User` and `UserProfile` models // puyo: changed from [number, number] because it breaks openapi @Column({ nullable: true, type: "simple-array" }) -- cgit 1.5.1