@punks/backend-entity-manager 0.0.473 → 0.0.475

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
@@ -34827,6 +34827,7 @@ exports.JobsService = class JobsService {
34827
34827
  runType: exports.JobRunType.OnDemand,
34828
34828
  payload: input.payload,
34829
34829
  commandPlaceholders: input.commandPlaceholders,
34830
+ variables: input.variables,
34830
34831
  }));
34831
34832
  };
34832
34833
  this.updateJob = async (input) => {
@@ -34927,7 +34928,7 @@ let JobDispatchHandler = JobDispatchHandler_1 = class JobDispatchHandler {
34927
34928
  return result.result;
34928
34929
  }
34929
34930
  async dispatchJob(command) {
34930
- const { input: { job, schedule, runType, payload, commandPlaceholders }, } = command;
34931
+ const { input: { job, schedule, runType, payload, commandPlaceholders, variables, }, } = command;
34931
34932
  const instanceId = backendCore.newUuid();
34932
34933
  try {
34933
34934
  this.logger.info(`JOB DISPATCH -> dispatching started job ${job.uid} -> ${instanceId}`);
@@ -34943,6 +34944,7 @@ let JobDispatchHandler = JobDispatchHandler_1 = class JobDispatchHandler {
34943
34944
  instanceId,
34944
34945
  payload,
34945
34946
  commandPlaceholders,
34947
+ variables,
34946
34948
  });
34947
34949
  await this.instances.updateInstance(instanceId, {
34948
34950
  status: exports.JobStatus.Ready,