feat: add supervisor prototype with embedded frontend

This commit is contained in:
root
2026-03-09 19:15:53 +01:00
parent 96c4ce1697
commit 84de557052
56 changed files with 4044 additions and 10 deletions

20
internal/domain/run.go Normal file
View File

@ -0,0 +1,20 @@
package domain
import "time"
type RunStatus string
const (
RunStatusPlanned RunStatus = "planned"
RunStatusRunning RunStatus = "running"
RunStatusDone RunStatus = "done"
RunStatusFailed RunStatus = "failed"
)
type Run struct {
ID string `json:"id"`
WorkflowID string `json:"workflowId"`
RequestedBy string `json:"requestedBy"`
Status RunStatus `json:"status"`
CreatedAt time.Time `json:"createdAt"`
}