Skip to content

routier-collection


routier-collection / plugins/blob/src / UploadOptions

Type Alias: UploadOptions

UploadOptions = object

Defined in: plugins/blob/src/content.ts:16

Properties

contentType?

optional contentType: string

Defined in: plugins/blob/src/content.ts:23

Media type. Taken from a Blob/File when it has one.

Never sniffed from the bytes. A wrong content type served back to a browser is a security question, not a convenience one, so it is the caller's to state.


fileName?

optional fileName: string

Defined in: plugins/blob/src/content.ts:26

The name to show a user. Stored as metadata; it is not part of the key.

Released under the MIT License.