Show password indicator and masked password field for encrypted sends

- Add password and authType fields to Send type
- Show lock icon in send list for password-protected sends
- Display masked dots in password field when editing a send that has a password set
- Add Remove button to clear existing password
This commit is contained in:
shuaiplus
2026-07-07 00:31:56 +08:00
parent a366acbac0
commit a870142b7b
3 changed files with 29 additions and 7 deletions
+3
View File
@@ -280,6 +280,8 @@ export interface Send {
key?: string | null;
maxAccessCount?: number | null;
accessCount?: number;
password?: string | null;
authType?: number | null;
disabled?: boolean;
revisionDate?: string;
expirationDate?: string | null;
@@ -308,6 +310,7 @@ export interface SendDraft {
expirationDays: string;
maxAccessCount: string;
password: string;
hasPassword?: boolean;
disabled: boolean;
}