1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

init view properties

This commit is contained in:
Kyle Spearrin
2019-01-25 09:30:21 -05:00
parent 62b074ae22
commit b01709240e
13 changed files with 73 additions and 69 deletions

View File

@@ -4,12 +4,12 @@ import { Attachment } from '../domain/attachment';
import { SymmetricCryptoKey } from '../domain/symmetricCryptoKey';
export class AttachmentView implements View {
id: string;
url: string;
size: number;
sizeName: string;
fileName: string;
key: SymmetricCryptoKey;
id: string = null;
url: string = null;
size: number = null;
sizeName: string = null;
fileName: string = null;
key: SymmetricCryptoKey = null;
constructor(a?: Attachment) {
if (!a) {