cqrs-boilerplate-code 1.0.9 → 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.
|
@@ -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"]}
|
package/dist/index.d.ts
CHANGED
|
@@ -6,13 +6,17 @@ export * from './core-common/error/custom-error/internal-server.error';
|
|
|
6
6
|
export * from './core-common/error/custom-error/unauthorized.error';
|
|
7
7
|
export * from './core-common/error/custom-error/service-unavailable.error';
|
|
8
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';
|
|
9
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';
|
|
10
16
|
export * from './core-common/logger/logger.interface';
|
|
11
17
|
export * from './core-common/logger/logger.module';
|
|
12
18
|
export * from './core-common/logger/logger.service';
|
|
13
|
-
export * from './core-common/response-model/generic-error-response.model';
|
|
14
|
-
export * from './core-common/response-model/generic-success-response.model';
|
|
15
19
|
export * from './core-common/core-common.module';
|
|
16
20
|
export * from './core-common/constant/app.constant';
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
21
|
+
export * from './common-infra/common-infra.module';
|
|
22
|
+
export * from './common-infra/database/typeorm.config';
|
package/dist/index.js
CHANGED
|
@@ -22,12 +22,16 @@ __exportStar(require("./core-common/error/custom-error/internal-server.error"),
|
|
|
22
22
|
__exportStar(require("./core-common/error/custom-error/unauthorized.error"), exports);
|
|
23
23
|
__exportStar(require("./core-common/error/custom-error/service-unavailable.error"), exports);
|
|
24
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);
|
|
25
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);
|
|
26
32
|
__exportStar(require("./core-common/logger/logger.interface"), exports);
|
|
27
33
|
__exportStar(require("./core-common/logger/logger.module"), exports);
|
|
28
34
|
__exportStar(require("./core-common/logger/logger.service"), exports);
|
|
29
|
-
__exportStar(require("./core-common/response-model/generic-error-response.model"), exports);
|
|
30
|
-
__exportStar(require("./core-common/response-model/generic-success-response.model"), exports);
|
|
31
35
|
__exportStar(require("./core-common/core-common.module"), exports);
|
|
32
36
|
__exportStar(require("./core-common/constant/app.constant"), exports);
|
|
33
37
|
__exportStar(require("./common-infra/common-infra.module"), exports);
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,sEAAmD;
|
|
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"]}
|