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
* 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.
*
* @param {number | string} [datasetId] - The dataset identifier, which can be a string (for persistent identifiers) or a number (for numeric identifiers).
* @param {UploadedFileDTO[]} [uploadedFileDTOs] - File DTOs associated with the uploaded files.
* @returns {Promise<void>} A promise that resolves when the file has been successfully added to the dataset.
* @throws {DirectUploadClientError} - If there are errors while performing the operation.
*/
async execute(datasetId: number | string, uploadedFileDTOs: UploadedFileDTO[]): Promise<void> {