expo-popcore-app/hooks
imeepos 755a374b67 feat: 对接 generateVideo 页面后端接口
- 新增 uploadFile 工具函数用于图片上传
- 更新 useTemplateActions hook 使用 handleError 统一错误处理
- 实现 generateVideo 页面视频生成功能
  - 根据 formSchema.startNodes 动态构建请求数据
  - 支持图片和文本输入
  - 添加 loading 状态和错误提示
  - 生成成功后显示通知并返回

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-16 12:33:05 +08:00
..
CLAUDE.md Initial commit: expo-popcore-app 2025-12-25 16:25:55 +08:00
index.ts feat: 对接 templateDetail 页面后端接口 2026-01-16 11:56:38 +08:00
use-activates.ts feat: 对接 templateDetail 页面后端接口 2026-01-16 11:56:38 +08:00
use-categories.ts feat: 对接 templateDetail 页面后端接口 2026-01-16 11:56:38 +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-template-actions.ts feat: 对接 generateVideo 页面后端接口 2026-01-16 12:33:05 +08:00
use-template-detail.ts feat: 对接 templateDetail 页面后端接口 2026-01-16 11:56:38 +08:00
use-template-generations.ts feat: 对接 templateDetail 页面后端接口 2026-01-16 11:56:38 +08:00
use-templates.ts fix: 修复所有 TypeScript 类型错误 2026-01-16 12:14:04 +08:00
use-theme-color.ts Initial commit: expo-popcore-app 2025-12-25 16:25:55 +08:00