cqrs-boilerplate-code 1.0.13 → 1.0.14

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.
@@ -0,0 +1,4 @@
1
+ export interface SocketMessage<T = any> {
2
+ event: string;
3
+ payload: T;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../src/common-infra/socket.io/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["export interface SocketMessage<T = any> {\n event: string;\n payload: T;\n}"]}
@@ -0,0 +1,9 @@
1
+ import { Server, Socket } from 'socket.io';
2
+ export declare class BaseSocketGateway {
3
+ protected server: Server;
4
+ handleConnection(client: Socket): void;
5
+ handleDisconnect(client: Socket): void;
6
+ onMessage(payload: any, client: Socket): void;
7
+ protected emitToClient(client: Socket, event: string, data: any): void;
8
+ protected broadcast(event: string, data: any): void;
9
+ }
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.BaseSocketGateway = void 0;
16
+ const websockets_1 = require("@nestjs/websockets");
17
+ const socket_io_1 = require("socket.io");
18
+ let BaseSocketGateway = class BaseSocketGateway {
19
+ server;
20
+ handleConnection(client) {
21
+ console.log('[Socket Connected]', client.id);
22
+ }
23
+ handleDisconnect(client) {
24
+ console.log('[Socket Disconnected]', client.id);
25
+ }
26
+ onMessage(payload, client) {
27
+ client.emit('messageResponse', payload);
28
+ }
29
+ emitToClient(client, event, data) {
30
+ client.emit(event, data);
31
+ }
32
+ broadcast(event, data) {
33
+ this.server.emit(event, data);
34
+ }
35
+ };
36
+ exports.BaseSocketGateway = BaseSocketGateway;
37
+ __decorate([
38
+ (0, websockets_1.WebSocketServer)(),
39
+ __metadata("design:type", socket_io_1.Server)
40
+ ], BaseSocketGateway.prototype, "server", void 0);
41
+ __decorate([
42
+ (0, websockets_1.SubscribeMessage)('message'),
43
+ __param(0, (0, websockets_1.MessageBody)()),
44
+ __param(1, (0, websockets_1.ConnectedSocket)()),
45
+ __metadata("design:type", Function),
46
+ __metadata("design:paramtypes", [Object, socket_io_1.Socket]),
47
+ __metadata("design:returntype", void 0)
48
+ ], BaseSocketGateway.prototype, "onMessage", null);
49
+ exports.BaseSocketGateway = BaseSocketGateway = __decorate([
50
+ (0, websockets_1.WebSocketGateway)()
51
+ ], BaseSocketGateway);
52
+ //# sourceMappingURL=socket.gateway.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"socket.gateway.js","sourceRoot":"","sources":["../../../src/common-infra/socket.io/socket.gateway.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,mDAM4B;AAC5B,yCAA2C;AAGpC,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;IAEhB,MAAM,CAAS;IAEzB,gBAAgB,CAAC,MAAc;QAC3B,OAAO,CAAC,GAAG,CAAC,oBAAoB,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC;IACjD,CAAC;IAED,gBAAgB,CAAC,MAAc;QAC3B,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC;IACpD,CAAC;IAGD,SAAS,CACU,OAAY,EACR,MAAc;QAEjC,MAAM,CAAC,IAAI,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;IAC5C,CAAC;IAES,YAAY,CAClB,MAAc,EACd,KAAa,EACb,IAAS;QAET,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAC7B,CAAC;IAES,SAAS,CACf,KAAa,EACb,IAAS;QAET,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAClC,CAAC;CACJ,CAAA;AAlCY,8CAAiB;AAEhB;IADT,IAAA,4BAAe,GAAE;8BACA,kBAAM;iDAAC;AAWzB;IADC,IAAA,6BAAgB,EAAC,SAAS,CAAC;IAEvB,WAAA,IAAA,wBAAW,GAAE,CAAA;IACb,WAAA,IAAA,4BAAe,GAAE,CAAA;;6CAAS,kBAAM;;kDAGpC;4BAlBQ,iBAAiB;IAD7B,IAAA,6BAAgB,GAAE;GACN,iBAAiB,CAkC7B","sourcesContent":["import {\n WebSocketGateway,\n WebSocketServer,\n SubscribeMessage,\n MessageBody,\n ConnectedSocket,\n} from '@nestjs/websockets';\nimport { Server, Socket } from 'socket.io';\n\n@WebSocketGateway()\nexport class BaseSocketGateway {\n @WebSocketServer()\n protected server: Server;\n\n handleConnection(client: Socket) {\n console.log('[Socket Connected]', client.id);\n }\n\n handleDisconnect(client: Socket) {\n console.log('[Socket Disconnected]', client.id);\n }\n\n @SubscribeMessage('message')\n onMessage(\n @MessageBody() payload: any,\n @ConnectedSocket() client: Socket,\n ) {\n client.emit('messageResponse', payload);\n }\n\n protected emitToClient(\n client: Socket,\n event: string,\n data: any,\n ) {\n client.emit(event, data);\n }\n\n protected broadcast(\n event: string,\n data: any,\n ) {\n this.server.emit(event, data);\n }\n}\n"]}
@@ -0,0 +1,5 @@
1
+ import { DynamicModule } from '@nestjs/common';
2
+ import { SocketModuleOptions } from './socket.options';
3
+ export declare class SocketModule {
4
+ static register(options?: SocketModuleOptions): DynamicModule;
5
+ }
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var SocketModule_1;
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ exports.SocketModule = void 0;
11
+ const common_1 = require("@nestjs/common");
12
+ const websockets_1 = require("@nestjs/websockets");
13
+ const socket_gateway_1 = require("./socket.gateway");
14
+ let SocketModule = SocketModule_1 = class SocketModule {
15
+ static register(options = {}) {
16
+ let Gateway = class Gateway extends socket_gateway_1.BaseSocketGateway {
17
+ };
18
+ Gateway = __decorate([
19
+ (0, websockets_1.WebSocketGateway)({
20
+ cors: options.cors ?? { origin: '*' },
21
+ namespace: options.namespace,
22
+ })
23
+ ], Gateway);
24
+ return {
25
+ module: SocketModule_1,
26
+ providers: [Gateway],
27
+ exports: [Gateway],
28
+ };
29
+ }
30
+ };
31
+ exports.SocketModule = SocketModule;
32
+ exports.SocketModule = SocketModule = SocketModule_1 = __decorate([
33
+ (0, common_1.Module)({})
34
+ ], SocketModule);
35
+ //# sourceMappingURL=socket.module.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"socket.module.js","sourceRoot":"","sources":["../../../src/common-infra/socket.io/socket.module.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,2CAAuD;AACvD,mDAAsD;AACtD,qDAAqD;AAI9C,IAAM,YAAY,oBAAlB,MAAM,YAAY;IACd,AAAP,MAAM,CAAC,QAAQ,CAAC,UAA+B,EAAE;QAK7C,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,kCAAiB;SAAG,CAAA;QAApC,OAAO;YAJZ,IAAA,6BAAgB,EAAC;gBACd,IAAI,EAAE,OAAO,CAAC,IAAI,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE;gBACrC,SAAS,EAAE,OAAO,CAAC,SAAS;aAC/B,CAAC;WACI,OAAO,CAA6B;QAC1C,OAAO;YACH,MAAM,EAAE,cAAY;YACpB,SAAS,EAAE,CAAC,OAAO,CAAC;YACpB,OAAO,EAAE,CAAC,OAAO,CAAC;SACrB,CAAC;IACN,CAAC;CACJ,CAAA;AAbY,oCAAY;uBAAZ,YAAY;IADxB,IAAA,eAAM,EAAC,EAAE,CAAC;GACE,YAAY,CAaxB","sourcesContent":["import { DynamicModule, Module } from '@nestjs/common';\nimport { WebSocketGateway } from '@nestjs/websockets';\nimport { BaseSocketGateway } from './socket.gateway';\nimport { SocketModuleOptions } from './socket.options';\n\n@Module({})\nexport class SocketModule {\n static register(options: SocketModuleOptions = {}): DynamicModule {\n @WebSocketGateway({\n cors: options.cors ?? { origin: '*' },\n namespace: options.namespace,\n })\n class Gateway extends BaseSocketGateway {}\n return {\n module: SocketModule,\n providers: [Gateway],\n exports: [Gateway],\n };\n }\n}\n"]}
@@ -0,0 +1,6 @@
1
+ export interface SocketModuleOptions {
2
+ cors?: {
3
+ origin: string | string[];
4
+ };
5
+ namespace?: string;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=socket.options.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"socket.options.js","sourceRoot":"","sources":["../../../src/common-infra/socket.io/socket.options.ts"],"names":[],"mappings":"","sourcesContent":["export interface SocketModuleOptions {\n cors?: {\n origin: string | string[];\n };\n namespace?: string;\n}\n"]}
package/dist/index.d.ts CHANGED
@@ -1,27 +1,31 @@
1
1
  export * from './core-common/constant/app.constant';
