mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-19 07:35:48 +02:00
19 lines
442 B
TypeScript
19 lines
442 B
TypeScript
|
import { FolderResponse } from '../response/folderResponse';
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export { FolderData };
|
||
|
(window as any).FolderData = FolderData;
|