Add tool view page

This commit is contained in:
2024-01-30 19:24:37 +08:00
parent 0e804ff732
commit d6ff952596
9 changed files with 227 additions and 27 deletions

10
src/global.d.ts vendored
View File

@@ -531,15 +531,16 @@ interface ToolVo {
toolId: string
icon: string
description: string
baseId: string
base: ToolBaseVo
author: UserInfoVo
ver: string
keywords: string[]
categories: ToolCategoryVo[]
source: ToolDataVo
dist: ToolDataVo
entryPoint: string
publish: string
review: number
review: 'NONE' | 'PASS' | 'REJECT'
createTime: string
updateTime: string
}
@@ -554,3 +555,8 @@ interface ToolCreateParam {
keywords: string[]
categories: string[]
}
interface ToolUpgradeParam {
toolId: string
ver: string
}