1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 18:53:29 +00:00

Enable search for sends (#249)

This commit is contained in:
Matt Gibson
2021-01-22 19:54:22 -06:00
committed by GitHub
parent 68bd93e45b
commit e1f1d7e702
2 changed files with 25 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
import { CipherView } from '../models/view/cipherView';
import { SendView } from '../models/view/sendView';
export abstract class SearchService {
clearIndex: () => void;
@@ -8,4 +9,5 @@ export abstract class SearchService {
filter?: ((cipher: CipherView) => boolean) | (((cipher: CipherView) => boolean)[]),
ciphers?: CipherView[]) => Promise<CipherView[]>;
searchCiphersBasic: (ciphers: CipherView[], query: string, deleted?: boolean) => CipherView[];
searchSends: (sends: SendView[], query: string) => SendView[];
}