feat: implement business node specifications and enhance workflow editor with node specs support

This commit is contained in:
mlogclub
2026-08-16 21:27:45 +08:00
parent 16a0d6f5bd
commit ad971370cf
17 changed files with 397 additions and 22 deletions
@@ -82,6 +82,10 @@ func (v *definitionValidator) validateNodes() {
v.addError(field+".type", "unknown node type: "+node.Type)
continue
}
if !registry.IsExecutableNodeType(node.Type) {
v.addError(field+".type", "node type is not supported by the server runtime: "+node.Type)
continue
}
switch node.Type {
case registry.NodeTypeStart:
v.startNodeIDs = append(v.startNodeIDs, node.ID)