6989a98d75
- Arkitektur: docs/auth/passwordless-architecture.md - Backend: iom/quixzoom-auth-service/ (FastAPI + Redis) - Webb: quixzoom-market-pages/se/login/ (QR-kod + polling) - App: iom/quixzoom-app/src/features/auth/ (push + deep links) Flöde: QR-kod → app-godkännande → webb-inloggad
34 lines
992 B
JavaScript
34 lines
992 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.BullAdapter = void 0;
|
|
const base_1 = require("./base");
|
|
class BullAdapter extends base_1.BaseAdapter {
|
|
constructor(queue, options = {}) {
|
|
super(options);
|
|
this.queue = queue;
|
|
}
|
|
getClient() {
|
|
return Promise.resolve(this.queue.client);
|
|
}
|
|
getName() {
|
|
return this.queue.name;
|
|
}
|
|
clean(jobStatus, graceTimeMs) {
|
|
return this.queue.clean(graceTimeMs, jobStatus);
|
|
}
|
|
getJob(id) {
|
|
return this.queue.getJob(id);
|
|
}
|
|
getJobs(jobStatuses, start, end) {
|
|
return this.queue.getJobs(jobStatuses, start, end);
|
|
}
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
getJobCounts(..._jobStatuses) {
|
|
return this.queue.getJobCounts();
|
|
}
|
|
getJobLogs(id) {
|
|
return this.queue.getJobLogs(id).then(({ logs }) => logs);
|
|
}
|
|
}
|
|
exports.BullAdapter = BullAdapter;
|
|
//# sourceMappingURL=bull.js.map
|