add instance.isSilenced to PackedUserLite

This commit is contained in:
Hazelnoot 2025-06-03 17:11:51 -04:00
parent 96d186589a
commit 472c7b7f34
3 changed files with 6 additions and 0 deletions

View file

@ -616,6 +616,7 @@ export class UserEntityService implements OnModuleInit {
iconUrl: instance.iconUrl, iconUrl: instance.iconUrl,
faviconUrl: instance.faviconUrl, faviconUrl: instance.faviconUrl,
themeColor: instance.themeColor, themeColor: instance.themeColor,
isSilenced: instance.isSilenced,
} : undefined) : undefined, } : undefined) : undefined,
followersCount: followersCount ?? 0, followersCount: followersCount ?? 0,
followingCount: followingCount ?? 0, followingCount: followingCount ?? 0,

View file

@ -200,6 +200,10 @@ export const packedUserLiteSchema = {
type: 'string', type: 'string',
nullable: true, optional: false, nullable: true, optional: false,
}, },
isSilenced: {
type: 'boolean',
nullable: false, optional: false,
},
}, },
}, },
emojis: { emojis: {

View file

@ -4281,6 +4281,7 @@ export type components = {
iconUrl: string | null; iconUrl: string | null;
faviconUrl: string | null; faviconUrl: string | null;
themeColor: string | null; themeColor: string | null;
isSilenced: boolean;
}; };
emojis: { emojis: {
[key: string]: string; [key: string]: string;