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: docs/useCases.md
+4
Original file line number
Diff line number
Diff line change
@@ -287,6 +287,8 @@ The optional `datasetVersionId` parameter can correspond to a numeric version id
287
287
288
288
There is an optional third parameter called `includeDeaccessioned`, which indicates whether to consider deaccessioned versions or not in the dataset search. If not set, the default value is `false`.
289
289
290
+
There is an optional fourth parameter called `keepRawFields`, which indicates whether or not to keep the metadata fields as they are and avoid the transformation to Markdown. The default value is `false`.
291
+
290
292
#### Get Dataset By Private URL Token
291
293
292
294
Returns a [Dataset](../src/datasets/domain/models/Dataset.ts) instance, given an associated Private URL Token.
There is an optional second parameter called `keepRawFields`, which indicates whether or not to keep the metadata fields as they are and avoid the transformation to Markdown. The default value is `false`.
Copy file name to clipboardExpand all lines: src/datasets/domain/useCases/GetDataset.ts
+5-2
Original file line number
Diff line number
Diff line change
@@ -16,17 +16,20 @@ export class GetDataset implements UseCase<Dataset> {
16
16
* @param {number | string} [datasetId] - The dataset identifier, which can be a string (for persistent identifiers), or a number (for numeric identifiers).
17
17
* @param {string | DatasetNotNumberedVersion} [datasetVersionId=DatasetNotNumberedVersion.LATEST] - The dataset version identifier, which can be a version-specific numeric string (for example, 1.0) or a DatasetNotNumberedVersion enum value. If this parameter is not set, the default value is: DatasetNotNumberedVersion.LATEST
18
18
* @param {boolean} [includeDeaccessioned=false] - Indicates whether to consider deaccessioned versions in the dataset search or not. The default value is false
19
+
* @param {boolean} [keepRawFields=false] - Indicates whether or not the use case should keep the metadata fields as they are and avoid the transformation to markdown. The default value is false.
Copy file name to clipboardExpand all lines: src/datasets/domain/useCases/GetPrivateUrlDataset.ts
+3-2
Original file line number
Diff line number
Diff line change
@@ -13,9 +13,10 @@ export class GetPrivateUrlDataset implements UseCase<Dataset> {
13
13
* Returns a Dataset instance, given an associated Private URL Token.
14
14
*
15
15
* @param {string} [token] - A Private URL token.
16
+
* @param {boolean} [keepRawFields=false] - Indicates whether or not the use case should keep the metadata fields as they are and avoid the transformation to markdown. The default value is false.
0 commit comments