JS API Reference

Class: UploadData

script/command.UploadData

Hierarchy

  • Transfer

    UploadData

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new UploadData(storageProvider, src, dstPath): UploadData

Parameters

NameType
storageProviderStorageProvider
srcUint8Array
dstPathstring

Returns

UploadData

Overrides

Transfer.constructor

Defined in

src/script/command.ts:151

Properties

from

Protected Optional from: string

Inherited from

Transfer.from

Defined in

src/script/command.ts:116


to

Protected Optional to: string

Inherited from

Transfer.to

Defined in

src/script/command.ts:117


args

Protected args: Record<string, unknown>

Inherited from

Transfer.args

Defined in

src/script/command.ts:16

Methods

before

before(): Promise<void>

Returns

Promise<void>

Overrides

Transfer.before

Defined in

src/script/command.ts:160


after

after(result): Promise<Result<any>>

Parameters

NameType
resultResult<any>

Returns

Promise<Result<any>>

Overrides

Transfer.after

Defined in

src/script/command.ts:164


toJson

toJson(): Object

Returns

Object

Inherited from

Transfer.toJson

Defined in

src/script/command.ts:25


toExeScriptRequest

toExeScriptRequest(): ExeScriptRequest

Returns

ExeScriptRequest

Inherited from

Transfer.toExeScriptRequest

Defined in

src/script/command.ts:31

Was this helpful?