mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
14 lines
287 B
TypeScript
14 lines
287 B
TypeScript
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;
|
|
}
|
|
}
|