mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
add password history and updated dates to responses
This commit is contained in:
11
src/models/response/passwordHistoryResponse.ts
Normal file
11
src/models/response/passwordHistoryResponse.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { PasswordHistoryView } from 'jslib/models/view/passwordHistoryView';
|
||||
|
||||
export class PasswordHistoryResponse {
|
||||
lastUsedDate: Date;
|
||||
password: string;
|
||||
|
||||
constructor(o: PasswordHistoryView) {
|
||||
this.lastUsedDate = o.lastUsedDate;
|
||||
this.password = o.password;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user