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
Copy file name to clipboardExpand all lines: src/files/domain/useCases/ReplaceFile.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ export class ReplaceFile implements UseCase<void> {
17
17
*
18
18
* 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
19
*
20
-
* @param {number} [fileId] - The File identifier.
20
+
* @param {number | string} [fileId] - The File identifier, which can be a string (for persistent identifiers), or a number (for numeric identifiers).
21
21
* @param {UploadedFileDTO} [uploadedFileDTO] - File DTO associated with the uploaded file.
22
22
* @returns {Promise<void>} A promise that resolves when the file has been successfully replaced.
23
23
* @throws {WriteError} - If there are errors while writing data.
0 commit comments