Interface: FileDownloadOptions
Defined in: src/stores/sites/utils/fileDownload.ts:22
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:24
The file buffer to download
fileNameโ
fileName:
string
Defined in: src/stores/sites/utils/fileDownload.ts:26
The filename for the download
mimeType?โ
optionalmimeType:string
Defined in: src/stores/sites/utils/fileDownload.ts:28
The MIME type of the file