feat: complete Kra admin backend migration
This commit is contained in:
@@ -37,7 +37,8 @@ type TaskRepo interface {
|
||||
ToggleTask(context.Context, uint, bool) error
|
||||
RecordTaskLog(context.Context, *TimedTaskLog) error
|
||||
ListTaskLogs(context.Context, int, int, uint, string) ([]*TimedTaskLog, int64, error)
|
||||
CleanupLogs(context.Context, time.Time) error
|
||||
CleanupLogs(context.Context) error
|
||||
TaskNameExists(context.Context, string, uint) (bool, error)
|
||||
}
|
||||
type TaskUsecase struct{ repo TaskRepo }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user