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

search pending and is searchable

This commit is contained in:
Kyle Spearrin
2018-08-13 11:52:55 -04:00
parent b724448081
commit d917651d9f
3 changed files with 18 additions and 3 deletions

View File

@@ -2,6 +2,7 @@ import { CipherView } from '../models/view/cipherView';
export abstract class SearchService {
clearIndex: () => void;
isSearchable: (query: string) => boolean;
indexCiphers: () => Promise<void>;
searchCiphers: (query: string, filter?: (cipher: CipherView) => boolean) => Promise<CipherView[]>;
}