mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 18:23:31 +00:00
[Soft Delete] - cipher search rem deleted flag, filter array conditional
This commit is contained in:
@@ -4,7 +4,8 @@ export abstract class SearchService {
|
||||
clearIndex: () => void;
|
||||
isSearchable: (query: string) => boolean;
|
||||
indexCiphers: () => Promise<void>;
|
||||
searchCiphers: (query: string, filter?: (cipher: CipherView) => boolean,
|
||||
ciphers?: CipherView[], deleted?: boolean) => Promise<CipherView[]>;
|
||||
searchCiphers: (query: string,
|
||||
filter?: ((cipher: CipherView) => boolean) | (Array<(cipher: CipherView) => boolean>),
|
||||
ciphers?: CipherView[]) => Promise<CipherView[]>;
|
||||
searchCiphersBasic: (ciphers: CipherView[], query: string, deleted?: boolean) => CipherView[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user