rez_core 3.1.124 → 3.1.125

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": "3.1.124",
3
+ "version": "3.1.125",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -56,6 +56,7 @@ export class PopulateMetaService {
56
56
  'cr_entity_master',
57
57
  'cr_attribute_master',
58
58
  'cr_view_master',
59
+ 'cr_entity_relation',
59
60
  ];
60
61
  const entityTypeToNewIdMap = new Map<string, number>();
61
62
 
@@ -74,7 +75,19 @@ export class PopulateMetaService {
74
75
 
75
76
  let transformedData;
76
77
 
77
- if (table === 'cr_attribute_master') {
78
+ if (table === 'cr_entity_master') {
79
+ transformedData = factoryData.map(
80
+ ({ id, created_date, modified_date, ...rest }) => ({
81
+ ...rest,
82
+ organization_id,
83
+ level_type: 'ORG',
84
+ level_id: organization_id,
85
+ is_workflow: rest.is_workflow == 1 ? true : false,
86
+ status: status,
87
+ }),
88
+ );
89
+ }
90
+ else if (table === 'cr_attribute_master') {
78
91
  transformedData = factoryData.map(
79
92
  ({ id, created_date, modified_date, ...rest }) => ({
80
93
  ...rest,
@@ -83,6 +96,7 @@ export class PopulateMetaService {
83
96
  level_id: organization_id,
84
97
  is_unique: rest.is_unique == 1 ? true : false,
85
98
  required: rest.required == 1 ? true : false,
99
+ is_hidden: rest.is_hidden == 1 ? true : false,
86
100
  status: status,
87
101
  }),
88
102
  );
@@ -1,5 +0,0 @@
1
- {
2
- "recommendations": [
3
- "dbaeumer.vscode-eslint"
4
- ]
5
- }