mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 06:43:35 +00:00
Move to libs
This commit is contained in:
13
libs/node/src/cli/models/response/fileResponse.ts
Normal file
13
libs/node/src/cli/models/response/fileResponse.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { BaseResponse } from "./baseResponse";
|
||||
|
||||
export class FileResponse implements BaseResponse {
|
||||
object: string;
|
||||
data: Buffer;
|
||||
fileName: string;
|
||||
|
||||
constructor(data: Buffer, fileName: string) {
|
||||
this.object = "file";
|
||||
this.data = data;
|
||||
this.fileName = fileName;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user