1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-22 03:03:43 +00:00

Add login launch data (#174)

* added launch time data to CipherView for autofill

* removed unused code

* fixed linter errors
This commit is contained in:
Addison Beck
2020-09-23 12:41:25 -04:00
committed by GitHub
parent 5cb3e9c965
commit 26d40d4c43
3 changed files with 55 additions and 4 deletions

View File

@@ -26,8 +26,10 @@ export abstract class CipherService {
defaultMatch?: UriMatchType) => Promise<CipherView[]>;
getAllFromApiForOrganization: (organizationId: string) => Promise<CipherView[]>;
getLastUsedForUrl: (url: string) => Promise<CipherView>;
getLastLaunchedForUrl: (url: string) => Promise<CipherView>;
getNextCipherForUrl: (url: string) => Promise<CipherView>;
updateLastUsedDate: (id: string) => Promise<void>;
updateLastLaunchedDate: (id: string) => Promise<void>;
saveNeverDomain: (domain: string) => Promise<void>;
saveWithServer: (cipher: Cipher) => Promise<any>;
shareWithServer: (cipher: CipherView, organizationId: string, collectionIds: string[]) => Promise<any>;