@punks/backend-entity-manager 0.0.475 → 0.0.477

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,
@@ -41672,6 +41673,11 @@ let AwsBatchService = AwsBatchService_1 = class AwsBatchService {
41672
41673
  command: definition.invocationParams.startCommand,
41673
41674
  image: definition.infrastructureParams.dockerImage,
41674
41675
  executionRoleArn: this.awsSettings.batchExecutionRole,
41676
+ ephemeralStorage: definition.infrastructureParams.ephemeralStorageGB
41677
+ ? {
41678
+ sizeInGiB: definition.infrastructureParams.ephemeralStorageGB,
41679
+ }
41680
+ : undefined,
41675
41681
  resourceRequirements: [
41676
41682
  {
41677
41683
  type: clientBatch.ResourceType.MEMORY,