memos/web/src/types
boojack 4bc3928029 fix(user): implement ListUsers pagination
Rework ListUsers to match the ListMemos pagination contract: opaque
PageToken, normalizePageSize, DB-level limit+1 look-ahead, and a
next_page_token. Adds Offset to store.FindUser with an OFFSET clause in
all three dialects, and an `id DESC` ORDER BY tiebreaker so offset pages
stay stable when created_ts ties.

Also align pagination across list endpoints:
- Bump DefaultPageSize 10 -> 50 to match the documented default; use
  normalizePageSize in ListAttachments.
- Remove the never-implemented total_size field from all six list
  responses (ListUsers, ListAttachments, ListMemoComments,
  ListMemoReactions, ListUserSettings, ListPersonalAccessTokens) and
  regenerate.
- useListUsers now pages through next_page_token so the admin members
  view still loads every user past the default page size.
2026-07-12 20:51:04 +08:00
..
modules refactor(theme): consolidate theme system and polish dark mode colors 2026-03-02 09:30:57 +08:00
proto fix(user): implement ListUsers pagination 2026-07-12 20:51:04 +08:00
common.d.ts chore: update type definitions 2024-03-21 08:12:38 +08:00
common.ts refactor: remove MemoContentContext and integrate MemoViewContext 2025-12-28 12:46:12 +08:00
i18n.d.ts feat: improve i18n support as a whole (#1526) 2023-04-15 08:56:03 +08:00
markdown.ts feat(mentions): add memo mention parsing, notifications, and rendering (#5811) 2026-04-06 22:16:53 +08:00
relative-time-element.d.ts chore: upgrade frontend to React 19 (#5940) 2026-05-08 22:10:48 +08:00
statistics.ts feat(activity-calendar): aggregate by ViewContext.timeBasis 2026-05-02 00:26:53 +08:00
view.d.ts chore: remove external resource dialog 2024-04-29 22:57:47 +08:00