mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
Refactor global schedules with mobile-responsive UI and backend optimizations (#167)
* ralph: ralph-global-schedules-dashboard completed after 2 iterations * Refactor global schedules with mobile-responsive UI and backend optimizations
This commit is contained in:
1 parent
ba15fb31e4
commit
f18bcbbf3e
10 files changed
+721
-1
No files matched your search
@@ -8,6 +8,7 @@ import {
|
||||
type UpdateScheduleJobRequest,
|
||||
} from '@opencode-manager/shared/types'
|
||||
import { getRepoById } from '../db/queries'
|
||||
import type { ScheduleJobWithRepo } from '../db/schedules'
|
||||
import {
|
||||
createScheduleJob,
|
||||
createScheduleRun,
|
||||
@@ -15,6 +16,7 @@ import {
|
||||
getScheduleJobById,
|
||||
getRunningScheduleRunByJob,
|
||||
getScheduleRunById,
|
||||
listAllScheduleJobsWithRepos,
|
||||
listEnabledScheduleJobs,
|
||||
listScheduleJobsByRepo,
|
||||
listRunningScheduleRuns,
|
||||
@@ -359,6 +361,10 @@ export class ScheduleService {
|
||||
return listEnabledScheduleJobs(this.db)
|
||||
}
|
||||
|
||||
listAllJobsWithRepos(): ScheduleJobWithRepo[] {
|
||||
return listAllScheduleJobsWithRepos(this.db)
|
||||
}
|
||||
|
||||
async recoverRunningRuns(): Promise<void> {
|
||||
const runningRuns = listRunningScheduleRuns(this.db)
|
||||
|
||||
|
||||
Reference in new issue
Block a user