rez_core 3.1.4 → 3.1.6

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.4",
3
+ "version": "3.1.6",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -90,8 +90,6 @@ export class FilterService {
90
90
  ...savedFilters,
91
91
  ].filter((f) => f.filter_value !== '');
92
92
 
93
- console.log(allFilters, 'ALL FILTERS');
94
-
95
93
  // 🔹 Step 2: Group filters by filter_entity_type
96
94
  const grouped = allFilters.reduce(
97
95
  (acc, f) => {
@@ -102,7 +100,6 @@ export class FilterService {
102
100
  {} as Record<string, any[]>,
103
101
  );
104
102
 
105
- console.log(grouped, 'GROUPED FILTERS');
106
103
  // 🔹 Step 3: Handle sub-entities first
107
104
  let intersectionIds: number[] | null = null;
108
105
  for (const [subEntityType, filters] of Object.entries(grouped)) {
@@ -120,8 +117,6 @@ export class FilterService {
120
117
 
121
118
  const subResult = await this.applyFilter(subDto);
122
119
 
123
- console.log(subResult, 'SUB RESULT');
124
-
125
120
  // ✅ new way (fetch source entity IDs via relation mapping)
126
121
  const subEntityIds = subResult.data.entity_list.map((row) => row.id);
127
122
 
@@ -140,8 +135,6 @@ export class FilterService {
140
135
  dto.loggedInUser.organization_id,
141
136
  );
142
137
 
143
- console.log(relatedIds, 'RELATED IDS');
144
-
145
138
  // keep intersection
146
139
  intersectionIds =
147
140
  intersectionIds === null
@@ -237,9 +230,11 @@ export class FilterService {
237
230
  );
238
231
 
239
232
  // Get and parse saved filters
233
+ console.log('IN FILTER SERVICE', savedFilterCode);
240
234
  const savedFilters = await this.getSavedFilters(
241
235
  savedFilterCode ?? undefined,
242
236
  );
237
+ console.log('SAVED FILTERS', savedFilters);
243
238
  const savedFiltersNormalized = savedFilters.map((f) => ({
244
239
  filter_attribute: f.filter_attribute,
245
240
  filter_operator: f.filter_operator,
@@ -29,4 +29,7 @@ export class ActionCategory extends BaseEntity {
29
29
 
30
30
  @Column({ type: 'boolean', nullable: true })
31
31
  is_assignment: boolean;
32
+
33
+ @Column({ type: 'varchar', nullable: true })
34
+ mode: string;
32
35
  }