@uniorganization/uni-lib 1.1.63 → 1.1.65

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.
@@ -34,4 +34,5 @@ export declare class VwUserRoster {
34
34
  satOut: string;
35
35
  mainLine: string;
36
36
  employeeRole: string;
37
+ productionDate: Date;
37
38
  }
@@ -153,6 +153,10 @@ __decorate([
153
153
  (0, typeorm_1.Column)({ name: 'employee_role' }),
154
154
  __metadata("design:type", String)
155
155
  ], VwUserRoster.prototype, "employeeRole", void 0);
156
+ __decorate([
157
+ (0, typeorm_1.Column)({ name: 'production_date' }),
158
+ __metadata("design:type", Date)
159
+ ], VwUserRoster.prototype, "productionDate", void 0);
156
160
  VwUserRoster = __decorate([
157
161
  (0, typeorm_1.ViewEntity)('raw_roster', { schema: 'nroster' })
158
162
  ], VwUserRoster);
@@ -17,6 +17,7 @@ export declare class Users {
17
17
  lob: string;
18
18
  division: string;
19
19
  profile: string;
20
+ viewEvaluations: boolean;
20
21
  userRoles: UserRoles[];
21
22
  reportsTo: Users;
22
23
  userCampaigns: UserCampaign[];
@@ -76,6 +76,10 @@ __decorate([
76
76
  (0, typeorm_1.Column)({ length: 250, name: 'profile' }),
77
77
  __metadata("design:type", String)
78
78
  ], Users.prototype, "profile", void 0);
79
+ __decorate([
80
+ (0, typeorm_1.Column)({ name: 'view_evaluations' }),
81
+ __metadata("design:type", Boolean)
82
+ ], Users.prototype, "viewEvaluations", void 0);
79
83
  __decorate([
80
84
  (0, typeorm_1.OneToMany)((type) => user_roles_entity_1.UserRoles, (userRoles) => userRoles.user, {
81
85
  cascade: ['insert'],
@@ -84,7 +88,7 @@ __decorate([
84
88
  __metadata("design:type", Array)
85
89
  ], Users.prototype, "userRoles", void 0);
86
90
  __decorate([
87
- (0, typeorm_1.OneToOne)((type) => Users_1),
91
+ (0, typeorm_1.OneToOne)((type) => Users_1, { cascade: ['insert'] }),
88
92
  (0, typeorm_1.JoinColumn)({ name: 'REPORTS_TO' }),
89
93
  __metadata("design:type", Users)
90
94
  ], Users.prototype, "reportsTo", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniorganization/uni-lib",
3
- "version": "1.1.63",
3
+ "version": "1.1.65",
4
4
  "description": "UNI Library",
5
5
  "author": "Jhomiguel",
6
6
  "main": "dist/index.js",