@bnb-chain/greenfield-js-sdk
Version:
greenfield js chain and sp sdk
14 lines (13 loc) • 393 B
TypeScript
import { OnProgress } from '../common';
import { DelegatedOpts, ResumableOpts, UploadFile } from './Common';
export type DelegatedPubObjectRequest = {
bucketName: string;
objectName: string;
body: UploadFile;
delegatedOpts: DelegatedOpts;
endpoint?: string;
timeout?: number;
contentType?: string;
resumableOpts?: ResumableOpts;
onProgress?: OnProgress;
};