redis-smq-rest-api 9.0.0-next.14 → 9.0.0-next.16
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/CHANGELOG.md +16 -0
- package/dist/cjs/src/controllers/configuration/getConfigurationController.test.js +1 -1
- package/dist/cjs/src/controllers/configuration/getConfigurationController.test.js.map +1 -1
- package/dist/cjs/src/errors/errors.d.ts +2 -3
- package/dist/cjs/src/errors/errors.d.ts.map +1 -1
- package/dist/cjs/src/errors/errors.js +4 -5
- package/dist/cjs/src/errors/errors.js.map +1 -1
- package/dist/esm/src/controllers/configuration/getConfigurationController.test.js +1 -1
- package/dist/esm/src/controllers/configuration/getConfigurationController.test.js.map +1 -1
- package/dist/esm/src/errors/errors.d.ts +2 -3
- package/dist/esm/src/errors/errors.d.ts.map +1 -1
- package/dist/esm/src/errors/errors.js +4 -5
- package/dist/esm/src/errors/errors.js.map +1 -1
- package/dist/schema.json +42 -70
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [9.0.0-next.16](https://github.com/weyoss/redis-smq/compare/v9.0.0-next.15...v9.0.0-next.16) (2025-11-05)
|
|
7
|
+
|
|
8
|
+
### ♻️ Code Refactoring
|
|
9
|
+
|
|
10
|
+
- **redis-smq-rest-api:** remove QueueExplorerError from API error list ([687e116](https://github.com/weyoss/redis-smq/commit/687e1165ac9b17c5d331b7ff4b42b59f7ac5db17))
|
|
11
|
+
|
|
12
|
+
## [9.0.0-next.15](https://github.com/weyoss/redis-smq/compare/v9.0.0-next.14...v9.0.0-next.15) (2025-10-31)
|
|
13
|
+
|
|
14
|
+
### ♻️ Code Refactoring
|
|
15
|
+
|
|
16
|
+
- **redis-smq-rest-api:** update message audit config and error classes ([03bbced](https://github.com/weyoss/redis-smq/commit/03bbced8a687fbf41cbaae57aa455318b5db4da5))
|
|
17
|
+
|
|
18
|
+
### ✅ Tests
|
|
19
|
+
|
|
20
|
+
- **redis-smq-rest-api:** fix expected configuration object keys ([d72049a](https://github.com/weyoss/redis-smq/commit/d72049a7aa0e82823b491ad053088cb446d37642))
|
|
21
|
+
|
|
6
22
|
## [9.0.0-next.14](https://github.com/weyoss/redis-smq/compare/v9.0.0-next.13...v9.0.0-next.14) (2025-10-28)
|
|
7
23
|
|
|
8
24
|
### ⚠ BREAKING CHANGES
|
|
@@ -21,7 +21,7 @@ const config_js_1 = require("../../../tests/common/config.js");
|
|
|
21
21
|
const request = (0, supertest_1.default)(`http://127.0.0.1:${(_a = config_js_1.config.apiServer) === null || _a === void 0 ? void 0 : _a.port}`);
|
|
22
22
|
const response1 = yield request.get('/api/v1/config');
|
|
23
23
|
(0, vitest_1.expect)(response1.status).toEqual(200);
|
|
24
|
-
(0, vitest_1.expect)(Object.keys((_c = (_b = response1.body) === null || _b === void 0 ? void 0 : _b.data) !== null && _c !== void 0 ? _c : {}).sort()).toEqual(['namespace', 'redis', 'logger', 'eventBus', '
|
|
24
|
+
(0, vitest_1.expect)(Object.keys((_c = (_b = response1.body) === null || _b === void 0 ? void 0 : _b.data) !== null && _c !== void 0 ? _c : {}).sort()).toEqual(['namespace', 'redis', 'logger', 'eventBus', 'messageAudit'].sort());
|
|
25
25
|
}));
|
|
26
26
|
});
|
|
27
27
|
//# sourceMappingURL=getConfigurationController.test.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getConfigurationController.test.js","sourceRoot":"","sources":["../../../../../src/controllers/configuration/getConfigurationController.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AASA,0DAAkC;AAClC,mCAA8C;AAC9C,+DAAyD;AAIzD,IAAA,iBAAQ,EAAC,4BAA4B,EAAE,GAAG,EAAE;IAC1C,IAAA,WAAE,EAAC,aAAa,EAAE,GAAS,EAAE;;QAC3B,MAAM,OAAO,GAAG,IAAA,mBAAS,EAAC,oBAAoB,MAAA,kBAAM,CAAC,SAAS,0CAAE,IAAI,EAAE,CAAC,CAAC;QACxE,MAAM,SAAS,GACb,MAAM,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;QACtC,IAAA,eAAM,EAAC,SAAS,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACtC,IAAA,eAAM,EAAC,MAAM,CAAC,IAAI,CAAC,MAAA,MAAA,SAAS,CAAC,IAAI,0CAAE,IAAI,mCAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAC5D,CAAC,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"getConfigurationController.test.js","sourceRoot":"","sources":["../../../../../src/controllers/configuration/getConfigurationController.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AASA,0DAAkC;AAClC,mCAA8C;AAC9C,+DAAyD;AAIzD,IAAA,iBAAQ,EAAC,4BAA4B,EAAE,GAAG,EAAE;IAC1C,IAAA,WAAE,EAAC,aAAa,EAAE,GAAS,EAAE;;QAC3B,MAAM,OAAO,GAAG,IAAA,mBAAS,EAAC,oBAAoB,MAAA,kBAAM,CAAC,SAAS,0CAAE,IAAI,EAAE,CAAC,CAAC;QACxE,MAAM,SAAS,GACb,MAAM,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;QACtC,IAAA,eAAM,EAAC,SAAS,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACtC,IAAA,eAAM,EAAC,MAAM,CAAC,IAAI,CAAC,MAAA,MAAA,SAAS,CAAC,IAAI,0CAAE,IAAI,mCAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAC5D,CAAC,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC,IAAI,EAAE,CACpE,CAAC;IACJ,CAAC,CAAA,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const errors: {
|
|
2
2
|
readonly ConfigurationError: readonly [400, "ConfigurationError"];
|
|
3
|
-
readonly
|
|
4
|
-
readonly
|
|
3
|
+
readonly ConfigurationMessageAuditExpireError: readonly [400, "ConfigurationMessageAuditExpireError"];
|
|
4
|
+
readonly ConfigurationMessageAuditQueueSizeError: readonly [400, "ConfigurationMessageAuditQueueSizeError"];
|
|
5
5
|
readonly ConfigurationNamespaceError: readonly [400, "ConfigurationNamespaceError"];
|
|
6
6
|
readonly ConsumerError: readonly [500, "ConsumerError"];
|
|
7
7
|
readonly ConsumerGroupNotEmptyError: readonly [409, "ConsumerGroupNotEmptyError"];
|
|
@@ -47,7 +47,6 @@ export declare const errors: {
|
|
|
47
47
|
readonly QueueAlreadyBound: readonly [500, "QueueAlreadyBound"];
|
|
48
48
|
readonly QueueAlreadyExistsError: readonly [409, "QueueAlreadyExistsError"];
|
|
49
49
|
readonly QueueDeliveryModelMismatchError: readonly [500, "QueueDeliveryModelMismatchError"];
|
|
50
|
-
readonly QueueExplorerError: readonly [500, "QueueExplorerError"];
|
|
51
50
|
readonly QueueHasBoundExchangesError: readonly [500, "QueueHasBoundExchangesError"];
|
|
52
51
|
readonly QueueHasNoConsumerGroupsError: readonly [500, "QueueHasNoConsumerGroupsError"];
|
|
53
52
|
readonly QueueManagerActiveConsumersError: readonly [500, "QueueManagerActiveConsumersError"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../src/errors/errors.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../src/errors/errors.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFT,CAAC;AAEX,MAAM,MAAM,OAAO,GAAG,OAAO,MAAM,CAAC"}
|
|
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.errors = void 0;
|
|
4
4
|
exports.errors = {
|
|
5
5
|
ConfigurationError: [400, 'ConfigurationError'],
|
|
6
|
-
|
|
6
|
+
ConfigurationMessageAuditExpireError: [
|
|
7
7
|
400,
|
|
8
|
-
'
|
|
8
|
+
'ConfigurationMessageAuditExpireError',
|
|
9
9
|
],
|
|
10
|
-
|
|
10
|
+
ConfigurationMessageAuditQueueSizeError: [
|
|
11
11
|
400,
|
|
12
|
-
'
|
|
12
|
+
'ConfigurationMessageAuditQueueSizeError',
|
|
13
13
|
],
|
|
14
14
|
ConfigurationNamespaceError: [400, 'ConfigurationNamespaceError'],
|
|
15
15
|
ConsumerError: [500, 'ConsumerError'],
|
|
@@ -74,7 +74,6 @@ exports.errors = {
|
|
|
74
74
|
QueueAlreadyBound: [500, 'QueueAlreadyBound'],
|
|
75
75
|
QueueAlreadyExistsError: [409, 'QueueAlreadyExistsError'],
|
|
76
76
|
QueueDeliveryModelMismatchError: [500, 'QueueDeliveryModelMismatchError'],
|
|
77
|
-
QueueExplorerError: [500, 'QueueExplorerError'],
|
|
78
77
|
QueueHasBoundExchangesError: [500, 'QueueHasBoundExchangesError'],
|
|
79
78
|
QueueHasNoConsumerGroupsError: [500, 'QueueHasNoConsumerGroupsError'],
|
|
80
79
|
QueueManagerActiveConsumersError: [500, 'QueueManagerActiveConsumersError'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../../src/errors/errors.ts"],"names":[],"mappings":";;;AAgBa,QAAA,MAAM,GAAG;IACpB,kBAAkB,EAAE,CAAC,GAAG,EAAE,oBAAoB,CAAC;IAC/C,
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../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;IAC7C,uBAAuB,EAAE,CAAC,GAAG,EAAE,yBAAyB,CAAC;IACzD,+BAA+B,EAAE,CAAC,GAAG,EAAE,iCAAiC,CAAC;IACzE,2BAA2B,EAAE,CAAC,GAAG,EAAE,6BAA6B,CAAC;IACjE,6BAA6B,EAAE,CAAC,GAAG,EAAE,+BAA+B,CAAC;IACrE,gCAAgC,EAAE,CAAC,GAAG,EAAE,kCAAkC,CAAC;IAC3E,iBAAiB,EAAE,CAAC,GAAG,EAAE,mBAAmB,CAAC;IAC7C,kBAAkB,EAAE,CAAC,GAAG,EAAE,oBAAoB,CAAC;IAC/C,kBAAkB,EAAE,CAAC,GAAG,EAAE,oBAAoB,CAAC;IAC/C,kBAAkB,EAAE,CAAC,GAAG,EAAE,oBAAoB,CAAC;IAC/C,mBAAmB,EAAE,CAAC,GAAG,EAAE,qBAAqB,CAAC;IACjD,cAAc,EAAE,CAAC,GAAG,EAAE,gBAAgB,CAAC;IACvC,wBAAwB,EAAE,CAAC,GAAG,EAAE,0BAA0B,CAAC;IAC3D,uBAAuB,EAAE,CAAC,GAAG,EAAE,yBAAyB,CAAC;IACzD,qBAAqB,EAAE,CAAC,GAAG,EAAE,uBAAuB,CAAC;CAC7C,CAAC"}
|
|
@@ -6,7 +6,7 @@ describe('getConfigurationController', () => {
|
|
|
6
6
|
const request = supertest(`http://127.0.0.1:${config.apiServer?.port}`);
|
|
7
7
|
const response1 = await request.get('/api/v1/config');
|
|
8
8
|
expect(response1.status).toEqual(200);
|
|
9
|
-
expect(Object.keys(response1.body?.data ?? {}).sort()).toEqual(['namespace', 'redis', 'logger', 'eventBus', '
|
|
9
|
+
expect(Object.keys(response1.body?.data ?? {}).sort()).toEqual(['namespace', 'redis', 'logger', 'eventBus', 'messageAudit'].sort());
|
|
10
10
|
});
|
|
11
11
|
});
|
|
12
12
|
//# sourceMappingURL=getConfigurationController.test.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getConfigurationController.test.js","sourceRoot":"","sources":["../../../../../src/controllers/configuration/getConfigurationController.test.ts"],"names":[],"mappings":"AASA,OAAO,SAAS,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAIzD,QAAQ,CAAC,4BAA4B,EAAE,GAAG,EAAE;IAC1C,EAAE,CAAC,aAAa,EAAE,KAAK,IAAI,EAAE;QAC3B,MAAM,OAAO,GAAG,SAAS,CAAC,oBAAoB,MAAM,CAAC,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;QACxE,MAAM,SAAS,GACb,MAAM,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;QACtC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACtC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAC5D,CAAC,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"getConfigurationController.test.js","sourceRoot":"","sources":["../../../../../src/controllers/configuration/getConfigurationController.test.ts"],"names":[],"mappings":"AASA,OAAO,SAAS,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAIzD,QAAQ,CAAC,4BAA4B,EAAE,GAAG,EAAE;IAC1C,EAAE,CAAC,aAAa,EAAE,KAAK,IAAI,EAAE;QAC3B,MAAM,OAAO,GAAG,SAAS,CAAC,oBAAoB,MAAM,CAAC,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;QACxE,MAAM,SAAS,GACb,MAAM,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;QACtC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;QACtC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAC5D,CAAC,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC,IAAI,EAAE,CACpE,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const errors: {
|
|
2
2
|
readonly ConfigurationError: readonly [400, "ConfigurationError"];
|
|
3
|
-
readonly
|
|
4
|
-
readonly
|
|
3
|
+
readonly ConfigurationMessageAuditExpireError: readonly [400, "ConfigurationMessageAuditExpireError"];
|
|
4
|
+
readonly ConfigurationMessageAuditQueueSizeError: readonly [400, "ConfigurationMessageAuditQueueSizeError"];
|
|
5
5
|
readonly ConfigurationNamespaceError: readonly [400, "ConfigurationNamespaceError"];
|
|
6
6
|
readonly ConsumerError: readonly [500, "ConsumerError"];
|
|
7
7
|
readonly ConsumerGroupNotEmptyError: readonly [409, "ConsumerGroupNotEmptyError"];
|
|
@@ -47,7 +47,6 @@ export declare const errors: {
|
|
|
47
47
|
readonly QueueAlreadyBound: readonly [500, "QueueAlreadyBound"];
|
|
48
48
|
readonly QueueAlreadyExistsError: readonly [409, "QueueAlreadyExistsError"];
|
|
49
49
|
readonly QueueDeliveryModelMismatchError: readonly [500, "QueueDeliveryModelMismatchError"];
|
|
50
|
-
readonly QueueExplorerError: readonly [500, "QueueExplorerError"];
|
|
51
50
|
readonly QueueHasBoundExchangesError: readonly [500, "QueueHasBoundExchangesError"];
|
|
52
51
|
readonly QueueHasNoConsumerGroupsError: readonly [500, "QueueHasNoConsumerGroupsError"];
|
|
53
52
|
readonly QueueManagerActiveConsumersError: readonly [500, "QueueManagerActiveConsumersError"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../src/errors/errors.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../../src/errors/errors.ts"],"names":[],"mappings":"AAgBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqFT,CAAC;AAEX,MAAM,MAAM,OAAO,GAAG,OAAO,MAAM,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export const errors = {
|
|
2
2
|
ConfigurationError: [400, 'ConfigurationError'],
|
|
3
|
-
|
|
3
|
+
ConfigurationMessageAuditExpireError: [
|
|
4
4
|
400,
|
|
5
|
-
'
|
|
5
|
+
'ConfigurationMessageAuditExpireError',
|
|
6
6
|
],
|
|
7
|
-
|
|
7
|
+
ConfigurationMessageAuditQueueSizeError: [
|
|
8
8
|
400,
|
|
9
|
-
'
|
|
9
|
+
'ConfigurationMessageAuditQueueSizeError',
|
|
10
10
|
],
|
|
11
11
|
ConfigurationNamespaceError: [400, 'ConfigurationNamespaceError'],
|
|
12
12
|
ConsumerError: [500, 'ConsumerError'],
|
|
@@ -71,7 +71,6 @@ export const errors = {
|
|
|
71
71
|
QueueAlreadyBound: [500, 'QueueAlreadyBound'],
|
|
72
72
|
QueueAlreadyExistsError: [409, 'QueueAlreadyExistsError'],
|
|
73
73
|
QueueDeliveryModelMismatchError: [500, 'QueueDeliveryModelMismatchError'],
|
|
74
|
-
QueueExplorerError: [500, 'QueueExplorerError'],
|
|
75
74
|
QueueHasBoundExchangesError: [500, 'QueueHasBoundExchangesError'],
|
|
76
75
|
QueueHasNoConsumerGroupsError: [500, 'QueueHasNoConsumerGroupsError'],
|
|
77
76
|
QueueManagerActiveConsumersError: [500, 'QueueManagerActiveConsumersError'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../../src/errors/errors.ts"],"names":[],"mappings":"AAgBA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,kBAAkB,EAAE,CAAC,GAAG,EAAE,oBAAoB,CAAC;IAC/C,
|
|
1
|
+
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../../src/errors/errors.ts"],"names":[],"mappings":"AAgBA,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,kBAAkB,EAAE,CAAC,GAAG,EAAE,oBAAoB,CAAC;IAC/C,oCAAoC,EAAE;QACpC,GAAG;QACH,sCAAsC;KACvC;IACD,uCAAuC,EAAE;QACvC,GAAG;QACH,yCAAyC;KAC1C;IACD,2BAA2B,EAAE,CAAC,GAAG,EAAE,6BAA6B,CAAC;IACjE,aAAa,EAAE,CAAC,GAAG,EAAE,eAAe,CAAC;IACrC,0BAA0B,EAAE,CAAC,GAAG,EAAE,4BAA4B,CAAC;IAC/D,0BAA0B,EAAE,CAAC,GAAG,EAAE,4BAA4B,CAAC;IAC/D,0BAA0B,EAAE,CAAC,GAAG,EAAE,4BAA4B,CAAC;IAC/D,mBAAmB,EAAE,CAAC,GAAG,EAAE,qBAAqB,CAAC;IACjD,+BAA+B,EAAE,CAAC,GAAG,EAAE,iCAAiC,CAAC;IACzE,aAAa,EAAE,CAAC,GAAG,EAAE,eAAe,CAAC;IACrC,mBAAmB,EAAE,CAAC,GAAG,EAAE,qBAAqB,CAAC;IACjD,2BAA2B,EAAE,CAAC,GAAG,EAAE,6BAA6B,CAAC;IACjE,qBAAqB,EAAE,CAAC,GAAG,EAAE,uBAAuB,CAAC;IACrD,2BAA2B,EAAE,CAAC,GAAG,EAAE,6BAA6B,CAAC;IACjE,oCAAoC,EAAE;QACpC,GAAG;QACH,sCAAsC;KACvC;IACD,8BAA8B,EAAE,CAAC,GAAG,EAAE,g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
1794
|
-
"
|
|
1794
|
+
"acknowledgedMessages": {
|
|
1795
1795
|
"properties": {
|
|
1796
|
-
"
|
|
1797
|
-
"
|
|
1798
|
-
"expire": {
|
|
1799
|
-
"type": "number"
|
|
1800
|
-
},
|
|
1801
|
-
"queueSize": {
|
|
1802
|
-
"type": "number"
|
|
1803
|
-
},
|
|
1804
|
-
"store": {
|
|
1805
|
-
"type": "boolean"
|
|
1806
|
-
}
|
|
1807
|
-
},
|
|
1808
|
-
"required": [
|
|
1809
|
-
"expire",
|
|
1810
|
-
"queueSize",
|
|
1811
|
-
"store"
|
|
1812
|
-
],
|
|
1813
|
-
"type": "object"
|
|
1796
|
+
"enabled": {
|
|
1797
|
+
"type": "boolean"
|
|
1814
1798
|
},
|
|
1815
|
-
"
|
|
1816
|
-
"
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
"type": "
|
|
1799
|
+
"expire": {
|
|
1800
|
+
"type": "number"
|
|
1801
|
+
},
|
|
1802
|
+
"queueSize": {
|
|
1803
|
+
"type": "number"
|
|
1804
|
+
}
|
|
1805
|
+
},
|
|
1806
|
+
"required": [
|
|
1807
|
+
"enabled",
|
|
1808
|
+
"expire",
|
|
1809
|
+
"queueSize"
|
|
1810
|
+
],
|
|
1811
|
+
"type": "object"
|
|
1812
|
+
},
|
|
1813
|
+
"deadLetteredMessages": {
|
|
1814
|
+
"properties": {
|
|
1815
|
+
"enabled": {
|
|
1816
|
+
"type": "boolean"
|
|
1817
|
+
},
|
|
1818
|
+
"expire": {
|
|
1819
|
+
"type": "number"
|
|
1820
|
+
},
|
|
1821
|
+
"queueSize": {
|
|
1822
|
+
"type": "number"
|
|
1833
1823
|
}
|
|
1834
1824
|
},
|
|
1835
1825
|
"required": [
|
|
1836
|
-
"
|
|
1837
|
-
"
|
|
1826
|
+
"enabled",
|
|
1827
|
+
"expire",
|
|
1828
|
+
"queueSize"
|
|
1838
1829
|
],
|
|
1839
1830
|
"type": "object"
|
|
1840
1831
|
}
|
|
1841
1832
|
},
|
|
1842
1833
|
"required": [
|
|
1843
|
-
"
|
|
1834
|
+
"acknowledgedMessages",
|
|
1835
|
+
"deadLetteredMessages"
|
|
1844
1836
|
],
|
|
1845
1837
|
"type": "object"
|
|
1846
1838
|
},
|
|
@@ -1869,7 +1861,7 @@
|
|
|
1869
1861
|
"required": [
|
|
1870
1862
|
"eventBus",
|
|
1871
1863
|
"logger",
|
|
1872
|
-
"
|
|
1864
|
+
"messageAudit",
|
|
1873
1865
|
"namespace",
|
|
1874
1866
|
"redis"
|
|
1875
1867
|
],
|
|
@@ -6849,10 +6841,10 @@
|
|
|
6849
6841
|
"minItems": 2,
|
|
6850
6842
|
"type": "array"
|
|
6851
6843
|
},
|
|
6852
|
-
"
|
|
6844
|
+
"ConfigurationMessageAuditExpireError": {
|
|
6853
6845
|
"default": [
|
|
6854
6846
|
400,
|
|
6855
|
-
"
|
|
6847
|
+
"ConfigurationMessageAuditExpireError"
|
|
6856
6848
|
],
|
|
6857
6849
|
"items": [
|
|
6858
6850
|
{
|
|
@@ -6860,7 +6852,7 @@
|
|
|
6860
6852
|
"type": "number"
|
|
6861
6853
|
},
|
|
6862
6854
|
{
|
|
6863
|
-
"const": "
|
|
6855
|
+
"const": "ConfigurationMessageAuditExpireError",
|
|
6864
6856
|
"type": "string"
|
|
6865
6857
|
}
|
|
6866
6858
|
],
|
|
@@ -6868,10 +6860,10 @@
|
|
|
6868
6860
|
"minItems": 2,
|
|
6869
6861
|
"type": "array"
|
|
6870
6862
|
},
|
|
6871
|
-
"
|
|
6863
|
+
"ConfigurationMessageAuditQueueSizeError": {
|
|
6872
6864
|
"default": [
|
|
6873
6865
|
400,
|
|
6874
|
-
"
|
|
6866
|
+
"ConfigurationMessageAuditQueueSizeError"
|
|
6875
6867
|
],
|
|
6876
6868
|
"items": [
|
|
6877
6869
|
{
|
|
@@ -6879,7 +6871,7 @@
|
|
|
6879
6871
|
"type": "number"
|
|
6880
6872
|
},
|
|
6881
6873
|
{
|
|
6882
|
-
"const": "
|
|
6874
|
+
"const": "ConfigurationMessageAuditQueueSizeError",
|
|
6883
6875
|
"type": "string"
|
|
6884
6876
|
}
|
|
6885
6877
|
],
|
|
@@ -7742,25 +7734,6 @@
|
|
|
7742
7734
|
"minItems": 2,
|
|
7743
7735
|
"type": "array"
|
|
7744
7736
|
},
|
|
7745
|
-
"QueueExplorerError": {
|
|
7746
|
-
"default": [
|
|
7747
|
-
500,
|
|
7748
|
-
"QueueExplorerError"
|
|
7749
|
-
],
|
|
7750
|
-
"items": [
|
|
7751
|
-
{
|
|
7752
|
-
"const": 500,
|
|
7753
|
-
"type": "number"
|
|
7754
|
-
},
|
|
7755
|
-
{
|
|
7756
|
-
"const": "QueueExplorerError",
|
|
7757
|
-
"type": "string"
|
|
7758
|
-
}
|
|
7759
|
-
],
|
|
7760
|
-
"maxItems": 2,
|
|
7761
|
-
"minItems": 2,
|
|
7762
|
-
"type": "array"
|
|
7763
|
-
},
|
|
7764
7737
|
"QueueHasBoundExchangesError": {
|
|
7765
7738
|
"default": [
|
|
7766
7739
|
500,
|
|
@@ -7992,8 +7965,8 @@
|
|
|
7992
7965
|
},
|
|
7993
7966
|
"required": [
|
|
7994
7967
|
"ConfigurationError",
|
|
7995
|
-
"
|
|
7996
|
-
"
|
|
7968
|
+
"ConfigurationMessageAuditExpireError",
|
|
7969
|
+
"ConfigurationMessageAuditQueueSizeError",
|
|
7997
7970
|
"ConfigurationNamespaceError",
|
|
7998
7971
|
"ConsumerError",
|
|
7999
7972
|
"ConsumerGroupNotEmptyError",
|
|
@@ -8039,7 +8012,6 @@
|
|
|
8039
8012
|
"QueueAlreadyBound",
|
|
8040
8013
|
"QueueAlreadyExistsError",
|
|
8041
8014
|
"QueueDeliveryModelMismatchError",
|
|
8042
|
-
"QueueExplorerError",
|
|
8043
8015
|
"QueueHasBoundExchangesError",
|
|
8044
8016
|
"QueueHasNoConsumerGroupsError",
|
|
8045
8017
|
"QueueManagerActiveConsumersError",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "redis-smq-rest-api",
|
|
3
|
-
"version": "9.0.0-next.
|
|
3
|
+
"version": "9.0.0-next.16",
|
|
4
4
|
"description": "REST API for RedisSMQ: OpenAPI 3 schema and Swagger UI for managing queues, messages, and consumers.",
|
|
5
5
|
"author": "Weyoss <weyoss@protonmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"@redis/client": "^5",
|
|
70
70
|
"ioredis": "^5",
|
|
71
|
-
"redis-smq": "^9.0.0-next.
|
|
72
|
-
"redis-smq-common": "^9.0.0-next.
|
|
71
|
+
"redis-smq": "^9.0.0-next.16",
|
|
72
|
+
"redis-smq-common": "^9.0.0-next.16"
|
|
73
73
|
},
|
|
74
74
|
"peerDependenciesMeta": {
|
|
75
75
|
"@redis/client": {
|