Merge branch 'zhsama/llm-warning-ui' into feat/pull-a-variable

This commit is contained in:
zhsama
2026-01-16 16:22:07 +08:00
5 changed files with 116 additions and 26 deletions

View File

@ -20,7 +20,7 @@ import {
BlockEnum,
} from '../types'
export function generateNewNode({ data, position, id, zIndex, type, ...rest }: Omit<Node, 'id'> & { id?: string }): {
export function generateNewNode<T = {}>({ data, position, id, zIndex, type, ...rest }: Omit<Node<T>, 'id'> & { id?: string }): {
newNode: Node
newIterationStartNode?: Node
newLoopStartNode?: Node