1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 18:23:31 +00:00

searchCiphersBasic

This commit is contained in:
Kyle Spearrin
2018-08-13 14:28:10 -04:00
parent 364192b27a
commit bdb2efd770
3 changed files with 30 additions and 22 deletions

View File

@@ -5,4 +5,5 @@ export abstract class SearchService {
isSearchable: (query: string) => boolean;
indexCiphers: () => Promise<void>;
searchCiphers: (query: string, filter?: (cipher: CipherView) => boolean) => Promise<CipherView[]>;
searchCiphersBasic: (ciphers: CipherView[], query: string) => CipherView[];
}