IQSS / dataverse-client-javascript

A Dataverse client for JavaScript and TypeScript
MIT License
15 stars 8 forks source link

Add latest published version number to getDataset use case #164

Open ekraffmiller opened 1 month ago

ekraffmiller commented 1 month ago

For SPA Publish Dataset popup, we need to display the new version numbers that will be assigned for a major and minor version update. In order to show that, we need the version number of the latest published version, when getting a Draft dataset. For now, this is only needed when getting a dataset draft version, but in the future when we implement the versions tab, we will need to get summary info for all existing versions on the dataset.

Related ticket in the SPA: https://github.com/IQSS/dataverse-frontend/issues/428