Initial sanitized code sync

This commit is contained in:
zqq61
2026-03-15 20:48:19 +08:00
commit 17ee51ba04
126 changed files with 22546 additions and 0 deletions

18
internal/task/types.go Normal file
View File

@@ -0,0 +1,18 @@
package task
const (
StatusPending = "pending"
StatusRunning = "running"
StatusStopping = "stopping"
StatusStopped = "stopped"
StatusInterrupted = "interrupted"
StatusCompleted = "completed"
LogStatusSuccess = "success"
LogStatusFailed = "failed"
LogStatusSkipped = "skipped"
TaskTypePlus = "plus"
TaskTypeTeam = "team"
TaskTypeBoth = "both"
)