@rnw-community/nestjs-enterprise 0.73.0 → 0.75.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/dist/cjs/decorator/histogram-metric/histogram-metric.decorator.d.ts +1 -1
- package/dist/cjs/decorator/histogram-metric/histogram-metric.decorator.d.ts.map +1 -1
- package/dist/cjs/decorator/log/log.decorator.d.ts +1 -1
- package/dist/cjs/decorator/log/log.decorator.d.ts.map +1 -1
- package/dist/cjs/decorator/log/log.decorator.js +1 -1
- package/dist/cjs/decorator/log/log.decorator.js.map +1 -1
- package/dist/esm/decorator/histogram-metric/histogram-metric.decorator.d.ts +1 -1
- package/dist/esm/decorator/histogram-metric/histogram-metric.decorator.d.ts.map +1 -1
- package/dist/esm/decorator/log/log.decorator.d.ts +1 -1
- package/dist/esm/decorator/log/log.decorator.d.ts.map +1 -1
- package/dist/esm/decorator/log/log.decorator.js +1 -1
- package/dist/esm/decorator/log/log.decorator.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type HistogramConfiguration } from 'prom-client';
|
|
2
2
|
import type { MethodDecoratorType } from '../../type/method-decorator.type';
|
|
3
|
-
export declare const HistogramMetric: <M extends string, TResult, TArgs extends unknown[] = unknown[]>(metricName: string, configuration?: Omit<HistogramConfiguration<M>, "name">
|
|
3
|
+
export declare const HistogramMetric: <M extends string, TResult, TArgs extends unknown[] = unknown[]>(metricName: string, configuration?: Omit<HistogramConfiguration<M>, "name">) => MethodDecoratorType<TResult, TArgs>;
|
|
4
4
|
//# sourceMappingURL=histogram-metric.decorator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"histogram-metric.decorator.d.ts","sourceRoot":"","sources":["../../../../src/decorator/histogram-metric/histogram-metric.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAErE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"histogram-metric.decorator.d.ts","sourceRoot":"","sources":["../../../../src/decorator/histogram-metric/histogram-metric.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAErE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,eAAO,MAAM,eAAe,GACvB,CAAC,SAAS,MAAM,EAAE,OAAO,EAAE,KAAK,SAAS,OAAO,EAAE,0BACnC,MAAM,kBACF,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,KACxD,mBAAmB,CAAC,OAAO,EAAE,KAAK,CAuBpC,CAAC"}
|
|
@@ -4,6 +4,6 @@ import type { PostLogFunction } from './type/post-log-function.type';
|
|
|
4
4
|
import type { PreLogFunction } from './type/pre-log-function.type';
|
|
5
5
|
import type { MethodDecoratorType } from '../../type/method-decorator.type';
|
|
6
6
|
type GetResultType<T> = T extends Promise<infer U> ? U : T extends Observable<infer U> ? U : T;
|
|
7
|
-
export declare const Log: <TResult, TArgs extends unknown[] = unknown[]>(preLog:
|
|
7
|
+
export declare const Log: <TResult, TArgs extends unknown[] = unknown[]>(preLog: PreLogFunction<TArgs> | string, postLog?: PostLogFunction<GetResultType<TResult>, TArgs> | string, errorLog?: ErrorLogFunction<TArgs> | string) => MethodDecoratorType<TResult, TArgs>;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=log.decorator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log.decorator.d.ts","sourceRoot":"","sources":["../../../../src/decorator/log/log.decorator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAA6C,MAAM,MAAM,CAAC;AAIlF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AACvE,O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, errorLog) => (target, propertyKey, descriptor) =>
|
|
|
46
46
|
}));
|
|
47
47
|
}
|
|
48
48
|
else if (result instanceof Promise) {
|
|
49
|
-
return result.then(runPostLog).catch(error => {
|
|
49
|
+
return result.then(runPostLog).catch((error) => {
|
|
50
50
|
runErrorLog(error);
|
|
51
51
|
throw error;
|
|
52
52
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log.decorator.js","sourceRoot":"","sources":["../../../../src/decorator/log/log.decorator.ts"],"names":[],"mappings":";;;AAAA,2CAAwC;AACxC,+BAAkF;AAElF,kDAAoE;AAS7D,MAAM,GAAG,GACZ,CACI,MAAsC,EACtC,OAAiE,EACjE,QAA2C,EACR,EAAE,CACzC,CAAC,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,EAAE;IAChC,MAAM,UAAU,GAAG,GAAG,MAAM,CAAC,WAAW,CAAC,IAAI,KAAK,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC;IACxE,oEAAoE;IACpE,MAAM,cAAc,GAAG,UAAU,CAAC,KAAM,CAAC;IAEzC,qDAAqD;IACrD,UAAU,CAAC,KAAK,GAAG,UAAU,GAAG,IAAW;QAGvC,MAAM,SAAS,GAAG,GAAS,EAAE;YACzB,IAAI,IAAA,yBAAgB,EAAC,MAAM,CAAC,EAAE,CAAC;gBAC3B,eAAM,CAAC,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;YACnC,CAAC;iBAAM,IAAI,IAAA,kBAAS,EAAC,MAAM,CAAC,EAAE,CAAC;gBAC3B,eAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;YAChF,CAAC;QACL,CAAC,CAAC;QAEF,MAAM,UAAU,GAAG,CAAC,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AE,IAAI,CAAC,CAAC;YAEhD,IAAI,IAAA,kBAAS,EAAC,OAAO,CAAC,EAAE,CAAC;gBACrB,IAAI,IAAA,mBAAY,EAAC,MAAM,CAAC,EAAE,CAAC;oBACvB,OAAQ,MAAwB,CAAC,IAAI,CACjC,IAAA,UAAG,EAAC,UAAU,CAAC,EACf,IAAA,iBAAU,EAAC,CAAC,KAAc,EAAE,EAAE;wBAC1B,WAAW,CAAC,KAAK,CAAC,CAAC;wBAEnB,OAAO,IAAA,iBAAU,EAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC;oBACnC,CAAC,CAAC,CACiB,CAAC;gBAC5B,CAAC;qBAAM,IAAI,MAAM,YAAY,OAAO,EAAE,CAAC;oBACnC,OAAO,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,CAAC,KAAc,EAAE,EAAE;wBACpD,WAAW,CAAC,KAAK,CAAC,CAAC;wBAEnB,MAAM,KAAK,CAAC;oBAChB,CAAC,CAAuB,CAAC;gBAC7B,CAAC;gBAED,UAAU,CAAC,MAAW,CAAC,CAAC;YAC5B,CAAC;YAED,OAAO,MAAM,CAAC;QAClB,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,WAAW,CAAC,KAAK,CAAC,CAAC;YAEnB,MAAM,KAAK,CAAC;QAChB,CAAC;IACL,CAAC,CAAC;IAEF,OAAO,UAAU,CAAC;AACtB,CAAC,CAAC;AA5EO,QAAA,GAAG,OA4EV"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type HistogramConfiguration } from 'prom-client';
|
|
2
2
|
import type { MethodDecoratorType } from '../../type/method-decorator.type';
|
|
3
|
-
export declare const HistogramMetric: <M extends string, TResult, TArgs extends unknown[] = unknown[]>(metricName: string, configuration?: Omit<HistogramConfiguration<M>, "name">
|
|
3
|
+
export declare const HistogramMetric: <M extends string, TResult, TArgs extends unknown[] = unknown[]>(metricName: string, configuration?: Omit<HistogramConfiguration<M>, "name">) => MethodDecoratorType<TResult, TArgs>;
|
|
4
4
|
//# sourceMappingURL=histogram-metric.decorator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"histogram-metric.decorator.d.ts","sourceRoot":"","sources":["../../../../src/decorator/histogram-metric/histogram-metric.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAErE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"histogram-metric.decorator.d.ts","sourceRoot":"","sources":["../../../../src/decorator/histogram-metric/histogram-metric.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,KAAK,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAErE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,eAAO,MAAM,eAAe,GACvB,CAAC,SAAS,MAAM,EAAE,OAAO,EAAE,KAAK,SAAS,OAAO,EAAE,0BACnC,MAAM,kBACF,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,KACxD,mBAAmB,CAAC,OAAO,EAAE,KAAK,CAuBpC,CAAC"}
|
|
@@ -4,6 +4,6 @@ import type { PostLogFunction } from './type/post-log-function.type';
|
|
|
4
4
|
import type { PreLogFunction } from './type/pre-log-function.type';
|
|
5
5
|
import type { MethodDecoratorType } from '../../type/method-decorator.type';
|
|
6
6
|
type GetResultType<T> = T extends Promise<infer U> ? U : T extends Observable<infer U> ? U : T;
|
|
7
|
-
export declare const Log: <TResult, TArgs extends unknown[] = unknown[]>(preLog:
|
|
7
|
+
export declare const Log: <TResult, TArgs extends unknown[] = unknown[]>(preLog: PreLogFunction<TArgs> | string, postLog?: PostLogFunction<GetResultType<TResult>, TArgs> | string, errorLog?: ErrorLogFunction<TArgs> | string) => MethodDecoratorType<TResult, TArgs>;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=log.decorator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log.decorator.d.ts","sourceRoot":"","sources":["../../../../src/decorator/log/log.decorator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAA6C,MAAM,MAAM,CAAC;AAIlF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,KAAK,aAAa,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,SAAS,UAAU,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAE/F,eAAO,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"log.decorator.d.ts","sourceRoot":"","sources":["../../../../src/decorator/log/log.decorator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,UAAU,EAA6C,MAAM,MAAM,CAAC;AAIlF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AACvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAE5E,KAAK,aAAa,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,SAAS,UAAU,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAE/F,eAAO,MAAM,GAAG,GACX,OAAO,EAAE,KAAK,SAAS,OAAO,EAAE,sBACrB,cAAc,CAAC,KAAK,CAAC,GAAG,MAAM,YAC5B,eAAe,CAAC,aAAa,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,GAAG,MAAM,aACtD,gBAAgB,CAAC,KAAK,CAAC,GAAG,MAAM,KAC5C,mBAAmB,CAAC,OAAO,EAAE,KAAK,CAuEpC,CAAC"}
|
|
@@ -43,7 +43,7 @@ export const Log = (preLog, postLog, errorLog) => (target, propertyKey, descript
|
|
|
43
43
|
}));
|
|
44
44
|
}
|
|
45
45
|
else if (result instanceof Promise) {
|
|
46
|
-
return result.then(runPostLog).catch(error => {
|
|
46
|
+
return result.then(runPostLog).catch((error) => {
|
|
47
47
|
runErrorLog(error);
|
|
48
48
|
throw error;
|
|
49
49
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log.decorator.js","sourceRoot":"","sources":["../../../../src/decorator/log/log.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AACxC,OAAO,EAAmB,UAAU,EAAE,YAAY,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElF,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AASpE,MAAM,CAAC,MAAM,GAAG,GACZ,CACI,MAAsC,EACtC,OAAiE,EACjE,QAA2C,EACR,EAAE,CACzC,CAAC,MAAM,EAAE,WAAW,EAAE,UAAU,EAAE,EAAE;IAChC,MAAM,UAAU,GAAG,GAAG,MAAM,CAAC,WAAW,CAAC,IAAI,KAAK,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC;IACxE,oEAAoE;IACpE,MAAM,cAAc,GAAG,UAAU,CAAC,KAAM,CAAC;IAEzC,qDAAqD;IACrD,UAAU,CAAC,KAAK,GAAG,UAAU,GAAG,IAAW;QAGvC,MAAM,SAAS,GAAG,GAAS,EAAE;YACzB,IAAI,gBAAgB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W,CAAC,KAAK,CAAC,CAAC;YAEnB,MAAM,KAAK,CAAC;QAChB,CAAC;IACL,CAAC,CAAC;IAEF,OAAO,UAAU,CAAC;AACtB,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rnw-community/nestjs-enterprise",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.75.0",
|
|
4
4
|
"description": "NestJS Enterprise is a collection of enterprise-grade modules for NestJS.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"nestjs",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"clear": "rm -rf coverage && rm -rf dist && rm -f *.tsbuildinfo",
|
|
41
41
|
"clear:deps": "rm -rf ./node_modules && rm -rf ./dist"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "89b514d7f31bdec964a7ac1a91db2f93f08fcf7f",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@rnw-community/shared": "0.
|
|
45
|
+
"@rnw-community/shared": "0.75.0"
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|
|
48
48
|
"node": ">=18.0.0"
|