@zintrust/queue-monitor 2.0.1 → 2.1.3
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/QueueMonitoringService.d.ts +1 -1
- package/dist/QueueMonitoringService.js +1 -1
- package/dist/build-manifest.json +25 -25
- package/dist/connection.d.ts +2 -2
- package/dist/connection.js +1 -1
- package/dist/driver.js +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -1
- package/dist/metrics.js +1 -1
- package/dist/runtime-index.js +5 -1
- package/dist/worker.js +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IRequest, IResponse } from '@zintrust/core';
|
|
1
|
+
import type { IRequest, IResponse } from '@zintrust/core/http';
|
|
2
2
|
import type { QueueDriver } from './driver';
|
|
3
3
|
import type { LockAnalytics, QueueMonitorSnapshot } from './index';
|
|
4
4
|
import type { JobSummary, Metrics } from './metrics';
|
package/dist/build-manifest.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zintrust/queue-monitor",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"buildDate": "2026-05-
|
|
3
|
+
"version": "2.1.3",
|
|
4
|
+
"buildDate": "2026-05-27T04:06:48.857Z",
|
|
5
5
|
"buildEnvironment": {
|
|
6
6
|
"node": "v22.22.1",
|
|
7
7
|
"platform": "darwin",
|
|
8
8
|
"arch": "arm64"
|
|
9
9
|
},
|
|
10
10
|
"git": {
|
|
11
|
-
"commit": "
|
|
11
|
+
"commit": "c82f6263",
|
|
12
12
|
"branch": "release"
|
|
13
13
|
},
|
|
14
14
|
"package": {
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"sha256": "33e57f6cec15b8dcb5886ca92644139d2e3ca1789aae1c3a4a066d75a273a6bb"
|
|
34
34
|
},
|
|
35
35
|
"QueueMonitoringService.d.ts": {
|
|
36
|
-
"size":
|
|
37
|
-
"sha256": "
|
|
36
|
+
"size": 1689,
|
|
37
|
+
"sha256": "02c48a81818833e049fa8606014b0af2f8cbd04ec57f0be874873da24f72e2b9"
|
|
38
38
|
},
|
|
39
39
|
"QueueMonitoringService.js": {
|
|
40
|
-
"size":
|
|
41
|
-
"sha256": "
|
|
40
|
+
"size": 8935,
|
|
41
|
+
"sha256": "c099e8922dd5642bce33a7db4b4a98641cab16e45a4ab76f989ef76a1178700e"
|
|
42
42
|
},
|
|
43
43
|
"api/workerClient.d.ts": {
|
|
44
44
|
"size": 597,
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"sha256": "60f993a42f4a9dd5000b01dae3b0f105a8f4348da8433a735b5cc1929a8f64ce"
|
|
50
50
|
},
|
|
51
51
|
"build-manifest.json": {
|
|
52
|
-
"size":
|
|
53
|
-
"sha256": "
|
|
52
|
+
"size": 5228,
|
|
53
|
+
"sha256": "4950be04d3c30e53ac2abd01e6bfe05f6c3ffcdd7c7250f89fb067ad7db39896"
|
|
54
54
|
},
|
|
55
55
|
"config/queueMonitor.d.ts": {
|
|
56
56
|
"size": 407,
|
|
@@ -69,12 +69,12 @@
|
|
|
69
69
|
"sha256": "ca1c6dbaa751893f0e6b7c8a7fd41a80f7d5e8fc9aaaa4877ca12821bb25f56f"
|
|
70
70
|
},
|
|
71
71
|
"connection.d.ts": {
|
|
72
|
-
"size":
|
|
73
|
-
"sha256": "
|
|
72
|
+
"size": 287,
|
|
73
|
+
"sha256": "dcc6ea45e59b0a2e8844b27f466dff4849618c06b74aae62a99c8edd772d0db0"
|
|
74
74
|
},
|
|
75
75
|
"connection.js": {
|
|
76
|
-
"size":
|
|
77
|
-
"sha256": "
|
|
76
|
+
"size": 178,
|
|
77
|
+
"sha256": "ff387351f5b8c7c14a7f2ef817fbbb065ad677faffcb47e5e8ddc4b064747e5b"
|
|
78
78
|
},
|
|
79
79
|
"dashboard-index.d.ts": {
|
|
80
80
|
"size": 180,
|
|
@@ -105,16 +105,16 @@
|
|
|
105
105
|
"sha256": "70b74e7a0489da3a5545dfd8458ab5b4def1f3733c291a782c033fed0afd0bcf"
|
|
106
106
|
},
|
|
107
107
|
"driver.js": {
|
|
108
|
-
"size":
|
|
109
|
-
"sha256": "
|
|
108
|
+
"size": 5211,
|
|
109
|
+
"sha256": "e1ba94425ab8f00cb8c34fde73fa447fe239966f2e6484d470c09b23f0931c17"
|
|
110
110
|
},
|
|
111
111
|
"index.d.ts": {
|
|
112
|
-
"size":
|
|
113
|
-
"sha256": "
|
|
112
|
+
"size": 2166,
|
|
113
|
+
"sha256": "384c5772e26ed721b5c0fffafe6a03f0385df8414058c9c944d742b4c0301ac4"
|
|
114
114
|
},
|
|
115
115
|
"index.js": {
|
|
116
|
-
"size":
|
|
117
|
-
"sha256": "
|
|
116
|
+
"size": 14603,
|
|
117
|
+
"sha256": "600478b203c190df631f01b04852d8e1e784bd7f18177b8a9218e99489ce527b"
|
|
118
118
|
},
|
|
119
119
|
"metrics-index.d.ts": {
|
|
120
120
|
"size": 233,
|
|
@@ -129,8 +129,8 @@
|
|
|
129
129
|
"sha256": "6467795f6de818a1f295c42755005e394f25b145163c7678d6ac9ac1f9477fea"
|
|
130
130
|
},
|
|
131
131
|
"metrics.js": {
|
|
132
|
-
"size":
|
|
133
|
-
"sha256": "
|
|
132
|
+
"size": 3478,
|
|
133
|
+
"sha256": "43cbce7fcf4db9c7e25806db716b6b20340fc29d0c29daec92bc40cc9f1e520d"
|
|
134
134
|
},
|
|
135
135
|
"routes/workers.d.ts": {
|
|
136
136
|
"size": 477,
|
|
@@ -145,16 +145,16 @@
|
|
|
145
145
|
"sha256": "e5d5c3475a7caec57f9e1a61bffb11038858e2c3f7be03e04ca28b8295e878fc"
|
|
146
146
|
},
|
|
147
147
|
"runtime-index.js": {
|
|
148
|
-
"size":
|
|
149
|
-
"sha256": "
|
|
148
|
+
"size": 8924,
|
|
149
|
+
"sha256": "494757d540fe57507ac59ef2935ad683cb14fa57dbe188ffe3e6dd9fe3cb1ea9"
|
|
150
150
|
},
|
|
151
151
|
"worker.d.ts": {
|
|
152
152
|
"size": 332,
|
|
153
153
|
"sha256": "97cddbc991c6e6724950090cd92f06671932ab848c16dd94a030d9fba3fbae26"
|
|
154
154
|
},
|
|
155
155
|
"worker.js": {
|
|
156
|
-
"size":
|
|
157
|
-
"sha256": "
|
|
156
|
+
"size": 1239,
|
|
157
|
+
"sha256": "46f116eb169fca1dc6dfd48d299001635c48a2da8d6e10115a98fcd33187b53e"
|
|
158
158
|
},
|
|
159
159
|
"workers-ui.d.ts": {
|
|
160
160
|
"size": 214,
|
package/dist/connection.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { createRedisConnection as createCoreRedisConnection } from '@zintrust/core';
|
|
2
|
-
export type { RedisConfig }
|
|
1
|
+
import { createRedisConnection as createCoreRedisConnection, type RedisConfig } from '@zintrust/core/redis';
|
|
2
|
+
export type { RedisConfig };
|
|
3
3
|
export declare const createRedisConnection: (...args: Parameters<typeof createCoreRedisConnection>) => ReturnType<typeof createCoreRedisConnection>;
|
package/dist/connection.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { createRedisConnection as createCoreRedisConnection } from '@zintrust/core';
|
|
1
|
+
import { createRedisConnection as createCoreRedisConnection, } from '@zintrust/core/redis';
|
|
2
2
|
export const createRedisConnection = (...args) => createCoreRedisConnection(...args);
|
package/dist/driver.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ErrorFactory
|
|
1
|
+
import { ErrorFactory } from '@zintrust/core/errors';
|
|
2
|
+
import { getBullMQSafeQueueName } from '@zintrust/core/redis';
|
|
2
3
|
import { Queue } from 'bullmq';
|
|
3
4
|
import { createRedisConnection } from './connection';
|
|
4
5
|
async function enrichJobsWithState(jobs) {
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
import { Env,
|
|
1
|
+
import { Env, queueConfig } from '@zintrust/core/config';
|
|
2
|
+
import { Router, } from '@zintrust/core/http';
|
|
3
|
+
import { Logger } from '@zintrust/core/logger';
|
|
4
|
+
import { resolveLockPrefix } from '@zintrust/core/queue';
|
|
5
|
+
import { isNonEmptyString } from '@zintrust/core/utils';
|
|
6
|
+
import { ShutdownTrace } from '@zintrust/core/workers';
|
|
2
7
|
import { createRedisConnection } from './connection';
|
|
3
8
|
import { getDashboardHtml } from './dashboard-ui';
|
|
4
9
|
import { createBullMQDriver } from './driver';
|
package/dist/metrics.js
CHANGED
package/dist/runtime-index.js
CHANGED
|
@@ -2,7 +2,11 @@
|
|
|
2
2
|
* Queue Monitor - Runtime-only entrypoint for production Workers
|
|
3
3
|
* Excludes dashboard UI components that are not needed for runtime
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { queueConfig } from '@zintrust/core/config';
|
|
6
|
+
import { Logger } from '@zintrust/core/logger';
|
|
7
|
+
import { resolveLockPrefix } from '@zintrust/core/queue';
|
|
8
|
+
import { isNonEmptyString } from '@zintrust/core/utils';
|
|
9
|
+
import { ShutdownTrace } from '@zintrust/core/workers';
|
|
6
10
|
import { createRedisConnection } from './connection';
|
|
7
11
|
import { createBullMQDriver } from './driver';
|
|
8
12
|
import { createMetrics } from './metrics';
|
package/dist/worker.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getBullMQSafeQueueName } from '@zintrust/core';
|
|
1
|
+
import { getBullMQSafeQueueName } from '@zintrust/core/redis';
|
|
2
2
|
import { Worker } from 'bullmq';
|
|
3
3
|
import { createRedisConnection } from './connection';
|
|
4
4
|
export const createWorker = (queueName, processor, redisConfig, metrics) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zintrust/queue-monitor",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.3",
|
|
4
4
|
"description": "Queue monitoring package for ZinTrust with BullMQ and Redis.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -56,4 +56,4 @@
|
|
|
56
56
|
"bullmq": "^5.76.8",
|
|
57
57
|
"ioredis": "^5.10.1"
|
|
58
58
|
}
|
|
59
|
-
}
|
|
59
|
+
}
|