mirror of
https://github.com/bitwarden/jslib
synced 2025-12-17 16:53:20 +00:00
16 lines
312 B
TypeScript
16 lines
312 B
TypeScript
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;
|
|
}
|
|
}
|