add instance.isSilenced to PackedUserLite
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user