@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/index.d.ts CHANGED
@@ -129,11 +129,9 @@ declare module '@biorate/nestjs-tools' {
129
129
  get(): Promise<string>;
130
130
  }
131
131
 
132
- export class ClientController {
133
- public constructor(
134
- protected readonly getLoc: GetLocaleUseCase,
135
- protected readonly setLoc: SetLocaleUseCase,
136
- ) {}
132
+ class ClientController {
133
+ protected readonly getLoc: GetLocaleUseCase;
134
+ protected readonly setLoc: SetLocaleUseCase;
137
135
 
138
136
  protected getLocale(param: GetLocalesDTO): Promise<Record<string, string>>;
139
137
 
@@ -142,4 +140,12 @@ declare module '@biorate/nestjs-tools' {
142
140
  body: Record<string, string>,
143
141
  ): Promise<void>;
144
142
  }
143
+
144
+ class MetricsController {
145
+ protected readonly getMetrics: GetMetricsUseCase;
146
+
147
+ protected metrics(): Promise<void>;
148
+ }
149
+
150
+ export const controllers = { ClientController, MetricsController };
145
151
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@biorate/nestjs-tools",
3
- "version": "1.124.3",
3
+ "version": "1.124.10",
4
4
  "description": "NestJS tools",
5
5
  "main": "dist",
6
6
  "scripts": {
@@ -42,5 +42,5 @@
42
42
  "http-proxy-middleware": "2.0.6",
43
43
  "on-headers": "1.0.2"
44
44
  },
45
- "gitHead": "0e793af90b96b0f8ea53dab412a1695664e75011"
45
+ "gitHead": "60f2001e8867a0ee991d728c437f3c5f8dad9a34"
46
46
  }