mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 09:28:04 +08:00
feat: node add default value
This commit is contained in:
@ -1,8 +1,14 @@
|
||||
import type { NodeDefault } from '../../types'
|
||||
import type { EndNodeType } from './types'
|
||||
import { type EndNodeType, EndVarType } from './types'
|
||||
|
||||
const nodeDefault: NodeDefault<EndNodeType> = {
|
||||
defaultValue: {},
|
||||
defaultValue: {
|
||||
outputs: {
|
||||
type: EndVarType.none,
|
||||
plain_text_selector: [],
|
||||
structured_variables: [],
|
||||
},
|
||||
},
|
||||
getAvailablePrevNodes() {
|
||||
return []
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user