mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 01:33:33 +00:00
* [deps] Autofill: Update prettier to v3 * prettier formatting updates --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jonathan Prusik <jprusik@classynemesis.com>
17 lines
701 B
TypeScript
17 lines
701 B
TypeScript
import { SendView } from "../tools/send/models/view/send.view";
|
|
import { CipherView } from "../vault/models/view/cipher.view";
|
|
|
|
export abstract class SearchService {
|
|
indexedEntityId?: string = null;
|
|
clearIndex: () => void;
|
|
isSearchable: (query: string) => boolean;
|
|
indexCiphers: (ciphersToIndex: CipherView[], indexedEntityGuid?: string) => void;
|
|
searchCiphers: (
|
|
query: string,
|
|
filter?: ((cipher: CipherView) => boolean) | ((cipher: CipherView) => boolean)[],
|
|
ciphers?: CipherView[],
|
|
) => Promise<CipherView[]>;
|
|
searchCiphersBasic: (ciphers: CipherView[], query: string, deleted?: boolean) => CipherView[];
|
|
searchSends: (sends: SendView[], query: string) => SendView[];
|
|
}
|