IQSS / dataverse-client-javascript

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

Get file counts use case with search criteria #93

Closed GPortas closed 1 year ago

GPortas commented 1 year ago

What this PR does / why we need it:

Allows to get file counts specifying search criteria, required for the SPA files tab.

Which issue(s) this PR closes:

Related Dataverse PRs:

Special notes for your reviewer:

getDatasetFilesTotalDownloadSize IT are failing due to unmerged PR: https://github.com/IQSS/dataverse/pull/9960, so I have skipped them in the code so the GitHub action can deploy the package.

Suggestions on how to test this:

Is there a release notes update needed for this change?:

Add FileSearchCriteria to GetFileCounts use case

Additional documentation:

None

kcondon commented 1 year ago

@GPortas Github actions passes but publish-gpr fails. Not sure whether this is ok to merge.