bitwarden-estensione-browser/common/src/models/view/secureNoteView.ts

22 lines
402 B
TypeScript
Raw Normal View History

import { SecureNoteType } from '../../enums/secureNoteType';
2018-01-24 17:33:15 +01:00
import { View } from './view';
import { SecureNote } from '../domain/secureNote';
2018-01-24 17:33:15 +01:00
export class SecureNoteView implements View {
2019-01-25 15:30:21 +01:00
type: SecureNoteType = null;
2018-01-24 17:33:15 +01:00
2018-01-25 20:57:42 +01:00
constructor(n?: SecureNote) {
if (!n) {
return;
}
2018-01-24 17:33:15 +01:00
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
}