mirror of
https://github.com/bitwarden/jslib
synced 2025-12-19 01:33:22 +00:00
Split jslib into multiple modules (#363)
* Split jslib into multiple modules
This commit is contained in:
15
common/src/models/data/secureNoteData.ts
Normal file
15
common/src/models/data/secureNoteData.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { SecureNoteType } from '../../enums/secureNoteType';
|
||||
|
||||
import { SecureNoteApi } from '../api/secureNoteApi';
|
||||
|
||||
export class SecureNoteData {
|
||||
type: SecureNoteType;
|
||||
|
||||
constructor(data?: SecureNoteApi) {
|
||||
if (data == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.type = data.type;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user