1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

bulk share apis

This commit is contained in:
Kyle Spearrin
2018-06-13 00:02:15 -04:00
parent 7a5a4e654a
commit cfad521ea8
5 changed files with 68 additions and 4 deletions

View File

@@ -26,7 +26,8 @@ export abstract class CipherService {
updateLastUsedDate: (id: string) => Promise<void>;
saveNeverDomain: (domain: string) => Promise<void>;
saveWithServer: (cipher: Cipher) => Promise<any>;
shareWithServer: (cipher: Cipher) => 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,
organizationId: string) => Promise<any>;
saveAttachmentWithServer: (cipher: Cipher, unencryptedFile: any) => Promise<Cipher>;