You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `fileId` parameter can be a string, for persistent identifiers, or a number, for numeric identifiers.
1316
+
1317
+
The `uploadedFileDTO` parameter is a [UploadedFileDTO](../src/files/domain/dtos/UploadedFileDTO.ts) and includes properties related to the uploaded files. Some of these properties should be calculated from the uploaded File Blob objects and the resulting storage identifiers from the Upload File use case.
* Note: This use case can be used independently of the UploadFile use case, e.g., supporting scenarios in which the files already exist in S3 or have been uploaded via some out-of-band method.
19
+
*
20
+
* @param {number | string} [fileId] - The File identifier, which can be a string (for persistent identifiers), or a number (for numeric identifiers).
21
+
* @param {UploadedFileDTO} [uploadedFileDTO] - File DTO associated with the uploaded file.
22
+
* @returns {Promise<void>} A promise that resolves when the file has been successfully replaced.
23
+
* @throws {WriteError} - If there are errors while writing data.
* @param {number | string} [datasetId] - The dataset identifier, which can be a string (for persistent identifiers) or a number (for numeric identifiers).
0 commit comments