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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user