fix: node default

This commit is contained in:
zxhlyh
2025-04-29 16:11:54 +08:00
parent 2613a380b6
commit 66176c4d71
40 changed files with 557 additions and 155 deletions

View File

@ -3,11 +3,12 @@ import type { EndNodeType } from './types'
import { genNodeMetaData } from '@/app/components/workflow/utils'
import { BlockEnum } from '@/app/components/workflow/types'
const metaData = genNodeMetaData({
sort: 2.1,
type: BlockEnum.End,
})
const nodeDefault: NodeDefault<EndNodeType> = {
...genNodeMetaData({
sort: 2.1,
type: BlockEnum.End,
}),
metaData,
defaultValue: {
outputs: [],
},