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
@@ -521,7 +521,7 @@ The optional `datasetVersionId` parameter can correspond to a numeric version id
521
521
522
522
#### Get a File and its Dataset
523
523
524
-
Returns a tuple of [File](../src/files/domain/models/File.ts) and [Dataset](../src/datasets/domain/models/Dataset.ts) objects (`[File, Dataset]`), given the search parameters to identify the file.
524
+
Returns a tuple of [FileModel](../src/files/domain/models/FileModel.ts) and [Dataset](../src/datasets/domain/models/Dataset.ts) objects (`[FileModel, Dataset]`), given the search parameters to identify the file.
525
525
526
526
The returned dataset object corresponds to the dataset version associated with the requested file.
527
527
@@ -535,7 +535,7 @@ import { getFileAndDataset } from '@iqss/dataverse-client-javascript'
* Returns a File instance, given the search parameters to identify it.
10
+
* Returns a FileModel instance, given the search parameters to identify it.
11
11
*
12
12
* @param {number | string} [fileId] - The File identifier, which can be a string (for persistent identifiers), or a number (for numeric identifiers).
13
13
* @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
* Returns a tuple including the File instance and the associated Dataset, given the search parameters to identify the File.
10
+
* Returns a tuple including the FileModel instance and the associated Dataset, given the search parameters to identify the File.
11
11
*
12
12
* @param {number | string} [fileId] - The File identifier, which can be a string (for persistent identifiers), or a number (for numeric identifiers).
13
13
* @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
0 commit comments