Raw file content as a Buffer
User context for DB operations and credential access
File name (used for the MJ: Files record and the storage path)
MIME type of the file (e.g., 'application/pdf')
OptionalpathOptional path prefix within the storage bucket.
Defaults to 'artifacts/<date>/<uuid>'.
OptionalproviderOptional metadata provider. Defaults to Metadata.Provider.
OptionalstorageOptional pre-resolved FileStorageAccount ID. When provided, the file is uploaded to this specific account. Otherwise, the first active account is used.
Options for uploading a file to MJ Storage.