dataverse-client-javascript
dataverse-client-javascript copied to clipboard
Update GetAllNotificationsByUser use case
What this PR does / why we need it:
Updates the GetAllNotificationsByUser use case to allow results to return only unread messages. Also adds parameters for pagination (limit and offset).
Which issue(s) this PR closes:
- Closes #386
Related Dataverse PRs:
- Depends on https://github.com/IQSS/dataverse/pull/11854
Special notes for your reviewer:
The tests are currently failing because it is depending on a dataverse PR that hasn't been merged yet, which is slightly behind develop. When that PR is merged, the .env can be updated to use 'unstable'.
Suggestions on how to test this:
review code and tests. Note that this has a waiting tag. Should not be merged until the related Dataverse PR is merged. NOTE: before merging, revert the .env file to use the 'unstable' dataverse image
Is there a release notes or changelog update needed for this change?:
Yes, changelog updated.