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

This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-09-04 21:29:57 +03:00
1 parent 951b4a8100
commit 6519fd6bfd
3 files changed
+13 -2

No files matched your search

@@ -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