fix: code-based extension (#1477)

This commit is contained in:
zxhlyh 2023-11-07 17:56:07 +08:00 • committed by GitHub
commit 7b26c9e2ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 = {