2
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
3
  export * from './core-common/error/custom-error/bad-request.error';
4
+ export * from './core-common/error/custom-error/conflict.error';
10
5
  export * from './core-common/error/custom-error/custom-validation-error';
11
6
  export * from './core-common/error/custom-error/forbidden.error';
7
+ export * from './core-common/error/custom-error/internal-server.error';
8
+ export * from './core-common/error/custom-error/not-found.error';
9
+ export * from './core-common/error/custom-error/service-unavailable.error';
10
+ export * from './core-common/error/custom-error/unauthorized.error';
12
11
  export * from './core-common/error/custom-error/unprocess-entity.error';
13
- export * from './core-common/error/custom-error/conflict.error';
14
- export * from './core-common/result-model/result';
12
+ export * from './core-common/error/custom-error/validation.error';
13
+ export * from './core-common/error/generic.error';
15
14
  export * from './core-common/response-model/generic-error-response.model';
16
15
  export * from './core-common/response-model/generic-success-response.model';
16
+ export * from './core-common/result-model/result';
17
17
  export * from './core-common/logger/logger.interface';
18
18
  export * from './core-common/logger/logger.module';
19
19
  export * from './core-common/logger/logger.service';
20
- export * from './core-common/core-common.module';
21
- export * from './core-common/constant/app.constant';
22
20
  export * from './common-infra/common-infra.module';
