FilePreviewOptions
@blobs/sdk / models/FilePreview / FilePreviewOptions
Defined in: models/FilePreview.ts:50
Constructor options for FilePreview.
Properties
file
file:
File
Defined in: models/FilePreview.ts:52
The underlying browser File.
preview?
optionalpreview?:string|ArrayBuffer|null
Defined in: models/FilePreview.ts:54
Optional pre-generated preview (data URL, blob URL, or buffer).
subjectType?
optionalsubjectType?:string
Defined in: models/FilePreview.ts:56
Optional subject type the upload is associated with (e.g. 'blob').
subjectId?
optionalsubjectId?:string
Defined in: models/FilePreview.ts:58
Optional subject id (e.g. blob id) the upload is associated with.
metadata?
optionalmetadata?:Record<string,any>
Defined in: models/FilePreview.ts:60
Optional metadata bag carried alongside the upload.