mirror of
https://github.com/bitwarden/browser
synced 2026-02-18 10:23:52 +00:00
15 lines
299 B
TypeScript
15 lines
299 B
TypeScript
import { SecureNoteType } from "../../enums";
|
|
import { SecureNoteApi } from "../api/secure-note.api";
|
|
|
|
export class SecureNoteData {
|
|
type: SecureNoteType = SecureNoteType.Generic;
|
|
|
|
constructor(data?: SecureNoteApi) {
|
|
if (data == null) {
|
|
return;
|
|
}
|
|
|
|
this.type = data.type;
|
|
}
|
|
}
|