feat: enhance input field management with internationalization support and improved state handling

This commit is contained in:
twwu
2025-05-09 16:35:09 +08:00
parent 7e31da7882
commit 97ec855df4
11 changed files with 207 additions and 96 deletions

View File

@ -1,4 +1,4 @@
import type { InputVarType } from '@/app/components/workflow/types'
import type { InputVar, InputVarType } from '@/app/components/workflow/types'
import type { DSLImportMode, DSLImportStatus } from './app'
import type { ChunkingMode, IconInfo } from './datasets'
import type { Dependency } from '@/app/components/plugins/types'
@ -85,3 +85,10 @@ export type Variables = {
export type PipelineProcessingParamsResponse = {
variables: Variables[]
}
export type RAGPipelineVariable = InputVar
export type RAGPipelineVariables = Array<{
nodeId: string
variables: RAGPipelineVariable[]
}>