mirror of
https://github.com/bitwarden/directory-connector
synced 2025-12-12 14:23:21 +00:00
Copy jslib into Directory Connector [TI-6] (#262)
This commit is contained in:
14
jslib/common/src/models/api/secureNoteApi.ts
Normal file
14
jslib/common/src/models/api/secureNoteApi.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { SecureNoteType } from "../../enums/secureNoteType";
|
||||
import { BaseResponse } from "../response/baseResponse";
|
||||
|
||||
export class SecureNoteApi extends BaseResponse {
|
||||
type: SecureNoteType;
|
||||
|
||||
constructor(data: any = null) {
|
||||
super(data);
|
||||
if (data == null) {
|
||||
return;
|
||||
}
|
||||
this.type = this.getResponseProperty("Type");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user