@biorate/nestjs-tools 1.124.10 → 1.125.0
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 +6 -0
- package/dist/src/app/application/ports/{client.provider.port.js → client.driven.port.js} +1 -1
- package/dist/src/app/application/ports/client.driven.port.js.map +1 -0
- package/dist/src/app/application/ports/index.js +2 -2
- package/dist/src/app/application/ports/index.js.map +1 -1
- package/dist/src/app/application/ports/{output/client/client.provider.port.js → metrics.driven.port.js} +1 -1
- package/dist/src/app/application/ports/metrics.driven.port.js.map +1 -0
- package/dist/src/app/application/service/client/get-locale.use-case.js +2 -4
- 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 +2 -4
- 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 +2 -4
- package/dist/src/app/application/service/metrics/get-metrics.use-case.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/index.d.ts +3 -3
- package/interfaces.ts +2 -2
- package/package.json +2 -2
- package/dist/src/app/application/ports/client.provider.port.js.map +0 -1
- package/dist/src/app/application/ports/metrics.provider.port.js +0 -3
- package/dist/src/app/application/ports/metrics.provider.port.js.map +0 -1
- package/dist/src/app/application/ports/output/client/client.provider.port.js.map +0 -1
- package/dist/src/app/application/ports/output/index.js +0 -19
- package/dist/src/app/application/ports/output/index.js.map +0 -1
- package/dist/src/app/application/ports/output/metrics/metrics.provider.port.js +0 -3
- package/dist/src/app/application/ports/output/metrics/metrics.provider.port.js.map +0 -1
- package/dist/src/app/application/service/client/get-lang.use-case.js +0 -28
- package/dist/src/app/application/service/client/get-lang.use-case.js.map +0 -1
- package/dist/src/app/application/service/client/set-lang.use-case.js +0 -28
- package/dist/src/app/application/service/client/set-lang.use-case.js.map +0 -1
- package/dist/tests/index.spec.js +0 -19
- package/dist/tests/index.spec.js.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
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.125.0](https://github.com/biorate/core/compare/v1.124.10...v1.125.0) (2025-05-15)
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
- **nestjs-tools:** provider -> driven naming changed ([0c4ea63](https://github.com/biorate/core/commit/0c4ea639b0345ad6a68c7eead679b4ab950508a7))
|
|
11
|
+
|
|
6
12
|
## [1.124.10](https://github.com/biorate/core/compare/v1.124.9...v1.124.10) (2025-05-12)
|
|
7
13
|
|
|
8
14
|
### Bug Fixes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.driven.port.js","sourceRoot":"","sources":["../../../../../src/app/application/ports/client.driven.port.ts"],"names":[],"mappings":""}
|
|
@@ -14,6 +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("./metrics.
|
|
18
|
-
__exportStar(require("./client.
|
|
17
|
+
__exportStar(require("./metrics.driven.port"), exports);
|
|
18
|
+
__exportStar(require("./client.driven.port"), exports);
|
|
19
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,wDAAsC;AACtC,uDAAqC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metrics.driven.port.js","sourceRoot":"","sources":["../../../../../src/app/application/ports/metrics.driven.port.ts"],"names":[],"mappings":""}
|
|
@@ -8,20 +8,18 @@ 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;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.GetLocaleUseCase = void 0;
|
|
14
13
|
const common_1 = require("@nestjs/common");
|
|
15
14
|
const inversion_1 = require("@biorate/inversion");
|
|
16
|
-
const ports_1 = require("../../ports");
|
|
17
15
|
let GetLocaleUseCase = class GetLocaleUseCase {
|
|
18
16
|
async execute(lang, namespace) {
|
|
19
17
|
return this.clientProvider.getLang(lang, namespace);
|
|
20
18
|
}
|
|
21
19
|
};
|
|
22
20
|
__decorate([
|
|
23
|
-
(0, common_1.Inject)(inversion_1.Types.
|
|
24
|
-
__metadata("design:type",
|
|
21
|
+
(0, common_1.Inject)(inversion_1.Types.ClientDrivenPort),
|
|
22
|
+
__metadata("design:type", Object)
|
|
25
23
|
], GetLocaleUseCase.prototype, "clientProvider", void 0);
|
|
26
24
|
GetLocaleUseCase = __decorate([
|
|
27
25
|
(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;AAI3C,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,gBAAgB,CAAC;;wDACqB;AAFzC,gBAAgB;IAD5B,IAAA,mBAAU,GAAE;GACA,gBAAgB,CAO5B;AAPY,4CAAgB"}
|
|
@@ -8,20 +8,18 @@ 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;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.SetLocaleUseCase = void 0;
|
|
14
13
|
const common_1 = require("@nestjs/common");
|
|
15
14
|
const inversion_1 = require("@biorate/inversion");
|
|
16
|
-
const ports_1 = require("../../ports");
|
|
17
15
|
let SetLocaleUseCase = class SetLocaleUseCase {
|
|
18
16
|
async execute(data, lang, namespace) {
|
|
19
17
|
return this.clientProvider.setLang(data, lang, namespace);
|
|
20
18
|
}
|
|
21
19
|
};
|
|
22
20
|
__decorate([
|
|
23
|
-
(0, common_1.Inject)(inversion_1.Types.
|
|
24
|
-
__metadata("design:type",
|
|
21
|
+
(0, common_1.Inject)(inversion_1.Types.ClientDrivenPort),
|
|
22
|
+
__metadata("design:type", Object)
|
|
25
23
|
], SetLocaleUseCase.prototype, "clientProvider", void 0);
|
|
26
24
|
SetLocaleUseCase = __decorate([
|
|
27
25
|
(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;AAI3C,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,gBAAgB,CAAC;;wDACqB;AAFzC,gBAAgB;IAD5B,IAAA,mBAAU,GAAE;GACA,gBAAgB,CAO5B;AAPY,4CAAgB"}
|
|
@@ -8,20 +8,18 @@ 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;
|
|
12
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
12
|
exports.GetMetricsUseCase = void 0;
|
|
14
13
|
const common_1 = require("@nestjs/common");
|
|
15
14
|
const inversion_1 = require("@biorate/inversion");
|
|
16
|
-
const ports_1 = require("../../ports");
|
|
17
15
|
let GetMetricsUseCase = class GetMetricsUseCase {
|
|
18
16
|
async execute() {
|
|
19
17
|
return this.metricsProvider.get();
|
|
20
18
|
}
|
|
21
19
|
};
|
|
22
20
|
__decorate([
|
|
23
|
-
(0, common_1.Inject)(inversion_1.Types.
|
|
24
|
-
__metadata("design:type",
|
|
21
|
+
(0, common_1.Inject)(inversion_1.Types.MetricsDrivenPort),
|
|
22
|
+
__metadata("design:type", Object)
|
|
25
23
|
], GetMetricsUseCase.prototype, "metricsProvider", void 0);
|
|
26
24
|
GetMetricsUseCase = __decorate([
|
|
27
25
|
(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;AAI3C,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,iBAAiB,CAAC;;0DACsB;AAF3C,iBAAiB;IAD7B,IAAA,mBAAU,GAAE;GACA,iBAAiB,CAO7B;AAPY,8CAAiB"}
|