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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user