@punks/backend-entity-manager 0.0.476 → 0.0.478

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
@@ -668,7 +668,8 @@ class EntitiesSearchAction {
668
668
  const results = await searchQuery.execute(request, options);
669
669
  const converter = this.services.resolveConverter();
670
670
  return {
671
- items: await backendCore.mapAsync(results.items, async (x) => ((await converter?.toListItemDto(x)) ?? x)),
671
+ items: await backendCore.mapAsync(results.items, async (x) => ((await (options?.converter?.(x) ?? converter?.toListItemDto(x))) ??
672
+ x)),
672
673
  paging: results.paging,
673
674
  childrenMap: results.childrenMap,
674
675
  facets: results.facets,