23
21
  export * from './common-infra/database/typeorm.config';
22
+ export * from './core-common/constant/app.constant';
23
+ export * from './core-common/core-common.module';
24
+ export * from './common-infra/http/http-module.options';
25
+ export * from './common-infra/http/http.constant';
24
26
  export * from './common-infra/http/http.module';
25
27
  export * from './common-infra/http/https.service';
26
- export * from './common-infra/http/http.constant';
27
- export * from './common-infra/http/http-module.options';
28
+ export * as "socket-interface" from './common-infra/socket.io/interfaces';
29
+ export * as "socket-gateway" from './common-infra/socket.io/socket.gateway';
30
+ export * as "socket-module" from './common-infra/socket.io/socket.module';
31
+ export * as "socket-options" from './common-infra/socket.io/socket.options';
package/dist/index.js CHANGED
@@ -10,35 +10,62 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
10
10
  if (k2 === undefined) k2 = k;
11
11
  o[k2] = m[k];
12
12
  }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
13
18
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
19
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
20
  };
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
16
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports["socket-options"] = exports["socket-module"] = exports["socket-gateway"] = exports["socket-interface"] = void 0;
17
40
  __exportStar(require("./core-common/constant/app.constant"), exports);
18
41
  __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
42
  __exportStar(require("./core-common/error/custom-error/bad-request.error"), exports);
43
+ __exportStar(require("./core-common/error/custom-error/conflict.error"), exports);
26
44
  __exportStar(require("./core-common/error/custom-error/custom-validation-error"), exports);
27
45
  __exportStar(require("./core-common/error/custom-error/forbidden.error"), exports);
46
+ __exportStar(require("./core-common/error/custom-error/internal-server.error"), exports);
47
+ __exportStar(require("./core-common/error/custom-error/not-found.error"), exports);
48
+ __exportStar(require("./core-common/error/custom-error/service-unavailable.error"), exports);
49
+ __exportStar(require("./core-common/error/custom-error/unauthorized.error"), exports);
28
50
  __exportStar(require("./core-common/error/custom-error/unprocess-entity.error"), exports);
29
- __exportStar(require("./core-common/error/custom-error/conflict.error"), exports);
30
- __exportStar(require("./core-common/result-model/result"), exports);
51
+ __exportStar(require("./core-common/error/custom-error/validation.error"), exports);
52
+ __exportStar(require("./core-common/error/generic.error"), exports);
31
53
  __exportStar(require("./core-common/response-model/generic-error-response.model"), exports);
32
54
  __exportStar(require("./core-common/response-model/generic-success-response.model"), exports);
55
+ __exportStar(require("./core-common/result-model/result"), exports);
33
56
  __exportStar(require("./core-common/logger/logger.interface"), exports);
34
57
  __exportStar(require("./core-common/logger/logger.module"), exports);
35
58
  __exportStar(require("./core-common/logger/logger.service"), exports);
36
- __exportStar(require("./core-common/core-common.module"), exports);
37
- __exportStar(require("./core-common/constant/app.constant"), exports);
38
59
  __exportStar(require("./common-infra/common-infra.module"), exports);
39
60
  __exportStar(require("./common-infra/database/typeorm.config"), exports);
