{"version":3,"sources":["jsdelivr-header.js","/npm/@setten/bull-queue@1.0.1/build/providers/QueueProvider.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA;;;;;;GAOA,OAAO,eAAe,QAAS,aAAc,CAAE,OAAO,IACtD,MAAM,QAAU,QAAQ,gBACxB,MAAM,cACF,WAAA,CAAY,GACR,OAAO,eAAe,KAAM,MAAO,CAC/B,YAAY,EACZ,cAAc,EACd,UAAU,EACV,MAAO,GAEf,CACA,IAAA,GACI,KAAK,IAAI,UAAU,UAAU,gBAAgB,KACzC,MAAM,EAAS,KAAK,IAAI,UAAU,eAAe,sBAAsB,IAAI,SAAS,OAC9E,EAAS,KAAK,IAAI,UAAU,eAAe,sBAC3C,EAAc,KAAK,IAAI,UAAU,eAAe,2BACtD,MAAO,CACH,MAAO,IAAI,QAAQ,YAAY,EAAQ,EAAQ,GAClD,GAET,EAEJ,QAAQ,QAAU","file":"/npm/@setten/bull-queue@1.0.1/build/providers/QueueProvider.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/@setten/bull-queue@1.0.1/build/providers/QueueProvider.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","\"use strict\";\r\n/**\r\n * @setten/bull-queue\r\n *\r\n * @license MIT\r\n * @copyright Setten - Romain Lanz <romain.lanz@setten.io>\r\n */\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nconst Queue_1 = require(\"../src/Queue\");\r\nclass QueueProvider {\r\n    constructor(app) {\r\n        Object.defineProperty(this, \"app\", {\r\n            enumerable: true,\r\n            configurable: true,\r\n            writable: true,\r\n            value: app\r\n        });\r\n    }\r\n    boot() {\r\n        this.app.container.singleton('Setten/Queue', () => {\r\n            const config = this.app.container.resolveBinding('Adonis/Core/Config').get('queue').config;\r\n            const logger = this.app.container.resolveBinding('Adonis/Core/Logger');\r\n            const application = this.app.container.resolveBinding('Adonis/Core/Application');\r\n            return {\r\n                Queue: new Queue_1.BullManager(config, logger, application),\r\n            };\r\n        });\r\n    }\r\n}\r\nexports.default = QueueProvider;\r\n"]}