@platform-modules/civil-aviation-authority 2.2.82 → 2.2.83
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,7 +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
|
-
|
|
13
|
+
approved_by: number | null;
|
|
14
14
|
status: VpnWorkFlowStatus;
|
|
15
|
-
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);
|
|
16
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,7 +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.
|
|
30
|
+
this.approved_by = approved_by || null;
|
|
31
31
|
}
|
|
32
32
|
};
|
|
33
33
|
exports.VpnWorkFlow = VpnWorkFlow;
|
|
@@ -54,7 +54,7 @@ __decorate([
|
|
|
54
54
|
__decorate([
|
|
55
55
|
(0, typeorm_1.Column)({ type: "integer", nullable: true }),
|
|
56
56
|
__metadata("design:type", Object)
|
|
57
|
-
], VpnWorkFlow.prototype, "
|
|
57
|
+
], VpnWorkFlow.prototype, "approved_by", void 0);
|
|
58
58
|
__decorate([
|
|
59
59
|
(0, typeorm_1.Column)({
|
|
60
60
|
type: "enum",
|
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@ export class VpnWorkFlow extends BaseModel {
|
|
|
25
25
|
approver_user_id: number | null;
|
|
26
26
|
|
|
27
27
|
@Column({ type: "integer", nullable: true })
|
|
28
|
-
|
|
28
|
+
approved_by: number | null;
|
|
29
29
|
|
|
30
30
|
@Column({
|
|
31
31
|
type: "enum",
|
|
@@ -42,7 +42,7 @@ export class VpnWorkFlow extends BaseModel {
|
|
|
42
42
|
order?: number,
|
|
43
43
|
approver_role_id?: number | null,
|
|
44
44
|
approver_user_id?: number | null,
|
|
45
|
-
|
|
45
|
+
approved_by?: number | null
|
|
46
46
|
) {
|
|
47
47
|
super();
|
|
48
48
|
this.request_id = request_id;
|
|
@@ -51,7 +51,7 @@ export class VpnWorkFlow extends BaseModel {
|
|
|
51
51
|
this.order = order || null;
|
|
52
52
|
this.approver_role_id = approver_role_id || null;
|
|
53
53
|
this.approver_user_id = approver_user_id || null;
|
|
54
|
-
this.
|
|
54
|
+
this.approved_by = approved_by || null;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
|