feat(admin): account deletion wipes all remote/local data (blobs+sqlite+changes), invites mark holder_gone; UI: invite \u5df2\u9500\u6237 badge + filter

This commit is contained in:
root
2026-10-17 17:04:37 +08:00
parent 3d2d064920
commit 48aa5dc07f
3 changed files with 56 additions and 4 deletions
+2
View File
@@ -195,6 +195,8 @@ async function adminGet<T>(path: string, baseUrl?: string): Promise<T> {
export interface InviteRow {
id: number; code: string; remark: string | null; created_at: string;
used_by: string | null; used_at: string | null; valid: boolean;
/** 已使用邀请码对应的账号已被注销(状态固定展示为「已销户」) */
holder_gone?: boolean;
used_by_name?: string | null; created_by_name?: string | null;
}
export interface AdminUserRow {