@adityasaini2468/ticketing-common 1.0.4 → 1.0.6
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/build/index.d.ts +11 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js +28 -6
- package/build/index.js.map +1 -1
- package/package.json +3 -2
package/build/index.d.ts
CHANGED
|
@@ -1,2 +1,12 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './middlewares/current-user';
|
|
2
|
+
export * from './middlewares/error-handler';
|
|
3
|
+
export * from './middlewares/require-auth';
|
|
4
|
+
export * from './middlewares/validate-request';
|
|
5
|
+
export * from './errors/bad-request-error';
|
|
6
|
+
export * from './errors/custom-error';
|
|
7
|
+
export * from './errors/database-connection.error';
|
|
8
|
+
export * from './errors/not-authorized-error';
|
|
9
|
+
export * from './errors/not-found-error';
|
|
10
|
+
export * from './errors/request-validation-error';
|
|
11
|
+
export declare const _version = "1.0.3";
|
|
2
12
|
//# sourceMappingURL=index.d.ts.map
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAE/C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,uBAAuB,CAAC;AACtC,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,mCAAmC,CAAC;AAGlD,eAAO,MAAM,QAAQ,UAAU,CAAC"}
|
package/build/index.js
CHANGED
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
7
15
|
};
|
|
8
|
-
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports._version = void 0;
|
|
18
|
+
// Re-export package public API
|
|
19
|
+
__exportStar(require("./middlewares/current-user"), exports);
|
|
20
|
+
__exportStar(require("./middlewares/error-handler"), exports);
|
|
21
|
+
__exportStar(require("./middlewares/require-auth"), exports);
|
|
22
|
+
__exportStar(require("./middlewares/validate-request"), exports);
|
|
23
|
+
__exportStar(require("./errors/bad-request-error"), exports);
|
|
24
|
+
__exportStar(require("./errors/custom-error"), exports);
|
|
25
|
+
__exportStar(require("./errors/database-connection.error"), exports);
|
|
26
|
+
__exportStar(require("./errors/not-authorized-error"), exports);
|
|
27
|
+
__exportStar(require("./errors/not-found-error"), exports);
|
|
28
|
+
__exportStar(require("./errors/request-validation-error"), exports);
|
|
29
|
+
// Keep a simple runtime export for backward compatibility if needed
|
|
30
|
+
exports._version = '1.0.3';
|
|
9
31
|
//# sourceMappingURL=index.js.map
|
package/build/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":";;;;;;;;;;;;;;;;;AAAA,+BAA+B;AAC/B,6DAA2C;AAC3C,8DAA4C;AAC5C,6DAA2C;AAC3C,iEAA+C;AAE/C,6DAA2C;AAC3C,wDAAsC;AACtC,qEAAmD;AACnD,gEAA8C;AAC9C,2DAAyC;AACzC,oEAAkD;AAElD,oEAAoE;AACvD,QAAA,QAAQ,GAAG,OAAO,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adityasaini2468/ticketing-common",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
],
|
|
10
10
|
"scripts": {
|
|
11
11
|
"clean": "del-cli ./build",
|
|
12
|
-
"build": "npm run clean && tsc"
|
|
12
|
+
"build": "npm run clean && tsc",
|
|
13
|
+
"pub": "npm run build && npm publish --access public"
|
|
13
14
|
},
|
|
14
15
|
"keywords": [],
|
|
15
16
|
"author": "",
|