1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

add support for syncing collections

This commit is contained in:
Kyle Spearrin
2017-11-22 13:17:59 -05:00
parent 04cfd8040c
commit 2d81466d25
11 changed files with 231 additions and 3 deletions

View File

@@ -28,6 +28,7 @@ class CipherData {
identity?: IdentityData;
fields?: FieldData[];
attachments?: AttachmentData[];
collectionIds?: string[];
constructor(response: CipherResponse, userId: string) {
this.id = response.id;
@@ -39,6 +40,7 @@ class CipherData {
this.favorite = response.favorite;
this.revisionDate = response.revisionDate;
this.type = response.type;
this.collectionIds = response.collectionIds;
this.name = response.data.Name;
this.notes = response.data.Notes;