mirror of
https://github.com/langgenius/dify.git
synced 2026-03-27 09:09:54 +08:00
Merge branch 'zhsama/llm-warning-ui' into feat/pull-a-variable
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user