refactor(workflow): streamline node metadata structure and enhance filtering logic

This commit is contained in:
twwu
2025-09-11 16:02:06 +08:00
parent 9458ebe320
commit 274e7f4f09
15 changed files with 86 additions and 76 deletions

View File

@ -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,