@uniorganization/uni-lib 1.1.75 → 1.1.77
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.
|
@@ -157,6 +157,10 @@ __decorate([
|
|
|
157
157
|
(0, typeorm_1.Column)({ name: 'production_date' }),
|
|
158
158
|
__metadata("design:type", Date)
|
|
159
159
|
], VwUserRoster.prototype, "productionDate", void 0);
|
|
160
|
+
__decorate([
|
|
161
|
+
(0, typeorm_1.Column)({ name: 'tapp_2' }),
|
|
162
|
+
__metadata("design:type", String)
|
|
163
|
+
], VwUserRoster.prototype, "tapp2", void 0);
|
|
160
164
|
VwUserRoster = __decorate([
|
|
161
165
|
(0, typeorm_1.ViewEntity)('raw_roster', { schema: 'nroster' })
|
|
162
166
|
], VwUserRoster);
|
|
@@ -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);
|