Files
boc/landvex/node_modules/bull-board/dist/queueAdapters/bullMQ.js
T
Bernt 6989a98d75 feat: Passwordless cross-device authentication
- 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
2026-07-07 07:11:50 +00:00

34 lines
971 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BullMQAdapter = void 0;
const base_1 = require("./base");
class BullMQAdapter extends base_1.BaseAdapter {
constructor(queue, options = {}) {
super(options);
this.queue = queue;
this.LIMIT = 1000;
}
getClient() {
return this.queue.client;
}
getName() {
return this.queue.name;
}
clean(jobStatus, graceTimeMs) {
return this.queue.clean(graceTimeMs, this.LIMIT, jobStatus);
}
getJob(id) {
return this.queue.getJob(id);
}
getJobs(jobStatuses, start, end) {
return this.queue.getJobs(jobStatuses, start, end);
}
getJobCounts(...jobStatuses) {
return this.queue.getJobCounts(...jobStatuses);
}
getJobLogs(id) {
return this.queue.getJobLogs(id).then(({ logs }) => logs);
}
}
exports.BullMQAdapter = BullMQAdapter;
//# sourceMappingURL=bullMQ.js.map