@punks/backend-entity-manager 0.0.473 → 0.0.474
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 +2 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/platforms/nest/extensions/jobs/commands/job-dispatch/command.d.ts +2 -0
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/platforms/nest/extensions/jobs/commands/job-dispatch/command.d.ts +2 -0
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -34927,7 +34927,7 @@ let JobDispatchHandler = JobDispatchHandler_1 = class JobDispatchHandler {
|
|
|
34927
34927
|
return result.result;
|
|
34928
34928
|
}
|
|
34929
34929
|
async dispatchJob(command) {
|
|
34930
|
-
const { input: { job, schedule, runType, payload, commandPlaceholders }, } = command;
|
|
34930
|
+
const { input: { job, schedule, runType, payload, commandPlaceholders, variables, }, } = command;
|
|
34931
34931
|
const instanceId = backendCore.newUuid();
|
|
34932
34932
|
try {
|
|
34933
34933
|
this.logger.info(`JOB DISPATCH -> dispatching started job ${job.uid} -> ${instanceId}`);
|
|
@@ -34943,6 +34943,7 @@ let JobDispatchHandler = JobDispatchHandler_1 = class JobDispatchHandler {
|
|
|
34943
34943
|
instanceId,
|
|
34944
34944
|
payload,
|
|
34945
34945
|
commandPlaceholders,
|
|
34946
|
+
variables,
|
|
34946
34947
|
});
|
|
34947
34948
|
await this.instances.updateInstance(instanceId, {
|
|
34948
34949
|
status: exports.JobStatus.Ready,
|