Solve circular dependency issue between workflow/constants.ts file and default.ts file (#13165)

This commit is contained in:
Obada Khalili
2025-02-04 03:26:01 +02:00
committed by GitHub
parent 1b6fd9dfe8
commit 8fbc9c9342
20 changed files with 23 additions and 21 deletions

View File

@@ -2,7 +2,7 @@ import { BlockEnum, type NodeDefault } from '../../types'
import { type IfElseNodeType, LogicalOperator } from './types'
import { isEmptyRelatedOperator } from './utils'
import { TransferMethod } from '@/types/app'
import { ALL_CHAT_AVAILABLE_BLOCKS, ALL_COMPLETION_AVAILABLE_BLOCKS } from '@/app/components/workflow/constants'
import { ALL_CHAT_AVAILABLE_BLOCKS, ALL_COMPLETION_AVAILABLE_BLOCKS } from '@/app/components/workflow/blocks'
const i18nPrefix = 'workflow.errorMsg'
const nodeDefault: NodeDefault<IfElseNodeType> = {