1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 22:33:35 +00:00
Files
browser/src/models/data/folderData.ts
2018-01-08 14:45:34 -05:00

19 lines
427 B
TypeScript

import { Response } from '@bitwarden/jslib';
class FolderData {
id: string;
userId: string;
name: string;
revisionDate: string;
constructor(response: Response.Folder, userId: string) {
this.userId = userId;
this.name = response.name;
this.id = response.id;
this.revisionDate = response.revisionDate;
}
}
export { FolderData };
(window as any).FolderData = FolderData;