mirror of
https://github.com/bitwarden/directory-connector
synced 2025-12-13 06:43:16 +00:00
Copy jslib into Directory Connector [TI-6] (#262)
This commit is contained in:
15
jslib/common/src/models/data/folderData.ts
Normal file
15
jslib/common/src/models/data/folderData.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { FolderResponse } from "../response/folderResponse";
|
||||
|
||||
export class FolderData {
|
||||
id: string;
|
||||
userId: string;
|
||||
name: string;
|
||||
revisionDate: string;
|
||||
|
||||
constructor(response: FolderResponse, userId: string) {
|
||||
this.userId = userId;
|
||||
this.name = response.name;
|
||||
this.id = response.id;
|
||||
this.revisionDate = response.revisionDate;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user