@midwayjs/bull-board 3.19.2 → 4.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/board.manager.js
CHANGED
|
@@ -28,8 +28,8 @@ let BullBoardManager = class BullBoardManager {
|
|
|
28
28
|
this.bullBoard.setQueues(newBullQueues);
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
|
-
BullBoardManager =
|
|
31
|
+
exports.BullBoardManager = BullBoardManager;
|
|
32
|
+
exports.BullBoardManager = BullBoardManager = __decorate([
|
|
32
33
|
(0, core_1.Singleton)()
|
|
33
34
|
], BullBoardManager);
|
|
34
|
-
exports.BullBoardManager = BullBoardManager;
|
|
35
35
|
//# sourceMappingURL=board.manager.js.map
|
package/dist/board.middleware.js
CHANGED
|
@@ -52,7 +52,7 @@ let BoardMiddleware = class BoardMiddleware {
|
|
|
52
52
|
this.bullBoardManager.setBullBoard(bullBoard);
|
|
53
53
|
}
|
|
54
54
|
resolve(app) {
|
|
55
|
-
if (
|
|
55
|
+
if ('express' === app.getNamespace()) {
|
|
56
56
|
return async (req, res, next) => {
|
|
57
57
|
const pathname = req.path;
|
|
58
58
|
if (pathname.indexOf(this.basePath) === -1) {
|
|
@@ -137,6 +137,7 @@ let BoardMiddleware = class BoardMiddleware {
|
|
|
137
137
|
return 'bull-board-ui';
|
|
138
138
|
}
|
|
139
139
|
};
|
|
140
|
+
exports.BoardMiddleware = BoardMiddleware;
|
|
140
141
|
__decorate([
|
|
141
142
|
(0, core_1.Inject)(),
|
|
142
143
|
__metadata("design:type", bull.Framework)
|
|
@@ -155,9 +156,8 @@ __decorate([
|
|
|
155
156
|
__metadata("design:paramtypes", []),
|
|
156
157
|
__metadata("design:returntype", Promise)
|
|
157
158
|
], BoardMiddleware.prototype, "init", null);
|
|
158
|
-
BoardMiddleware = __decorate([
|
|
159
|
+
exports.BoardMiddleware = BoardMiddleware = __decorate([
|
|
159
160
|
(0, core_1.Provide)(),
|
|
160
161
|
(0, core_1.Scope)(core_1.ScopeEnum.Singleton)
|
|
161
162
|
], BoardMiddleware);
|
|
162
|
-
exports.BoardMiddleware = BoardMiddleware;
|
|
163
163
|
//# sourceMappingURL=board.middleware.js.map
|
package/dist/configuration.js
CHANGED
|
@@ -27,6 +27,7 @@ let BullBoardConfiguration = class BullBoardConfiguration {
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
|
+
exports.BullBoardConfiguration = BullBoardConfiguration;
|
|
30
31
|
__decorate([
|
|
31
32
|
(0, core_1.Inject)(),
|
|
32
33
|
__metadata("design:type", core_1.MidwayApplicationManager)
|
|
@@ -35,7 +36,7 @@ __decorate([
|
|
|
35
36
|
(0, core_1.Inject)(),
|
|
36
37
|
__metadata("design:type", core_1.MidwayConfigService)
|
|
37
38
|
], BullBoardConfiguration.prototype, "configService", void 0);
|
|
38
|
-
BullBoardConfiguration = __decorate([
|
|
39
|
+
exports.BullBoardConfiguration = BullBoardConfiguration = __decorate([
|
|
39
40
|
(0, core_1.Configuration)({
|
|
40
41
|
namespace: 'bull-board',
|
|
41
42
|
imports: [bull],
|
|
@@ -54,5 +55,4 @@ BullBoardConfiguration = __decorate([
|
|
|
54
55
|
],
|
|
55
56
|
})
|
|
56
57
|
], BullBoardConfiguration);
|
|
57
|
-
exports.BullBoardConfiguration = BullBoardConfiguration;
|
|
58
58
|
//# sourceMappingURL=configuration.js.map
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midwayjs/bull-board",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-alpha.1",
|
|
4
4
|
"description": "midway component for bull",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "tsc",
|
|
9
|
-
"test": "node
|
|
10
|
-
"cov": "node
|
|
9
|
+
"test": "node -r ts-node/register ../../node_modules/jest/bin/jest.js --runInBand",
|
|
10
|
+
"cov": "node -r ts-node/register ../../node_modules/jest/bin/jest.js --runInBand --coverage --forceExit"
|
|
11
11
|
},
|
|
12
12
|
"keywords": [
|
|
13
13
|
"midway",
|
|
@@ -24,19 +24,19 @@
|
|
|
24
24
|
],
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@midwayjs/core": "^
|
|
28
|
-
"@midwayjs/express": "^
|
|
29
|
-
"@midwayjs/koa": "^
|
|
30
|
-
"@midwayjs/mock": "^
|
|
27
|
+
"@midwayjs/core": "^4.0.0-alpha.1",
|
|
28
|
+
"@midwayjs/express": "^4.0.0-alpha.1",
|
|
29
|
+
"@midwayjs/koa": "^4.0.0-alpha.1",
|
|
30
|
+
"@midwayjs/mock": "^4.0.0-alpha.1"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@bull-board/api": "5.23.0",
|
|
34
34
|
"@bull-board/ui": "5.23.0",
|
|
35
|
-
"@midwayjs/bull": "^
|
|
35
|
+
"@midwayjs/bull": "^4.0.0-alpha.1",
|
|
36
36
|
"ejs": "3.1.10"
|
|
37
37
|
},
|
|
38
38
|
"engines": {
|
|
39
39
|
"node": ">=12"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "14bb4da91805a1cf52f190c0d37a74b395dd6372"
|
|
42
42
|
}
|