@uniorganization/uni-lib 1.1.74 → 1.1.76
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.
|
@@ -39,6 +39,10 @@ __decorate([
|
|
|
39
39
|
(0, typeorm_1.JoinColumn)({ name: 'queue_id' }),
|
|
40
40
|
__metadata("design:type", ticket_queue_entity_1.TicketQueue)
|
|
41
41
|
], UserCampaign.prototype, "ticketQueue", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)({ name: 'form_type' }),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], UserCampaign.prototype, "formType", void 0);
|
|
42
46
|
UserCampaign = __decorate([
|
|
43
47
|
(0, typeorm_1.Entity)({ name: 'user_campaign', schema: 'tracking' })
|
|
44
48
|
], UserCampaign);
|
|
@@ -15,6 +15,9 @@ const typeorm_1 = require("typeorm");
|
|
|
15
15
|
const user_campaign_entity_1 = require("./user-campaign.entity");
|
|
16
16
|
const user_roles_entity_1 = require("./user-roles.entity");
|
|
17
17
|
let Users = Users_1 = class Users {
|
|
18
|
+
calculateFullName() {
|
|
19
|
+
this.fullName = `${this.first_name} ${this.last_name}`;
|
|
20
|
+
}
|
|
18
21
|
};
|
|
19
22
|
__decorate([
|
|
20
23
|
(0, typeorm_1.PrimaryGeneratedColumn)({ name: 'ID' }),
|
|
@@ -98,6 +101,12 @@ __decorate([
|
|
|
98
101
|
}),
|
|
99
102
|
__metadata("design:type", Array)
|
|
100
103
|
], Users.prototype, "userCampaigns", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
(0, typeorm_1.AfterLoad)(),
|
|
106
|
+
__metadata("design:type", Function),
|
|
107
|
+
__metadata("design:paramtypes", []),
|
|
108
|
+
__metadata("design:returntype", void 0)
|
|
109
|
+
], Users.prototype, "calculateFullName", null);
|
|
101
110
|
Users = Users_1 = __decorate([
|
|
102
111
|
(0, typeorm_1.Entity)('USERS')
|
|
103
112
|
], Users);
|