1
0
mirror of https://github.com/bitwarden/browser synced 2026-01-05 18:13:26 +00:00

typescript models

This commit is contained in:
Kyle Spearrin
2017-11-01 10:27:07 -04:00
parent 4b68163cbd
commit 6086bf5812
40 changed files with 788 additions and 468 deletions

View File

@@ -0,0 +1,10 @@
class FolderRequest {
name: string;
constructor(folder: any) { // TODO: folder type
this.name = folder.name ? folder.name.encryptedString : null;
}
}
export { FolderRequest };
(window as any).FolderRequest = FolderRequest;