dataverse-client-javascript icon indicating copy to clipboard operation
dataverse-client-javascript copied to clipboard

Update the return type of getMyData use case

Open ekraffmiller opened this issue 7 months ago • 0 comments

The return type of getMyDataCollectionItems is CollectionItemSubset, which is shared with getCollectionItems. This works by formatting the PublicationStatus results as facets, which was meant to be extensible, but is awkward to use in the frontend code and is a different format from the data returned from the dataverse API.

So this issue it to update the return type so it returns a list of PublicationStatus counts, rather than facets.

ekraffmiller avatar May 21 '25 00:05 ekraffmiller