mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 18:23:31 +00:00
allow ciphers to be passed into search service
This commit is contained in:
@@ -4,6 +4,7 @@ export abstract class SearchService {
|
||||
clearIndex: () => void;
|
||||
isSearchable: (query: string) => boolean;
|
||||
indexCiphers: () => Promise<void>;
|
||||
searchCiphers: (query: string, filter?: (cipher: CipherView) => boolean) => Promise<CipherView[]>;
|
||||
searchCiphers: (query: string, filter?: (cipher: CipherView) => boolean,
|
||||
ciphers?: CipherView[]) => Promise<CipherView[]>;
|
||||
searchCiphersBasic: (ciphers: CipherView[], query: string) => CipherView[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user