mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 20:44:34 +00:00
add instance.isSilenced to PackedUserLite
This commit is contained in:
parent
96d186589a
commit
472c7b7f34
3 changed files with 6 additions and 0 deletions
|
@ -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,
|
||||
|
|
|
@ -200,6 +200,10 @@ export const packedUserLiteSchema = {
|
|||
type: 'string',
|
||||
nullable: true, optional: false,
|
||||
},
|
||||
isSilenced: {
|
||||
type: 'boolean',
|
||||
nullable: false, optional: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
emojis: {
|
||||
|
|
|
@ -4281,6 +4281,7 @@ export type components = {
|
|||
iconUrl: string | null;
|
||||
faviconUrl: string | null;
|
||||
themeColor: string | null;
|
||||
isSilenced: boolean;
|
||||
};
|
||||
emojis: {
|
||||
[key: string]: string;
|
||||
|
|
Loading…
Add table
Reference in a new issue