@punks/backend-entity-manager 0.0.307 → 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
@@ -3019,7 +3019,7 @@ class QueryClauseBuilder {
3019
3019
  clauses.push(ILike(filter.eq));
3020
3020
  }
3021
3021
  if (!isNullOrUndefined(filter?.like)) {
3022
- clauses.push(ILike(filter.like.replaceAll("*", "%")));
3022
+ clauses.push(ILike(`%${filter.like.replaceAll("*", "%")}%`));
3023
3023
  }
3024
3024
  if (!isNullOrUndefined(filter?.ne)) {
3025
3025
  clauses.push(Not(Equal(filter.ne)));
@@ -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);