mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
view model types
This commit is contained in:
13
src/models/view/secureNoteView.ts
Normal file
13
src/models/view/secureNoteView.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user