summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
Diffstat (limited to 'store/store.go')
-rw-r--r--store/store.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go
index d2c30318f..9694921c8 100644
--- a/store/store.go
+++ b/store/store.go
@@ -411,6 +411,8 @@ type JobStore interface {
GetAllByType(jobType string) StoreChannel
GetAllByTypePage(jobType string, offset int, limit int) StoreChannel
GetAllByStatus(status string) StoreChannel
+ GetNewestJobByStatusAndType(status string, jobType string) StoreChannel
+ GetCountByStatusAndType(status string, jobType string) StoreChannel
Delete(id string) StoreChannel
}