Skip to content

routier-collection


routier-collection / plugins/blob/src / UploadGrant

Type Alias: UploadGrant

UploadGrant = object

Defined in: plugins/blob/src/direct.ts:72

What the server sends back.

Properties

upload?

optional upload: object

Defined in: plugins/blob/src/direct.ts:77

Where to PUT, and what headers to send. Absent when the content is already stored, which is the case worth having: nothing is transferred.

url

url: string

headers

headers: Record<string, string>


reference

reference: FileReference

Defined in: plugins/blob/src/direct.ts:80

The reference to store on a record, whether or not an upload was needed.

Released under the MIT License.