@punks/backend-entity-manager 0.0.308 → 0.0.309

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.
@@ -6,5 +6,6 @@ export type AwsBatchSettings = {
6
6
  defaultQueueName: string;
7
7
  batchComputeEnvironment: string;
8
8
  batchExecutionRole: string;
9
+ batchResourcesPrefix: string;
9
10
  };
10
11
  export declare const awsBatchSettings: AppInMemorySettings<AwsBatchSettings>;
package/dist/esm/index.js CHANGED
@@ -39997,8 +39997,8 @@ const ensureJobLogGroup = async (logGroupName, awsSettings) => {
39997
39997
  };
39998
39998
 
39999
39999
  var AwsBatchService_1;
40000
- const jobDefinitionName = (jobUid) => `job-${jobUid}`;
40001
- const jobInstanceName = (jobUid, instanceId) => `job-${jobUid}-${instanceId}`;
40000
+ const jobDefinitionName = (jobUid) => `${awsBatchSettings.value.batchResourcesPrefix}-job-${jobUid}`;
40001
+ const jobInstanceName = (jobUid, instanceId) => `${awsBatchSettings.value.batchResourcesPrefix}-job-${jobUid}-${instanceId}`;
40002
40002
  let AwsBatchService = AwsBatchService_1 = class AwsBatchService {
40003
40003
  constructor() {
40004
40004
  this.logger = Log.getLogger(AwsBatchService_1.name);