Skip to content

feat: add TypeScript API for keyset pagination#41

Merged
jjhafer merged 1 commit intosilvermine:masterfrom
pmorris-dev:pagination-final-phase
Feb 24, 2026
Merged

feat: add TypeScript API for keyset pagination#41
jjhafer merged 1 commit intosilvermine:masterfrom
pmorris-dev:pagination-final-phase

Conversation

@pmorris-dev
Copy link
Contributor

Complete the frontend interface for keyset pagination:

  • SortDirection, KeysetColumn, KeysetPage<T> types
  • FetchPageBuilder<T> with .after() / .before() / .attach() and direct await support via PromiseLike
  • Database.fetchPage<T>() method with full JSDoc
  • 6 new TypeScript IPC bridge tests
  • Project README updated with pagination docs, examples, and API reference for both TypeScript and Rust
  • Pagination demo app (Vue 3 + Tauri) in examples/pagination-demo/

Complete the frontend interface for keyset pagination:

- `SortDirection`, `KeysetColumn`, `KeysetPage<T>` types
- `FetchPageBuilder<T>` with `.after()` / `.before()` / `.attach()`
  and direct `await` support via `PromiseLike`
- `Database.fetchPage<T>()` method with full JSDoc
- 6 new TypeScript IPC bridge tests
- Project README updated with pagination docs, examples, and API
  reference for both TypeScript and Rust
- Pagination demo app (Vue 3 + Tauri) in examples/pagination-demo/
@pmorris-dev pmorris-dev force-pushed the pagination-final-phase branch from c3a8a9d to ab10d04 Compare February 24, 2026 14:07
@jjhafer jjhafer merged commit 91b7379 into silvermine:master Feb 24, 2026
1 check passed
@pmorris-dev pmorris-dev deleted the pagination-final-phase branch February 24, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants