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,
|
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,
|
||||||
|
|
|
@ -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: {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue