From e72da587e4012ebe039e7b80cbc5889d8e62327d Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Wed, 27 Aug 2025 17:05:29 +0900 Subject: [PATCH] =?UTF-8?q?=E5=9E=8B=E3=81=AE=E6=BC=8F=E3=82=8C=E3=82=92?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/misskey-js/src/consts.ts | 15 ++++++++++++++- packages/misskey-js/src/entities.ts | 3 +++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/packages/misskey-js/src/consts.ts b/packages/misskey-js/src/consts.ts index a868f32f28..5cc725d3dd 100644 --- a/packages/misskey-js/src/consts.ts +++ b/packages/misskey-js/src/consts.ts @@ -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; + } }; diff --git a/packages/misskey-js/src/entities.ts b/packages/misskey-js/src/entities.ts index ceb0ffb5ae..6f609af906 100644 --- a/packages/misskey-js/src/entities.ts +++ b/packages/misskey-js/src/entities.ts @@ -203,6 +203,9 @@ export type ModerationLog = { } | { type: 'deleteChatRoom'; info: ModerationLogPayloads['deleteChatRoom']; +} | { + type: 'updateProxyAccountDescription'; + info: ModerationLogPayloads['updateProxyAccountDescription']; }); export type ServerStats = {