UNPKG

payload

Version:

Node, React, Headless CMS and Application Framework built on Next.js

19 lines 803 B
import type { Job } from '../../../../index.js'; import type { PayloadRequest } from '../../../../types/index.js'; import type { WorkflowJSON } from '../../../config/types/workflowJSONTypes.js'; import type { WorkflowConfig } from '../../../config/types/workflowTypes.js'; import type { UpdateJobFunction } from '../runJob/getUpdateJobFunction.js'; import type { JobRunStatus } from '../runJob/index.js'; type Args = { job: Job; req: PayloadRequest; updateJob: UpdateJobFunction; workflowConfig: WorkflowConfig; workflowHandler: WorkflowJSON; }; export type RunJSONJobResult = { status: JobRunStatus; }; export declare const runJSONJob: ({ job, req, updateJob, workflowConfig, workflowHandler, }: Args) => Promise<RunJSONJobResult>; export {}; //# sourceMappingURL=index.d.ts.map