ts-sidekiq 0.0.2 → 0.0.4
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/build/index.d.ts +1 -1
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/build/types.d.ts +28 -31
- package/build/types.js +3 -0
- package/build/types.js.map +1 -0
- package/package.json +2 -2
package/build/index.d.ts
CHANGED
package/build/index.js
CHANGED
|
@@ -17,9 +17,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.
|
|
20
|
+
exports.Dashboard = void 0;
|
|
21
21
|
__exportStar(require("./types"), exports);
|
|
22
22
|
var dashboard_1 = require("./dashboard");
|
|
23
|
-
Object.defineProperty(exports, "
|
|
23
|
+
Object.defineProperty(exports, "Dashboard", { enumerable: true, get: function () { return __importDefault(dashboard_1).default; } });
|
|
24
24
|
__exportStar(require("./redis-client"), exports);
|
|
25
25
|
//# sourceMappingURL=index.js.map
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,yCAAmD;AAA1C,uHAAA,OAAO,OAAa;AAC7B,iDAA+B"}
|
package/build/types.d.ts
CHANGED
|
@@ -1,43 +1,40 @@
|
|
|
1
1
|
export type Queue = {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
queue: string;
|
|
3
|
+
size: number;
|
|
4
4
|
};
|
|
5
|
-
|
|
6
5
|
export type Stat = {
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
stat: string;
|
|
7
|
+
value: string;
|
|
9
8
|
};
|
|
10
|
-
|
|
11
9
|
export type Info = {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
10
|
+
hostname: string;
|
|
11
|
+
started_at: number;
|
|
12
|
+
pid: number;
|
|
13
|
+
tag: string;
|
|
14
|
+
concurrency: number;
|
|
15
|
+
queues: string[];
|
|
16
|
+
weights: {
|
|
17
|
+
[key: string]: number;
|
|
18
|
+
}[];
|
|
19
|
+
labels: string[];
|
|
20
|
+
identity: string;
|
|
21
|
+
version: string;
|
|
22
|
+
embedded: boolean;
|
|
23
23
|
};
|
|
24
|
-
|
|
25
24
|
export type ProcessInfo = {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
25
|
+
rss: string;
|
|
26
|
+
quiet: string;
|
|
27
|
+
info: string;
|
|
28
|
+
busy: string;
|
|
29
|
+
beat: string;
|
|
30
|
+
rtt_us: string;
|
|
32
31
|
};
|
|
33
|
-
|
|
34
32
|
export type Process = {
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
processKey: string;
|
|
34
|
+
processInfo: ProcessInfo;
|
|
37
35
|
};
|
|
38
|
-
|
|
39
36
|
export type Data = {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
37
|
+
queues: Queue[];
|
|
38
|
+
stats: Stat[];
|
|
39
|
+
processes: Process[];
|
|
43
40
|
};
|
package/build/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ts-sidekiq",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "manage sidekiq",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"files": [
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"build"
|
|
12
12
|
],
|
|
13
13
|
"scripts": {
|
|
14
|
-
"build": "tsc
|
|
14
|
+
"build": "tsc",
|
|
15
15
|
"test": "jest",
|
|
16
16
|
"prepare": "npm run build",
|
|
17
17
|
"start-express": "ts-node debug-server.ts",
|