feat(server): 管理者用アカウント削除API実装

動作確認済み
Resolve #7735
This commit is contained in:
syuilo
2021-09-22 17:34:48 +09:00
parent 72a49f334a
commit 9208825975
6 changed files with 80 additions and 7 deletions

View File

@@ -17,12 +17,17 @@ export type InboxJobData = {
signature: httpSignature.IParsedSignature;
};
export type DbJobData = DbUserJobData | DbUserImportJobData;
export type DbJobData = DbUserJobData | DbUserImportJobData | DbUserDeleteJobData;
export type DbUserJobData = {
user: ThinUser;
};
export type DbUserDeleteJobData = {
user: ThinUser;
soft?: boolean;
};
export type DbUserImportJobData = {
user: ThinUser;
fileId: DriveFile['id'];