1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

edit item collections

This commit is contained in:
Kyle Spearrin
2018-10-23 17:31:59 -04:00
parent 8f857988ca
commit e0b9d84ad5
5 changed files with 29 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ export class CipherResponse extends Cipher implements BaseResponse {
attachments: AttachmentResponse[];
revisionDate: Date;
passwordHistory: PasswordHistoryResponse[];
collectionIds: string[];
constructor(o: CipherView) {
super();
@@ -23,6 +24,7 @@ export class CipherResponse extends Cipher implements BaseResponse {
if (o.attachments != null) {
this.attachments = o.attachments.map((a) => new AttachmentResponse(a));
}
this.collectionIds = o.collectionIds;
this.revisionDate = o.revisionDate;
if (o.passwordHistory != null) {
this.passwordHistory = o.passwordHistory.map((h) => new PasswordHistoryResponse(h));