CreateFileOptions interface

Options passed into createFile specifying metadata about the file.

Properties

lastModified

Last modified time of the file as a UNIX timestamp. This will default to the current date.

type

The MIME type of the file.

webkitRelativePath

relative path of this file when uploading a directory.

Property Details

lastModified

Last modified time of the file as a UNIX timestamp. This will default to the current date.

lastModified?: number

Property Value

number

type

The MIME type of the file.

type?: string

Property Value

string

webkitRelativePath

relative path of this file when uploading a directory.

webkitRelativePath?: string

Property Value

string