mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 10:13:31 +00:00
Move to libs
This commit is contained in:
15
libs/common/src/models/data/passwordHistoryData.ts
Normal file
15
libs/common/src/models/data/passwordHistoryData.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { PasswordHistoryResponse } from "../response/passwordHistoryResponse";
|
||||
|
||||
export class PasswordHistoryData {
|
||||
password: string;
|
||||
lastUsedDate: string;
|
||||
|
||||
constructor(response?: PasswordHistoryResponse) {
|
||||
if (response == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.password = response.password;
|
||||
this.lastUsedDate = response.lastUsedDate;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user