1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

added props to send access models (#284)

This commit is contained in:
Addison Beck
2021-02-25 17:05:01 -05:00
committed by GitHub
parent 00122ab166
commit ff9343412e
3 changed files with 14 additions and 1 deletions

View File

@@ -12,6 +12,8 @@ export class SendAccessView implements View {
type: SendType = null;
text = new SendTextView();
file = new SendFileView();
expirationDate: Date = null;
creatorIdentifier: string = null;
constructor(s?: SendAccess) {
if (!s) {
@@ -20,5 +22,7 @@ export class SendAccessView implements View {
this.id = s.id;
this.type = s.type;
this.expirationDate = s.expirationDate;
this.creatorIdentifier = s.creatorIdentifier;
}
}