import { CreateJobFn , CreateJobFnFactory } from '../../types' ; import { JobParamsPDFV2 , TaskPayloadPDFV2 } from './types' ; export const createJobFnFactory = function createJobFactoryFn ( ) { return async function createJob ( jobParams ) { return { ... jobParams , forceNow : new Date ( ) . toISOString ( ) , } ; } ; } ;