@aldb2b/common 1.0.973 → 1.0.975
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/build/entities/models/common/entity.common.module.js +0 -18
- package/build/entities/models/common/entity.common.module.js.map +1 -1
- package/build/entities/models/common/repositories/preference-customization.repository.js +21 -2
- package/build/entities/models/common/repositories/preference-customization.repository.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -12,15 +12,6 @@ const config_1 = require("@nestjs/config");
|
|
|
12
12
|
const preference_customization_controller_1 = require("./controllers/preference-customization.controller");
|
|
13
13
|
const preference_customization_service_1 = require("./services/preference-customization.service");
|
|
14
14
|
const preference_customization_repository_1 = require("./repositories/preference-customization.repository");
|
|
15
|
-
const preference_customization_entity_1 = require("./entities/preference-customization.entity");
|
|
16
|
-
const database_connection_enum_1 = require("../../../enums/database-connection.enum");
|
|
17
|
-
const database_model_enum_1 = require("../../../enums/database-model.enum");
|
|
18
|
-
console.log('process.env.MONGO_URI: ', process.env.MONGO_URI);
|
|
19
|
-
console.log('process.env.MONGO_URI_COMPANY: ', process.env.MONGO_URI_COMPANY);
|
|
20
|
-
console.log('process.env.MONGO_URI_EVENT: ', process.env.MONGO_URI_EVENT);
|
|
21
|
-
console.log('process.env.MONGO_URI_MEETING: ', process.env.MONGO_URI_MEETING);
|
|
22
|
-
console.log('process.env.MONGO_URI_SUBSCRIPTION: ', process.env.MONGO_URI_SUBSCRIPTION);
|
|
23
|
-
console.log('process.env.MONGO_URI_USER: ', process.env.MONGO_URI_USER);
|
|
24
15
|
let EntityCommonModule = class EntityCommonModule {
|
|
25
16
|
};
|
|
26
17
|
exports.EntityCommonModule = EntityCommonModule;
|
|
@@ -34,15 +25,6 @@ exports.EntityCommonModule = EntityCommonModule = __decorate([
|
|
|
34
25
|
],
|
|
35
26
|
controllers: [preference_customization_controller_1.PreferenceCustomizationController],
|
|
36
27
|
providers: [
|
|
37
|
-
{
|
|
38
|
-
provide: database_model_enum_1.DatabaseModel.PREFERENCE_CUSTOMIZATION_MODEL,
|
|
39
|
-
useFactory: preference_customization_entity_1.preferenceCustomizationFactory,
|
|
40
|
-
inject: [
|
|
41
|
-
database_connection_enum_1.DatabaseConnection.CURRENT_CONNECTION,
|
|
42
|
-
database_connection_enum_1.DatabaseConnection.EVENT_CONNECTION,
|
|
43
|
-
database_connection_enum_1.DatabaseConnection.COMPANY_CONNECTION,
|
|
44
|
-
],
|
|
45
|
-
},
|
|
46
28
|
preference_customization_service_1.PreferenceCustomizationService,
|
|
47
29
|
preference_customization_repository_1.PreferenceCustomizationRepository
|
|
48
30
|
],
|
|
@@ -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;
|
|
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;AAgBhG,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAAG,CAAA;AAArB,gDAAkB;6BAAlB,kBAAkB;IAd9B,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,iEAA8B;YAC9B,uEAAiC;SAClC;QACD,OAAO,EAAE,CAAC,iEAA8B,EAAE,uEAAiC,CAAC;KAC7E,CAAC;GACW,kBAAkB,CAAG"}
|
|
@@ -1,12 +1,31 @@
|
|
|
1
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
|
+
};
|
|
2
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
15
|
exports.PreferenceCustomizationRepository = void 0;
|
|
16
|
+
const CustomModel_1 = require("../../../../db/CustomModel");
|
|
4
17
|
const MongooseBase_1 = require("../../../../db/MongooseBase");
|
|
5
|
-
|
|
18
|
+
const database_model_enum_1 = require("../../../../enums/database-model.enum");
|
|
19
|
+
const common_1 = require("@nestjs/common");
|
|
20
|
+
let PreferenceCustomizationRepository = class PreferenceCustomizationRepository extends MongooseBase_1.MongooseBase {
|
|
6
21
|
constructor(PreferenceCustomizationModel) {
|
|
7
22
|
super(PreferenceCustomizationModel);
|
|
8
23
|
this.PreferenceCustomizationModel = PreferenceCustomizationModel;
|
|
9
24
|
}
|
|
10
|
-
}
|
|
25
|
+
};
|
|
11
26
|
exports.PreferenceCustomizationRepository = PreferenceCustomizationRepository;
|
|
27
|
+
exports.PreferenceCustomizationRepository = PreferenceCustomizationRepository = __decorate([
|
|
28
|
+
__param(0, (0, common_1.Inject)(database_model_enum_1.DatabaseModel.PREFERENCE_CUSTOMIZATION_MODEL)),
|
|
29
|
+
__metadata("design:paramtypes", [CustomModel_1.CustomModel])
|
|
30
|
+
], PreferenceCustomizationRepository);
|
|
12
31
|
//# sourceMappingURL=preference-customization.repository.js.map
|
package/build/entities/models/common/repositories/preference-customization.repository.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preference-customization.repository.js","sourceRoot":"","sources":["../../../../../src/entities/models/common/repositories/preference-customization.repository.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"preference-customization.repository.js","sourceRoot":"","sources":["../../../../../src/entities/models/common/repositories/preference-customization.repository.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,4DAAwD;AACxD,8DAA0D;AAE1D,+EAAoE;AACpE,2CAAsC;AAEtC,IAAa,iCAAiC,GAA9C,MAAa,iCAAkC,SAAQ,2BAA6C;IAChG,YAEY,4BAA0E;QAElF,KAAK,CAAC,4BAA4B,CAAC,CAAA;QAF3B,iCAA4B,GAA5B,4BAA4B,CAA8C;IAGtF,CAAC;CACJ,CAAA;AAPY,8EAAiC;4CAAjC,iCAAiC;IAErC,WAAA,IAAA,eAAM,EAAC,mCAAa,CAAC,8BAA8B,CAAC,CAAA;qCACf,yBAAW;GAH5C,iCAAiC,CAO7C"}
|