Feat(Store): Add tool favorite control

Add tool favorite control
This commit is contained in:
2024-04-26 18:09:07 +08:00
parent 64c510cd42
commit 5c77e1ae90
7 changed files with 68 additions and 2 deletions

7
src/global.d.ts vendored
View File

@@ -604,6 +604,7 @@ interface ToolVo {
review: 'NONE' | 'PROCESSING' | 'PASS' | 'REJECT'
createTime: string
updateTime: string
favorite: boolean
}
interface ToolCreateParam {
@@ -647,3 +648,9 @@ interface ToolManagementPassParam {
interface ToolStoreGetParam extends PageParam {
searchValue?: string
}
interface ToolFavoriteAddRemoveParam {
username: string
toolId: string
platform: Platform
}