@uniorganization/uni-lib 2.0.20 → 2.0.22

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.
@@ -1,3 +1,4 @@
1
+ import { Users } from './usr.entity';
1
2
  export declare class BpAlerts {
2
3
  id: number;
3
4
  dateCreated: Date;
@@ -7,4 +8,7 @@ export declare class BpAlerts {
7
8
  lob: string;
8
9
  campaign: string;
9
10
  status: string;
11
+ comment: string;
12
+ completedById: number;
13
+ user?: Users | null;
10
14
  }
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.BpAlerts = void 0;
13
13
  const typeorm_1 = require("typeorm");
14
+ const usr_entity_1 = require("./usr.entity");
14
15
  let BpAlerts = class BpAlerts {
15
16
  };
16
17
  exports.BpAlerts = BpAlerts;
@@ -46,6 +47,19 @@ __decorate([
46
47
  (0, typeorm_1.Column)(),
47
48
  __metadata("design:type", String)
48
49
  ], BpAlerts.prototype, "status", void 0);
50
+ __decorate([
51
+ (0, typeorm_1.Column)(),
52
+ __metadata("design:type", String)
53
+ ], BpAlerts.prototype, "comment", void 0);
54
+ __decorate([
55
+ (0, typeorm_1.Column)({ name: 'completed_by_id' }),
56
+ __metadata("design:type", Number)
57
+ ], BpAlerts.prototype, "completedById", void 0);
58
+ __decorate([
59
+ (0, typeorm_1.ManyToOne)(() => usr_entity_1.Users, { nullable: false }),
60
+ (0, typeorm_1.JoinColumn)({ name: 'completed_by_id', referencedColumnName: "id" }),
61
+ __metadata("design:type", usr_entity_1.Users)
62
+ ], BpAlerts.prototype, "user", void 0);
49
63
  exports.BpAlerts = BpAlerts = __decorate([
50
64
  (0, typeorm_1.Entity)({ name: 'bp_alerts', schema: 'tracking' })
51
65
  ], BpAlerts);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniorganization/uni-lib",
3
- "version": "2.0.20",
3
+ "version": "2.0.22",
4
4
  "description": "UNI Library",
5
5
  "author": "Jhomiguel",
6
6
  "main": "dist/index.js",