mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 03:03:43 +00:00
Pass ciphers to index and indexed ciphers to search service (#318)
This commit is contained in:
@@ -4,7 +4,7 @@ import { SendView } from '../models/view/sendView';
|
||||
export abstract class SearchService {
|
||||
clearIndex: () => void;
|
||||
isSearchable: (query: string) => boolean;
|
||||
indexCiphers: () => Promise<void>;
|
||||
indexCiphers: (ciphersToIndex?: CipherView[]) => Promise<void>;
|
||||
searchCiphers: (query: string,
|
||||
filter?: ((cipher: CipherView) => boolean) | (((cipher: CipherView) => boolean)[]),
|
||||
ciphers?: CipherView[]) => Promise<CipherView[]>;
|
||||
|
||||
Reference in New Issue
Block a user