add moderation logs for many endpoints
- `/admin/delete-all-files-of-a-user` - `/admin/nsfw-user` - `/admin/unnsfw-user` - `/admin/silence-user` - `/admin/unsilence-user` - `/admin/accounts/create` - `/admin/drive/clean-remote-files` - `/admin/drive/cleanup` - `/admin/emoji/set-category-bulk` - `/admin/emoji/set-license-bulk` - `/admin/emoji/set-aliases-bulk` - `/admin/emoji/add-aliases-bulk` - `/admin/emoji/remove-aliases-bulk` - `/admin/emoji/import-zip` - `/admin/federation/delete-all-files` - `/admin/federation/remove-all-following` - `/admin/promo/create` - `/admin/relay/add` - `/admin/relay/remove`
This commit is contained in:
parent
504e90c190
commit
27d43879a2
25 changed files with 480 additions and 43 deletions
|
|
@ -228,6 +228,51 @@ export type ModerationLog = {
|
|||
} | {
|
||||
type: 'deleteGalleryPost';
|
||||
info: ModerationLogPayloads['deleteGalleryPost'];
|
||||
} | {
|
||||
type: 'clearUserFiles';
|
||||
info: ModerationLogPayloads['clearUserFiles'];
|
||||
} | {
|
||||
type: 'nsfwUser';
|
||||
info: ModerationLogPayloads['nsfwUser'];
|
||||
} | {
|
||||
type: 'unNsfwUser';
|
||||
info: ModerationLogPayloads['unNsfwUser'];
|
||||
} | {
|
||||
type: 'silenceUser';
|
||||
info: ModerationLogPayloads['silenceUser'];
|
||||
} | {
|
||||
type: 'unSilenceUser';
|
||||
info: ModerationLogPayloads['unSilenceUser'];
|
||||
} | {
|
||||
type: 'createAccount';
|
||||
info: ModerationLogPayloads['createAccount'];
|
||||
} | {
|
||||
type: 'clearRemoteFiles';
|
||||
info: ModerationLogPayloads['clearRemoteFiles'];
|
||||
} | {
|
||||
type: 'clearOwnerlessFiles';
|
||||
info: ModerationLogPayloads['clearOwnerlessFiles'];
|
||||
} | {
|
||||
type: 'updateCustomEmojis';
|
||||
info: ModerationLogPayloads['updateCustomEmojis'];
|
||||
} | {
|
||||
type: 'importCustomEmojis';
|
||||
info: ModerationLogPayloads['importCustomEmojis'];
|
||||
} | {
|
||||
type: 'clearInstanceFiles';
|
||||
info: ModerationLogPayloads['clearInstanceFiles'];
|
||||
} | {
|
||||
type: 'severFollowRelations';
|
||||
info: ModerationLogPayloads['severFollowRelations'];
|
||||
} | {
|
||||
type: 'createPromo';
|
||||
info: ModerationLogPayloads['createPromo'];
|
||||
} | {
|
||||
type: 'addRelay';
|
||||
info: ModerationLogPayloads['addRelay'];
|
||||
} | {
|
||||
type: 'removeRelay';
|
||||
info: ModerationLogPayloads['removeRelay'];
|
||||
});
|
||||
|
||||
export type ServerStats = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue