mirror of
https://github.com/bitwarden/directory-connector
synced 2025-12-11 05:43:26 +00:00
Copy jslib into Directory Connector [TI-6] (#262)
This commit is contained in:
14
jslib/common/src/models/data/secureNoteData.ts
Normal file
14
jslib/common/src/models/data/secureNoteData.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
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