add v2 services

This commit is contained in:
Alex Holliday committed 2025-09-23 15:22:08 -07:00
1 parent 35a712eafb
commit 68f4adfbfe
24 files changed
+3132

No files matched your search

@@ -0,0 +1,23 @@
import { IJobQueue } from "../infrastructure/JobQueue.js";
class QueueService {
private jobQueue: IJobQueue;
constructor(jobQueue: IJobQueue) {
this.jobQueue = jobQueue;
}
async getMetrics() {
return await this.jobQueue.getMetrics();
}
async getJobs() {
return await this.jobQueue.getJobs();
}
async flush() {
return await this.jobQueue.flush();
}
}
export default QueueService;