mirror of
https://github.com/open-gitagent/langship.sh.git
synced 2026-08-03 07:21:04 +02:00
feat(web): initialize Next.js project with Tailwind CSS and TypeScript setup
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
package models
|
||||
|
||||
// Item is a single data item flowing between nodes.
|
||||
type Item = map[string]any
|
||||
|
||||
// NodeOutput holds the outputs of a single node, keyed by output index.
|
||||
type NodeOutput = map[int][]Item
|
||||
|
||||
// ExecutionResult is the final result of a workflow execution.
|
||||
type ExecutionResult struct {
|
||||
ExecutionID string `json:"execution_id"`
|
||||
Status string `json:"status"`
|
||||
Outputs map[string]map[int][]Item `json:"outputs"`
|
||||
NodeOutputs map[string]map[int][]Item `json:"node_outputs"`
|
||||
Errors []string `json:"errors"`
|
||||
}
|
||||
Reference in New Issue
Block a user