rez_core 5.0.283 → 5.0.285

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rez_core",
3
- "version": "5.0.283",
3
+ "version": "5.0.285",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -32,6 +32,9 @@ export class TaskDataEntity extends BaseEntity {
32
32
  @Column({ default: 0 })
33
33
  is_system: boolean;
34
34
 
35
+ @Column({ default: 0 })
36
+ is_automation: boolean;
37
+
35
38
  @Column({ nullable: true })
36
39
  is_mandatory: boolean;
37
40
 
@@ -49,8 +49,8 @@ export class TaskService extends EntityServiceImpl {
49
49
  const stageMovement = await stageMovementRepo.findOne({
50
50
  where: {
51
51
  enterprise_id,
52
- mapped_entity_type: entity.entity_type,
53
- mapped_entity_id: entity.id,
52
+ mapped_entity_type: entity.mapped_entity_type,
53
+ mapped_entity_id: entity.mapped_entity_id,
54
54
  is_current: 'Y',
55
55
  },
56
56
  select: ['stage_id'],
@@ -63,8 +63,8 @@ export class TaskService extends EntityServiceImpl {
63
63
  where: {
64
64
  enterprise_id,
65
65
  stage_id: stageMovement.stage_id,
66
- mapped_entity_type: entity.entity_type,
67
- mapped_entity_id: entity.id,
66
+ mapped_entity_type: entity.mapped_entity_type,
67
+ mapped_entity_id: entity.mapped_entity_id,
68
68
  is_current: 'Y',
69
69
  },
70
70
  select: ['action_id'],
@@ -94,6 +94,7 @@ export class TaskService extends EntityServiceImpl {
94
94
  enterprise_id,
95
95
  level_id,
96
96
  level_type,
97
+ is_automation: true,
97
98
  };
98
99
 
99
100
  return await this.createEntity(entityData, user);