mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
16 lines
381 B
TypeScript
16 lines
381 B
TypeScript
import { PasswordHistoryResponse } from '../response/passwordHistoryResponse';
|
|
|
|
export class PasswordHistoryData {
|
|
password: string;
|
|
lastUsedDate: Date;
|
|
|
|
constructor(response?: PasswordHistoryResponse) {
|
|
if (response == null) {
|
|
return;
|
|
}
|
|
|
|
this.password = response.password;
|
|
this.lastUsedDate = response.lastUsedDate;
|
|
}
|
|
}
|