mirror of
https://github.com/bitwarden/browser
synced 2025-12-19 09:43:23 +00:00
Move to libs
This commit is contained in:
12
libs/common/src/models/response/passwordHistoryResponse.ts
Normal file
12
libs/common/src/models/response/passwordHistoryResponse.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { BaseResponse } from "./baseResponse";
|
||||
|
||||
export class PasswordHistoryResponse extends BaseResponse {
|
||||
password: string;
|
||||
lastUsedDate: string;
|
||||
|
||||
constructor(response: any) {
|
||||
super(response);
|
||||
this.password = this.getResponseProperty("Password");
|
||||
this.lastUsedDate = this.getResponseProperty("LastUsedDate");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user