diff --git a/locales/en-US.yml b/locales/en-US.yml index ed71b5a190db..c8eaacc2fa8c 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -2250,6 +2250,7 @@ _moderationLogTypes: updateRole: "Role updated" assignRole: "Assigned to role" unassignRole: "Removed from role" + approve: "Approved" suspend: "Suspended" unsuspend: "Unsuspended" addCustomEmoji: "Custom emoji added" diff --git a/locales/index.d.ts b/locales/index.d.ts index 5f071469aa61..00fdc4649c14 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -2486,6 +2486,7 @@ export interface Locale { "updateRole": string; "assignRole": string; "unassignRole": string; + "approve": string; "suspend": string; "unsuspend": string; "addCustomEmoji": string; diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index f52bd798b02a..539054e012b6 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -2387,6 +2387,7 @@ _moderationLogTypes: updateRole: "ロールを更新" assignRole: "ロールへアサイン" unassignRole: "ロールのアサイン解除" + approve: "承認済み" suspend: "凍結" unsuspend: "凍結解除" addCustomEmoji: "カスタム絵文字追加" diff --git a/packages/misskey-js/src/entities.ts b/packages/misskey-js/src/entities.ts index 99f433cc028d..2c490fa55e1e 100644 --- a/packages/misskey-js/src/entities.ts +++ b/packages/misskey-js/src/entities.ts @@ -23,6 +23,9 @@ export type ModerationLog = { } & ({ type: 'updateServerSettings'; info: ModerationLogPayloads['updateServerSettings']; +} | { + type: 'approve'; + info: ModerationLogPayloads['approve']; } | { type: 'suspend'; info: ModerationLogPayloads['suspend'];