storage icon indicating copy to clipboard operation
storage copied to clipboard

feat: add pagination to getAllBuckets

Open TylerHillery opened this issue 1 year ago • 1 comments

What kind of change does this PR introduce?

Feature to add pagination to the GET buckets endpoint by introducing optional query parameters limit, offset, sortColumn and sortOrder

What is the current behavior?

Currently, we do not allow pagination for GET buckets endpoint.

What is the new behavior?

Now we allow optional query parameters to be passed in to allow pagination.

Additional context

TylerHillery avatar Jun 09 '25 18:06 TylerHillery

Pull Request Test Coverage Report for Build 15882069434

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 55 of 55 (100.0%) changed or added relevant lines in 4 files are covered.
  • 49 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.05%) to 77.964%

Files with Coverage Reduction New Missed Lines %
src/internal/database/tenant.ts 16 83.33%
src/http/plugins/db.ts 33 70.0%
Totals Coverage Status
Change from base Build 15533994820: 0.05%
Covered Lines: 17532
Relevant Lines: 22319

💛 - Coveralls

coveralls avatar Jun 09 '25 18:06 coveralls