Socket
Socket
Sign inDemoInstall

@bull-board/api

Package Overview
Dependencies
Maintainers
1
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bull-board/api - npm Package Compare versions

Comparing version 5.21.7 to 5.22.0

dist/src/handlers/updateJobData.d.ts

3

dist/src/handlers/entryPoint.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.entryPoint = entryPoint;
exports.entryPoint = void 0;
function entryPoint(params) {

@@ -21,2 +21,3 @@ var _a, _b;

}
exports.entryPoint = entryPoint;
//# sourceMappingURL=entryPoint.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.errorHandler = errorHandler;
exports.errorHandler = void 0;
function errorHandler(error) {

@@ -14,2 +14,3 @@ return {

}
exports.errorHandler = errorHandler;
//# sourceMappingURL=error.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.formatJob = void 0;
exports.queuesHandler = queuesHandler;
exports.queuesHandler = exports.formatJob = void 0;
const formatJob = (job, queue) => {

@@ -76,2 +75,3 @@ const jobProps = job.toJSON();

}
exports.queuesHandler = queuesHandler;
//# sourceMappingURL=queues.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.redisStatsHandler = redisStatsHandler;
exports.redisStatsHandler = void 0;
const redis_info_1 = require("redis-info");

@@ -33,2 +33,3 @@ async function getStats(queue) {

}
exports.redisStatsHandler = redisStatsHandler;
//# sourceMappingURL=redisStats.js.map

@@ -8,6 +8,6 @@ import { BoardOptions, IServerAdapter } from '../typings/app';

}): {
setQueues: (newBullQueues: ReadonlyArray<BaseAdapter>) => void;
replaceQueues: (newBullQueues: ReadonlyArray<BaseAdapter>) => void;
setQueues: (newBullQueues: readonly BaseAdapter[]) => void;
replaceQueues: (newBullQueues: readonly BaseAdapter[]) => void;
addQueue: (queue: BaseAdapter) => void;
removeQueue: (queueOrName: string | BaseAdapter) => void;
};

@@ -6,3 +6,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.createBullBoard = createBullBoard;
exports.createBullBoard = void 0;
const path_1 = __importDefault(require("path"));

@@ -32,2 +32,3 @@ const error_1 = require("./handlers/error");

}
exports.createBullBoard = createBullBoard;
//# sourceMappingURL=index.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.jobProvider = jobProvider;
exports.jobProvider = void 0;
function jobProvider(next) {

@@ -19,2 +19,3 @@ return async (req, queue) => {

}
exports.jobProvider = jobProvider;
//# sourceMappingURL=job.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.queueProvider = queueProvider;
exports.queueProvider = void 0;
function queueProvider(next, { skipReadOnlyModeCheck = false, } = {}) {

@@ -20,2 +20,3 @@ return async (req) => {

}
exports.queueProvider = queueProvider;
//# sourceMappingURL=queue.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getQueuesApi = getQueuesApi;
exports.getQueuesApi = void 0;
function getQueuesApi(queues) {

@@ -32,2 +32,3 @@ const bullBoardQueues = new Map();

}
exports.getQueuesApi = getQueuesApi;
//# sourceMappingURL=queuesApi.js.map

@@ -19,2 +19,3 @@ "use strict";

const promoteAll_1 = require("./handlers/promoteAll");
const updateJobData_1 = require("./handlers/updateJobData");
exports.appRoutes = {

@@ -89,4 +90,9 @@ entryPoint: {

},
{
method: 'patch',
route: '/api/queues/:queueName/:jobId/update-data',
handler: updateJobData_1.updateJobDataHandler,
},
],
};
//# sourceMappingURL=routes.js.map

@@ -29,2 +29,4 @@ import { RedisInfo } from 'redis-info';

getState(): Promise<Status | 'stuck' | 'waiting-children' | 'prioritized' | 'unknown'>;
update?(jobData: Record<string, any>): Promise<void>;
updateData?(jobData: Record<string, any>): Promise<void>;
}

@@ -100,3 +102,3 @@ export interface QueueJobJson {

}
export type HTTPMethod = 'get' | 'post' | 'put';
export type HTTPMethod = 'get' | 'post' | 'put' | 'patch';
export type HTTPStatus = 200 | 204 | 404 | 405 | 500;

@@ -103,0 +105,0 @@ export interface BullBoardRequest {

{
"name": "@bull-board/api",
"version": "5.21.7",
"version": "5.22.0",
"description": "A Dashboard server API built on top of bull or bullmq.",

@@ -42,3 +42,3 @@ "keywords": [

"peerDependencies": {
"@bull-board/ui": "5.21.7"
"@bull-board/ui": "5.22.0"
},

@@ -45,0 +45,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc