Skip to main content

Interface: FileDownloadOptions

Defined in: src/stores/sites/utils/fileDownload.ts:25

Options for downloading a file in the browser.

Remarksโ€‹

Used to specify the file buffer, filename, and optional MIME type for download operations.

Propertiesโ€‹

bufferโ€‹

buffer: ArrayBuffer

Defined in: src/stores/sites/utils/fileDownload.ts:27

The file buffer to download


fileNameโ€‹

fileName: string

Defined in: src/stores/sites/utils/fileDownload.ts:29

The filename for the download


mimeType?โ€‹

optional mimeType: string

Defined in: src/stores/sites/utils/fileDownload.ts:31

The MIME type of the file