1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

support for uri matching types to cipher service

This commit is contained in:
Kyle Spearrin
2018-03-02 12:03:03 -05:00
parent dc0befc9be
commit ad4c81ed84
6 changed files with 72 additions and 18 deletions

View File

@@ -20,8 +20,8 @@ export abstract class CipherService {
getAll: () => Promise<Cipher[]>;
getAllDecrypted: () => Promise<CipherView[]>;
getAllDecryptedForGrouping: (groupingId: string, folder?: boolean) => Promise<CipherView[]>;
getAllDecryptedForDomain: (domain: string, includeOtherTypes?: CipherType[]) => Promise<CipherView[]>;
getLastUsedForDomain: (domain: string) => Promise<CipherView>;
getAllDecryptedForUrl: (url: string, includeOtherTypes?: CipherType[]) => Promise<CipherView[]>;
getLastUsedForUrl: (url: string) => Promise<CipherView>;
updateLastUsedDate: (id: string) => Promise<void>;
saveNeverDomain: (domain: string) => Promise<void>;
saveWithServer: (cipher: Cipher) => Promise<any>;