@kominal/common-nestjs 0.0.17 → 0.0.19
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/executables/bootstrap.js +1 -0
- package/executables/bootstrap.js.map +1 -1
- package/index.d.ts +3 -0
- package/index.js +3 -0
- package/index.js.map +1 -1
- package/package.json +2 -1
- package/tsconfig.tsbuildinfo +1 -1
package/executables/bootstrap.js
CHANGED
|
@@ -16,6 +16,7 @@ async function bootstrap(module) {
|
|
|
16
16
|
logger: new logger_1.CommonLogger(),
|
|
17
17
|
cors: { origin: '*' },
|
|
18
18
|
bodyParser: false,
|
|
19
|
+
abortOnError: false,
|
|
19
20
|
});
|
|
20
21
|
app.useGlobalPipes(new common_1.ValidationPipe());
|
|
21
22
|
app.useGlobalFilters(new exception_filter_1.CommonExceptionFilter());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bootstrap.js","sourceRoot":"","sources":["../../src/executables/bootstrap.ts"],"names":[],"mappings":";;AAYA,
|
|
1
|
+
{"version":3,"file":"bootstrap.js","sourceRoot":"","sources":["../../src/executables/bootstrap.ts"],"names":[],"mappings":";;AAYA,8BA0BC;AAtCD,2CAAgD;AAChD,uCAA2C;AAC3C,6CAAiE;AACjE,2BAAmC;AACnC,qCAA+B;AAC/B,kEAAoE;AACpE,8CAAiD;AAEjD,OAAO,CAAC,EAAE,CAAC,mBAAmB,EAAE,CAAC,SAAS,EAAE,EAAE;IAC5C,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;AACzB,CAAC,CAAC,CAAC;AAEI,KAAK,UAAU,SAAS,CAAC,MAAW;IACzC,MAAM,GAAG,GAAG,MAAM,kBAAW,CAAC,MAAM,CAAC,MAAM,EAAE;QAC3C,MAAM,EAAE,IAAI,qBAAY,EAAE;QAC1B,IAAI,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE;QACrB,UAAU,EAAE,KAAK;QACjB,YAAY,EAAE,KAAK;KACpB,CAAC,CAAC;IACH,GAAG,CAAC,cAAc,CAAC,IAAI,uBAAc,EAAE,CAAC,CAAC;IACzC,GAAG,CAAC,gBAAgB,CAAC,IAAI,wCAAqB,EAAE,CAAC,CAAC;IAClD,GAAG,CAAC,UAAU,EAAE,CAAC;IAEjB,MAAM,MAAM,GAAG,IAAI,yBAAe,EAAE;SACjC,QAAQ,CAAC,MAAM,CAAC;SAChB,SAAS,CAAC,WAAW,EAAE,sBAAsB,CAAC;SAC9C,aAAa,EAAE;SACf,KAAK,EAAE,CAAC;IAEX,MAAM,QAAQ,GAAG,uBAAa,CAAC,cAAc,CAAC,GAAG,EAAE,MAAM,CAAC,CAAC;IAC3D,uBAAa,CAAC,KAAK,CAAC,KAAK,EAAE,GAAU,EAAE,QAAQ,CAAC,CAAC;IAEjD,IAAI,OAAO,CAAC,GAAG,CAAC,gBAAgB,EAAE,CAAC;QACjC,IAAA,kBAAa,EAAC,cAAc,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC;QACxD,IAAA,cAAI,EAAC,CAAC,CAAC,CAAC;IACV,CAAC;SAAM,CAAC;QACN,MAAM,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IACzB,CAAC;AACH,CAAC"}
|
package/index.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ export * from './entities/access-token.entity';
|
|
|
3
3
|
export * from './entities/membership.entity';
|
|
4
4
|
export * from './entities/tenant.entity';
|
|
5
5
|
export * from './entities/user.entity';
|
|
6
|
+
export * from './executables/bootstrap';
|
|
7
|
+
export * from './executables/common-app.module';
|
|
6
8
|
export * from './guards/admin.guard';
|
|
7
9
|
export * from './guards/system.guard';
|
|
8
10
|
export * from './guards/tenant.guard';
|
|
@@ -12,6 +14,7 @@ export * from './helpers/custom-operation-name.decorator';
|
|
|
12
14
|
export * from './helpers/entity-service.helper';
|
|
13
15
|
export * from './helpers/exception-filter';
|
|
14
16
|
export * from './helpers/logger';
|
|
17
|
+
export * from './middlewares/json-body.middleware';
|
|
15
18
|
export * from './middlewares/request-logging.middleware';
|
|
16
19
|
export * from './models/entity.model';
|
|
17
20
|
export * from './models/stored-file.model';
|
package/index.js
CHANGED
|
@@ -19,6 +19,8 @@ __exportStar(require("./entities/access-token.entity"), exports);
|
|
|
19
19
|
__exportStar(require("./entities/membership.entity"), exports);
|
|
20
20
|
__exportStar(require("./entities/tenant.entity"), exports);
|
|
21
21
|
__exportStar(require("./entities/user.entity"), exports);
|
|
22
|
+
__exportStar(require("./executables/bootstrap"), exports);
|
|
23
|
+
__exportStar(require("./executables/common-app.module"), exports);
|
|
22
24
|
__exportStar(require("./guards/admin.guard"), exports);
|
|
23
25
|
__exportStar(require("./guards/system.guard"), exports);
|
|
24
26
|
__exportStar(require("./guards/tenant.guard"), exports);
|
|
@@ -28,6 +30,7 @@ __exportStar(require("./helpers/custom-operation-name.decorator"), exports);
|
|
|
28
30
|
__exportStar(require("./helpers/entity-service.helper"), exports);
|
|
29
31
|
__exportStar(require("./helpers/exception-filter"), exports);
|
|
30
32
|
__exportStar(require("./helpers/logger"), exports);
|
|
33
|
+
__exportStar(require("./middlewares/json-body.middleware"), exports);
|
|
31
34
|
__exportStar(require("./middlewares/request-logging.middleware"), exports);
|
|
32
35
|
__exportStar(require("./models/entity.model"), exports);
|
|
33
36
|
__exportStar(require("./models/stored-file.model"), exports);
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAEhD,iEAA+C;AAC/C,+DAA6C;AAC7C,2DAAyC;AACzC,yDAAuC;AAEvC,uDAAqC;AACrC,wDAAsC;AACtC,wDAAsC;AACtC,sDAAoC;AAEpC,8DAA4C;AAC5C,4EAA0D;AAC1D,kEAAgD;AAChD,6DAA2C;AAC3C,mDAAiC;AAEjC,2EAAyD;AAEzD,wDAAsC;AACtC,6DAA2C;AAE3C,0DAAwC;AACxC,0DAAwC;AACxC,4DAA0C;AAE1C,0DAAwC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAEhD,iEAA+C;AAC/C,+DAA6C;AAC7C,2DAAyC;AACzC,yDAAuC;AAEvC,0DAAwC;AACxC,kEAAgD;AAEhD,uDAAqC;AACrC,wDAAsC;AACtC,wDAAsC;AACtC,sDAAoC;AAEpC,8DAA4C;AAC5C,4EAA0D;AAC1D,kEAAgD;AAChD,6DAA2C;AAC3C,mDAAiC;AAEjC,qEAAmD;AACnD,2EAAyD;AAEzD,wDAAsC;AACtC,6DAA2C;AAE3C,0DAAwC;AACxC,0DAAwC;AACxC,4DAA0C;AAE1C,0DAAwC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kominal/common-nestjs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.19",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"@nestjs/common": "^11.0.20",
|
|
20
20
|
"@nestjs/mongoose": "^11.0.3",
|
|
21
21
|
"@nestjs/swagger": "^11.1.4",
|
|
22
|
+
"body-parser": "^2.2.0",
|
|
22
23
|
"class-transformer": "^0.5.1",
|
|
23
24
|
"class-validator": "^0.14.1",
|
|
24
25
|
"express": "^5.1.0",
|