Skip to content

Commit 156963d

Browse files
committed
add param doc for datasetType #359
1 parent cc77995 commit 156963d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/datasets/domain/useCases/CreateDataset.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export class CreateDataset extends DatasetWriteUseCase<CreatedDatasetIdentifiers
2020
*
2121
* @param {DatasetDTO} [newDataset] - DatasetDTO object including the new dataset metadata field values for each metadata block.
2222
* @param {string} [collectionId] - Specifies the collection identifier where the new dataset should be created (optional, defaults to :root).
23+
* @param {string} [datasetType] - Specifies the dataset type (optional, when omitted, defaults to "dataset").
2324
* @returns {Promise<CreatedDatasetIdentifiers>}
2425
* @throws {ResourceValidationError} - If there are validation errors related to the provided information.
2526
* @throws {ReadError} - If there are errors while reading data.

0 commit comments

Comments
 (0)