interface
UpdateUploadInput
One atomic update to an upload's metadata, file, and image transformation.
Properties
| Property | Type | Description |
|---|---|---|
data | Partial< | Document fields saved with the upload. |
file | Blob | Replacement bytes; omission retains the existing file. |
filename | string | Optional replacement filename. |
image | UploadImageEdit | Focal-point or crop changes applied to configured image sizes. |
publish | boolean | Publishes the resulting version when the collection supports drafts. |
Full signature
interface UpdateUploadInput<Data> { ... }