@rsdk/db 4.0.0-next.1 → 4.0.0-next.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/CHANGELOG.md +11 -0
- package/dist/constants.d.ts +6 -0
- package/dist/constants.js +10 -0
- package/dist/constants.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +6 -5
- package/src/constants.ts +6 -0
- package/src/index.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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
|
+
## [4.0.0-next.3](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.2...v4.0.0-next.3) (2023-11-12)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* all yarn peers dependency issues ([e0db9ef](https://github.com/R-Vision/rsdk/commit/e0db9ef1ab8a4df4e1f8ff6f6a9e3728f497549b))
|
|
11
|
+
* one HEALTH_CHECK_QUERY + log it with trace level ([c6765da](https://github.com/R-Vision/rsdk/commit/c6765daedfec2e74230cc99234609dc57e2f39c3))
|
|
12
|
+
|
|
13
|
+
## [4.0.0-next.2](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.1...v4.0.0-next.2) (2023-11-10)
|
|
14
|
+
|
|
15
|
+
**Note:** Version bump only for package @rsdk/db
|
|
16
|
+
|
|
6
17
|
## [4.0.0-next.1](https://github.com/R-Vision/rsdk/compare/v4.0.0-next.0...v4.0.0-next.1) (2023-11-10)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @rsdk/db
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HEALTH_CHECK_QUERY = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Запрос для проверки состояния. Вынесен отдельной константой,
|
|
6
|
+
* т. к. используется не только в HealhIndicator'ах, но и в LoggerAdapter'ах,
|
|
7
|
+
* чтобы логировать этот запрос с уровнем TRACE
|
|
8
|
+
*/
|
|
9
|
+
exports.HEALTH_CHECK_QUERY = 'SELECT 1';
|
|
10
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACU,QAAA,kBAAkB,GAAG,UAAU,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -4,3 +4,4 @@ export { TransactionalStrategy, CallBack } from './types';
|
|
|
4
4
|
export { NeverRunningInTransaction, CallOutOfContextWithMandatory, IncompatibleIsolationLevels, } from './exceptions';
|
|
5
5
|
export { TransactionRunner } from './transactional.runner';
|
|
6
6
|
export { Propagation } from './propagation.enum';
|
|
7
|
+
export { HEALTH_CHECK_QUERY } from './constants';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Propagation = exports.TransactionRunner = exports.IncompatibleIsolationLevels = exports.CallOutOfContextWithMandatory = exports.NeverRunningInTransaction = exports.BaseContext = exports.ContextStorage = void 0;
|
|
3
|
+
exports.HEALTH_CHECK_QUERY = exports.Propagation = exports.TransactionRunner = exports.IncompatibleIsolationLevels = exports.CallOutOfContextWithMandatory = exports.NeverRunningInTransaction = exports.BaseContext = exports.ContextStorage = void 0;
|
|
4
4
|
var context_storage_1 = require("./context.storage");
|
|
5
5
|
Object.defineProperty(exports, "ContextStorage", { enumerable: true, get: function () { return context_storage_1.ContextStorage; } });
|
|
6
6
|
var context_base_1 = require("./context.base");
|
|
@@ -13,4 +13,6 @@ var transactional_runner_1 = require("./transactional.runner");
|
|
|
13
13
|
Object.defineProperty(exports, "TransactionRunner", { enumerable: true, get: function () { return transactional_runner_1.TransactionRunner; } });
|
|
14
14
|
var propagation_enum_1 = require("./propagation.enum");
|
|
15
15
|
Object.defineProperty(exports, "Propagation", { enumerable: true, get: function () { return propagation_enum_1.Propagation; } });
|
|
16
|
+
var constants_1 = require("./constants");
|
|
17
|
+
Object.defineProperty(exports, "HEALTH_CHECK_QUERY", { enumerable: true, get: function () { return constants_1.HEALTH_CHECK_QUERY; } });
|
|
16
18
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qDAAmD;AAA1C,iHAAA,cAAc,OAAA;AACvB,+CAA6C;AAApC,2GAAA,WAAW,OAAA;AAEpB,2CAIsB;AAHpB,uHAAA,yBAAyB,OAAA;AACzB,2HAAA,6BAA6B,OAAA;AAC7B,yHAAA,2BAA2B,OAAA;AAE7B,+DAA2D;AAAlD,yHAAA,iBAAiB,OAAA;AAC1B,uDAAiD;AAAxC,+GAAA,WAAW,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qDAAmD;AAA1C,iHAAA,cAAc,OAAA;AACvB,+CAA6C;AAApC,2GAAA,WAAW,OAAA;AAEpB,2CAIsB;AAHpB,uHAAA,yBAAyB,OAAA;AACzB,2HAAA,6BAA6B,OAAA;AAC7B,yHAAA,2BAA2B,OAAA;AAE7B,+DAA2D;AAAlD,yHAAA,iBAAiB,OAAA;AAC1B,uDAAiD;AAAxC,+GAAA,WAAW,OAAA;AACpB,yCAAiD;AAAxC,+GAAA,kBAAkB,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdk/db",
|
|
3
|
-
"version": "4.0.0-next.
|
|
3
|
+
"version": "4.0.0-next.3",
|
|
4
4
|
"description": "Common functionality and interfaces for relational database plugins",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -13,9 +13,10 @@
|
|
|
13
13
|
"prepublishOnly": "npm run build"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@rsdk/common": "^
|
|
17
|
-
"@rsdk/core": "^4.0.0-next.
|
|
18
|
-
"@rsdk/decorators": "^4.0.0-next.
|
|
16
|
+
"@rsdk/common": "^4.0.0-next.3",
|
|
17
|
+
"@rsdk/core": "^4.0.0-next.3",
|
|
18
|
+
"@rsdk/decorators": "^4.0.0-next.3",
|
|
19
|
+
"reflect-metadata": "^0.1.13"
|
|
19
20
|
},
|
|
20
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "313c39a379ea9ace9d94939223a53c46c12d77f9"
|
|
21
22
|
}
|
package/src/constants.ts
ADDED
package/src/index.ts
CHANGED