feat(tool): 增强工具实例管理和更新功能 #56
Merged
Annotations
7 errors and 6 warnings
|
Fail if initial check failed
Process completed with exit code 1.
|
|
npm run check (post-fix)
Process completed with exit code 1.
|
|
npm run check (post-fix):
src/pages/ToolManagementPage/hooks/useToolManagement.ts#L186
Type '(ToolInstance | { version: string | null; instance_id: string; base_id: string; tool_name: string; tool_type: ToolType; tool_source: ToolSource; ... 6 more ...; updated_at: number; })[]' is not assignable to type 'ToolInstance[]'.
|
|
npm run check:fix (diagnostic)
Process completed with exit code 1.
|
|
npm run check:fix (diagnostic):
src/pages/ToolManagementPage/hooks/useToolManagement.ts#L186
Type '(ToolInstance | { version: string | null; instance_id: string; base_id: string; tool_name: string; tool_type: ToolType; tool_source: ToolSource; ... 6 more ...; updated_at: number; })[]' is not assignable to type 'ToolInstance[]'.
|
|
npm run check
Process completed with exit code 1.
|
|
npm run check:
src/pages/ToolManagementPage/hooks/useToolManagement.ts#L186
Type '(ToolInstance | { version: string | null; instance_id: string; base_id: string; tool_name: string; tool_type: ToolType; tool_source: ToolSource; ... 6 more ...; updated_at: number; })[]' is not assignable to type 'ToolInstance[]'.
|
|
npm run check (post-fix):
src/hooks/useTheme.tsx#L63
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
npm run check (post-fix):
src/components/ui/button.tsx#L49
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
npm run check:fix (diagnostic):
src/hooks/useTheme.tsx#L63
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
npm run check:fix (diagnostic):
src/components/ui/button.tsx#L49
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
npm run check:
src/hooks/useTheme.tsx#L63
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
|
npm run check:
src/components/ui/button.tsx#L49
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
Loading