Add code and execute page to tool management
This commit is contained in:
25
src/global.d.ts
vendored
25
src/global.d.ts
vendored
@@ -89,6 +89,23 @@ interface LoginParam {
|
||||
captchaCode: string
|
||||
}
|
||||
|
||||
interface UserWithInfoVo {
|
||||
id: string
|
||||
username: string
|
||||
verified: boolean
|
||||
locking: boolean
|
||||
expiration: string
|
||||
credentialsExpiration: string
|
||||
enable: boolean
|
||||
currentLoginTime: string
|
||||
currentLoginIp: string
|
||||
lastLoginTime: string
|
||||
lastLoginIp: string
|
||||
createTime: string
|
||||
updateTime: string
|
||||
userInfo: UserInfoVo
|
||||
}
|
||||
|
||||
interface UserWithPowerInfoVo {
|
||||
id: string
|
||||
username: string
|
||||
@@ -532,7 +549,7 @@ interface ToolVo {
|
||||
icon: string
|
||||
description: string
|
||||
base: ToolBaseVo
|
||||
author: UserInfoVo
|
||||
author: UserWithInfoVo
|
||||
ver: string
|
||||
keywords: string[]
|
||||
categories: ToolCategoryVo[]
|
||||
@@ -570,3 +587,9 @@ interface ToolUpdateParam {
|
||||
categories?: string[]
|
||||
source?: string
|
||||
}
|
||||
|
||||
interface ToolManagementGetParam extends PageParam {
|
||||
searchType?: string
|
||||
searchValue?: string
|
||||
searchRegex?: boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user