/* * @Author: liuJie * @Date: 2026-01-24 19:23:49 * @LastEditors: liuJie * @LastEditTime: 2026-01-25 21:53:48 * @Describe: 节点物料管理 */ import { startNode } from './start' import { endNode } from './end' import { httpNode } from './http' import { conditionNode } from './condition' import { databaseNode } from './database' import { codeNode } from './code' import { iterationNode } from './iteration' import { loopNode } from './loop' import { listNode } from './list' import type { INodeType } from '../Interface' const nodes = [ startNode, endNode, httpNode, conditionNode, databaseNode, codeNode, iterationNode, loopNode, listNode ] const nodeMap = nodes.reduce( (acc, cur) => { acc[cur.name] = cur return acc }, {} as Record ) export { startNode, endNode, httpNode, conditionNode, databaseNode, codeNode, nodes, nodeMap, iterationNode, loopNode, listNode }