expo-popcore-app/hooks
imeepos 100f059bb7 feat: add use-videos hook for video list management
Implement video list hook following TDD principles and use-templates.ts pattern.
Supports pagination, loading states, error handling, and data refresh.

- Add useVideos hook with execute, loadMore, and refetch functions
- Add comprehensive test suite with 11 test cases
- Follow DI pattern using ProjectController from @repo/sdk
- Calculate pagination using total/limit for hasMore flag

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 11:39:34 +08:00
..
CLAUDE.md Initial commit: expo-popcore-app 2025-12-25 16:25:55 +08:00
index.ts fix: bug 2026-01-16 15:16:49 +08:00
use-activates.ts refactor: 优化代码和添加类型检查脚本 2026-01-16 12:34:27 +08:00
use-categories.test.ts fix: 修复 use-categories 测试中的 TypeScript 类型错误 2026-01-19 11:45:25 +08:00
use-categories.ts fix: 修复 Jest 测试配置和 useCategories hook 实现 2026-01-19 11:46:51 +08:00
use-color-scheme.ts Initial commit: expo-popcore-app 2025-12-25 16:25:55 +08:00
use-color-scheme.web.ts Initial commit: expo-popcore-app 2025-12-25 16:25:55 +08:00
use-error.ts feat: 对接 templateDetail 页面后端接口 2026-01-16 11:56:38 +08:00
use-resource.tsx Initial commit: expo-popcore-app 2025-12-25 16:25:55 +08:00
use-search-history.ts fix: bug 2026-01-16 15:16:49 +08:00
use-tags.ts fix: 修复所有 TypeScript 类型错误 2026-01-16 14:14:05 +08:00
use-template-actions.ts fix: 修复所有 TypeScript 类型错误 2026-01-16 14:14:05 +08:00
use-template-detail.ts feat: 对接 templateDetail 页面后端接口 2026-01-16 11:56:38 +08:00
use-template-generations.ts refactor: 优化代码和添加类型检查脚本 2026-01-16 12:34:27 +08:00
use-templates.ts fix: bug 2026-01-16 15:16:49 +08:00
use-theme-color.ts Initial commit: expo-popcore-app 2025-12-25 16:25:55 +08:00
use-videos.test.ts feat: add use-videos hook for video list management 2026-01-21 11:39:34 +08:00
use-videos.ts feat: add use-videos hook for video list management 2026-01-21 11:39:34 +08:00