1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

convert request/response models to jslib

This commit is contained in:
Kyle Spearrin
2018-01-08 14:45:34 -05:00
parent 5de4aad525
commit a78b8ec79c
38 changed files with 74 additions and 733 deletions

View File

@@ -1,4 +1,4 @@
import { FolderResponse } from '../response/folderResponse';
import { Response } from '@bitwarden/jslib';
class FolderData {
id: string;
@@ -6,7 +6,7 @@ class FolderData {
name: string;
revisionDate: string;
constructor(response: FolderResponse, userId: string) {
constructor(response: Response.Folder, userId: string) {
this.userId = userId;
this.name = response.name;
this.id = response.id;