mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-01 14:24:23 +02:00
improve moderation log
This commit is contained in:
@@ -61,6 +61,9 @@ export const moderationLogTypes = [
|
||||
'deleteNote',
|
||||
'createGlobalAnnouncement',
|
||||
'createUserAnnouncement',
|
||||
'resetPassword',
|
||||
'suspendRemoteInstance',
|
||||
'unsuspendRemoteInstance',
|
||||
] as const;
|
||||
|
||||
export type ModerationLogPayloads = {
|
||||
@@ -122,4 +125,15 @@ export type ModerationLogPayloads = {
|
||||
announcement: any;
|
||||
userId: string;
|
||||
};
|
||||
resetPassword: {
|
||||
targetId: string;
|
||||
};
|
||||
suspendRemoteInstance: {
|
||||
id: string;
|
||||
host: string;
|
||||
};
|
||||
unsuspendRemoteInstance: {
|
||||
id: string;
|
||||
host: string;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user