mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 09:13:33 +00:00
[Soft Delete] jslib updates for new API updates
New API methods and cipher Deleted Date property, plus search expansion to toggle on deleted flag.
This commit is contained in:
@@ -27,6 +27,7 @@ export class CipherResponse extends BaseResponse {
|
||||
attachments: AttachmentResponse[];
|
||||
passwordHistory: PasswordHistoryResponse[];
|
||||
collectionIds: string[];
|
||||
deletedDate: string;
|
||||
|
||||
constructor(response: any) {
|
||||
super(response);
|
||||
@@ -41,6 +42,7 @@ export class CipherResponse extends BaseResponse {
|
||||
this.organizationUseTotp = this.getResponseProperty('OrganizationUseTotp');
|
||||
this.revisionDate = this.getResponseProperty('RevisionDate');
|
||||
this.collectionIds = this.getResponseProperty('CollectionIds');
|
||||
this.deletedDate = this.getResponseProperty('DeletedDate');
|
||||
|
||||
const login = this.getResponseProperty('Login');
|
||||
if (login != null) {
|
||||
|
||||
Reference in New Issue
Block a user