22 lines
878 B
Go
22 lines
878 B
Go
package domain
|
|
|
|
// SessionStatus is the single-word DISPLAY status the dashboard renders. It is
|
|
// derived from persisted session facts plus PR facts and is never stored.
|
|
type SessionStatus string
|
|
|
|
// The display statuses the dashboard renders.
|
|
const (
|
|
StatusWorking SessionStatus = "working"
|
|
StatusPROpen SessionStatus = "pr_open"
|
|
StatusDraft SessionStatus = "draft"
|
|
StatusCIFailed SessionStatus = "ci_failed"
|
|
StatusReviewPending SessionStatus = "review_pending"
|
|
StatusChangesRequested SessionStatus = "changes_requested"
|
|
StatusApproved SessionStatus = "approved"
|
|
StatusMergeable SessionStatus = "mergeable"
|
|
StatusMerged SessionStatus = "merged"
|
|
StatusNeedsInput SessionStatus = "needs_input"
|
|
StatusIdle SessionStatus = "idle"
|
|
StatusTerminated SessionStatus = "terminated"
|
|
)
|