feat: enhance SendsPage with notes display and update VaultPage for improved filtering and history tracking

This commit is contained in:
shuaiplus authored and Shuai committed 2026-03-02 00:10:44 +08:00
1 parent bb50617b16
commit 0e823e80a6
5 files changed
+160 -39

No files matched your search

+1 -1
View File
@@ -251,7 +251,7 @@ export async function createFolder(
}
export async function getCiphers(authedFetch: (input: string, init?: RequestInit) => Promise<Response>): Promise<Cipher[]> {
const resp = await authedFetch('/api/ciphers');
const resp = await authedFetch('/api/ciphers?deleted=true');
if (!resp.ok) throw new Error('Failed to load ciphers');
const body = await parseJson<ListResponse<Cipher>>(resp);
return body?.data || [];
+3
View File
@@ -118,6 +118,9 @@ export interface Cipher {
name?: string | null;
notes?: string | null;
key?: string | null;
creationDate?: string;
revisionDate?: string;
deletedDate?: string | null;
login?: CipherLogin | null;
card?: CipherCard | null;
identity?: CipherIdentity | null;