@platform-modules/civil-aviation-authority 1.0.36 → 1.0.37
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.
|
@@ -2,5 +2,6 @@ import { BaseModel } from './BaseModel';
|
|
|
2
2
|
export declare class WorkflowTask extends BaseModel {
|
|
3
3
|
task_id: number;
|
|
4
4
|
name: string;
|
|
5
|
-
|
|
5
|
+
task_type: string;
|
|
6
|
+
constructor(name: string, task_id?: number, task_type?: string);
|
|
6
7
|
}
|
|
@@ -13,10 +13,11 @@ exports.WorkflowTask = void 0;
|
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const BaseModel_1 = require("./BaseModel");
|
|
15
15
|
let WorkflowTask = class WorkflowTask extends BaseModel_1.BaseModel {
|
|
16
|
-
constructor(name, task_id) {
|
|
16
|
+
constructor(name, task_id, task_type) {
|
|
17
17
|
super();
|
|
18
18
|
this.name = name;
|
|
19
19
|
this.task_id = task_id || 0;
|
|
20
|
+
this.task_type = task_type || '';
|
|
20
21
|
}
|
|
21
22
|
};
|
|
22
23
|
exports.WorkflowTask = WorkflowTask;
|
|
@@ -28,7 +29,11 @@ __decorate([
|
|
|
28
29
|
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: false }),
|
|
29
30
|
__metadata("design:type", String)
|
|
30
31
|
], WorkflowTask.prototype, "name", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 200, nullable: true }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], WorkflowTask.prototype, "task_type", void 0);
|
|
31
36
|
exports.WorkflowTask = WorkflowTask = __decorate([
|
|
32
37
|
(0, typeorm_1.Entity)({ name: 'workflow_tasks' }),
|
|
33
|
-
__metadata("design:paramtypes", [String, Number])
|
|
38
|
+
__metadata("design:paramtypes", [String, Number, String])
|
|
34
39
|
], WorkflowTask);
|
|
@@ -3,5 +3,6 @@ export declare class WorkflowTaskNames extends BaseModel {
|
|
|
3
3
|
name: string;
|
|
4
4
|
task_id: number;
|
|
5
5
|
description: string;
|
|
6
|
-
|
|
6
|
+
task_type: string;
|
|
7
|
+
constructor(name: string, task_id: number, description: string, task_type: string);
|
|
7
8
|
}
|
|
@@ -13,11 +13,12 @@ exports.WorkflowTaskNames = void 0;
|
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const BaseModel_1 = require("./BaseModel");
|
|
15
15
|
let WorkflowTaskNames = class WorkflowTaskNames extends BaseModel_1.BaseModel {
|
|
16
|
-
constructor(name, task_id, description) {
|
|
16
|
+
constructor(name, task_id, description, task_type) {
|
|
17
17
|
super();
|
|
18
18
|
this.name = name;
|
|
19
19
|
this.task_id = task_id;
|
|
20
20
|
this.description = description;
|
|
21
|
+
this.task_type = task_type;
|
|
21
22
|
}
|
|
22
23
|
};
|
|
23
24
|
exports.WorkflowTaskNames = WorkflowTaskNames;
|
|
@@ -33,7 +34,11 @@ __decorate([
|
|
|
33
34
|
(0, typeorm_1.Column)({ type: 'varchar', length: 200, nullable: true }),
|
|
34
35
|
__metadata("design:type", String)
|
|
35
36
|
], WorkflowTaskNames.prototype, "description", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 200, nullable: true }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], WorkflowTaskNames.prototype, "task_type", void 0);
|
|
36
41
|
exports.WorkflowTaskNames = WorkflowTaskNames = __decorate([
|
|
37
42
|
(0, typeorm_1.Entity)({ name: 'workflow_task_names' }),
|
|
38
|
-
__metadata("design:paramtypes", [String, Number, String])
|
|
43
|
+
__metadata("design:paramtypes", [String, Number, String, String])
|
|
39
44
|
], WorkflowTaskNames);
|
package/package.json
CHANGED
|
@@ -10,12 +10,17 @@ export class WorkflowTask extends BaseModel {
|
|
|
10
10
|
@Column({ type: 'varchar', length: 100, nullable: false })
|
|
11
11
|
name: string;
|
|
12
12
|
|
|
13
|
+
@Column({ type: 'varchar', length: 200, nullable: true })
|
|
14
|
+
task_type: string;
|
|
15
|
+
|
|
13
16
|
constructor(
|
|
14
17
|
name: string,
|
|
15
|
-
task_id?: number
|
|
18
|
+
task_id?: number,
|
|
19
|
+
task_type?: string
|
|
16
20
|
) {
|
|
17
21
|
super();
|
|
18
22
|
this.name = name;
|
|
19
23
|
this.task_id = task_id || 0;
|
|
24
|
+
this.task_type = task_type || '';
|
|
20
25
|
}
|
|
21
26
|
}
|
|
@@ -13,14 +13,19 @@ export class WorkflowTaskNames extends BaseModel {
|
|
|
13
13
|
@Column({ type: 'varchar', length: 200, nullable: true })
|
|
14
14
|
description: string;
|
|
15
15
|
|
|
16
|
+
@Column({ type: 'varchar', length: 200, nullable: true })
|
|
17
|
+
task_type: string;
|
|
18
|
+
|
|
16
19
|
constructor(
|
|
17
20
|
name: string,
|
|
18
21
|
task_id: number,
|
|
19
|
-
description: string
|
|
22
|
+
description: string,
|
|
23
|
+
task_type: string
|
|
20
24
|
) {
|
|
21
25
|
super();
|
|
22
26
|
this.name = name;
|
|
23
27
|
this.task_id = task_id;
|
|
24
28
|
this.description = description;
|
|
29
|
+
this.task_type = task_type;
|
|
25
30
|
}
|
|
26
31
|
}
|