hunk.code_window:     );
       await this.workflowQueueService.addToQueue(job._id, job, delay);
     }
     public static toMilliseconds(amount: number, unit: DigestUnitEnum): number {
       let delay = 1000 * amount;
  
hunk.labels: keep keep add keep keep keep keep
hunk.after_edit:     if (delay) {
         await this.createExecutionDetails.execute(
           CreateExecutionDetailsCommand.create({
             ...CreateExecutionDetailsCommand.getDetailsFromJob(job),
             detail: DetailEnum.STEP_DELAYED,
             source: ExecutionDetailsSourceEnum.INTERNAL,
             status: ExecutionDetailsStatusEnum.PENDING,
             isTest: false,
             isRetry: false,
             raw: JSON.stringify({ delay }),
           })
         );
       }
  
hunk.file_path: apps/api/src/app/events/usecases/add-job/add-job.usecase.ts
hunk.type: add
file: {
    "extends": "./tsconfig",
    "compilerOptions": {
      "target": "esnext",
      "outDir": "build/module",
      "module": "esnext"
    },
    "exclude": [
      "node_modules/**"
    ]
  }
  