feat: add support for accessing step results via context (#11907)

Fixes: FRMW-2934

This PR adds support for accessing the results of a hook using the `hook.getResult` method.
This commit is contained in:
Harminder Virk
2025-03-21 15:45:38 +05:30
committed by GitHub
parent a3f4560263
commit cab6f3a8ad
8 changed files with 408 additions and 17 deletions

View File

@@ -34,10 +34,12 @@
"@swc/core": "^1.7.28",
"@swc/jest": "^0.2.36",
"awilix": "^8.0.1",
"expect-type": "^0.20.0",
"jest": "^29.7.0",
"pg": "^8.13.0",
"rimraf": "^5.0.1",
"typescript": "^5.6.2"
"typescript": "^5.6.2",
"zod": "3.22.4"
},
"dependencies": {
"@medusajs/modules-sdk": "2.6.1",
@@ -53,7 +55,8 @@
"@mikro-orm/postgresql": "6.4.3",
"awilix": "^8.0.1",
"express": "^4.21.0",
"pg": "^8.13.0"
"pg": "^8.13.0",
"zod": "3.22.4"
},
"scripts": {
"build": "rimraf dist && tsc --build",