Files
agent-desktop/console/src/api
Pine 7c49f6a357 修复:yarn build 43个TypeScript错误全部修复
修复内容:
1. hall.ts - 修复类型转换错误(number转string),修复URLSearchParams构建
2. Operator/Users.tsx - 移除未使用的useAuthStore导入和accountType变量
3. AgentChat.tsx - 移除未使用的RobotOutlined导入
4. CourseDetailModal.tsx - 添加friendlyErrorMessage导入
5. Finance.tsx - 移除未使用的FileTextOutlined、BookOutlined、AccountBookOutlined导入和styles导入
6. HallTasks.tsx - 修复required_badges/required_certifications类型错误(string vs string[]),修复unknown类型value
7. JobsMine.tsx - 移除未使用的Segmented导入
8. MyTasks.tsx - 移除未使用的Segmented导入和MYTASK_TABS常量,修复claimStatus类型错误
9. PolicyDetail.tsx - 移除未使用的Card导入
10. Profile.tsx - 修复useEffect返回Promise错误
11. ServiceDetail.tsx - 修复startChat参数数量错误
12. ServiceOrderDetail.tsx - 修复startChat参数数量错误,修复Timeline items类型错误
13. ServiceOrders.tsx - 移除未使用的Segmented、ShoppingCartOutlined、ShopOutlined导入
14. ServicesMine.tsx - 添加rejectReason属性到ServiceMarketService类型
15. TaskDetailPage.tsx - 修复多个类型错误(eligibility、headcount、时间字段、participants.publisher)
16. TrainingCenter.tsx - 移除未使用的GraduationCapFilled导入和Title变量

构建结果:✓ built in 1m 27s
2026-09-06 14:12:14 +08:00
..