Skip to content

Commit 0c8eb79

Browse files
committed
added JSDoc @param for fomat in use cases
1 parent 19b28df commit 0c8eb79

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/access/domain/useCases/SubmitGuestbookForDatafileDownload.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export class SubmitGuestbookForDatafileDownload implements UseCase<string> {
1010
*
1111
* @param {number | string} fileId - Datafile identifier (numeric id or persistent id).
1212
* @param {GuestbookResponseDTO} guestbookResponse - Guestbook response payload.
13+
* @param {string} [format] - Optional download format passed as a query parameter.
1314
* @returns {Promise<string>} - Signed URL for the download.
1415
*/
1516
async execute(

src/access/domain/useCases/SubmitGuestbookForDatafilesDownload.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export class SubmitGuestbookForDatafilesDownload implements UseCase<string> {
1010
*
1111
* @param {string | Array<number | string>} fileIds - Comma-separated string or array of file ids.
1212
* @param {GuestbookResponseDTO} guestbookResponse - Guestbook response payload.
13+
* @param {string} [format] - Optional download format passed as a query parameter.
1314
* @returns {Promise<string>} - Signed URL for the download.
1415
*/
1516
async execute(

src/access/domain/useCases/SubmitGuestbookForDatasetDownload.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export class SubmitGuestbookForDatasetDownload implements UseCase<string> {
1010
*
1111
* @param {number | string} datasetId - Dataset identifier (numeric id or persistent id).
1212
* @param {GuestbookResponseDTO} guestbookResponse - Guestbook response payload.
13+
* @param {string} [format] - Optional download format passed as a query parameter.
1314
* @returns {Promise<string>} - Signed URL for the download.
1415
*/
1516
async execute(

src/access/domain/useCases/SubmitGuestbookForDatasetVersionDownload.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export class SubmitGuestbookForDatasetVersionDownload implements UseCase<string>
1111
* @param {number | string} datasetId - Dataset identifier (numeric id or persistent id).
1212
* @param {string} versionId - Dataset version identifier (for example, ':latest' or '1.0').
1313
* @param {GuestbookResponseDTO} guestbookResponse - Guestbook response payload.
14+
* @param {string} [format] - Optional download format passed as a query parameter.
1415
* @returns {Promise<string>} - Signed URL for the download.
1516
*/
1617
async execute(

0 commit comments

Comments
 (0)