fix: code-based extension (#1477)

This commit is contained in:
zxhlyh
2023-11-07 17:56:07 +08:00
committed by GitHub
parent 6bcafdbc87
commit 7b26c9e2ef
6 changed files with 37 additions and 18 deletions

View File

@@ -214,9 +214,10 @@ export type CodeBasedExtensionForm = {
label: I18nText
variable: string
required: boolean
options: string[]
options: { label: I18nText; value: string }[]
default: string
placeholder: string
max_length?: number
}
export type CodeBasedExtensionItem = {