docs: added workflow hooks docs + changed workflow response (#8364)
* docs: added workflow hooks docs + changed workflow response * Update page.mdx
This commit is contained in:
@@ -485,7 +485,7 @@ export const syncProductsWorkflowHighlight = [
|
||||
import {
|
||||
StepResponse,
|
||||
createStep,
|
||||
createWorkflow
|
||||
createWorkflow,
|
||||
} from "@medusajs/workflows-sdk"
|
||||
|
||||
type RetrieveStoreStepInput = {
|
||||
@@ -597,9 +597,7 @@ export const syncProductsWorkflowHighlight = [
|
||||
store_id: string
|
||||
}
|
||||
|
||||
export const syncProductsWorkflow = createWorkflow<
|
||||
SyncProductsWorkflowInput, {}
|
||||
>(
|
||||
export const syncProductsWorkflow = createWorkflow(
|
||||
"sync-products-workflow",
|
||||
function ({ store_id }: SyncProductsWorkflowInput) {
|
||||
const { store } = retrieveStoreStep({
|
||||
|
||||
Reference in New Issue
Block a user