feat(types,medusa): add acknowledgement typing (#8991)

This commit is contained in:
Shahed Nasser
2024-09-04 21:29:57 +03:00
committed by GitHub
parent 951b4a8100
commit 6519fd6bfd
3 changed files with 13 additions and 2 deletions
@@ -1,4 +1,5 @@
import {
HttpTypes,
IWorkflowEngineService,
WorkflowOrchestratorRunDTO,
} from "@medusajs/types"
@@ -11,7 +12,7 @@ import { AdminCreateWorkflowsRunType } from "../../validators"
export const POST = async (
req: AuthenticatedMedusaRequest<AdminCreateWorkflowsRunType>,
res: MedusaResponse<{ acknowledgement: object }>
res: MedusaResponse<HttpTypes.AdminWorkflowRunResponse>
) => {
const workflowEngineService: IWorkflowEngineService = req.scope.resolve(
ModuleRegistrationName.WORKFLOW_ENGINE