@biorate/nestjs-tools 1.124.3 → 1.124.10
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 +43 -0
- package/dist/src/app/application/ports/client.provider.port.js +3 -0
- package/dist/src/app/application/ports/client.provider.port.js.map +1 -0
- package/dist/src/app/application/ports/index.js +2 -1
- package/dist/src/app/application/ports/index.js.map +1 -1
- package/dist/src/app/application/ports/metrics.provider.port.js +3 -0
- package/dist/src/app/application/ports/metrics.provider.port.js.map +1 -0
- package/dist/src/app/application/service/client/get-locale.use-case.js +3 -1
- package/dist/src/app/application/service/client/get-locale.use-case.js.map +1 -1
- package/dist/src/app/application/service/client/set-locale.use-case.js +3 -1
- package/dist/src/app/application/service/client/set-locale.use-case.js.map +1 -1
- package/dist/src/app/application/service/metrics/get-metrics.use-case.js +3 -1
- package/dist/src/app/application/service/metrics/get-metrics.use-case.js.map +1 -1
- package/dist/src/app/infrastructure/index.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/index.d.ts +11 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,49 @@
|
|
|
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
|
+
## [1.124.10](https://github.com/biorate/core/compare/v1.124.9...v1.124.10) (2025-05-12)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **nestis-tools:** application folder structure ([44f2e39](https://github.com/biorate/core/commit/44f2e399d86425147d5ed1119a716142e2ec846b))
|
|
11
|
+
|
|
12
|
+
## [1.124.9](https://github.com/biorate/core/compare/v1.124.8...v1.124.9) (2025-05-12)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- **nestis-tools:** application folder structure ([2828189](https://github.com/biorate/core/commit/28281896627e97da152a0ba19472c6963e55c4cb))
|
|
17
|
+
|
|
18
|
+
## [1.124.8](https://github.com/biorate/core/compare/v1.124.7...v1.124.8) (2025-05-12)
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
- **nestis-tools:** application folder structure ([0ceeda1](https://github.com/biorate/core/commit/0ceeda144be18e1135140c00f2f9dedff5145f44))
|
|
23
|
+
|
|
24
|
+
## [1.124.7](https://github.com/biorate/core/compare/v1.124.5...v1.124.7) (2025-05-02)
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
- **nestjs-common:** d.ts update ([d0c1181](https://github.com/biorate/core/commit/d0c11811957e89a890ebe4159f175efc42b01b20))
|
|
29
|
+
- **nestjs-common:** d.ts update ([50b06f0](https://github.com/biorate/core/commit/50b06f0f28aabfb65b698fe2511f2093de7763d1))
|
|
30
|
+
|
|
31
|
+
## [1.124.6](https://github.com/biorate/core/compare/v1.124.5...v1.124.6) (2025-05-02)
|
|
32
|
+
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
|
|
35
|
+
- **nestjs-common:** d.ts update ([50b06f0](https://github.com/biorate/core/commit/50b06f0f28aabfb65b698fe2511f2093de7763d1))
|
|
36
|
+
|
|
37
|
+
## [1.124.5](https://github.com/biorate/core/compare/v1.124.4...v1.124.5) (2025-05-02)
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
- **nestjs-common:** d.ts update ([8e93ce9](https://github.com/biorate/core/commit/8e93ce9862167f224518cc38cd9ed24a2f2e74a9))
|
|
42
|
+
|
|
43
|
+
## [1.124.4](https://github.com/biorate/core/compare/v1.124.3...v1.124.4) (2025-05-02)
|
|
44
|
+
|
|
45
|
+
### Bug Fixes
|
|
46
|
+
|
|
47
|
+
- **nestjs-common:** d.ts update ([a7a5b05](https://github.com/biorate/core/commit/a7a5b0566ae65868ddcf69fac1276142e298f888))
|
|
48
|
+
|
|
6
49
|
## [1.124.3](https://github.com/biorate/core/compare/v1.124.2...v1.124.3) (2025-05-02)
|
|
7
50
|
|
|
8
51
|
### Bug Fixes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.provider.port.js","sourceRoot":"","sources":["../../../../../src/app/application/ports/client.provider.port.ts"],"names":[],"mappings":""}
|
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./metrics.provider.port"), exports);
|
|
18
|
+
__exportStar(require("./client.provider.port"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/app/application/ports/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/app/application/ports/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,yDAAuC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metrics.provider.port.js","sourceRoot":"","sources":["../../../../../src/app/application/ports/metrics.provider.port.ts"],"names":[],"mappings":""}
|
|
@@ -8,10 +8,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.GetLocaleUseCase = void 0;
|
|
13
14
|
const common_1 = require("@nestjs/common");
|
|
14
15
|
const inversion_1 = require("@biorate/inversion");
|
|
16
|
+
const ports_1 = require("../../ports");
|
|
15
17
|
let GetLocaleUseCase = class GetLocaleUseCase {
|
|
16
18
|
async execute(lang, namespace) {
|
|
17
19
|
return this.clientProvider.getLang(lang, namespace);
|
|
@@ -19,7 +21,7 @@ let GetLocaleUseCase = class GetLocaleUseCase {
|
|
|
19
21
|
};
|
|
20
22
|
__decorate([
|
|
21
23
|
(0, common_1.Inject)(inversion_1.Types.ClientProviderPort),
|
|
22
|
-
__metadata("design:type", Object)
|
|
24
|
+
__metadata("design:type", typeof (_a = typeof ports_1.ClientProviderPort !== "undefined" && ports_1.ClientProviderPort) === "function" ? _a : Object)
|
|
23
25
|
], GetLocaleUseCase.prototype, "clientProvider", void 0);
|
|
24
26
|
GetLocaleUseCase = __decorate([
|
|
25
27
|
(0, common_1.Injectable)()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-locale.use-case.js","sourceRoot":"","sources":["../../../../../../src/app/application/service/client/get-locale.use-case.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-locale.use-case.js","sourceRoot":"","sources":["../../../../../../src/app/application/service/client/get-locale.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,2CAAoD;AACpD,kDAA2C;AAC3C,uCAAiD;AAGjD,IAAa,gBAAgB,GAA7B,MAAa,gBAAgB;IAIpB,KAAK,CAAC,OAAO,CAAC,IAAY,EAAE,SAAiB;QAClD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;IACtD,CAAC;CACF,CAAA;AALoB;IADlB,IAAA,eAAM,EAAC,iBAAK,CAAC,kBAAkB,CAAC;kDACE,0BAAkB,oBAAlB,0BAAkB;wDAAC;AAF3C,gBAAgB;IAD5B,IAAA,mBAAU,GAAE;GACA,gBAAgB,CAO5B;AAPY,4CAAgB"}
|
|
@@ -8,10 +8,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.SetLocaleUseCase = void 0;
|
|
13
14
|
const common_1 = require("@nestjs/common");
|
|
14
15
|
const inversion_1 = require("@biorate/inversion");
|
|
16
|
+
const ports_1 = require("../../ports");
|
|
15
17
|
let SetLocaleUseCase = class SetLocaleUseCase {
|
|
16
18
|
async execute(data, lang, namespace) {
|
|
17
19
|
return this.clientProvider.setLang(data, lang, namespace);
|
|
@@ -19,7 +21,7 @@ let SetLocaleUseCase = class SetLocaleUseCase {
|
|
|
19
21
|
};
|
|
20
22
|
__decorate([
|
|
21
23
|
(0, common_1.Inject)(inversion_1.Types.ClientProviderPort),
|
|
22
|
-
__metadata("design:type", Object)
|
|
24
|
+
__metadata("design:type", typeof (_a = typeof ports_1.ClientProviderPort !== "undefined" && ports_1.ClientProviderPort) === "function" ? _a : Object)
|
|
23
25
|
], SetLocaleUseCase.prototype, "clientProvider", void 0);
|
|
24
26
|
SetLocaleUseCase = __decorate([
|
|
25
27
|
(0, common_1.Injectable)()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-locale.use-case.js","sourceRoot":"","sources":["../../../../../../src/app/application/service/client/set-locale.use-case.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"set-locale.use-case.js","sourceRoot":"","sources":["../../../../../../src/app/application/service/client/set-locale.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,2CAAoD;AACpD,kDAA2C;AAC3C,uCAAiD;AAGjD,IAAa,gBAAgB,GAA7B,MAAa,gBAAgB;IAIpB,KAAK,CAAC,OAAO,CAAC,IAA4B,EAAE,IAAY,EAAE,SAAiB;QAChF,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;IAC5D,CAAC;CACF,CAAA;AALoB;IADlB,IAAA,eAAM,EAAC,iBAAK,CAAC,kBAAkB,CAAC;kDACE,0BAAkB,oBAAlB,0BAAkB;wDAAC;AAF3C,gBAAgB;IAD5B,IAAA,mBAAU,GAAE;GACA,gBAAgB,CAO5B;AAPY,4CAAgB"}
|
|
@@ -8,10 +8,12 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
var _a;
|
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
13
|
exports.GetMetricsUseCase = void 0;
|
|
13
14
|
const common_1 = require("@nestjs/common");
|
|
14
15
|
const inversion_1 = require("@biorate/inversion");
|
|
16
|
+
const ports_1 = require("../../ports");
|
|
15
17
|
let GetMetricsUseCase = class GetMetricsUseCase {
|
|
16
18
|
async execute() {
|
|
17
19
|
return this.metricsProvider.get();
|
|
@@ -19,7 +21,7 @@ let GetMetricsUseCase = class GetMetricsUseCase {
|
|
|
19
21
|
};
|
|
20
22
|
__decorate([
|
|
21
23
|
(0, common_1.Inject)(inversion_1.Types.MetricsProviderPort),
|
|
22
|
-
__metadata("design:type", Object)
|
|
24
|
+
__metadata("design:type", typeof (_a = typeof ports_1.MetricsProviderPort !== "undefined" && ports_1.MetricsProviderPort) === "function" ? _a : Object)
|
|
23
25
|
], GetMetricsUseCase.prototype, "metricsProvider", void 0);
|
|
24
26
|
GetMetricsUseCase = __decorate([
|
|
25
27
|
(0, common_1.Injectable)()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-metrics.use-case.js","sourceRoot":"","sources":["../../../../../../src/app/application/service/metrics/get-metrics.use-case.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-metrics.use-case.js","sourceRoot":"","sources":["../../../../../../src/app/application/service/metrics/get-metrics.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,2CAAoD;AACpD,kDAA2C;AAC3C,uCAAkD;AAGlD,IAAa,iBAAiB,GAA9B,MAAa,iBAAiB;IAIrB,KAAK,CAAC,OAAO;QAClB,OAAO,IAAI,CAAC,eAAe,CAAC,GAAG,EAAE,CAAC;IACpC,CAAC;CACF,CAAA;AALoB;IADlB,IAAA,eAAM,EAAC,iBAAK,CAAC,mBAAmB,CAAC;kDACE,2BAAmB,oBAAnB,2BAAmB;0DAAC;AAF7C,iBAAiB;IAD7B,IAAA,mBAAU,GAAE;GACA,iBAAiB,CAO7B;AAPY,8CAAiB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/app/infrastructure/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,6CAA2B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/app/infrastructure/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,6CAA2B;AAE3B,+CAA6C"}
|