61
+ __exportStar(require("./core-common/constant/app.constant"), exports);
62
+ __exportStar(require("./core-common/core-common.module"), exports);
63
+ __exportStar(require("./common-infra/http/http-module.options"), exports);
64
+ __exportStar(require("./common-infra/http/http.constant"), exports);
40
65
  __exportStar(require("./common-infra/http/http.module"), exports);
41
66
  __exportStar(require("./common-infra/http/https.service"), exports);
42
- __exportStar(require("./common-infra/http/http.constant"), exports);
43
- __exportStar(require("./common-infra/http/http-module.options"), exports);
67
+ exports["socket-interface"] = __importStar(require("./common-infra/socket.io/interfaces"));
68
+ exports["socket-gateway"] = __importStar(require("./common-infra/socket.io/socket.gateway"));
69
+ exports["socket-module"] = __importStar(require("./common-infra/socket.io/socket.module"));
70
+ exports["socket-options"] = __importStar(require("./common-infra/socket.io/socket.options"));
44
71
  //# 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":";;;;;;;;;;;;;;;;AACA,sEAAmD;AAGnD,wFAAqE;AACrE,mFAAgE;AAChE,oFAAiE;AACjE,yFAAsE;AACtE,sFAAmE;AACnE,6FAA0E;AAC1E,oEAAiD;AACjD,qFAAkE;AAClE,2FAAwE;AACxE,mFAAgE;AAChE,0FAAuE;AACvE,kFAA+D;AAG/D,oEAAiD;AACjD,4FAAyE;AACzE,8FAA2E;AAG3E,wEAAqD;AACrD,qEAAkD;AAClD,sEAAmD;AAGnD,mEAAgD;AAChD,sEAAmD;AACnD,qEAAmD;AACnD,yEAAuD;AAGvD,kEAAgD;AAChD,oEAAkD;AAClD,oEAAkD;AAClD,0EAAwD","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'\nexport * from './core-common/error/custom-error/conflict.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\n// HTTP Exports\nexport * from './common-infra/http/http.module';\nexport * from './common-infra/http/https.service';\nexport * from './common-infra/http/http.constant';\nexport * from './common-infra/http/http-module.options';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,sEAAmD;AAGnD,wFAAqE;AACrE,qFAAkE;AAClE,kFAA+D;AAC/D,2FAAwE;AACxE,mFAAgE;AAChE,yFAAsE;AACtE,mFAAgE;AAChE,6FAA0E;AAC1E,sFAAmE;AACnE,0FAAuE;AACvE,oFAAiE;AACjE,oEAAiD;AAGjD,4FAAyE;AACzE,8FAA2E;AAC3E,oEAAiD;AAGjD,wEAAqD;AACrD,qEAAkD;AAClD,sEAAmD;AAGnD,qEAAkD;AAClD,yEAAsD;AACtD,sEAAmD;AACnD,mEAAgD;AAGhD,0EAAuD;AACvD,oEAAiD;AACjD,kEAA+C;AAC/C,oEAAiD;AAGjD,2FAAyE;AACzE,6FAA2E;AAC3E,2FAAyE;AACzE,6FAA2E","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/bad-request.error'\nexport * from './core-common/error/custom-error/conflict.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/internal-server.error'\nexport * from './core-common/error/custom-error/not-found.error'\nexport * from './core-common/error/custom-error/service-unavailable.error'\nexport * from './core-common/error/custom-error/unauthorized.error'\nexport * from './core-common/error/custom-error/unprocess-entity.error'\nexport * from './core-common/error/custom-error/validation.error'\nexport * from './core-common/error/generic.error'\n\n// Model Exports\nexport * from './core-common/response-model/generic-error-response.model'\nexport * from './core-common/response-model/generic-success-response.model'\nexport * from './core-common/result-model/result'\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 './common-infra/common-infra.module'\nexport * from './common-infra/database/typeorm.config'\nexport * from './core-common/constant/app.constant'\nexport * from './core-common/core-common.module'\n\n// HTTP Exports\nexport * from './common-infra/http/http-module.options'\nexport * from './common-infra/http/http.constant'\nexport * from './common-infra/http/http.module'\nexport * from './common-infra/http/https.service'\n\n// Socket.IO Exports\nexport * as \"socket-interface\" from './common-infra/socket.io/interfaces'\nexport * as \"socket-gateway\" from './common-infra/socket.io/socket.gateway'\nexport * as \"socket-module\" from './common-infra/socket.io/socket.module'\nexport * as \"socket-options\" from './common-infra/socket.io/socket.options'\n\n"]}