@punks/backend-entity-manager 0.0.171 → 0.0.172

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/dist/cjs/index.js CHANGED
@@ -458,10 +458,11 @@ class EntitiesSearchAction {
458
458
  const results = await searchQuery.execute(request);
459
459
  const converter = this.services.resolveConverter();
460
460
  return {
461
- facets: results.facets,
461
+ items: results.items.map((x) => (converter?.toListItemDto(x) ?? x)),
462
462
  paging: results.paging,
463
+ childrenMap: results.childrenMap,
464
+ facets: results.facets,
463
465
  request: results.request,
464
- items: results.items.map((x) => (converter?.toListItemDto(x) ?? x)),
465
466
  };
466
467
  }
467
468
  }