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

apis for new create with collections

This commit is contained in:
Kyle Spearrin
2018-10-19 09:14:11 -04:00
parent d1f7a97011
commit bf48b45010
5 changed files with 34 additions and 7 deletions

View File

@@ -25,7 +25,7 @@ export abstract class CipherService {
getLastUsedForUrl: (url: string) => Promise<CipherView>;
updateLastUsedDate: (id: string) => Promise<void>;
saveNeverDomain: (domain: string) => Promise<void>;
saveWithServer: (cipher: Cipher) => Promise<any>;
saveWithServer: (cipher: Cipher, collectionIds?: string[]) => Promise<any>;
shareWithServer: (cipher: CipherView, organizationId: string, collectionIds: string[]) => Promise<any>;
shareManyWithServer: (ciphers: CipherView[], organizationId: string, collectionIds: string[]) => Promise<any>;
shareAttachmentWithServer: (attachmentView: AttachmentView, cipherId: string,