@sdflc/backend-helpers 1.0.103 → 1.0.105
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/build/BaseGateway.js +4 -1
- package/build/esm/BaseGateway.js +4 -1
- package/package.json +1 -1
package/build/BaseGateway.js
CHANGED
|
@@ -310,7 +310,10 @@ class BaseGateway {
|
|
|
310
310
|
}
|
|
311
311
|
const items = await query;
|
|
312
312
|
const result = shouldUseCache ? await this.getMany(items.map((row) => row.id)) : items;
|
|
313
|
-
|
|
313
|
+
console.log('=== list.result', result);
|
|
314
|
+
const trasnformed = result.map((item) => this.transformOnOut(item));
|
|
315
|
+
console.log('=== list.trasnformed', trasnformed);
|
|
316
|
+
return result;
|
|
314
317
|
}
|
|
315
318
|
async create(args) {
|
|
316
319
|
const objects = (0, lodash_1.castArray)(args);
|
package/build/esm/BaseGateway.js
CHANGED
|
@@ -304,7 +304,10 @@ class BaseGateway {
|
|
|
304
304
|
}
|
|
305
305
|
const items = await query;
|
|
306
306
|
const result = shouldUseCache ? await this.getMany(items.map((row) => row.id)) : items;
|
|
307
|
-
|
|
307
|
+
console.log('=== list.result', result);
|
|
308
|
+
const trasnformed = result.map((item) => this.transformOnOut(item));
|
|
309
|
+
console.log('=== list.trasnformed', trasnformed);
|
|
310
|
+
return result;
|
|
308
311
|
}
|
|
309
312
|
async create(args) {
|
|
310
313
|
const objects = castArray(args);
|