feat: rename input to inputs, output to outputs

This commit is contained in:
Fu Diwei
2025-01-04 16:41:30 +08:00
parent ae11d5ee3d
commit 01ede08a79
4 changed files with 14 additions and 14 deletions

View File

@@ -32,12 +32,12 @@ type Workflow struct {
}
type WorkflowNode struct {
Id string `json:"id"`
Name string `json:"name"`
Next *WorkflowNode `json:"next"`
Config map[string]any `json:"config"`
Input []WorkflowNodeIO `json:"input"`
Output []WorkflowNodeIO `json:"output"`
Id string `json:"id"`
Name string `json:"name"`
Next *WorkflowNode `json:"next"`
Config map[string]any `json:"config"`
Inputs []WorkflowNodeIO `json:"inputs"`
Outputs []WorkflowNodeIO `json:"outputs"`
Validated bool `json:"validated"`
Type string `json:"type"`