1
0

feat(daemon): query jobs by update time

This commit is contained in:
2024-02-28 01:48:00 +00:00
parent c909c2a352
commit 1c8e1d068b
6 changed files with 31 additions and 43 deletions

View File

@@ -47,6 +47,8 @@ const (
type Job struct {
ID int64
UpdatedAt time.Time
// Job UUID
UUID string
// Group UUID
@@ -83,11 +85,7 @@ type ListJobsParams struct {
// Status of the job
Status Status
// Time range (unix timestamps)
Time struct {
After int64
Before int64
}
UpdatedAfter int64
}
type Repo struct {