2018-01-24 17:33:15 +01:00
|
|
|
import { SecureNoteType } from '../../enums/secureNoteType';
|
|
|
|
|
|
|
|
import { View } from './view';
|
|
|
|
|
|
|
|
import { SecureNote } from '../domain/secureNote';
|
|
|
|
|
|
|
|
export class SecureNoteView implements View {
|
|
|
|
type: SecureNoteType;
|
|
|
|
|
|
|
|
constructor(n: SecureNote) {
|
|
|
|
this.type = n.type;
|
|
|
|
}
|
2018-01-24 22:58:34 +01:00
|
|
|
|
|
|
|
get subTitle(): string {
|
|
|
|
return null;
|
|
|
|
}
|
2018-01-24 17:33:15 +01:00
|
|
|
}
|