docs: document events reference (#9080)

- Remove old hidden reference files that document modules' events
- Add new events reference for workflow events
- Reference events reference in the main docs
This commit is contained in:
Shahed Nasser
2024-09-10 12:20:09 +00:00
committed by GitHub
parent 3fb2f10ccb
commit 4b663a4559
42 changed files with 843 additions and 3025 deletions
+4 -148
View File
@@ -1,8 +1,4 @@
export const filesMap = [
{
"filePath": "/www/apps/resources/app/_events-reference/page.mdx",
"pathname": "/_events-reference"
},
{
"filePath": "/www/apps/resources/app/admin-widget-injection-zones/page.mdx",
"pathname": "/admin-widget-injection-zones"
@@ -83,14 +79,6 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/architectural-modules/workflow-engine/redis/page.mdx",
"pathname": "/architectural-modules/workflow-engine/redis"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/api-key/_events/_events-table/page.mdx",
"pathname": "/commerce-modules/api-key/_events/_events-table"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/api-key/_events/page.mdx",
"pathname": "/commerce-modules/api-key/_events"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/api-key/concepts/page.mdx",
"pathname": "/commerce-modules/api-key/concepts"
@@ -107,14 +95,6 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/commerce-modules/api-key/relations-to-other-modules/page.mdx",
"pathname": "/commerce-modules/api-key/relations-to-other-modules"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/auth/_events/_events-table/page.mdx",
"pathname": "/commerce-modules/auth/_events/_events-table"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/auth/_events/page.mdx",
"pathname": "/commerce-modules/auth/_events"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/auth/auth-flows/page.mdx",
"pathname": "/commerce-modules/auth/auth-flows"
@@ -159,14 +139,6 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/commerce-modules/auth/page.mdx",
"pathname": "/commerce-modules/auth"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/cart/_events/_events-table/page.mdx",
"pathname": "/commerce-modules/cart/_events/_events-table"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/cart/_events/page.mdx",
"pathname": "/commerce-modules/cart/_events"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/cart/concepts/page.mdx",
"pathname": "/commerce-modules/cart/concepts"
@@ -191,14 +163,6 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/commerce-modules/cart/tax-lines/page.mdx",
"pathname": "/commerce-modules/cart/tax-lines"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/currency/_events/_events-table/page.mdx",
"pathname": "/commerce-modules/currency/_events/_events-table"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/currency/_events/page.mdx",
"pathname": "/commerce-modules/currency/_events"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/currency/examples/page.mdx",
"pathname": "/commerce-modules/currency/examples"
@@ -211,14 +175,6 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/commerce-modules/currency/relations-to-other-modules/page.mdx",
"pathname": "/commerce-modules/currency/relations-to-other-modules"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/customer/_events/_events-table/page.mdx",
"pathname": "/commerce-modules/customer/_events/_events-table"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/customer/_events/page.mdx",
"pathname": "/commerce-modules/customer/_events"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/customer/customer-accounts/page.mdx",
"pathname": "/commerce-modules/customer/customer-accounts"
@@ -235,14 +191,6 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/commerce-modules/customer/relations-to-other-modules/page.mdx",
"pathname": "/commerce-modules/customer/relations-to-other-modules"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/fulfillment/_events/_events-table/page.mdx",
"pathname": "/commerce-modules/fulfillment/_events/_events-table"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/fulfillment/_events/page.mdx",
"pathname": "/commerce-modules/fulfillment/_events"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/fulfillment/concepts/page.mdx",
"pathname": "/commerce-modules/fulfillment/concepts"
@@ -271,14 +219,6 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/commerce-modules/fulfillment/shipping-option/page.mdx",
"pathname": "/commerce-modules/fulfillment/shipping-option"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/inventory/_events/_events-table/page.mdx",
"pathname": "/commerce-modules/inventory/_events/_events-table"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/inventory/_events/page.mdx",
"pathname": "/commerce-modules/inventory/_events"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/inventory/concepts/page.mdx",
"pathname": "/commerce-modules/inventory/concepts"
@@ -299,14 +239,6 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/commerce-modules/inventory/relations-to-other-modules/page.mdx",
"pathname": "/commerce-modules/inventory/relations-to-other-modules"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/order/_events/_events-table/page.mdx",
"pathname": "/commerce-modules/order/_events/_events-table"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/order/_events/page.mdx",
"pathname": "/commerce-modules/order/_events"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/order/claim/page.mdx",
"pathname": "/commerce-modules/order/claim"
@@ -351,14 +283,6 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/commerce-modules/page.mdx",
"pathname": "/commerce-modules"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/payment/_events/_events-table/page.mdx",
"pathname": "/commerce-modules/payment/_events/_events-table"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/payment/_events/page.mdx",
"pathname": "/commerce-modules/payment/_events"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/payment/examples/page.mdx",
"pathname": "/commerce-modules/payment/examples"
@@ -403,14 +327,6 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/commerce-modules/payment/webhook-events/page.mdx",
"pathname": "/commerce-modules/payment/webhook-events"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/pricing/_events/_events-table/page.mdx",
"pathname": "/commerce-modules/pricing/_events/_events-table"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/pricing/_events/page.mdx",
"pathname": "/commerce-modules/pricing/_events"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/pricing/concepts/page.mdx",
"pathname": "/commerce-modules/pricing/concepts"
@@ -439,14 +355,6 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/commerce-modules/pricing/tax-inclusive-pricing/page.mdx",
"pathname": "/commerce-modules/pricing/tax-inclusive-pricing"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/product/_events/_events-table/page.mdx",
"pathname": "/commerce-modules/product/_events/_events-table"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/product/_events/page.mdx",
"pathname": "/commerce-modules/product/_events"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/product/examples/page.mdx",
"pathname": "/commerce-modules/product/examples"
@@ -467,14 +375,6 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/commerce-modules/product/relations-to-other-modules/page.mdx",
"pathname": "/commerce-modules/product/relations-to-other-modules"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/promotion/_events/_events-table/page.mdx",
"pathname": "/commerce-modules/promotion/_events/_events-table"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/promotion/_events/page.mdx",
"pathname": "/commerce-modules/promotion/_events"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/promotion/actions/page.mdx",
"pathname": "/commerce-modules/promotion/actions"
@@ -503,14 +403,6 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/commerce-modules/promotion/relations-to-other-modules/page.mdx",
"pathname": "/commerce-modules/promotion/relations-to-other-modules"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/region/_events/_events-table/page.mdx",
"pathname": "/commerce-modules/region/_events/_events-table"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/region/_events/page.mdx",
"pathname": "/commerce-modules/region/_events"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/region/examples/page.mdx",
"pathname": "/commerce-modules/region/examples"
@@ -523,14 +415,6 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/commerce-modules/region/relations-to-other-modules/page.mdx",
"pathname": "/commerce-modules/region/relations-to-other-modules"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/sales-channel/_events/_events-table/page.mdx",
"pathname": "/commerce-modules/sales-channel/_events/_events-table"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/sales-channel/_events/page.mdx",
"pathname": "/commerce-modules/sales-channel/_events"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/sales-channel/examples/page.mdx",
"pathname": "/commerce-modules/sales-channel/examples"
@@ -547,14 +431,6 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/commerce-modules/sales-channel/relations-to-other-modules/page.mdx",
"pathname": "/commerce-modules/sales-channel/relations-to-other-modules"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/stock-location/_events/_events-table/page.mdx",
"pathname": "/commerce-modules/stock-location/_events/_events-table"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/stock-location/_events/page.mdx",
"pathname": "/commerce-modules/stock-location/_events"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/stock-location/concepts/page.mdx",
"pathname": "/commerce-modules/stock-location/concepts"
@@ -571,14 +447,6 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/commerce-modules/stock-location/relations-to-other-modules/page.mdx",
"pathname": "/commerce-modules/stock-location/relations-to-other-modules"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/store/_events/_events-table/page.mdx",
"pathname": "/commerce-modules/store/_events/_events-table"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/store/_events/page.mdx",
"pathname": "/commerce-modules/store/_events"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/store/examples/page.mdx",
"pathname": "/commerce-modules/store/examples"
@@ -591,14 +459,6 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/commerce-modules/store/relations-to-other-modules/page.mdx",
"pathname": "/commerce-modules/store/relations-to-other-modules"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/tax/_events/_events-table/page.mdx",
"pathname": "/commerce-modules/tax/_events/_events-table"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/tax/_events/page.mdx",
"pathname": "/commerce-modules/tax/_events"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/tax/examples/page.mdx",
"pathname": "/commerce-modules/tax/examples"
@@ -623,14 +483,6 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/commerce-modules/tax/tax-region/page.mdx",
"pathname": "/commerce-modules/tax/tax-region"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/user/_events/_events-table/page.mdx",
"pathname": "/commerce-modules/user/_events/_events-table"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/user/_events/page.mdx",
"pathname": "/commerce-modules/user/_events"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/user/examples/page.mdx",
"pathname": "/commerce-modules/user/examples"
@@ -675,6 +527,10 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/deployment/storefront/vercel/page.mdx",
"pathname": "/deployment/storefront/vercel"
},
{
"filePath": "/www/apps/resources/app/events-reference/page.mdx",
"pathname": "/events-reference"
},
{
"filePath": "/www/apps/resources/app/integrations/page.mdx",
"pathname": "/integrations"
+8
View File
@@ -8732,6 +8732,14 @@ export const generatedSidebar = [
"title": "Medusa Container Resources",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"path": "/events-reference",
"title": "Events List",
"children": []
},
{
"loaded": true,
"isPathHref": true,