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
- If the dataset is already published, this action creates a DRAFT version containing the new terms.
1045
+
- Unspecified fields are treated as omissions: sending only `fileAccessRequest` will update that field and leave all other terms absent (undefined). In practice, the new values you send fully replace the previous set of terms — so if you omit a field, you are effectively clearing it unless you include its original value in the new input.
1046
+
1015
1047
#### Deaccession a Dataset
1016
1048
1017
1049
Deaccession a Dataset, given its identifier, version, and deaccessionDatasetDTO to perform.
Copy file name to clipboardExpand all lines: src/datasets/domain/useCases/SetAvailableLicensesForDatasetType.ts
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,10 @@ export class SetAvailableLicensesForDatasetType implements UseCase<void> {
10
10
11
11
/**
12
12
* Sets the available licenses for a given dataset type. This limits the license options when creating a dataset of this type.
13
+
*
14
+
* @param {number | string} [datasetTypeId] - The dataset type identifier, which can be a string (for persistent identifiers), or a number (for numeric identifiers).
15
+
* @param {string[]} licenses - The licenses to set for the dataset type.
16
+
* @returns {Promise<void>} - This method does not return anything upon successful completion.
* @param {number | string} [datasetId] - The dataset identifier, which can be a string (for persistent identifiers), or a number (for numeric identifiers).
16
+
* @param {TermsOfAccess} termsOfAccess - The terms of access to set for the dataset.
17
+
* @returns {Promise<void>} - This method does not return anything upon successful completion.
0 commit comments