@biorate/nestjs-tools 1.124.2 → 1.124.7
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
|
@@ -119,15 +119,19 @@ declare module '@biorate/nestjs-tools' {
|
|
|
119
119
|
public async execute(): Promise<string>;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
export class ClientRepositoryAdapter implements ClientProviderPort {
|
|
122
|
+
export class ClientRepositoryAdapter implements ClientProviderPort {
|
|
123
|
+
getLang(lang: string, namespace: string): Record<string, string>;
|
|
123
124
|
|
|
124
|
-
|
|
125
|
+
setLang(data: Record<string, string>, lang: string, namespace: string): void;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export class MetricsRepositoryAdapter implements MetricsProviderPort {
|
|
129
|
+
get(): Promise<string>;
|
|
130
|
+
}
|
|
125
131
|
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
protected readonly setLoc: SetLocaleUseCase,
|
|
130
|
-
) {}
|
|
132
|
+
class ClientController {
|
|
133
|
+
protected readonly getLoc: GetLocaleUseCase;
|
|
134
|
+
protected readonly setLoc: SetLocaleUseCase;
|
|
131
135
|
|
|
132
136
|
protected getLocale(param: GetLocalesDTO): Promise<Record<string, string>>;
|
|
133
137
|
|
|
@@ -136,4 +140,12 @@ declare module '@biorate/nestjs-tools' {
|
|
|
136
140
|
body: Record<string, string>,
|
|
137
141
|
): Promise<void>;
|
|
138
142
|
}
|
|
143
|
+
|
|
144
|
+
class MetricsController {
|
|
145
|
+
protected readonly getMetrics: GetMetricsUseCase;
|
|
146
|
+
|
|
147
|
+
protected metrics(): Promise<void>;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export const controllers = { ClientController, MetricsController };
|
|
139
151
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@biorate/nestjs-tools",
|
|
3
|
-
"version": "1.124.
|
|
3
|
+
"version": "1.124.7",
|
|
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": "
|
|
45
|
+
"gitHead": "d936b4ff072a3f14589bb69e00f7835970358abb"
|
|
46
46
|
}
|