feat: add supervisor prototype with embedded frontend
This commit is contained in:
20
internal/domain/run.go
Normal file
20
internal/domain/run.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user