feat(moderation): モデレーターがユーザーのアイコンもしくはバナー画像を未設定状態にできる機能を追加 (MisskeyIO#222)
Co-authored-by: まっちゃとーにゅ <17376330+u1-liquid@users.noreply.github.com>
This commit is contained in:
parent
30dc6e691d
commit
2b6f789a5b
10 changed files with 176 additions and 0 deletions
|
@ -345,6 +345,18 @@ export type Endpoints = {
|
|||
};
|
||||
res: null;
|
||||
};
|
||||
'admin/delete-user-avatar': {
|
||||
req: {
|
||||
userId: User['id'];
|
||||
};
|
||||
res: null;
|
||||
};
|
||||
'admin/delete-user-banner': {
|
||||
req: {
|
||||
userId: User['id'];
|
||||
};
|
||||
res: null;
|
||||
};
|
||||
'admin/delete-logs': {
|
||||
req: NoParams;
|
||||
res: null;
|
||||
|
|
|
@ -15,6 +15,8 @@ export type Endpoints = {
|
|||
// admin
|
||||
'admin/abuse-user-reports': { req: TODO; res: TODO; };
|
||||
'admin/delete-all-files-of-a-user': { req: { userId: User['id']; }; res: null; };
|
||||
'admin/delete-user-avatar': { req: { userId: User['id']; }; res: null; };
|
||||
'admin/delete-user-banner': { req: { userId: User['id']; }; res: null; };
|
||||
'admin/delete-logs': { req: NoParams; res: null; };
|
||||
'admin/get-index-stats': { req: TODO; res: TODO; };
|
||||
'admin/get-table-stats': { req: TODO; res: TODO; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue