cqrs-boilerplate-code 1.0.8 → 1.0.10
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/common-infra/common-infra.module.js.map +1 -1
- package/dist/common-infra/index.d.ts +0 -2
- package/dist/common-infra/index.js +0 -18
- package/dist/common-infra/index.js.map +1 -1
- package/dist/core-common/index.d.ts +0 -14
- package/dist/core-common/index.js +0 -30
- package/dist/core-common/index.js.map +1 -1
- package/dist/core-common/logger/index.d.ts +0 -3
- package/dist/core-common/logger/index.js +0 -19
- package/dist/core-common/logger/index.js.map +1 -1
- package/dist/index.d.ts +22 -2
- package/dist/index.js +22 -2
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common-infra.module.js","sourceRoot":"","sources":["../../src/common-infra/common-infra.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAAuD;AACvD,2CAA8C;AAC9C,gEAAsD;AAG/C,IAAM,iBAAiB,yBAAvB,MAAM,iBAAiB;IAC5B,MAAM,CAAC,OAAO;QACZ,OAAO;YACL,MAAM,EAAE,mBAAiB;YACzB,OAAO,EAAE;gBACP,qBAAY;gBACZ,0BAAQ;aACT;YACD,OAAO,EAAE,CAAC,0BAAQ,CAAC;SACpB,CAAC;IACJ,CAAC;CACF,CAAA;AAXY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,eAAM,EAAC,EAAE,CAAC;GACE,iBAAiB,CAW7B","sourcesContent":["import { DynamicModule, Module } from \"@nestjs/common\";\nimport { ConfigModule } from \"@nestjs/config\";\nimport { DBModule } from \"./database/database.module\";\n\n@Module({})\nexport class CommonInfraModule {\n static forRoot(): DynamicModule {\n return {\n module: CommonInfraModule,\n imports: [\n ConfigModule
|
|
1
|
+
{"version":3,"file":"common-infra.module.js","sourceRoot":"","sources":["../../src/common-infra/common-infra.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAAuD;AACvD,2CAA8C;AAC9C,gEAAsD;AAG/C,IAAM,iBAAiB,yBAAvB,MAAM,iBAAiB;IAC5B,MAAM,CAAC,OAAO;QACZ,OAAO;YACL,MAAM,EAAE,mBAAiB;YACzB,OAAO,EAAE;gBACP,qBAAY;gBACZ,0BAAQ;aACT;YACD,OAAO,EAAE,CAAC,0BAAQ,CAAC;SACpB,CAAC;IACJ,CAAC;CACF,CAAA;AAXY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,eAAM,EAAC,EAAE,CAAC;GACE,iBAAiB,CAW7B","sourcesContent":["import { DynamicModule, Module } from \"@nestjs/common\";\nimport { ConfigModule } from \"@nestjs/config\";\nimport { DBModule } from \"./database/database.module\";\n\n@Module({})\nexport class CommonInfraModule {\n static forRoot(): DynamicModule {\n return {\n module: CommonInfraModule,\n imports: [\n ConfigModule,\n DBModule,\n ],\n exports: [DBModule],\n };\n }\n}\n"]}
|
|
@@ -1,19 +1 @@
|
|
|
1
|
-
"use strict";
|
|
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);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./common-infra.module"), exports);
|
|
18
|
-
__exportStar(require("./database/typeorm.config"), exports);
|
|
19
1
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common-infra/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common-infra/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export * from './constant/app.constant';
|
|
2
|
-
export * from './error/custom-error/already-exists.error';
|
|
3
|
-
export * from './error/custom-error/not-found.error';
|
|
4
|
-
export * from './error/custom-error/validation.error';
|
|
5
|
-
export * from './error/custom-error/internal-server.error';
|
|
6
|
-
export * from './error/custom-error/unauthorized.error';
|
|
7
|
-
export * from './error/custom-error/service-unavailable.error';
|
|
8
|
-
export * from './error/generic.error';
|
|
9
|
-
export * from './result-model/result';
|
|
10
|
-
export * from './logger/index';
|
|
11
|
-
export * from './response-model/generic-error-response.model';
|
|
12
|
-
export * from './response-model/generic-success-response.model';
|
|
13
|
-
export * from './core-common.module';
|
|
14
|
-
export * from './constant/app.constant';
|
|
@@ -1,31 +1 @@
|
|
|
1
|
-
"use strict";
|
|
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);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./constant/app.constant"), exports);
|
|
18
|
-
__exportStar(require("./error/custom-error/already-exists.error"), exports);
|
|
19
|
-
__exportStar(require("./error/custom-error/not-found.error"), exports);
|
|
20
|
-
__exportStar(require("./error/custom-error/validation.error"), exports);
|
|
21
|
-
__exportStar(require("./error/custom-error/internal-server.error"), exports);
|
|
22
|
-
__exportStar(require("./error/custom-error/unauthorized.error"), exports);
|
|
23
|
-
__exportStar(require("./error/custom-error/service-unavailable.error"), exports);
|
|
24
|
-
__exportStar(require("./error/generic.error"), exports);
|
|
25
|
-
__exportStar(require("./result-model/result"), exports);
|
|
26
|
-
__exportStar(require("./logger/index"), exports);
|
|
27
|
-
__exportStar(require("./response-model/generic-error-response.model"), exports);
|
|
28
|
-
__exportStar(require("./response-model/generic-success-response.model"), exports);
|
|
29
|
-
__exportStar(require("./core-common.module"), exports);
|
|
30
|
-
__exportStar(require("./constant/app.constant"), exports);
|
|
31
1
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/core-common/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/core-common/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
|
@@ -1,20 +1 @@
|
|
|
1
|
-
"use strict";
|
|
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);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./logger.interface"), exports);
|
|
18
|
-
__exportStar(require("./logger.module"), exports);
|
|
19
|
-
__exportStar(require("./logger.service"), exports);
|
|
20
1
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core-common/logger/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core-common/logger/index.ts"],"names":[],"mappings":"","sourcesContent":[""]}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,22 @@
|
|
|
1
|
-
export * from './core-common/
|
|
2
|
-
export * from './common-
|
|
1
|
+
export * from './core-common/constant/app.constant';
|
|
2
|
+
export * from './core-common/error/custom-error/already-exists.error';
|
|
3
|
+
export * from './core-common/error/custom-error/not-found.error';
|
|
4
|
+
export * from './core-common/error/custom-error/validation.error';
|
|
5
|
+
export * from './core-common/error/custom-error/internal-server.error';
|
|
6
|
+
export * from './core-common/error/custom-error/unauthorized.error';
|
|
7
|
+
export * from './core-common/error/custom-error/service-unavailable.error';
|
|
8
|
+
export * from './core-common/error/generic.error';
|
|
9
|
+
export * from './core-common/error/custom-error/bad-request.error';
|
|
10
|
+
export * from './core-common/error/custom-error/custom-validation-error';
|
|
11
|
+
export * from './core-common/error/custom-error/forbidden.error';
|
|
12
|
+
export * from './core-common/error/custom-error/unprocess-entity.error';
|
|
13
|
+
export * from './core-common/result-model/result';
|
|
14
|
+
export * from './core-common/response-model/generic-error-response.model';
|
|
15
|
+
export * from './core-common/response-model/generic-success-response.model';
|
|
16
|
+
export * from './core-common/logger/logger.interface';
|
|
17
|
+
export * from './core-common/logger/logger.module';
|
|
18
|
+
export * from './core-common/logger/logger.service';
|
|
19
|
+
export * from './core-common/core-common.module';
|
|
20
|
+
export * from './core-common/constant/app.constant';
|
|
21
|
+
export * from './common-infra/common-infra.module';
|
|
22
|
+
export * from './common-infra/database/typeorm.config';
|
package/dist/index.js
CHANGED
|
@@ -14,6 +14,26 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./core-common/
|
|
18
|
-
__exportStar(require("./common-
|
|
17
|
+
__exportStar(require("./core-common/constant/app.constant"), exports);
|
|
18
|
+
__exportStar(require("./core-common/error/custom-error/already-exists.error"), exports);
|
|
19
|
+
__exportStar(require("./core-common/error/custom-error/not-found.error"), exports);
|
|
20
|
+
__exportStar(require("./core-common/error/custom-error/validation.error"), exports);
|
|
21
|
+
__exportStar(require("./core-common/error/custom-error/internal-server.error"), exports);
|
|
22
|
+
__exportStar(require("./core-common/error/custom-error/unauthorized.error"), exports);
|
|
23
|
+
__exportStar(require("./core-common/error/custom-error/service-unavailable.error"), exports);
|
|
24
|
+
__exportStar(require("./core-common/error/generic.error"), exports);
|
|
25
|
+
__exportStar(require("./core-common/error/custom-error/bad-request.error"), exports);
|
|
26
|
+
__exportStar(require("./core-common/error/custom-error/custom-validation-error"), exports);
|
|
27
|
+
__exportStar(require("./core-common/error/custom-error/forbidden.error"), exports);
|
|
28
|
+
__exportStar(require("./core-common/error/custom-error/unprocess-entity.error"), exports);
|
|
29
|
+
__exportStar(require("./core-common/result-model/result"), exports);
|
|
30
|
+
__exportStar(require("./core-common/response-model/generic-error-response.model"), exports);
|
|
31
|
+
__exportStar(require("./core-common/response-model/generic-success-response.model"), exports);
|
|
32
|
+
__exportStar(require("./core-common/logger/logger.interface"), exports);
|
|
33
|
+
__exportStar(require("./core-common/logger/logger.module"), exports);
|
|
34
|
+
__exportStar(require("./core-common/logger/logger.service"), exports);
|
|
35
|
+
__exportStar(require("./core-common/core-common.module"), exports);
|
|
36
|
+
__exportStar(require("./core-common/constant/app.constant"), exports);
|
|
37
|
+
__exportStar(require("./common-infra/common-infra.module"), exports);
|
|
38
|
+
__exportStar(require("./common-infra/database/typeorm.config"), exports);
|
|
19
39
|
//# sourceMappingURL=index.js.map
|
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,sEAAmD;AAGnD,wFAAqE;AACrE,mFAAgE;AAChE,oFAAiE;AACjE,yFAAsE;AACtE,sFAAmE;AACnE,6FAA0E;AAC1E,oEAAiD;AACjD,qFAAkE;AAClE,2FAAwE;AACxE,mFAAgE;AAChE,0FAAuE;AAGvE,oEAAiD;AACjD,4FAAyE;AACzE,8FAA2E;AAG3E,wEAAqD;AACrD,qEAAkD;AAClD,sEAAmD;AAGnD,mEAAgD;AAChD,sEAAmD;AACnD,qEAAmD;AACnD,yEAAuD","sourcesContent":["\nexport * from './core-common/constant/app.constant'\n\n// Error Exports\nexport * from './core-common/error/custom-error/already-exists.error'\nexport * from './core-common/error/custom-error/not-found.error'\nexport * from './core-common/error/custom-error/validation.error'\nexport * from './core-common/error/custom-error/internal-server.error'\nexport * from './core-common/error/custom-error/unauthorized.error'\nexport * from './core-common/error/custom-error/service-unavailable.error'\nexport * from './core-common/error/generic.error'\nexport * from './core-common/error/custom-error/bad-request.error'\nexport * from './core-common/error/custom-error/custom-validation-error'\nexport * from './core-common/error/custom-error/forbidden.error'\nexport * from './core-common/error/custom-error/unprocess-entity.error'\n\n// Model Exports\nexport * from './core-common/result-model/result'\nexport * from './core-common/response-model/generic-error-response.model'\nexport * from './core-common/response-model/generic-success-response.model'\n\n// Logger Exports\nexport * from './core-common/logger/logger.interface'\nexport * from './core-common/logger/logger.module'\nexport * from './core-common/logger/logger.service'\n\n// Module Exports\nexport * from './core-common/core-common.module'\nexport * from './core-common/constant/app.constant'\nexport * from './common-infra/common-infra.module';\nexport * from './common-infra/database/typeorm.config';\n"]}
|