@aldb2b/common 1.0.225 → 1.0.227
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 +5 -0
- package/build/index.js +5 -0
- package/build/index.js.map +1 -1
- package/build/interceptors/{respons-with-code.interceptor.d.ts → response-with-code.interceptor.d.ts} +1 -1
- package/build/interceptors/{respons-with-code.interceptor.js → response-with-code.interceptor.js} +5 -5
- package/build/interceptors/response-with-code.interceptor.js.map +1 -0
- package/build/tsconfig.tsbuildinfo +40 -30
- package/package.json +1 -1
- package/build/interceptors/respons-with-code.interceptor.js.map +0 -1
package/build/index.d.ts
CHANGED
|
@@ -92,10 +92,15 @@ export * from './validators/responses/response-option.interface';
|
|
|
92
92
|
export * from './validators/responses/succes-result.interface';
|
|
93
93
|
export * from './validators/responses/success';
|
|
94
94
|
export * from './validators/responses/success.interface';
|
|
95
|
+
export * from './validators/responses/error-with-code';
|
|
96
|
+
export * from './validators/responses/error-with-code.interface';
|
|
97
|
+
export * from './validators/responses/success-with-code';
|
|
98
|
+
export * from './validators/responses/success-with-code.interface';
|
|
95
99
|
export * from './decorators/get-user-decorator';
|
|
96
100
|
export * from './decorators/get-event-id-decorator';
|
|
97
101
|
export * from './interceptors/response.interceptor';
|
|
98
102
|
export * from './interceptors/serialize.interceptor';
|
|
103
|
+
export * from './interceptors/response-with-code.interceptor';
|
|
99
104
|
export * from './db/CustomModel';
|
|
100
105
|
export * from './db/MongooseBase';
|
|
101
106
|
export * from './db/mongoose-find-options';
|
package/build/index.js
CHANGED
|
@@ -104,10 +104,15 @@ __exportStar(require("./validators/responses/response-option.interface"), export
|
|
|
104
104
|
__exportStar(require("./validators/responses/succes-result.interface"), exports);
|
|
105
105
|
__exportStar(require("./validators/responses/success"), exports);
|
|
106
106
|
__exportStar(require("./validators/responses/success.interface"), exports);
|
|
107
|
+
__exportStar(require("./validators/responses/error-with-code"), exports);
|
|
108
|
+
__exportStar(require("./validators/responses/error-with-code.interface"), exports);
|
|
109
|
+
__exportStar(require("./validators/responses/success-with-code"), exports);
|
|
110
|
+
__exportStar(require("./validators/responses/success-with-code.interface"), exports);
|
|
107
111
|
__exportStar(require("./decorators/get-user-decorator"), exports);
|
|
108
112
|
__exportStar(require("./decorators/get-event-id-decorator"), exports);
|
|
109
113
|
__exportStar(require("./interceptors/response.interceptor"), exports);
|
|
110
114
|
__exportStar(require("./interceptors/serialize.interceptor"), exports);
|
|
115
|
+
__exportStar(require("./interceptors/response-with-code.interceptor"), exports);
|
|
111
116
|
__exportStar(require("./db/CustomModel"), exports);
|
|
112
117
|
__exportStar(require("./db/MongooseBase"), exports);
|
|
113
118
|
__exportStar(require("./db/mongoose-find-options"), exports);
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAiC;AACjC,iEAA8C;AAC9C,mEAAgD;AAChD,+DAA4C;AAC5C,oEAAiD;AACjD,qEAAkD;AAClD,oEAAiD;AACjD,sEAAmD;AACnD,6EAA0D;AAC1D,uEAAoD;AACpD,sEAAmD;AACnD,6EAA0D;AAC1D,2EAAwD;AACxD,4EAAyD;AACzD,iEAA8C;AAC9C,4EAAyD;AACzD,4EAAyD;AACzD,wEAAqD;AACrD,yEAAsD;AACtD,yEAAsD;AACtD,oEAAiD;AACjD,6EAA0D;AAC1D,2EAAwD;AACxD,8EAA2D;AAC3D,mEAAgD;AAChD,oEAAiD;AACjD,oEAAiD;AACjD,oEAAiD;AACjD,wEAAqD;AACrD,2EAAwD;AACxD,0EAAuD;AACvD,mEAAgD;AAChD,kDAA+B;AAC/B,oEAAiD;AACjD,2EAAwD;AACxD,oEAAiD;AACjD,qEAAkD;AAClD,qEAAkD;AAClD,wEAAqD;AACrD,sEAAmD;AACnD,0EAAuD;AACvD,wEAAqD;AACrD,4EAAyD;AACzD,oEAAiD;AACjD,oEAAiD;AACjD,wEAAqD;AACrD,0EAAuD;AACvD,2EAAwD;AACxD,yEAAsD;AACtD,kFAA+D;AAC/D,qEAAkD;AAClD,qEAAkD;AAClD,qEAAkD;AAClD,qEAAkD;AAClD,mEAAgD;AAChD,mEAAgD;AAChD,qEAAkD;AAClD,6EAA0D;AAC1D,qEAAkD;AAClD,qEAAkD;AAClD,qEAAkD;AAClD,uEAAoD;AACpD,uEAAoD;AACpD,iEAA8C;AAC9C,iEAA8C;AAC9C,qEAAkD;AAClD,qEAAkD;AAClD,4EAAyD;AACzD,4EAAyD;AACzD,0EAAuD;AACvD,qDAAkC;AAClC,yEAAsD;AACtD,iFAA8D;AAC9D,sFAAmE;AACnE,sEAAmD;AACnD,iFAA8D;AAC9D,iFAA8D;AAC9D,kFAA+D;AAC/D,yEAAsD;AACtD,wEAAqD;AACrD,8EAA2D;AAE3D,oEAAiD;AACjD,8DAA2C;AAC3C,+DAA4C;AAC5C,kEAA+C;AAC/C,wEAAqD;AACrD,kEAA+C;AAC/C,gFAA6D;AAC7D,+DAA4C;AAC5C,yEAAsD;AACtD,mFAAgE;AAChE,iFAA8D;AAC9D,iEAA8C;AAC9C,2EAAwD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oDAAiC;AACjC,iEAA8C;AAC9C,mEAAgD;AAChD,+DAA4C;AAC5C,oEAAiD;AACjD,qEAAkD;AAClD,oEAAiD;AACjD,sEAAmD;AACnD,6EAA0D;AAC1D,uEAAoD;AACpD,sEAAmD;AACnD,6EAA0D;AAC1D,2EAAwD;AACxD,4EAAyD;AACzD,iEAA8C;AAC9C,4EAAyD;AACzD,4EAAyD;AACzD,wEAAqD;AACrD,yEAAsD;AACtD,yEAAsD;AACtD,oEAAiD;AACjD,6EAA0D;AAC1D,2EAAwD;AACxD,8EAA2D;AAC3D,mEAAgD;AAChD,oEAAiD;AACjD,oEAAiD;AACjD,oEAAiD;AACjD,wEAAqD;AACrD,2EAAwD;AACxD,0EAAuD;AACvD,mEAAgD;AAChD,kDAA+B;AAC/B,oEAAiD;AACjD,2EAAwD;AACxD,oEAAiD;AACjD,qEAAkD;AAClD,qEAAkD;AAClD,wEAAqD;AACrD,sEAAmD;AACnD,0EAAuD;AACvD,wEAAqD;AACrD,4EAAyD;AACzD,oEAAiD;AACjD,oEAAiD;AACjD,wEAAqD;AACrD,0EAAuD;AACvD,2EAAwD;AACxD,yEAAsD;AACtD,kFAA+D;AAC/D,qEAAkD;AAClD,qEAAkD;AAClD,qEAAkD;AAClD,qEAAkD;AAClD,mEAAgD;AAChD,mEAAgD;AAChD,qEAAkD;AAClD,6EAA0D;AAC1D,qEAAkD;AAClD,qEAAkD;AAClD,qEAAkD;AAClD,uEAAoD;AACpD,uEAAoD;AACpD,iEAA8C;AAC9C,iEAA8C;AAC9C,qEAAkD;AAClD,qEAAkD;AAClD,4EAAyD;AACzD,4EAAyD;AACzD,0EAAuD;AACvD,qDAAkC;AAClC,yEAAsD;AACtD,iFAA8D;AAC9D,sFAAmE;AACnE,sEAAmD;AACnD,iFAA8D;AAC9D,iFAA8D;AAC9D,kFAA+D;AAC/D,yEAAsD;AACtD,wEAAqD;AACrD,8EAA2D;AAE3D,oEAAiD;AACjD,8DAA2C;AAC3C,+DAA4C;AAC5C,kEAA+C;AAC/C,wEAAqD;AACrD,kEAA+C;AAC/C,gFAA6D;AAC7D,+DAA4C;AAC5C,yEAAsD;AACtD,mFAAgE;AAChE,iFAA8D;AAC9D,iEAA8C;AAC9C,2EAAwD;AACxD,yEAAsD;AACtD,mFAAgE;AAChE,2EAAwD;AACxD,qFAAkE;AAElE,kEAA+C;AAC/C,sEAAmD;AAEnD,sEAAmD;AACnD,uEAAoD;AACpD,gFAA6D;AAE7D,mDAAgC;AAChC,oDAAiC;AACjC,6DAA0C;AAC1C,oEAAiD;AACjD,yEAAsD;AAEtD,gEAA6C;AAC7C,sEAAmD;AACnD,yDAAsC;AACtC,yDAAsC;AACtC,gEAA6C;AAC7C,yEAAsD;AACtD,2EAAwD;AACxD,4DAAyC;AACzC,0EAAuD;AACvD,0DAAuC;AACvC,gEAA6C;AAC7C,0DAAuC;AACvC,qEAAkD;AAClD,qEAAkD;AAClD,uEAAoD;AACpD,mEAAgD;AAChD,+DAA4C;AAC5C,uEAAoD;AACpD,qEAAkD;AAClD,kEAA+C;AAC/C,oEAAiD;AACjD,iEAA8C;AAC9C,2DAAwC;AACxC,8DAA2C;AAC3C,kEAA+C;AAC/C,6DAA0C;AAC1C,4DAAyC;AACzC,6DAA0C;AAC1C,2DAAwC;AACxC,4DAAyC;AACzC,4DAAyC;AAEzC,+DAA4C;AAC5C,sEAAmD;AACnD,mFAAgE;AAChE,kFAA+D;AAC/D,wEAAqD;AAErD,qEAAkD;AAClD,6DAA0C;AAC1C,uDAAoC;AACpC,sDAAmC;AACnC,qDAAkC;AAClC,mDAAgC;AAChC,4DAAyC;AACzC,2DAAwC;AACxC,oDAAiC;AACjC,uDAAoC;AACpC,yDAAsC;AACtC,sDAAmC;AACnC,wDAAqC;AACrC,mDAAgC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { NestInterceptor, ExecutionContext, CallHandler } from '@nestjs/common';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
export declare function SerializeResponseWithCode(): MethodDecorator & ClassDecorator;
|
|
4
|
-
export declare class
|
|
4
|
+
export declare class ResponseWithCodeInterceptor implements NestInterceptor {
|
|
5
5
|
intercept(context: ExecutionContext, handler: CallHandler): Observable<any>;
|
|
6
6
|
}
|
package/build/interceptors/{respons-with-code.interceptor.js → response-with-code.interceptor.js}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.ResponseWithCodeInterceptor = exports.SerializeResponseWithCode = void 0;
|
|
4
4
|
const common_1 = require("@nestjs/common");
|
|
5
5
|
const rxjs_1 = require("rxjs");
|
|
6
6
|
const operators_1 = require("rxjs/operators");
|
|
7
7
|
const success_with_code_1 = require("../validators/responses/success-with-code");
|
|
8
8
|
const error_with_code_1 = require("../validators/responses/error-with-code");
|
|
9
9
|
function SerializeResponseWithCode() {
|
|
10
|
-
return common_1.UseInterceptors(new
|
|
10
|
+
return common_1.UseInterceptors(new ResponseWithCodeInterceptor());
|
|
11
11
|
}
|
|
12
12
|
exports.SerializeResponseWithCode = SerializeResponseWithCode;
|
|
13
|
-
class
|
|
13
|
+
class ResponseWithCodeInterceptor {
|
|
14
14
|
intercept(context, handler) {
|
|
15
15
|
return handler.handle().pipe(operators_1.catchError((err) => {
|
|
16
16
|
const response = error_with_code_1.errorWithCode(err);
|
|
@@ -28,5 +28,5 @@ class ResponseInterceptor {
|
|
|
28
28
|
}));
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
exports.
|
|
32
|
-
//# sourceMappingURL=
|
|
31
|
+
exports.ResponseWithCodeInterceptor = ResponseWithCodeInterceptor;
|
|
32
|
+
//# sourceMappingURL=response-with-code.interceptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"response-with-code.interceptor.js","sourceRoot":"","sources":["../../src/interceptors/response-with-code.interceptor.ts"],"names":[],"mappings":";;;AAAA,2CAMwB;AACxB,+BAA8C;AAC9C,8CAAiD;AACjD,iFAA4E;AAC5E,6EAAwE;AAExE,SAAgB,yBAAyB;IACvC,OAAO,wBAAe,CAAC,IAAI,2BAA2B,EAAE,CAAC,CAAC;AAC5D,CAAC;AAFD,8DAEC;AAED,MAAa,2BAA2B;IACtC,SAAS,CAAC,OAAyB,EAAE,OAAoB;QACvD,OAAO,OAAO,CAAC,MAAM,EAAE,CAAC,IAAI,CAC1B,sBAAU,CAAC,CAAC,GAAG,EAAE,EAAE;YACjB,MAAM,QAAQ,GAAG,+BAAa,CAAC,GAAG,CAAC,CAAC;YACpC,GAAG;gBACD,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,KAAK,KAAI,CAAC,GAAG,CAAC,MAAM;oBAC5B,CAAC,CAAC,IAAI,4BAAmB,CAAC,QAAQ,CAAC,KAAK,CAAC;oBACzC,CAAC,CAAC,GAAG,CAAC;YACV,GAAG,CAAC,QAAQ,GAAG,QAAQ,CAAC;YACxB,GAAG,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC;YACrC,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,GAAG,CAAC,CAAC;YACzC,OAAO,iBAAU,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC;QAC/B,CAAC,CAAC,EACF,eAAG,CAAC,CAAC,IAAS,EAAE,EAAE;YAChB,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,IAAI,CAAC,CAAC;YACzC,OAAO,mCAAe,CAAC,IAAI,CAAC,CAAC;QAC/B,CAAC,CAAC,CACH,CAAC;IACJ,CAAC;CACF;AApBD,kEAoBC"}
|
|
@@ -1311,6 +1311,26 @@
|
|
|
1311
1311
|
"signature": "bc1c560ec1f8126b061de5e5555802d656a5a341332631a448965eea92ec07c7",
|
|
1312
1312
|
"affectsGlobalScope": false
|
|
1313
1313
|
},
|
|
1314
|
+
"../src/validators/responses/error-with-code.interface.ts": {
|
|
1315
|
+
"version": "9a2a6afd8953fa9b7f9bd1bbc2447404068179d63a8aa6932a74ef57233ee13e",
|
|
1316
|
+
"signature": "5f1a2388cbe6f2638f23a99e8360d2d5f500710dbc3ac86859abc85dbb6a3642",
|
|
1317
|
+
"affectsGlobalScope": false
|
|
1318
|
+
},
|
|
1319
|
+
"../src/validators/responses/error-with-code.ts": {
|
|
1320
|
+
"version": "214ab4c476c16fb5c66e67d4434853241692513c6ef7249d6287efd52b3f3dfc",
|
|
1321
|
+
"signature": "e63f296b432b4c9e90d46b94b74c070d2610e246d7c997a7b9d9ccc44b6eae56",
|
|
1322
|
+
"affectsGlobalScope": false
|
|
1323
|
+
},
|
|
1324
|
+
"../src/validators/responses/success-with-code.interface.ts": {
|
|
1325
|
+
"version": "93b06388c88a87239257581751221c881e7bb193075d8beada87552f1a0fa976",
|
|
1326
|
+
"signature": "64158fde3124370dd19259e383abd87de08b7da2713c7342c2b6c65a8a7eec74",
|
|
1327
|
+
"affectsGlobalScope": false
|
|
1328
|
+
},
|
|
1329
|
+
"../src/validators/responses/success-with-code.ts": {
|
|
1330
|
+
"version": "9762cc4bf455b95cddf0e22ffffca3ba1442c7b495de43d373e77f2316242fe0",
|
|
1331
|
+
"signature": "915a434a2f5b81bec3d36d1b5535e83a5330733f4b4ef63488880f98d0ea5e7d",
|
|
1332
|
+
"affectsGlobalScope": false
|
|
1333
|
+
},
|
|
1314
1334
|
"../node_modules/reflect-metadata/index.d.ts": {
|
|
1315
1335
|
"version": "8d6d51a5118d000ed3bfe6e1dd1335bebfff3fef23cd2af2f84a24d30f90cc90",
|
|
1316
1336
|
"signature": "8d6d51a5118d000ed3bfe6e1dd1335bebfff3fef23cd2af2f84a24d30f90cc90",
|
|
@@ -3416,6 +3436,11 @@
|
|
|
3416
3436
|
"signature": "918377223d0611839cc9e553d77617697d1717643c9665ff42ea7123bf794640",
|
|
3417
3437
|
"affectsGlobalScope": false
|
|
3418
3438
|
},
|
|
3439
|
+
"../src/interceptors/response-with-code.interceptor.ts": {
|
|
3440
|
+
"version": "cd3de13a73b52dbe8d63082eea3f794913f2b9f9681a315c328ee0941a002ced",
|
|
3441
|
+
"signature": "69d99dd107f48ae0d0ad4a3788fc5912c8c8a3244236729966843c47f58d8079",
|
|
3442
|
+
"affectsGlobalScope": false
|
|
3443
|
+
},
|
|
3419
3444
|
"../node_modules/buffer/index.d.ts": {
|
|
3420
3445
|
"version": "8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6",
|
|
3421
3446
|
"signature": "8e9c23ba78aabc2e0a27033f18737a6df754067731e69dc5f52823957d60a4b6",
|
|
@@ -6477,8 +6502,8 @@
|
|
|
6477
6502
|
"affectsGlobalScope": false
|
|
6478
6503
|
},
|
|
6479
6504
|
"../src/index.ts": {
|
|
6480
|
-
"version": "
|
|
6481
|
-
"signature": "
|
|
6505
|
+
"version": "7e78a9c4427bee6f044f3cf0c5fbf49749b12a95c7df7617e4d4eaca7a815791",
|
|
6506
|
+
"signature": "90e50dad6cbb352a52241098b633e74b329353f3f35062b24f73d0c7d6b1da5b",
|
|
6482
6507
|
"affectsGlobalScope": false
|
|
6483
6508
|
},
|
|
6484
6509
|
"../src/events/meeting-request-updated.interface.ts": {
|
|
@@ -6486,31 +6511,6 @@
|
|
|
6486
6511
|
"signature": "2388b17bfe1f2e511b4960ec098cf5db020cec29e4f50f8676f8aa64da10c581",
|
|
6487
6512
|
"affectsGlobalScope": false
|
|
6488
6513
|
},
|
|
6489
|
-
"../src/validators/responses/success-with-code.interface.ts": {
|
|
6490
|
-
"version": "93b06388c88a87239257581751221c881e7bb193075d8beada87552f1a0fa976",
|
|
6491
|
-
"signature": "64158fde3124370dd19259e383abd87de08b7da2713c7342c2b6c65a8a7eec74",
|
|
6492
|
-
"affectsGlobalScope": false
|
|
6493
|
-
},
|
|
6494
|
-
"../src/validators/responses/success-with-code.ts": {
|
|
6495
|
-
"version": "9762cc4bf455b95cddf0e22ffffca3ba1442c7b495de43d373e77f2316242fe0",
|
|
6496
|
-
"signature": "915a434a2f5b81bec3d36d1b5535e83a5330733f4b4ef63488880f98d0ea5e7d",
|
|
6497
|
-
"affectsGlobalScope": false
|
|
6498
|
-
},
|
|
6499
|
-
"../src/validators/responses/error-with-code.interface.ts": {
|
|
6500
|
-
"version": "9a2a6afd8953fa9b7f9bd1bbc2447404068179d63a8aa6932a74ef57233ee13e",
|
|
6501
|
-
"signature": "5f1a2388cbe6f2638f23a99e8360d2d5f500710dbc3ac86859abc85dbb6a3642",
|
|
6502
|
-
"affectsGlobalScope": false
|
|
6503
|
-
},
|
|
6504
|
-
"../src/validators/responses/error-with-code.ts": {
|
|
6505
|
-
"version": "214ab4c476c16fb5c66e67d4434853241692513c6ef7249d6287efd52b3f3dfc",
|
|
6506
|
-
"signature": "e63f296b432b4c9e90d46b94b74c070d2610e246d7c997a7b9d9ccc44b6eae56",
|
|
6507
|
-
"affectsGlobalScope": false
|
|
6508
|
-
},
|
|
6509
|
-
"../src/interceptors/respons-with-code.interceptor.ts": {
|
|
6510
|
-
"version": "7c94b37db402b6c55ad31226d98a7bd0a17bad82683c317473feb982ed7fe960",
|
|
6511
|
-
"signature": "ef9b6fd1416cc872c2e7bb6ada24bfdf1afb974dbb7c026fd1e7f0b72d166987",
|
|
6512
|
-
"affectsGlobalScope": false
|
|
6513
|
-
},
|
|
6514
6514
|
"../node_modules/@types/minimatch/index.d.ts": {
|
|
6515
6515
|
"version": "95c22bc19835e28e2e524a4bb8898eb5f2107b640d7279a6d3aade261916bbf2",
|
|
6516
6516
|
"signature": "95c22bc19835e28e2e524a4bb8898eb5f2107b640d7279a6d3aade261916bbf2",
|
|
@@ -11575,6 +11575,7 @@
|
|
|
11575
11575
|
"../src/events/update-meeting-crm.interface.ts",
|
|
11576
11576
|
"../src/events/update-meeting-status.interface.ts",
|
|
11577
11577
|
"../src/events/update-user-event-info.interface.ts",
|
|
11578
|
+
"../src/interceptors/response-with-code.interceptor.ts",
|
|
11578
11579
|
"../src/interceptors/response.interceptor.ts",
|
|
11579
11580
|
"../src/interceptors/serialize.interceptor.ts",
|
|
11580
11581
|
"../src/middlewares/app.middleware.ts",
|
|
@@ -11629,10 +11630,14 @@
|
|
|
11629
11630
|
"../src/validators/conditional-required.ts",
|
|
11630
11631
|
"../src/validators/date-validator.ts",
|
|
11631
11632
|
"../src/validators/responses/customizeArrayResponse.ts",
|
|
11633
|
+
"../src/validators/responses/error-with-code.interface.ts",
|
|
11634
|
+
"../src/validators/responses/error-with-code.ts",
|
|
11632
11635
|
"../src/validators/responses/error.interface.ts",
|
|
11633
11636
|
"../src/validators/responses/error.ts",
|
|
11634
11637
|
"../src/validators/responses/response-option.interface.ts",
|
|
11635
11638
|
"../src/validators/responses/succes-result.interface.ts",
|
|
11639
|
+
"../src/validators/responses/success-with-code.interface.ts",
|
|
11640
|
+
"../src/validators/responses/success-with-code.ts",
|
|
11636
11641
|
"../src/validators/responses/success.interface.ts",
|
|
11637
11642
|
"../src/validators/responses/success.ts",
|
|
11638
11643
|
"../src/validators/validateNewItem.ts",
|
|
@@ -11640,7 +11645,7 @@
|
|
|
11640
11645
|
"../src/validators/validateProjectionResult.ts",
|
|
11641
11646
|
"../src/validators/validateUpdateItem.ts"
|
|
11642
11647
|
],
|
|
11643
|
-
"../src/interceptors/
|
|
11648
|
+
"../src/interceptors/response-with-code.interceptor.ts": [
|
|
11644
11649
|
"../node_modules/@nestjs/common/index.d.ts",
|
|
11645
11650
|
"../node_modules/rxjs/dist/types/index.d.ts",
|
|
11646
11651
|
"../node_modules/rxjs/dist/types/operators/index.d.ts",
|
|
@@ -16792,6 +16797,7 @@
|
|
|
16792
16797
|
"../src/events/update-meeting-crm.interface.ts",
|
|
16793
16798
|
"../src/events/update-meeting-status.interface.ts",
|
|
16794
16799
|
"../src/events/update-user-event-info.interface.ts",
|
|
16800
|
+
"../src/interceptors/response-with-code.interceptor.ts",
|
|
16795
16801
|
"../src/interceptors/response.interceptor.ts",
|
|
16796
16802
|
"../src/interceptors/serialize.interceptor.ts",
|
|
16797
16803
|
"../src/middlewares/app.middleware.ts",
|
|
@@ -16846,10 +16852,14 @@
|
|
|
16846
16852
|
"../src/validators/conditional-required.ts",
|
|
16847
16853
|
"../src/validators/date-validator.ts",
|
|
16848
16854
|
"../src/validators/responses/customizeArrayResponse.ts",
|
|
16855
|
+
"../src/validators/responses/error-with-code.interface.ts",
|
|
16856
|
+
"../src/validators/responses/error-with-code.ts",
|
|
16849
16857
|
"../src/validators/responses/error.interface.ts",
|
|
16850
16858
|
"../src/validators/responses/error.ts",
|
|
16851
16859
|
"../src/validators/responses/response-option.interface.ts",
|
|
16852
16860
|
"../src/validators/responses/succes-result.interface.ts",
|
|
16861
|
+
"../src/validators/responses/success-with-code.interface.ts",
|
|
16862
|
+
"../src/validators/responses/success-with-code.ts",
|
|
16853
16863
|
"../src/validators/responses/success.interface.ts",
|
|
16854
16864
|
"../src/validators/responses/success.ts",
|
|
16855
16865
|
"../src/validators/validateNewItem.ts",
|
|
@@ -16857,7 +16867,7 @@
|
|
|
16857
16867
|
"../src/validators/validateProjectionResult.ts",
|
|
16858
16868
|
"../src/validators/validateUpdateItem.ts"
|
|
16859
16869
|
],
|
|
16860
|
-
"../src/interceptors/
|
|
16870
|
+
"../src/interceptors/response-with-code.interceptor.ts": [
|
|
16861
16871
|
"../node_modules/@nestjs/common/index.d.ts",
|
|
16862
16872
|
"../node_modules/rxjs/dist/types/index.d.ts"
|
|
16863
16873
|
],
|
|
@@ -18200,7 +18210,7 @@
|
|
|
18200
18210
|
"../src/events/update-meeting-status.interface.ts",
|
|
18201
18211
|
"../src/events/update-user-event-info.interface.ts",
|
|
18202
18212
|
"../src/index.ts",
|
|
18203
|
-
"../src/interceptors/
|
|
18213
|
+
"../src/interceptors/response-with-code.interceptor.ts",
|
|
18204
18214
|
"../src/interceptors/response.interceptor.ts",
|
|
18205
18215
|
"../src/interceptors/serialize.interceptor.ts",
|
|
18206
18216
|
"../src/middlewares/app.middleware.ts",
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"respons-with-code.interceptor.js","sourceRoot":"","sources":["../../src/interceptors/respons-with-code.interceptor.ts"],"names":[],"mappings":";;;AAAA,2CAMwB;AACxB,+BAA8C;AAC9C,8CAAiD;AACjD,iFAA4E;AAC5E,6EAAwE;AAExE,SAAgB,yBAAyB;IACvC,OAAO,wBAAe,CAAC,IAAI,mBAAmB,EAAE,CAAC,CAAC;AACpD,CAAC;AAFD,8DAEC;AAED,MAAa,mBAAmB;IAC9B,SAAS,CAAC,OAAyB,EAAE,OAAoB;QACvD,OAAO,OAAO,CAAC,MAAM,EAAE,CAAC,IAAI,CAC1B,sBAAU,CAAC,CAAC,GAAG,EAAE,EAAE;YACjB,MAAM,QAAQ,GAAG,+BAAa,CAAC,GAAG,CAAC,CAAC;YACpC,GAAG;gBACD,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,KAAK,KAAI,CAAC,GAAG,CAAC,MAAM;oBAC5B,CAAC,CAAC,IAAI,4BAAmB,CAAC,QAAQ,CAAC,KAAK,CAAC;oBACzC,CAAC,CAAC,GAAG,CAAC;YACV,GAAG,CAAC,QAAQ,GAAG,QAAQ,CAAC;YACxB,GAAG,CAAC,UAAU,GAAG,QAAQ,CAAC,UAAU,CAAC;YACrC,OAAO,CAAC,GAAG,CAAC,sBAAsB,EAAE,GAAG,CAAC,CAAC;YACzC,OAAO,iBAAU,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,CAAC;QAC/B,CAAC,CAAC,EACF,eAAG,CAAC,CAAC,IAAS,EAAE,EAAE;YAChB,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,IAAI,CAAC,CAAC;YACzC,OAAO,mCAAe,CAAC,IAAI,CAAC,CAAC;QAC/B,CAAC,CAAC,CACH,CAAC;IACJ,CAAC;CACF;AApBD,kDAoBC"}
|