@bull-board/api
Advanced tools
Comparing version 5.4.0 to 5.5.0
@@ -5,2 +5,3 @@ "use strict"; | ||
function entryPoint(params) { | ||
var _a, _b; | ||
const basePath = params.basePath.endsWith('/') ? params.basePath : `${params.basePath}/`; | ||
@@ -12,3 +13,9 @@ const uiConfig = JSON.stringify(params.uiConfig) | ||
name: 'index.ejs', | ||
params: { basePath, uiConfig, title: params.uiConfig.boardTitle }, | ||
params: { | ||
basePath, | ||
uiConfig, | ||
title: params.uiConfig.boardTitle, | ||
favIconDefault: (_a = params.uiConfig.favIcon) === null || _a === void 0 ? void 0 : _a.default, | ||
favIconAlternative: (_b = params.uiConfig.favIcon) === null || _b === void 0 ? void 0 : _b.alternative, | ||
}, | ||
}; | ||
@@ -15,0 +22,0 @@ } |
@@ -20,2 +20,6 @@ "use strict"; | ||
boardTitle: 'Bull Dashboard', | ||
favIcon: { | ||
default: 'static/images/logo.svg', | ||
alternative: 'static/favicon-32x32.png', | ||
}, | ||
...options.uiConfig, | ||
@@ -22,0 +26,0 @@ }) |
@@ -151,2 +151,7 @@ import { RedisInfo } from 'redis-info'; | ||
miscLinks: Array<IMiscLink>; | ||
favIcon: FavIcon; | ||
}>; | ||
export type FavIcon = { | ||
default: string; | ||
alternative: string; | ||
}; |
{ | ||
"name": "@bull-board/api", | ||
"version": "5.4.0", | ||
"version": "5.5.0", | ||
"description": "A Dashboard server API built on top of bull or bullmq.", | ||
@@ -40,3 +40,3 @@ "keywords": [ | ||
"peerDependencies": { | ||
"@bull-board/ui": "5.4.0" | ||
"@bull-board/ui": "5.5.0" | ||
}, | ||
@@ -43,0 +43,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55171
885