diff --git a/node/src/cli/models/response/fileResponse.ts b/node/src/cli/models/response/fileResponse.ts new file mode 100644 index 0000000000..2e832dfce9 --- /dev/null +++ b/node/src/cli/models/response/fileResponse.ts @@ -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; + } +}