Add create tool page

This commit is contained in:
2024-01-26 14:29:53 +08:00
parent 37fcfecbb7
commit 5fb4cfe55d
7 changed files with 240 additions and 51 deletions

13
src/global.d.ts vendored
View File

@@ -509,6 +509,7 @@ interface ToolTemplateVo {
name: string
baseId: string
source: ToolDataVo
entryPoint: string
enable: boolean
createTime: string
updateTime: string
@@ -520,6 +521,7 @@ interface ToolTemplateAddEditParam {
name?: string
baseId?: string
source?: string
entryPoint?: string
enable?: boolean
}
@@ -541,3 +543,14 @@ interface ToolVo {
createTime: string
updateTime: string
}
interface ToolCreateParam {
name: string
toolId: string
description: string
ver: string
templateId: string
privately: boolean
keywords: string[]
categories: string[]
}