mirror of
https://github.com/langgenius/dify.git
synced 2026-05-01 07:58:02 +08:00
refactor(workflow): streamline node metadata structure and enhance filtering logic
This commit is contained in:
@ -6,6 +6,8 @@ import { BlockEnum } from '@/app/components/workflow/types'
|
||||
const metaData = genNodeMetaData({
|
||||
sort: -1,
|
||||
type: BlockEnum.DataSourceEmpty,
|
||||
isUndeletable: true,
|
||||
isSingleton: true,
|
||||
})
|
||||
const nodeDefault: NodeDefault<DataSourceEmptyNodeType> = {
|
||||
metaData,
|
||||
|
||||
Reference in New Issue
Block a user