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