(scheduleId: string, limit = 10)
| 256 | } |
| 257 | |
| 258 | recentRuns(scheduleId: string, limit = 10): ScheduleRun[] { |
| 259 | return this.db.prepare( |
| 260 | `SELECT * FROM schedule_runs WHERE schedule_id = ? ORDER BY started_at DESC LIMIT ?`, |
| 261 | ).all(scheduleId, limit) as ScheduleRun[]; |
| 262 | } |
| 263 | } |
| 264 | |
| 265 | let _store: ScheduleStore | null = null; |
no outgoing calls
no test coverage detected