maxkb/ui/src/workflow/nodes/function-node/index.ts
2024-08-15 17:17:25 +08:00

13 lines
320 B
TypeScript

import FunctionNodeVue from './index.vue'
import { AppNode, AppNodeModel } from '@/workflow/common/app-node'
class FunctionLibCustomNode extends AppNode {
constructor(props: any) {
super(props, FunctionNodeVue)
}
}
export default {
type: 'function-node',
model: AppNodeModel,
view: FunctionLibCustomNode
}