@platform-modules/civil-aviation-authority 2.2.81 → 2.2.82

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.
@@ -10,6 +10,7 @@ export declare class VpnWorkFlow extends BaseModel {
10
10
  content: string;
11
11
  approver_role_id: number | null;
12
12
  approver_user_id: number | null;
13
+ Approved_by: number | null;
13
14
  status: VpnWorkFlowStatus;
14
- constructor(request_id: number, content: string, status: VpnWorkFlowStatus, order?: number, approver_role_id?: number | null, approver_user_id?: number | null);
15
+ constructor(request_id: number, content: string, status: VpnWorkFlowStatus, order?: number, approver_role_id?: number | null, approver_user_id?: number | null, Approved_by?: number | null);
15
16
  }
@@ -19,7 +19,7 @@ var VpnWorkFlowStatus;
19
19
  VpnWorkFlowStatus["PENDING"] = "Pending";
20
20
  })(VpnWorkFlowStatus || (exports.VpnWorkFlowStatus = VpnWorkFlowStatus = {}));
21
21
  let VpnWorkFlow = class VpnWorkFlow extends BaseModel_1.BaseModel {
22
- constructor(request_id, content, status, order, approver_role_id, approver_user_id) {
22
+ constructor(request_id, content, status, order, approver_role_id, approver_user_id, Approved_by) {
23
23
  super();
24
24
  this.request_id = request_id;
25
25
  this.content = content;
@@ -27,6 +27,7 @@ let VpnWorkFlow = class VpnWorkFlow extends BaseModel_1.BaseModel {
27
27
  this.order = order || null;
28
28
  this.approver_role_id = approver_role_id || null;
29
29
  this.approver_user_id = approver_user_id || null;
30
+ this.Approved_by = Approved_by || null;
30
31
  }
31
32
  };
32
33
  exports.VpnWorkFlow = VpnWorkFlow;
@@ -50,6 +51,10 @@ __decorate([
50
51
  (0, typeorm_1.Column)({ type: "integer", nullable: true }),
51
52
  __metadata("design:type", Object)
52
53
  ], VpnWorkFlow.prototype, "approver_user_id", void 0);
54
+ __decorate([
55
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
56
+ __metadata("design:type", Object)
57
+ ], VpnWorkFlow.prototype, "Approved_by", void 0);
53
58
  __decorate([
54
59
  (0, typeorm_1.Column)({
55
60
  type: "enum",
@@ -61,5 +66,5 @@ __decorate([
61
66
  ], VpnWorkFlow.prototype, "status", void 0);
62
67
  exports.VpnWorkFlow = VpnWorkFlow = __decorate([
63
68
  (0, typeorm_1.Entity)({ name: "vpn_work_flows" }),
64
- __metadata("design:paramtypes", [Number, String, String, Number, Object, Object])
69
+ __metadata("design:paramtypes", [Number, String, String, Number, Object, Object, Object])
65
70
  ], VpnWorkFlow);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/civil-aviation-authority",
3
- "version": "2.2.81",
3
+ "version": "2.2.82",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -24,6 +24,9 @@ export class VpnWorkFlow extends BaseModel {
24
24
  @Column({ type: "integer", nullable: true })
25
25
  approver_user_id: number | null;
26
26
 
27
+ @Column({ type: "integer", nullable: true })
28
+ Approved_by: number | null;
29
+
27
30
  @Column({
28
31
  type: "enum",
29
32
  enum: VpnWorkFlowStatus,
@@ -38,7 +41,8 @@ export class VpnWorkFlow extends BaseModel {
38
41
  status: VpnWorkFlowStatus,
39
42
  order?: number,
40
43
  approver_role_id?: number | null,
41
- approver_user_id?: number | null
44
+ approver_user_id?: number | null,
45
+ Approved_by?: number | null
42
46
  ) {
43
47
  super();
44
48
  this.request_id = request_id;
@@ -47,6 +51,7 @@ export class VpnWorkFlow extends BaseModel {
47
51
  this.order = order || null;
48
52
  this.approver_role_id = approver_role_id || null;
49
53
  this.approver_user_id = approver_user_id || null;
54
+ this.Approved_by = Approved_by || null;
50
55
  }
51
56
  }
52
57