text: exports.id = 0;
  exports.modules = {
  
  /***/ 40:
  /***/ (function(module, exports, __webpack_require__) {
  
  "use strict";
  
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
      var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
      if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
      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;
      return c > 3 && r && Object.defineProperty(target, key, r), r;
  };
  Object.defineProperty(exports, "__esModule", { value: true });
  exports.DatabaseModule = void 0;
  const common_1 = __webpack_require__(7);
  const typeorm_1 = __webpack_require__(37);
  const config_1 = __webpack_require__(31);
  const user_entity_1 = __webpack_require__(39);
  let DatabaseModule = class DatabaseModule {
  };
  DatabaseModule = __decorate([
      common_1.Module({
          imports: [
              typeorm_1.TypeOrmModule.forRootAsync({
                  imports: [config_1.ConfigModule],
                  inject: [config_1.ConfigService],
                  useFactory: (configService) => ({
                      type: 'postgres',
                      host: configService.get('POSTGRES_HOST'),
                      port: configService.get('POSTGRES_PORT'),
                      username: configService.get('POSTGRES_USER'),
                      password: configService.get('POSTGRES_PASSWORD'),
                      database: configService.get('POSTGRES_DB'),
                      entities: [user_entity_1.User],
                      synchronize: true,
                  })
              }),
          ],
      })
  ], DatabaseModule);
  exports.DatabaseModule = DatabaseModule;
  
  
  /***/ })
  
  };