cherry-studio/packages
fullex b01113aae6 feat: enhance pagination support in API types and hooks
- Introduced new pagination types and interfaces, including `PaginationMode`, `BasePaginatedResponse`, `OffsetPaginatedResponse`, and `CursorPaginatedResponse`, to standardize pagination handling.
- Updated `useDataApi` hook to support both offset and cursor-based pagination, improving data fetching capabilities.
- Added `useInfiniteQuery` and `usePaginatedQuery` hooks for better management of paginated data, including loading states and pagination controls.
- Refactored existing pagination logic to improve clarity and maintainability, ensuring consistent handling of pagination across the application.
2026-01-04 15:52:18 +08:00
..
ai-sdk-provider fix: interleaved thinking support (#12084) 2025-12-23 20:08:53 +08:00
aiCore Merge branch 'main' into v2 2025-12-24 17:30:49 +08:00
extension-table-plus chore[lint]: add import type lint (#11091) 2025-11-01 10:40:02 +08:00
mcp-trace chore[lint]: add import type lint (#11091) 2025-11-01 10:40:02 +08:00
shared feat: enhance pagination support in API types and hooks 2026-01-04 15:52:18 +08:00
ui refactor(ui): update utility imports to use internal lib 2025-12-29 18:58:13 +08:00