fix: update input type from 'number-input' to 'number' for consistency

pull/21398/head
twwu 8 months ago
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…
Cancel
Save