Interface UploaderInterface

Defines the interface for an uploader. It allows us to upload files and get their URIs.

Hierarchy

  • UploaderInterface

Properties

getUploadPrice: ((files: GenericFile[], options?: UploaderGetUploadPriceOptions) => Promise<Amount<string, number>>)

Type declaration

upload: ((files: GenericFile[], options?: UploaderUploadOptions) => Promise<string[]>)

Type declaration

uploadJson: (<T>(json: T, options?: UploaderUploadOptions) => Promise<string>)

Type declaration

Generated using TypeDoc