| 12345678910111213141516171819202122232425262728 |
- import { NodeConnectionTypes, type INodeType } from '../Interface'
- export const databaseNode: INodeType = {
- version: ['1'],
- displayName: '数据查询',
- name: 'database',
- description: '通过数据库查询数据',
- icon: 'lucide:database-zap',
- iconColor: '#64dc34',
- inputs: [NodeConnectionTypes.main],
- outputs: [NodeConnectionTypes.main],
- // 业务数据
- schema: {
- appAgentId: '',
- parentId: '',
- position: {
- x: 20,
- y: 30
- },
- width: 280,
- height: 60,
- selected: true,
- nodeType: 'database',
- zIndex: 1,
- data: {}
- }
- }
|