diff --git a/locales/en-US.yml b/locales/en-US.yml index 5df9ece18b..69d6424199 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -2151,6 +2151,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 e7ab2048be..be6ad77821 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -2300,6 +2300,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 ae25ec5d71..e8a9d980be 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -2213,6 +2213,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 ac79dd7a51..4ab57c6409 100644 --- a/packages/misskey-js/src/entities.ts +++ b/packages/misskey-js/src/entities.ts @@ -619,6 +619,9 @@ export type ModerationLog = { } & ({ type: 'updateServerSettings'; info: ModerationLogPayloads['updateServerSettings']; +} | { + type: 'approve'; + info: ModerationLogPayloads['approve']; } | { type: 'suspend'; info: ModerationLogPayloads['suspend'];