mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 16:53:34 +00:00
Assign ownership to many of the remaining libs/common files. Criteria for ownership: * Files used by a single team, is now owned by that team. * Files related to a domain owned by a team is now owned by that team. * Where ownership is unclear the "lowest level" service takes ownership.
15 lines
274 B
TypeScript
15 lines
274 B
TypeScript
import { SecureNoteType } from "../../enums";
|
|
import { SecureNoteApi } from "../api/secure-note.api";
|
|
|
|
export class SecureNoteData {
|
|
type: SecureNoteType;
|
|
|
|
constructor(data?: SecureNoteApi) {
|
|
if (data == null) {
|
|
return;
|
|
}
|
|
|
|
this.type = data.type;
|
|
}
|
|
}
|