mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-24 18:34:09 +02:00
型の漏れを修正
This commit is contained in:
@@ -167,6 +167,7 @@ export const moderationLogTypes = [
|
||||
'deleteFlash',
|
||||
'deleteGalleryPost',
|
||||
'deleteChatRoom',
|
||||
'updateProxyAccountDescription',
|
||||
] as const;
|
||||
|
||||
export const queueTypes = [
|
||||
@@ -193,7 +194,15 @@ export const reversiUpdateKeys = [
|
||||
|
||||
export type ReversiUpdateKey = typeof reversiUpdateKeys[number];
|
||||
|
||||
type AvatarDecoration = UserLite['avatarDecorations'][number];
|
||||
type AvatarDecoration = {
|
||||
id: string;
|
||||
name: string;
|
||||
url: string;
|
||||
angle?: number;
|
||||
flipH?: boolean;
|
||||
offsetX?: number;
|
||||
offsetY?: number;
|
||||
};
|
||||
|
||||
type ReceivedAbuseReport = {
|
||||
reportId: AbuseReportNotificationRecipient['id'];
|
||||
@@ -455,4 +464,8 @@ export type ModerationLogPayloads = {
|
||||
roomId: string;
|
||||
room: ChatRoom;
|
||||
};
|
||||
updateProxyAccountDescription: {
|
||||
before: string | null;
|
||||
after: string | null;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user