Skip to content

Commit f964738

Browse files
committed
remove container option
1 parent 53a7bd1 commit f964738

5 files changed

Lines changed: 2 additions & 43 deletions

File tree

www/apps/book/app/learn/fundamentals/workflows/long-running-workflow/page.mdx

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,6 @@ export const setStepSuccessStep = createStep(
151151
workflowId: "hello-world",
152152
},
153153
stepResponse: new StepResponse("Done!"),
154-
options: {
155-
container,
156-
},
157154
})
158155
}
159156
)
@@ -203,20 +200,6 @@ The `setStepSuccess` method of the workflow engine's main service accepts as a p
203200
description: "Set the response of the step. This is similar to the response you return in a step's definition, but since the `async` step doesn't have a response, you set its response when changing its status.",
204201
optional: false
205202
},
206-
{
207-
name: "options",
208-
type: "`Record<string, any>`",
209-
description: "Options to pass to the step.",
210-
optional: true,
211-
children: [
212-
{
213-
name: "container",
214-
type: "`MedusaContainer`",
215-
description: "An instance of the Medusa Container",
216-
optional: true
217-
}
218-
]
219-
}
220203
]}
221204
/>
222205

@@ -269,9 +252,6 @@ export const setStepFailureStep = createStep(
269252
workflowId: "hello-world",
270253
},
271254
stepResponse: new StepResponse("Failed!"),
272-
options: {
273-
container,
274-
},
275255
})
276256
}
277257
)

www/apps/book/generated/edit-dates.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export const generatedEditDates = {
3030
"app/learn/fundamentals/workflows/conditions/page.mdx": "2025-01-27T08:45:19.027Z",
3131
"app/learn/fundamentals/modules/module-link-directions/page.mdx": "2024-07-24T09:16:01+02:00",
3232
"app/learn/fundamentals/admin/page.mdx": "2025-04-18T10:28:47.328Z",
33-
"app/learn/fundamentals/workflows/long-running-workflow/page.mdx": "2025-03-28T07:02:34.467Z",
33+
"app/learn/fundamentals/workflows/long-running-workflow/page.mdx": "2025-07-14T10:32:21.640Z",
3434
"app/learn/fundamentals/workflows/constructor-constraints/page.mdx": "2025-04-24T13:18:24.184Z",
3535
"app/learn/fundamentals/data-models/write-migration/page.mdx": "2025-03-24T06:41:48.915Z",
3636
"app/learn/fundamentals/data-models/manage-relationships/page.mdx": "2025-04-25T14:16:41.124Z",

www/apps/book/public/llms-full.txt

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17342,9 +17342,6 @@ export const setStepSuccessStep = createStep(
1734217342
workflowId: "hello-world",
1734317343
},
1734417344
stepResponse: new StepResponse("Done!"),
17345-
options: {
17346-
container,
17347-
},
1734817345
})
1734917346
}
1735017347
)
@@ -17364,9 +17361,6 @@ The `setStepSuccess` method of the workflow engine's main service accepts as a p
1736417361

1736517362
- workflowId: (\`string\`) The ID of the workflow. This is the first parameter passed to \`createWorkflow\` when creating the workflow.
1736617363
- stepResponse: (\`StepResponse\`) Set the response of the step. This is similar to the response you return in a step's definition, but since the \`async\` step doesn't have a response, you set its response when changing its status.
17367-
- options: (\`Record\<string, any>\`) Options to pass to the step.
17368-
17369-
- container: (\`MedusaContainer\`) An instance of the Medusa Container
1737017364

1737117365
### Change Step Status to Failed
1737217366

@@ -17408,9 +17402,6 @@ export const setStepFailureStep = createStep(
1740817402
workflowId: "hello-world",
1740917403
},
1741017404
stepResponse: new StepResponse("Failed!"),
17411-
options: {
17412-
container,
17413-
},
1741417405
})
1741517406
}
1741617407
)
@@ -91698,9 +91689,6 @@ export const setStepSuccessStep = createStep(
9169891689
workflowId: handleDeliveryWorkflowId,
9169991690
},
9170091691
stepResponse: new StepResponse(updatedDelivery, updatedDelivery.id),
91701-
options: {
91702-
container,
91703-
},
9170491692
})
9170591693
}
9170691694
)
@@ -91745,9 +91733,6 @@ export const setStepFailedStep = createStep(
9174591733
workflowId: handleDeliveryWorkflowId,
9174691734
},
9174791735
stepResponse: new StepResponse(updatedDelivery, updatedDelivery.id),
91748-
options: {
91749-
container,
91750-
},
9175191736
})
9175291737
}
9175391738
)

www/apps/resources/app/recipes/marketplace/examples/restaurant-delivery/page.mdx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2449,9 +2449,6 @@ export const setStepSuccessStep = createStep(
24492449
workflowId: handleDeliveryWorkflowId,
24502450
},
24512451
stepResponse: new StepResponse(updatedDelivery, updatedDelivery.id),
2452-
options: {
2453-
container,
2454-
},
24552452
})
24562453
}
24572454
)
@@ -2500,9 +2497,6 @@ export const setStepFailedStep = createStep(
25002497
workflowId: handleDeliveryWorkflowId,
25012498
},
25022499
stepResponse: new StepResponse(updatedDelivery, updatedDelivery.id),
2503-
options: {
2504-
container,
2505-
},
25062500
})
25072501
}
25082502
)

www/apps/resources/generated/edit-dates.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ export const generatedEditDates = {
569569
"app/medusa-cli/commands/start/page.mdx": "2025-04-08T11:56:15.522Z",
570570
"app/medusa-cli/commands/telemtry/page.mdx": "2025-01-16T09:51:24.323Z",
571571
"app/medusa-cli/commands/user/page.mdx": "2024-08-28T10:44:52.489Z",
572-
"app/recipes/marketplace/examples/restaurant-delivery/page.mdx": "2025-07-14T08:47:57.706Z",
572+
"app/recipes/marketplace/examples/restaurant-delivery/page.mdx": "2025-07-14T10:32:58.301Z",
573573
"references/types/HttpTypes/interfaces/types.HttpTypes.AdminCreateCustomerGroup/page.mdx": "2024-12-09T13:21:33.569Z",
574574
"references/types/HttpTypes/interfaces/types.HttpTypes.AdminCreateReservation/page.mdx": "2025-04-11T09:04:47.498Z",
575575
"references/types/HttpTypes/interfaces/types.HttpTypes.AdminCustomerGroup/page.mdx": "2025-05-20T07:51:41.059Z",

0 commit comments

Comments
 (0)