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:
@@ -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[]>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user