mirror of
https://git.boos.lat/aibo/BossChat.git
synced 2026-10-30 15:16:11 +00:00
feat(skill): implement restore functionality for Skill Definitions
This commit is contained in:
@@ -913,6 +913,13 @@ export function deleteSkillDefinition(id: number) {
|
||||
})
|
||||
}
|
||||
|
||||
export function restoreSkillDefinition(id: number) {
|
||||
return request<void>("/api/dashboard/skill-definition/restore", {
|
||||
method: "POST",
|
||||
body: JSON.stringify({ id }),
|
||||
})
|
||||
}
|
||||
|
||||
export function debugRunSkillDefinition(payload: SkillDebugRunPayload) {
|
||||
return request<SkillDebugRunResult>("/api/dashboard/skill-definition/debug_run", {
|
||||
method: "POST",
|
||||
|
||||
Reference in New Issue
Block a user