mirror of
https://github.com/langgenius/dify.git
synced 2026-04-14 16:08:01 +08:00
fix: update input type from 'number-input' to 'number' for consistency
This commit is contained in:
parent
9934eac15c
commit
c9a4c66b07
@ -12,7 +12,7 @@ import {
|
||||
} from '@remixicon/react'
|
||||
|
||||
const i18nFileTypeMap: Record<string, string> = {
|
||||
'number-input': 'number',
|
||||
'number': 'number',
|
||||
'file': 'single-file',
|
||||
'file-list': 'multi-files',
|
||||
}
|
||||
|
||||
@ -4,7 +4,7 @@ import { z } from 'zod'
|
||||
export const InputTypeEnum = z.enum([
|
||||
'text-input',
|
||||
'paragraph',
|
||||
'number-input',
|
||||
'number',
|
||||
'select',
|
||||
'checkbox',
|
||||
'file',
|
||||
|
||||
@ -107,7 +107,7 @@ export enum PipelineInputVarType {
|
||||
textInput = 'text-input',
|
||||
paragraph = 'paragraph',
|
||||
select = 'select',
|
||||
number = 'number-input',
|
||||
number = 'number',
|
||||
singleFile = 'file',
|
||||
multiFiles = 'file-list',
|
||||
checkbox = 'checkbox',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user