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
@@ -486,7 +486,7 @@ The optional `datasetVersionId` parameter can correspond to a numeric version id
486
486
487
487
#### Get a File and its Dataset
488
488
489
-
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.
489
+
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.
490
490
491
491
The returned dataset object corresponds to the dataset version associated with the requested file.
492
492
@@ -500,7 +500,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