@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 +7 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/abstractions/actions.d.ts +2 -1
- package/dist/cjs/types/actions/search.d.ts +1 -1
- package/dist/cjs/types/platforms/nest/plugins/jobs/aws-batch/models/index.d.ts +1 -0
- package/dist/esm/index.js +7 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/abstractions/actions.d.ts +2 -1
- package/dist/esm/types/actions/search.d.ts +1 -1
- package/dist/esm/types/platforms/nest/plugins/jobs/aws-batch/models/index.d.ts +1 -0
- package/dist/index.d.ts +3 -1
- package/package.json +1 -1
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?.
|
|
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,
|