rez_core 4.0.11 → 4.0.14

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": "4.0.11",
3
+ "version": "4.0.14",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -1,8 +1,10 @@
1
- import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
1
+ import { Column, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
2
2
  import { BaseEntity } from '../../meta/entity/base-entity.entity';
3
3
  import { ENTITYTYPE_LISTMASTERITEMS } from '../../../constant/global.constant';
4
4
 
5
5
  @Entity({ name: 'frm_list_master_items' })
6
+ @Index('idx_list_master_items_listtype_value_org', ['listtype', 'value', 'organization_id'])
7
+ @Index('idx_list_master_items_listtype_org', ['listtype', 'organization_id'])
6
8
  export class ListMasterItems extends BaseEntity {
7
9
  constructor() {
8
10
  super();
@@ -1,8 +1,9 @@
1
- import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';
1
+ import { Column, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
2
2
  import { BaseEntity } from '../../meta/entity/base-entity.entity';
3
3
  import { ENTITYTYPE_LISTMASTER } from '../../../constant/global.constant';
4
4
 
5
5
  @Entity({ name: 'frm_list_master' })
6
+ @Index('idx_list_master_type_org', ['type', 'organization_id'])
6
7
  export class ListMasterData extends BaseEntity {
7
8
  constructor() {
8
9
  super();
@@ -1,7 +1,9 @@
1
1
  import { BaseEntity } from './base-entity.entity';
2
- import { Column, Entity } from 'typeorm';
2
+ import { Column, Entity, Index } from 'typeorm';
3
3
 
4
4
  @Entity({ name: 'frm_entity_attribute' })
5
+ @Index('idx_attribute_master_key_org_entity', ['attribute_key', 'organization_id', 'mapped_entity_type'])
6
+ @Index('idx_attribute_master_org_entity', ['organization_id', 'mapped_entity_type'])
5
7
  export class AttributeMaster extends BaseEntity {
6
8
  @Column({ name: 'mapped_entity_type', type: 'varchar', nullable: true })
7
9
  mapped_entity_type: string;
@@ -1,8 +1,9 @@
1
1
  import { BaseEntity } from './base-entity.entity';
2
2
  import { ENTITYTYPE_ENTITYMASTER } from '../../../constant/global.constant';
3
- import { Column, Entity } from 'typeorm';
3
+ import { Column, Entity, Index } from 'typeorm';
4
4
 
5
5
  @Entity({ name: 'frm_entity_master' })
6
+ @Index('idx_entity_master_mapped_type_org', ['mapped_entity_type', 'organization_id'])
6
7
  export class EntityMaster extends BaseEntity {
7
8
  constructor() {
8
9
  super();
@@ -329,6 +329,7 @@ export class WorkflowAutomationService extends EntityServiceImpl {
329
329
  actionCategoryName: a.actionCategoryName,
330
330
  actionPayload: a.payload,
331
331
  name: a.name,
332
+ status: a.status,
332
333
  }));
333
334
 
334
335
  // 5. Final response