Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FileToUploadWrapper

Wraps another 'FileToUpload' object.

Hierarchy

  • FileToUploadWrapper

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

baseFile

baseFile: FileToUpload

The file to wrap.

onBeforeUpload

onBeforeUpload: BeforeUploadFileCallback

The method that should be invoked BEFORE an upload of that file starts.

param

A custom value for the destination.

onUploadCompleted

onUploadCompleted: UploadFileCompletedCallback

The method that should be invoked AFTER an upload of that file has been finished.

param

The error (if occurred).

Accessors

file

  • get file(): string
  • The path to the (local) file.

    inheritdoc

    Returns string

name

  • get name(): string

path

  • get path(): string

workspace

Methods

read

  • read(): Promise<Buffer>

Generated using TypeDoc