feat: rename AllowedToolCodes to ToolWhitelist across skill-related models and requests for consistency

This commit is contained in:
mlogclub
2026-04-12 10:16:03 +08:00
parent 560ebdbf13
commit 44b20813fe
9 changed files with 91 additions and 91 deletions
+2 -2
View File
@@ -275,7 +275,7 @@ export type SkillDefinition = {
description: string
instruction: string
examples: string[]
allowedToolCodes: string[]
toolWhitelist: string[]
priority: number
status: number
statusName: string
@@ -292,7 +292,7 @@ export type CreateSkillDefinitionPayload = {
description: string
instruction: string
examples: string[]
allowedToolCodes: string[]
toolWhitelist: string[]
priority?: number
remark: string
}