feat(content): add filtered keyset pagination - #19
Open
Jess Sullivan (Jesssullivan) wants to merge 2 commits into
Open
feat(content): add filtered keyset pagination#19Jess Sullivan (Jesssullivan) wants to merge 2 commits into
Jess Sullivan (Jesssullivan) wants to merge 2 commits into
Conversation
Jess Sullivan (Jesssullivan)
marked this pull request as ready for review
August 13, 2026 05:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Outcome
Adds one additive package-owned listing API for app-supplied eligibility predicates without changing legacy
loadUserContentbehavior.API
loadUserContentPage(handle, options):totalItemsin the same scan without materializing an unbounded eligible result;.md/.mdxtwins cannot disappear at a boundary;The legacy loader remains exported and behavior-compatible. The facade and factory expose the new additive API.
Lean proof
tests/content-loader.test.tsand existing//:testtarget only..md/.mdxduplicate boundary, min/max bounds, malformed/oversized cursor, invalid/unbounded limits, the accepted 100-item maximum, empty/all-held-back, and legacy loader behavior.git diff --check: pass.Authority boundary
This is the standalone
tinyland-contentsource tranche for TIN-3704. It does not publish a release, mutate the Bazel registry, or update tinyland.dev. Those remain separate reviewed steps. Only after release/BCR/consumer adoption should tinyland.dev remove its temporaryNumber.MAX_SAFE_INTEGERoutbox scan.Base:
6f9445b3ee91f0841392a59e57f7a144d61ed0aeHead:
2ba2ba6ea1924a63f7fa8d3d4f478285073789f4Linear: TIN-3704