mirror of
https://github.com/bitwarden/jslib
synced 2026-01-02 08:33:28 +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