enhance: improve moderation log

This commit is contained in:
syuilo
2023-09-25 16:03:43 +09:00
parent ee44f35fea
commit bd19d75c9c
7 changed files with 28 additions and 1 deletions

View File

@@ -73,6 +73,7 @@ export const moderationLogTypes = [
'unsuspendRemoteInstance',
'markSensitiveDriveFile',
'unmarkSensitiveDriveFile',
'resolveAbuseReport',
] as const;
export type ModerationLogPayloads = {
@@ -210,4 +211,9 @@ export type ModerationLogPayloads = {
fileUserUsername: string | null;
fileUserHost: string | null;
};
resolveAbuseReport: {
reportId: string;
report: any;
forwarded: boolean;
};
};