1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-10 05:13:41 +00:00
Files
jslib/src/models/data/folderData.ts
2018-01-03 21:20:41 -05:00

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;