@aldb2b/common 1.0.957 → 1.0.959
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 -7
- package/build/entities/models/common/entity.common.module.js.map +1 -1
- package/build/entities/models/common/repositories/preference-customization.repository.d.ts +2 -2
- package/build/entities/models/common/repositories/preference-customization.repository.js +5 -24
- package/build/entities/models/common/repositories/preference-customization.repository.js.map +1 -1
- package/build/entities/models/model.providers.d.ts +24 -0
- package/build/entities/models/model.providers.js +2 -0
- package/build/entities/models/model.providers.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -12,8 +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
15
|
let EntityCommonModule = class EntityCommonModule {
|
|
18
16
|
};
|
|
19
17
|
exports.EntityCommonModule = EntityCommonModule;
|
|
@@ -27,11 +25,6 @@ exports.EntityCommonModule = EntityCommonModule = __decorate([
|
|
|
27
25
|
],
|
|
28
26
|
controllers: [preference_customization_controller_1.PreferenceCustomizationController],
|
|
29
27
|
providers: [
|
|
30
|
-
{
|
|
31
|
-
provide: preference_customization_entity_1.PreferenceCustomization.name,
|
|
32
|
-
useFactory: (connection) => connection.model(preference_customization_entity_1.PreferenceCustomization.name),
|
|
33
|
-
inject: [database_connection_enum_1.DatabaseConnection.CURRENT_CONNECTION],
|
|
34
|
-
},
|
|
35
28
|
preference_customization_service_1.PreferenceCustomizationService,
|
|
36
29
|
preference_customization_repository_1.PreferenceCustomizationRepository
|
|
37
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"}
|
|
@@ -2,6 +2,6 @@ import { CustomModel } from '../../../../db/CustomModel';
|
|
|
2
2
|
import { MongooseBase } from '../../../../db/MongooseBase';
|
|
3
3
|
import { PreferenceCustomization } from '../entities/preference-customization.entity';
|
|
4
4
|
export declare class PreferenceCustomizationRepository extends MongooseBase<PreferenceCustomization> {
|
|
5
|
-
private
|
|
6
|
-
constructor(
|
|
5
|
+
private PreferenceCustomizationModel;
|
|
6
|
+
constructor(PreferenceCustomizationModel: CustomModel<PreferenceCustomization>);
|
|
7
7
|
}
|
|
@@ -1,31 +1,12 @@
|
|
|
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
|
-
};
|
|
14
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
3
|
exports.PreferenceCustomizationRepository = void 0;
|
|
16
|
-
const CustomModel_1 = require("../../../../db/CustomModel");
|
|
17
4
|
const MongooseBase_1 = require("../../../../db/MongooseBase");
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
super(preferenceCustomizationModel);
|
|
23
|
-
this.preferenceCustomizationModel = preferenceCustomizationModel;
|
|
5
|
+
class PreferenceCustomizationRepository extends MongooseBase_1.MongooseBase {
|
|
6
|
+
constructor(PreferenceCustomizationModel) {
|
|
7
|
+
super(PreferenceCustomizationModel);
|
|
8
|
+
this.PreferenceCustomizationModel = PreferenceCustomizationModel;
|
|
24
9
|
}
|
|
25
|
-
}
|
|
10
|
+
}
|
|
26
11
|
exports.PreferenceCustomizationRepository = PreferenceCustomizationRepository;
|
|
27
|
-
exports.PreferenceCustomizationRepository = PreferenceCustomizationRepository = __decorate([
|
|
28
|
-
__param(0, (0, common_1.Inject)(preference_customization_entity_1.PreferenceCustomization.name)),
|
|
29
|
-
__metadata("design:paramtypes", [CustomModel_1.CustomModel])
|
|
30
|
-
], PreferenceCustomizationRepository);
|
|
31
12
|
//# 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":";;;AACA,8DAA0D;AAG1D,MAAa,iCAAkC,SAAQ,2BAAqC;IACxF,YAAoB,4BAAkE;QAClF,KAAK,CAAC,4BAA4B,CAAC,CAAA;QADnB,iCAA4B,GAA5B,4BAA4B,CAAsC;IAEtF,CAAC;CACJ;AAJD,8EAIC"}
|
|
@@ -50,6 +50,30 @@
|
|
|
50
50
|
/// <reference types="mongoose/types/inferrawdoctype" />
|
|
51
51
|
/// <reference types="@aldb2b/common/node_modules/mongoose/types/inferschematype" />
|
|
52
52
|
export declare const modelProviders: ({
|
|
53
|
+
provide: import("../..").DatabaseModel;
|
|
54
|
+
useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection, userConnection: import("mongoose").Connection) => import("mongoose").Model<import("./common").AuditTrail, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./common").AuditTrail> & import("./common").AuditTrail & Required<{
|
|
55
|
+
_id: string;
|
|
56
|
+
}>, any>;
|
|
57
|
+
inject: import("../..").DatabaseConnection[];
|
|
58
|
+
} | {
|
|
59
|
+
provide: import("../..").RepositoryProvider;
|
|
60
|
+
inject: import("../..").DatabaseModel[];
|
|
61
|
+
useFactory: (auditModel: import("../..").CustomModel<import("./common").AuditTrail>) => import("./common").AuditTrailRepository;
|
|
62
|
+
} | {
|
|
63
|
+
provide: import("../..").ServiceProvider;
|
|
64
|
+
inject: (import("../..").DatabaseModel | import("../..").RepositoryProvider)[];
|
|
65
|
+
useFactory: (auditLogRepository: import("./common").AuditTrailRepository, userModel: import("../..").CustomModel<import("./users").User>) => import("./common").AuditTrailService;
|
|
66
|
+
} | {
|
|
67
|
+
provide: import("../..").DatabaseModel;
|
|
68
|
+
useFactory: (connection: import("mongoose").Connection, eventConnection: import("mongoose").Connection, companyConnection: import("mongoose").Connection) => import("mongoose").Model<import("./common").PreferenceCustomization, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./common").PreferenceCustomization> & import("./common").PreferenceCustomization & Required<{
|
|
69
|
+
_id: string;
|
|
70
|
+
}>, any>;
|
|
71
|
+
inject: import("../..").DatabaseConnection[];
|
|
72
|
+
} | {
|
|
73
|
+
provide: import("../..").RepositoryProvider;
|
|
74
|
+
inject: import("../..").DatabaseModel[];
|
|
75
|
+
useFactory: (preferenceCustomizationModel: import("../..").CustomModel<import("./common").PreferenceCustomization>) => import("./common").PreferenceCustomizationRepository;
|
|
76
|
+
} | {
|
|
53
77
|
provide: import("../..").DatabaseModel;
|
|
54
78
|
useFactory: (connection: import("mongoose").Connection, companyConnection: import("mongoose").Connection, eventConnection: import("mongoose").Connection) => import("mongoose").Model<import("./meetings").Meeting, {}, {}, {}, import("mongoose").Document<unknown, {}, import("./meetings").Meeting> & import("./meetings").Meeting & Required<{
|
|
55
79
|
_id: string;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.modelProviders = void 0;
|
|
4
|
+
const common_provider_1 = require("./common/common.provider");
|
|
4
5
|
const companies_1 = require("./companies");
|
|
5
6
|
const events_provider_1 = require("./events/events.provider");
|
|
6
7
|
const meetings_1 = require("./meetings");
|
|
@@ -12,5 +13,6 @@ exports.modelProviders = [
|
|
|
12
13
|
...users_provider_1.userProviders,
|
|
13
14
|
...meetings_1.meetingProviders,
|
|
14
15
|
...subscriptions_provider_1.subscriptionProviders,
|
|
16
|
+
...common_provider_1.commonProviders
|
|
15
17
|
];
|
|
16
18
|
//# sourceMappingURL=model.providers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.providers.js","sourceRoot":"","sources":["../../../src/entities/models/model.providers.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"model.providers.js","sourceRoot":"","sources":["../../../src/entities/models/model.providers.ts"],"names":[],"mappings":";;;AAAA,8DAA0D;AAC1D,2CAAgD;AAChD,8DAAyD;AACzD,yCAA6C;AAC7C,mFAA8E;AAC9E,2DAAsD;AAEzC,QAAA,cAAc,GAAG;IAC5B,GAAG,gCAAc;IACjB,GAAG,8BAAkB;IACrB,GAAG,8BAAa;IAChB,GAAG,2BAAgB;IACnB,GAAG,8CAAqB;IACxB,GAAG,iCAAe;CACnB,CAAA"}
|