refactor: specify index exports
This commit is contained in:
parent
f36837bfb0
commit
db705323d8
6
dist/lib/index.d.ts
vendored
6
dist/lib/index.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
export * from './logged';
|
||||
export * from './logger';
|
||||
export * from './reflected';
|
||||
export { LoggedRoute, LoggedFunction } from './logged';
|
||||
export { ScopedLogger } from './logger';
|
||||
export { LoggedParamReflectData, InjectLogger, LoggedParam } from './reflected';
|
||||
//# sourceMappingURL=index.d.ts.map
|
2
dist/lib/index.d.ts.map
vendored
2
dist/lib/index.d.ts.map
vendored
@ -1 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC"}
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,UAAU,CAAC;AACrD,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AACtC,OAAO,EAAC,sBAAsB,EAAE,YAAY,EAAE,WAAW,EAAC,MAAM,aAAa,CAAC"}
|
26
dist/lib/index.js
vendored
26
dist/lib/index.js
vendored
@ -1,20 +1,12 @@
|
||||
"use strict";
|
||||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
var desc = Object.getOwnPropertyDescriptor(m, k);
|
||||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
||||
desc = { enumerable: true, get: function() { return m[k]; } };
|
||||
}
|
||||
Object.defineProperty(o, k2, desc);
|
||||
}) : (function(o, m, k, k2) {
|
||||
if (k2 === undefined) k2 = k;
|
||||
o[k2] = m[k];
|
||||
}));
|
||||
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
||||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
||||
};
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
__exportStar(require("./logged"), exports);
|
||||
__exportStar(require("./logger"), exports);
|
||||
__exportStar(require("./reflected"), exports);
|
||||
exports.LoggedParam = exports.InjectLogger = exports.ScopedLogger = exports.LoggedFunction = exports.LoggedRoute = void 0;
|
||||
var logged_1 = require("./logged");
|
||||
Object.defineProperty(exports, "LoggedRoute", { enumerable: true, get: function () { return logged_1.LoggedRoute; } });
|
||||
Object.defineProperty(exports, "LoggedFunction", { enumerable: true, get: function () { return logged_1.LoggedFunction; } });
|
||||
var logger_1 = require("./logger");
|
||||
Object.defineProperty(exports, "ScopedLogger", { enumerable: true, get: function () { return logger_1.ScopedLogger; } });
|
||||
var reflected_1 = require("./reflected");
|
||||
Object.defineProperty(exports, "InjectLogger", { enumerable: true, get: function () { return reflected_1.InjectLogger; } });
|
||||
Object.defineProperty(exports, "LoggedParam", { enumerable: true, get: function () { return reflected_1.LoggedParam; } });
|
||||
//# sourceMappingURL=index.js.map
|
2
dist/lib/index.js.map
vendored
2
dist/lib/index.js.map
vendored
@ -1 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,2CAAyB;AACzB,8CAA4B"}
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,mCAAqD;AAA7C,qGAAA,WAAW,OAAA;AAAE,wGAAA,cAAc,OAAA;AACnC,mCAAsC;AAA9B,sGAAA,YAAY,OAAA;AACpB,yCAA8E;AAA9C,yGAAA,YAAY,OAAA;AAAE,wGAAA,WAAW,OAAA"}
|
10
dist/lib/logged.js
vendored
10
dist/lib/logged.js
vendored
@ -27,11 +27,11 @@ function LoggedFunction(_target, key, descriptor) {
|
||||
const scopedLoggerInjectableParam = Reflect.getOwnMetadata(reflected_1.scopedLogger, _target, key);
|
||||
if (typeof scopedLoggerInjectableParam !== 'undefined' &&
|
||||
(args.length <= scopedLoggerInjectableParam ||
|
||||
!(args[scopedLoggerInjectableParam] instanceof logger_1.default))) {
|
||||
args[scopedLoggerInjectableParam] = new logger_1.default(logger, key);
|
||||
!(args[scopedLoggerInjectableParam] instanceof logger_1.ScopedLogger))) {
|
||||
args[scopedLoggerInjectableParam] = new logger_1.ScopedLogger(logger, key);
|
||||
}
|
||||
else if (typeof scopedLoggerInjectableParam !== 'undefined') {
|
||||
args[scopedLoggerInjectableParam] = new logger_1.default(args[scopedLoggerInjectableParam], key);
|
||||
args[scopedLoggerInjectableParam] = new logger_1.ScopedLogger(args[scopedLoggerInjectableParam], key);
|
||||
}
|
||||
const injectedLogger = typeof scopedLoggerInjectableParam !== 'undefined'
|
||||
? args[scopedLoggerInjectableParam]
|
||||
@ -68,8 +68,8 @@ function LoggedRoute(route) {
|
||||
const scopedLoggerInjectableParam = Reflect.getOwnMetadata(reflected_1.scopedLogger, _target, key);
|
||||
if (typeof scopedLoggerInjectableParam !== 'undefined' &&
|
||||
(args.length <= scopedLoggerInjectableParam ||
|
||||
!(args[scopedLoggerInjectableParam] instanceof logger_1.default))) {
|
||||
args[scopedLoggerInjectableParam] = new logger_1.default(logger, fullRoute);
|
||||
!(args[scopedLoggerInjectableParam] instanceof logger_1.ScopedLogger))) {
|
||||
args[scopedLoggerInjectableParam] = new logger_1.ScopedLogger(logger, fullRoute);
|
||||
}
|
||||
const injectedLogger = typeof scopedLoggerInjectableParam !== 'undefined'
|
||||
? args[scopedLoggerInjectableParam]
|
||||
|
2
dist/lib/logged.js.map
vendored
2
dist/lib/logged.js.map
vendored
@ -1 +1 @@
|
||||
{"version":3,"file":"logged.js","sourceRoot":"","sources":["../../src/logged.ts"],"names":[],"mappings":";;;AAAA,2CAAsC;AACtC,qCAAoC;AAEpC,2CAAsD;AACtD,2CAAgD;AAEhD,SAAS,UAAU,CAAC,OAAY;IAC5B,IAAI,CA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,CAAC;YAEjB,MAAM,YAAY,GAA6B,OAAO,CAAC,cAAc,CACjE,uBAAW,EACX,OAAO,EACP,GAAG,CACN,CAAA;YAED,cAAc,CAAC,GAAG,CACd,YAAY,SAAS,KAAK,GAAG,KACzB,YAAY,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC;gBACnC,CAAC,CAAC,OAAO;oBACT,CACI,MAAM,OAAO,CAAC,GAAG,CACb,YAAY,CAAC,GAAG,CACZ,KAAK,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,CACxC,IAAI,GAAG,GAAG,GAAG,CAAC,MAAM,IAAA,mBAAqB,EAAC,IAAI,CAAC,KAAK,CAAC,EAAE;wBACnD,OAAO;wBACP,OAAO;qBACV,CAAC,CAAC,CACV,CACJ,CACJ,CAAC,IAAI,CAAC,IAAI,CAAC;gBACZ,CAAC,CAAC,EACV,EAAE,CACL,CAAC;YAEF,IAAI;gBACA,MAAM,CAAC,GAAM,MAAM,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC,CAAC;gBAC1C,cAAc,CAAC,GAAG,CAAC,qBAAqB,SAAS,KAAK,GAAG,GAAG,CAAC,CAAC;gBAC9D,OAAO,CAAC,CAAC;aACZ;YAAC,OAAO,CAAC,EAAE;gBACR,cAAc,CAAC,KAAK,CAAC,cAAc,SAAS,KAAK,GAAG,WAAW,CAAC,EAAE,CAAC,CAAC;gBACpE,MAAM,CAAC,CAAC;aACX;QACL,CAAC,CAAC;IACN,CAAC,CAAA;AACL,CAAC;AAtED,kCAsEC"}
|
2
dist/lib/logger.d.ts
vendored
2
dist/lib/logger.d.ts
vendored
@ -1,5 +1,5 @@
|
||||
import { Logger } from "@nestjs/common";
|
||||
export default class ScopedLogger extends Logger {
|
||||
export declare class ScopedLogger extends Logger {
|
||||
private logger;
|
||||
private scope;
|
||||
private scopeId?;
|
||||
|
2
dist/lib/logger.d.ts.map
vendored
2
dist/lib/logger.d.ts.map
vendored
@ -1 +1 @@
|
||||
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AAItC,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,MAAM;IAExC,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,OAAO,CAAC;gBAFR,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,MAAM;IAK5B,OAAO,CAAC,SAAS;IAUjB,KAAK,YATgB,MAAM,UASK;IAChC,GAAG,YAVkB,MAAM,UAUC;IAC5B,IAAI,YAXiB,MAAM,UAWG;IAC9B,OAAO,YAZc,MAAM,UAYS;IACpC,KAAK,YAbgB,MAAM,UAaK;IAChC,KAAK,YAdgB,MAAM,UAcK;CACnC"}
|
||||
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AAItC,qBAAa,YAAa,SAAQ,MAAM;IAEhC,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,OAAO,CAAC;gBAFR,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,MAAM;IAK5B,OAAO,CAAC,SAAS;IAUjB,KAAK,YATgB,MAAM,UASK;IAChC,GAAG,YAVkB,MAAM,UAUC;IAC5B,IAAI,YAXiB,MAAM,UAWG;IAC9B,OAAO,YAZc,MAAM,UAYS;IACpC,KAAK,YAbgB,MAAM,UAaK;IAChC,KAAK,YAdgB,MAAM,UAcK;CACnC"}
|
3
dist/lib/logger.js
vendored
3
dist/lib/logger.js
vendored
@ -1,5 +1,6 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ScopedLogger = void 0;
|
||||
const common_1 = require("@nestjs/common");
|
||||
class ScopedLogger extends common_1.Logger {
|
||||
constructor(logger, scope, scopeId) {
|
||||
@ -20,5 +21,5 @@ class ScopedLogger extends common_1.Logger {
|
||||
};
|
||||
}
|
||||
}
|
||||
exports.default = ScopedLogger;
|
||||
exports.ScopedLogger = ScopedLogger;
|
||||
//# sourceMappingURL=logger.js.map
|
2
dist/lib/logger.js.map
vendored
2
dist/lib/logger.js.map
vendored
@ -1 +1 @@
|
||||
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../src/logger.ts"],"names":[],"mappings":";;AAAA,2CAAsC;AAItC,MAAqB,YAAa,SAAQ,eAAM;IAC5C,YACY,MAAc,EACd,KAAa,EACb,OAAgB;QAExB,KAAK,EAAE,CAAC;QAJA,WAAM,GAAN,MAAM,CAAQ;QACd,UAAK,GAAL,KAAK,CAAQ;QACb,YAAO,GAAP,OAAO,CAAS;QAe5B,UAAK,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QAChC,QAAG,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QAC5B,SAAI,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QAC9B,YAAO,GAAG,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;QACpC,UAAK,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QAChC,UAAK,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IAjBhC,CAAC;IAEO,SAAS,CAAC,MAAgB;QAC9B,OAAO,CAAC,OAAe,EAAE,EAAE;YACvB,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CACf,MAAM,IAAI,CAAC,KAAK,GACZ,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,EACzC,KAAK,OAAO,EAAE,CACjB,CAAC;QACN,CAAC,CAAC;IACN,CAAC;CAQJ;AAzBD,+BAyBC"}
|
||||
{"version":3,"file":"logger.js","sourceRoot":"","sources":["../../src/logger.ts"],"names":[],"mappings":";;;AAAA,2CAAsC;AAItC,MAAa,YAAa,SAAQ,eAAM;IACpC,YACY,MAAc,EACd,KAAa,EACb,OAAgB;QAExB,KAAK,EAAE,CAAC;QAJA,WAAM,GAAN,MAAM,CAAQ;QACd,UAAK,GAAL,KAAK,CAAQ;QACb,YAAO,GAAP,OAAO,CAAS;QAe5B,UAAK,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QAChC,QAAG,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;QAC5B,SAAI,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;QAC9B,YAAO,GAAG,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,CAAC;QACpC,UAAK,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;QAChC,UAAK,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;IAjBhC,CAAC;IAEO,SAAS,CAAC,MAAgB;QAC9B,OAAO,CAAC,OAAe,EAAE,EAAE;YACvB,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CACf,MAAM,IAAI,CAAC,KAAK,GACZ,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,OAAO,GAAG,CAAC,CAAC,CAAC,EACzC,KAAK,OAAO,EAAE,CACjB,CAAC;QACN,CAAC,CAAC;IACN,CAAC;CAQJ;AAzBD,oCAyBC"}
|
Loading…
x
Reference in New Issue
Block a user