ctx-router 1.0.6 → 1.0.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/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { TDefaultCtx
|
|
1
|
+
import { TDefaultCtx } from "./ctx/ctx.types";
|
|
2
2
|
import { transformFromExpress } from "./transform/fromExpress";
|
|
3
3
|
import { CtxRouter } from "./ctx/ctx.router";
|
|
4
4
|
import { CtxError, ctxErrMap } from "./ctx/ctx.err";
|
|
5
5
|
export type { TDefaultCtx };
|
|
6
|
-
export {
|
|
6
|
+
export { CtxRouter, CtxError, ctxErrMap };
|
|
7
7
|
export declare namespace toCtx {
|
|
8
8
|
const fromExpress: typeof transformFromExpress;
|
|
9
9
|
}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AACpD,YAAY,EAAE,WAAW,EAAE,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;AAE1C,yBAAiB,KAAK,CAAC;IACd,MAAM,WAAW,6BAAuB,CAAC;CACjD"}
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toCtx = exports.ctxErrMap = exports.CtxError = exports.CtxRouter =
|
|
4
|
-
const ctx_types_1 = require("./ctx/ctx.types");
|
|
5
|
-
Object.defineProperty(exports, "USER_ROLE", { enumerable: true, get: function () { return ctx_types_1.USER_ROLE; } });
|
|
3
|
+
exports.toCtx = exports.ctxErrMap = exports.CtxError = exports.CtxRouter = void 0;
|
|
6
4
|
const fromExpress_1 = require("./transform/fromExpress");
|
|
7
5
|
const ctx_router_1 = require("./ctx/ctx.router");
|
|
8
6
|
Object.defineProperty(exports, "CtxRouter", { enumerable: true, get: function () { return ctx_router_1.CtxRouter; } });
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AACA,yDAA+D;AAC/D,iDAA6C;AAGpC,0FAHA,sBAAS,OAGA;AAFlB,2CAAoD;AAEhC,yFAFX,kBAAQ,OAEW;AAAE,0FAFX,mBAAS,OAEW;AAEvC,IAAiB,KAAK,CAErB;AAFD,WAAiB,KAAK;IACP,iBAAW,GAAG,kCAAoB,CAAC;AAClD,CAAC,EAFgB,KAAK,qBAAL,KAAK,QAErB"}
|