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,
faviconUrl: instance.faviconUrl,
themeColor: instance.themeColor,
isSilenced: instance.isSilenced,
} : undefined) : undefined,
followersCount: followersCount ?? 0,
followingCount: followingCount ?? 0,

View file

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

View file

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