File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed
apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/terminal Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 88 XCircleIcon ,
99} from 'lucide-react'
1010import { getBlock } from '@/blocks'
11+ import { isWorkflowBlockType } from '@/executor/constants'
1112import { TERMINAL_BLOCK_COLUMN_WIDTH } from '@/stores/constants'
1213import type { ConsoleEntry } from '@/stores/terminal'
1314
@@ -100,16 +101,6 @@ export function getBlockColor(blockType: string): string {
100101 return '#6b7280'
101102}
102103
103- /**
104- * Checks if a block type is a workflow-calling block (calls a child workflow).
105- * Covers both `workflow` (new) and `workflow_input` (legacy) block variants —
106- * both are handled by WorkflowBlockHandler and emit child workflow events.
107- */
108- export function isWorkflowBlockType ( blockType : string ) : boolean {
109- const t = blockType ?. toLowerCase ( )
110- return t === 'workflow' || t === 'workflow_input'
111- }
112-
113104/**
114105 * Determines if a keyboard event originated from a text-editable element
115106 */
You can’t perform that action at this time.
0 commit comments