docs: generate events reference (#12341)
* docs: generate events reference * change link in navbar * fix redirect
This commit is contained in:
1 parent
332e46d1db
commit
70a99a2434
94 files changed
+31164
-18109
No files matched your search
@@ -19,11 +19,7 @@ const compat = new FlatCompat({
|
||||
|
||||
export default [
|
||||
{
|
||||
ignores: [
|
||||
"**/references/**/*",
|
||||
"**/events-reference/**/*",
|
||||
"**/_events-table/**/*",
|
||||
],
|
||||
ignores: ["**/references/**/*"],
|
||||
},
|
||||
{
|
||||
plugins: {
|
||||
|
||||
@@ -66,4 +66,4 @@ This logs the product ID received in the `product.created` event’s data payloa
|
||||
|
||||
## List of Events with Data Payload
|
||||
|
||||
Refer to [this reference](!resources!/events-reference) for a full list of events emitted by Medusa and their data payloads. */}
|
||||
Refer to [this reference](!resources!/references/events) for a full list of events emitted by Medusa and their data payloads. */}
|
||||
@@ -26,7 +26,7 @@ If the action you're performing is integral to the main flow of the core commerc
|
||||
|
||||
### List of Emitted Events
|
||||
|
||||
Find a list of all emitted events in [this reference](!resources!/events-reference).
|
||||
Find a list of all emitted events in [this reference](!resources!/references/events).
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -132,7 +132,7 @@ This documentation is split into the following sections:
|
||||
[References](!resources!/references-overview)
|
||||
</Table.Cell>
|
||||
<Table.Cell>
|
||||
Useful during your development with Medusa to learn about different APIs and how to use them. Its references include the [Events Reference](!resources!/events-reference), [Core Workflows Reference](!resources!/medusa-workflows-reference), and more.
|
||||
Useful during your development with Medusa to learn about different APIs and how to use them. Its references include the [Events Reference](!resources!/references/events), [Core Workflows Reference](!resources!/medusa-workflows-reference), and more.
|
||||
</Table.Cell>
|
||||
</Table.Row>
|
||||
<Table.Row>
|
||||
|
||||
@@ -2,7 +2,7 @@ export const generatedEditDates = {
|
||||
"app/learn/fundamentals/scheduled-jobs/page.mdx": "2024-12-09T10:51:40.570Z",
|
||||
"app/learn/fundamentals/workflows/page.mdx": "2024-12-09T14:45:17.837Z",
|
||||
"app/learn/deployment/page.mdx": "2025-03-11T14:53:25.540Z",
|
||||
"app/learn/page.mdx": "2025-04-17T08:50:17.036Z",
|
||||
"app/learn/page.mdx": "2025-05-01T15:30:08.238Z",
|
||||
"app/learn/fundamentals/modules/commerce-modules/page.mdx": "2025-04-17T08:51:32.723Z",
|
||||
"app/learn/fundamentals/workflows/retry-failed-steps/page.mdx": "2025-03-28T07:15:19.388Z",
|
||||
"app/learn/fundamentals/workflows/workflow-hooks/page.mdx": "2024-12-09T10:44:33.781Z",
|
||||
@@ -15,7 +15,7 @@ export const generatedEditDates = {
|
||||
"app/learn/fundamentals/medusa-container/page.mdx": "2024-12-09T11:02:38.225Z",
|
||||
"app/learn/fundamentals/api-routes/page.mdx": "2024-12-04T11:02:57.134Z",
|
||||
"app/learn/fundamentals/modules/modules-directory-structure/page.mdx": "2024-12-09T10:32:46.839Z",
|
||||
"app/learn/fundamentals/events-and-subscribers/page.mdx": "2025-04-18T10:42:32.803Z",
|
||||
"app/learn/fundamentals/events-and-subscribers/page.mdx": "2025-05-01T15:30:08.333Z",
|
||||
"app/learn/fundamentals/modules/container/page.mdx": "2025-03-18T15:10:03.574Z",
|
||||
"app/learn/fundamentals/workflows/execute-another-workflow/page.mdx": "2024-12-09T15:56:22.895Z",
|
||||
"app/learn/fundamentals/modules/loaders/page.mdx": "2025-04-22T15:32:00.430Z",
|
||||
@@ -24,7 +24,7 @@ export const generatedEditDates = {
|
||||
"app/learn/fundamentals/modules/remote-link/page.mdx": "2024-09-30T08:43:53.127Z",
|
||||
"app/learn/fundamentals/api-routes/protected-routes/page.mdx": "2025-03-17T11:47:10.101Z",
|
||||
"app/learn/fundamentals/workflows/add-workflow-hook/page.mdx": "2024-12-09T14:42:39.693Z",
|
||||
"app/learn/fundamentals/events-and-subscribers/data-payload/page.mdx": "2024-10-21T13:30:21.369Z",
|
||||
"app/learn/fundamentals/events-and-subscribers/data-payload/page.mdx": "2025-05-01T15:30:08.421Z",
|
||||
"app/learn/fundamentals/workflows/advanced-example/page.mdx": "2024-09-11T10:46:59.975Z",
|
||||
"app/learn/fundamentals/events-and-subscribers/emit-event/page.mdx": "2025-03-18T15:09:40.243Z",
|
||||
"app/learn/fundamentals/workflows/conditions/page.mdx": "2025-01-27T08:45:19.027Z",
|
||||
|
||||
+15881
-15881
File diff suppressed because it is too large.
Load diff
@@ -274,7 +274,7 @@ Businesses of all sizes can use Medusa, from small start ups to large enterprise
|
||||
- [Troubleshooting Guides](https://docs.medusajs.com/resources/troubleshooting/index.html.md): Find solutions for common problems you face during your development.
|
||||
- [Admin Widget Injection Zones](https://docs.medusajs.com/resources/admin-widget-injection-zones/index.html.md): List of zones you can inject admin widgets into.
|
||||
- [Medusa Container Resources](https://docs.medusajs.com/resources/medusa-container-resources/index.html.md): List of resources or dependencies you can resolve from the Medusa container.
|
||||
- [Events List](https://docs.medusajs.com/resources/events-reference/index.html.md): List of events you can listen to in a subscriber.
|
||||
- [Events List](https://docs.medusajs.com/resources/references/events/index.html.md): List of events you can listen to in a subscriber.
|
||||
- [Workflows SDK Reference](https://docs.medusajs.com/resources/references/workflows/index.html.md): A reference to the SDK to create workflows in your Medusa application.
|
||||
- [DML Reference](https://docs.medusajs.com/resources/references/data-model/index.html.md): A reference to Medusa's data-modeling language.
|
||||
- [Service Factory Reference](https://docs.medusajs.com/resources/service-factory-reference/index.html.md): A reference to the methods generated by the service factory.
|
||||
|
||||
@@ -281,7 +281,7 @@ const redirects = async () => {
|
||||
},
|
||||
{
|
||||
source: "/v1/development/events/events-list",
|
||||
destination: "/resources/events-reference",
|
||||
destination: "/resources/references/events",
|
||||
permanent: true,
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user