@aldb2b/common 1.0.970 → 1.0.971

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.
@@ -15,6 +15,7 @@ const preference_customization_repository_1 = require("./repositories/preference
15
15
  const preference_customization_entity_1 = require("./entities/preference-customization.entity");
16
16
  const database_connection_enum_1 = require("../../../enums/database-connection.enum");
17
17
  const database_model_enum_1 = require("../../../enums/database-model.enum");
18
+ const mongoose_1 = require("@nestjs/mongoose");
18
19
  let EntityCommonModule = class EntityCommonModule {
19
20
  };
20
21
  exports.EntityCommonModule = EntityCommonModule;
@@ -22,6 +23,7 @@ exports.EntityCommonModule = EntityCommonModule = __decorate([
22
23
  (0, common_1.Global)(),
23
24
  (0, common_1.Module)({
24
25
  imports: [
26
+ mongoose_1.MongooseModule.forRoot(database_connection_enum_1.DatabaseConnection.CURRENT_CONNECTION),
25
27
  config_1.ConfigModule.forRoot({
26
28
  isGlobal: true,
27
29
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"entity.common.module.js","sourceRoot":"","sources":["../../../../src/entities/models/common/entity.common.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAA+C;AAC/C,2CAA6C;AAC7C,2GAAsG;AACtG,kGAA6F;AAC7F,4GAAuG;AAEvG,gGAIoD;AACpD,sFAA2E;AAE3E,4EAAiE;AA0B1D,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAAG,CAAA;AAArB,gDAAkB;6BAAlB,kBAAkB;IAvB9B,IAAA,eAAM,GAAE;IACR,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,qBAAY,CAAC,OAAO,CAAC;gBACnB,QAAQ,EAAE,IAAI;aACf,CAAC;SACH;QACD,WAAW,EAAE,CAAC,uEAAiC,CAAC;QAChD,SAAS,EAAE;YACT;gBACE,OAAO,EAAE,mCAAa,CAAC,8BAA8B;gBACrD,UAAU,EAAE,gEAA8B;gBAC1C,MAAM,EAAE;oBACN,6CAAkB,CAAC,kBAAkB;oBACrC,6CAAkB,CAAC,gBAAgB;oBACnC,6CAAkB,CAAC,kBAAkB;iBACtC;aACF;YACD,iEAA8B;YAC9B,uEAAiC;SAClC;QACD,OAAO,EAAE,CAAC,iEAA8B,EAAE,uEAAiC,CAAC;KAC7E,CAAC;GACW,kBAAkB,CAAG"}
1
+ {"version":3,"file":"entity.common.module.js","sourceRoot":"","sources":["../../../../src/entities/models/common/entity.common.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAA+C;AAC/C,2CAA6C;AAC7C,2GAAsG;AACtG,kGAA6F;AAC7F,4GAAuG;AAEvG,gGAIoD;AACpD,sFAA2E;AAE3E,4EAAiE;AAEjE,+CAAgD;AA0BzC,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAAG,CAAA;AAArB,gDAAkB;6BAAlB,kBAAkB;IAxB9B,IAAA,eAAM,GAAE;IACR,IAAA,eAAM,EAAC;QACN,OAAO,EAAE;YACP,yBAAc,CAAC,OAAO,CAAC,6CAAkB,CAAC,kBAAkB,CAAC;YAC7D,qBAAY,CAAC,OAAO,CAAC;gBACnB,QAAQ,EAAE,IAAI;aACf,CAAC;SACH;QACD,WAAW,EAAE,CAAC,uEAAiC,CAAC;QAChD,SAAS,EAAE;YACT;gBACE,OAAO,EAAE,mCAAa,CAAC,8BAA8B;gBACrD,UAAU,EAAE,gEAA8B;gBAC1C,MAAM,EAAE;oBACN,6CAAkB,CAAC,kBAAkB;oBACrC,6CAAkB,CAAC,gBAAgB;oBACnC,6CAAkB,CAAC,kBAAkB;iBACtC;aACF;YACD,iEAA8B;YAC9B,uEAAiC;SAClC;QACD,OAAO,EAAE,CAAC,iEAA8B,EAAE,uEAAiC,CAAC;KAC7E,CAAC;GACW,kBAAkB,CAAG"}