file response for CLI (#499)

This commit is contained in:
Kyle Spearrin 2021-09-23 13:49:40 -04:00 committed by GitHub
parent ed8d39ed85
commit 4c55d84d21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View 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;
}
}