You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 41ce612
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(files): simplify the paged file reads and share their helpers
- The resumable raw-column timestamp key the file sorts and the public logs
keyset each spelled out is one `resumableTimestampKey` in list-query.
- A page selects only its active timestamp sort's cursor text, and reuses the
folder tree a folder filter already loaded to hydrate folder paths instead
of reading the tree again.
- A lookup reads ids, keys, and references in one query with one folder-path
hydration; the route's contract is its only cap.
- One `attachShares` joins share state for the full list, the bounded page,
and the layout seed; the full list reads files and shares concurrently.
- One capped folder-index loader serves the page and folder-stats reads, and
folder-id filters resolve through `resolveFolderScope`.
- Search uses `v2LimitSchema` and its own type-ahead rate-limit bucket, and
notes that terms under three characters cannot use the trigram index.
- The list cursor binds the root folder as `null`, like the Projects list.
- The list, search, and lookup responses share one files body schema.
0 commit comments