diff --git a/www/apps/book/app/basics/events-and-subscribers/page.mdx b/www/apps/book/app/basics/events-and-subscribers/page.mdx index 0e14608452..7505b75740 100644 --- a/www/apps/book/app/basics/events-and-subscribers/page.mdx +++ b/www/apps/book/app/basics/events-and-subscribers/page.mdx @@ -115,3 +115,9 @@ export const config: SubscriberConfig = { ``` You use the container to resolve the Product Module's main service, then log the title of the created product. + +--- + +## Events List + +Find a list of all emitted events in [this reference](!resources!/events-reference). diff --git a/www/apps/resources/app/_events-reference/page.mdx b/www/apps/resources/app/_events-reference/page.mdx deleted file mode 100644 index f44ec3cda4..0000000000 --- a/www/apps/resources/app/_events-reference/page.mdx +++ /dev/null @@ -1,105 +0,0 @@ -import { Table } from "docs-ui" -import ApiKeyEvents from "../commerce-modules/api-key/events/_events-table/page.mdx" -import AuthEvents from "../commerce-modules/auth/events/_events-table/page.mdx" -import CartEvents from "../commerce-modules/cart/events/_events-table/page.mdx" -import CurrencyEvents from "../commerce-modules/currency/events/_events-table/page.mdx" -import CustomerEvents from "../commerce-modules/customer/events/_events-table/page.mdx" -import FulfillmentEvents from "../commerce-modules/fulfillment/events/_events-table/page.mdx" -import InventoryEvents from "../commerce-modules/inventory/events/_events-table/page.mdx" -import OrderEvents from "../commerce-modules/order/events/_events-table/page.mdx" -import PaymentEvents from "../commerce-modules/payment/events/_events-table/page.mdx" -import PricingEvents from "../commerce-modules/pricing/events/_events-table/page.mdx" -import ProductEvents from "../commerce-modules/product/events/_events-table/page.mdx" -import PromotionEvents from "../commerce-modules/promotion/events/_events-table/page.mdx" -import RegionEvents from "../commerce-modules/region/events/_events-table/page.mdx" -import SalesChannelEvents from "../commerce-modules/sales-channel/events/_events-table/page.mdx" -import StockLocationEvents from "../commerce-modules/stock-location/events/_events-table/page.mdx" -import StoreEvents from "../commerce-modules/store/events/_events-table/page.mdx" -import TaxEvents from "../commerce-modules/tax/events/_events-table/page.mdx" -import UserEvents from "../commerce-modules/user/events/_events-table/page.mdx" - -export const metadata = { - title: `Events Reference`, -} - -# {metadata.title} - -This documentation page includes the list of all events triggered by Medusa's commerce modules. - - - -Events are still in development, so this reference will change in the future. - - - -## API Key Module Events - - - -## Auth Module Events - - - -## Cart Module Events - - - -## Currency Module Events - - - -## Customer Module Events - - - -## Fulfillment Module Events - - - -## Inventory Module Events - - - -## Order Module Events - - - -## Payment Module Events - - - -## Pricing Module Events - - - -## Product Module Events - - - -## Promotion Module Events - - - -## Region Module Events - - - -## Sales Channel Module Events - - - -## Stock Location Module Events - - - -## Store Module Events - - - -## Tax Module Events - - - -## User Module Events - - diff --git a/www/apps/resources/app/commerce-modules/api-key/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/api-key/_events/_events-table/page.mdx deleted file mode 100644 index 55dd5283af..0000000000 --- a/www/apps/resources/app/commerce-modules/api-key/_events/_events-table/page.mdx +++ /dev/null @@ -1,35 +0,0 @@ -import { Table } from "docs-ui" - - - - - Event Name - Description - Data Payload - - - - - - - `api-key.deleted` - - - - - Triggered when an API key is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted API key - id, - } - ``` - - - - -
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/api-key/_events/page.mdx b/www/apps/resources/app/commerce-modules/api-key/_events/page.mdx deleted file mode 100644 index 60714dd62d..0000000000 --- a/www/apps/resources/app/commerce-modules/api-key/_events/page.mdx +++ /dev/null @@ -1,17 +0,0 @@ -import EventsTable from "./_events-table/page.mdx" - -export const metadata = { - title: `API Key Module Events Reference`, -} - -# {metadata.title} - -Find in this reference the list of events emitted by the API Key Module. - - - -Events are still in development, so this reference will change in the future. - - - - \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/auth/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/auth/_events/_events-table/page.mdx deleted file mode 100644 index 32014b57b9..0000000000 --- a/www/apps/resources/app/commerce-modules/auth/_events/_events-table/page.mdx +++ /dev/null @@ -1,35 +0,0 @@ -import { Table } from "docs-ui" - - - - - Event Name - Description - Data Payload - - - - - - - `auth.deleted` - - - - - Triggered when an auth identity is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted auth identity - id, - } - ``` - - - - -
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/auth/_events/page.mdx b/www/apps/resources/app/commerce-modules/auth/_events/page.mdx deleted file mode 100644 index 9f60b25b88..0000000000 --- a/www/apps/resources/app/commerce-modules/auth/_events/page.mdx +++ /dev/null @@ -1,17 +0,0 @@ -import EventsTable from "./_events-table/page.mdx" - -export const metadata = { - title: `Auth Module Events Reference`, -} - -# {metadata.title} - -Find in this reference the list of events emitted by the Auth Module. - - - -Events are still in development, so this reference will change in the future. - - - - \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/cart/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/cart/_events/_events-table/page.mdx deleted file mode 100644 index 49a9920cf3..0000000000 --- a/www/apps/resources/app/commerce-modules/cart/_events/_events-table/page.mdx +++ /dev/null @@ -1,189 +0,0 @@ -import { Table } from "docs-ui" - - - - - Event Name - Description - Data Payload - - - - - - - `cart.deleted` - - - - - Triggered when a cart is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted cart - id, - } - ``` - - - - - - - `address.deleted` - - - - - Triggered when an address is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted address - id, - } - ``` - - - - - - - `line-item.deleted` - - - - - Triggered when a line item is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted line item - id, - } - ``` - - - - - - - `line-item-adjustment.deleted` - - - - - Triggered when a line item adjustment is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted line item adjustment - id, - } - ``` - - - - - - - `line-item-tax-line.deleted` - - - - - Triggered when a line item tax line is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted line item tax line - id, - } - ``` - - - - - - - `shipping-method.deleted` - - - - - Triggered when a shipping method is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted shipping method - id, - } - ``` - - - - - - - `shipping-method-adjustment.deleted` - - - - - Triggered when a shipping method adjustment is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted shipping method adjustment - id, - } - ``` - - - - - - - `shipping-method-tax-line.deleted` - - - - - Triggered when a shipping method tax line is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted shipping method tax line - id, - } - ``` - - - - -
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/cart/_events/page.mdx b/www/apps/resources/app/commerce-modules/cart/_events/page.mdx deleted file mode 100644 index 5f7eb3c611..0000000000 --- a/www/apps/resources/app/commerce-modules/cart/_events/page.mdx +++ /dev/null @@ -1,17 +0,0 @@ -import EventsTable from "./_events-table/page.mdx" - -export const metadata = { - title: `Cart Module Events Reference`, -} - -# {metadata.title} - -Find in this reference the list of events emitted by the Cart Module. - - - -Events are still in development, so this reference will change in the future. - - - - \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/currency/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/currency/_events/_events-table/page.mdx deleted file mode 100644 index 2690bc34e7..0000000000 --- a/www/apps/resources/app/commerce-modules/currency/_events/_events-table/page.mdx +++ /dev/null @@ -1,35 +0,0 @@ -import { Table } from "docs-ui" - - - - - Event Name - Description - Data Payload - - - - - - - `currency.deleted` - - - - - Triggered when a currency is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted currency - id, - } - ``` - - - - -
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/currency/_events/page.mdx b/www/apps/resources/app/commerce-modules/currency/_events/page.mdx deleted file mode 100644 index 5f322681ff..0000000000 --- a/www/apps/resources/app/commerce-modules/currency/_events/page.mdx +++ /dev/null @@ -1,17 +0,0 @@ -import EventsTable from "./_events-table/page.mdx" - -export const metadata = { - title: `Currency Module Events Reference`, -} - -# {metadata.title} - -Find in this reference the list of events emitted by the Currency Module. - - - -Events are still in development, so this reference will change in the future. - - - - \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/customer/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/customer/_events/_events-table/page.mdx deleted file mode 100644 index c0f398fa30..0000000000 --- a/www/apps/resources/app/commerce-modules/customer/_events/_events-table/page.mdx +++ /dev/null @@ -1,101 +0,0 @@ -import { Table } from "docs-ui" - - - - - Event Name - Description - Data Payload - - - - - - - `customer.deleted` - - - - - Triggered when a customer is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted customer - id, - } - ``` - - - - - - - `address.deleted` - - - - - Triggered when a address is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted address - id, - } - ``` - - - - - - - `customer-group.deleted` - - - - - Triggered when a customer group is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted customer group - id, - } - ``` - - - - - - - `customer-group-customer.deleted` - - - - - Triggered when a customer group customer (the data model of the relation between customer groups and customers) is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted customer group customer - id, - } - ``` - - - - -
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/customer/_events/page.mdx b/www/apps/resources/app/commerce-modules/customer/_events/page.mdx deleted file mode 100644 index 999fb227fb..0000000000 --- a/www/apps/resources/app/commerce-modules/customer/_events/page.mdx +++ /dev/null @@ -1,17 +0,0 @@ -import EventsTable from "./_events-table/page.mdx" - -export const metadata = { - title: `Customer Module Events Reference`, -} - -# {metadata.title} - -Find in this reference the list of events emitted by the Customer Module. - - - -Events are still in development, so this reference will change in the future. - - - - \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/fulfillment/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/fulfillment/_events/_events-table/page.mdx deleted file mode 100644 index 01b2729346..0000000000 --- a/www/apps/resources/app/commerce-modules/fulfillment/_events/_events-table/page.mdx +++ /dev/null @@ -1,255 +0,0 @@ -import { Table } from "docs-ui" - - - - - Event Name - Description - Data Payload - - - - - - - `fulfillment-set.created` - - - - - Triggered when a fulfillment set is created. - - - - - ```ts blockStyle="inline" - { - // the ID of the fulfillment set - id, - } - ``` - - - - - - - `fulfillment-set.deleted` - - - - - Triggered when a fulfillment set is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted fulfillment set - id, - } - ``` - - - - - - - `service-zone.created` - - - - - Triggered when a service zone is created. - - - - - ```ts blockStyle="inline" - { - // the ID of the service zone - id, - } - ``` - - - - - - - `service-zone.deleted` - - - - - Triggered when a service zone is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted service zone - id, - } - ``` - - - - - - - `geo-zone.created` - - - - - Triggered when a geo zone is created. - - - - - ```ts blockStyle="inline" - { - // the ID of the geo zone - id, - } - ``` - - - - - - - `geo-zone.deleted` - - - - - Triggered when a geo zone is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted geo zone - id, - } - ``` - - - - - - - `shipping-option.created` - - - - - Triggered when a shipping option is created. - - - - - ```ts blockStyle="inline" - { - // the ID of the shipping option - id, - } - ``` - - - - - - - `shipping-profile.created` - - - - - Triggered when a shipping profile is created. - - - - - ```ts blockStyle="inline" - { - // the ID of the shipping profile - id, - } - ``` - - - - - - - `shipping-option-rule.created` - - - - - Triggered when a shipping option rule is created. - - - - - ```ts blockStyle="inline" - { - // the ID of the shipping option rule - id, - } - ``` - - - - - - - `shipping-option-type.created` - - - - - Triggered when a shipping option type is created. - - - - - ```ts blockStyle="inline" - { - // the ID of the shipping option type - id, - } - ``` - - - - - - - `fulfillment-provider.created` - - - - - Triggered when a fulfillment provider is created. - - - - - ```ts blockStyle="inline" - { - // the ID of the fulfillment provider - id, - } - ``` - - - - -
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/fulfillment/_events/page.mdx b/www/apps/resources/app/commerce-modules/fulfillment/_events/page.mdx deleted file mode 100644 index 6172a6335e..0000000000 --- a/www/apps/resources/app/commerce-modules/fulfillment/_events/page.mdx +++ /dev/null @@ -1,17 +0,0 @@ -import EventsTable from "./_events-table/page.mdx" - -export const metadata = { - title: `Fulfillment Module Events Reference`, -} - -# {metadata.title} - -Find in this reference the list of events emitted by the Fulfillment Module. - - - -Events are still in development, so this reference will change in the future. - - - - \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/inventory/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/inventory/_events/_events-table/page.mdx deleted file mode 100644 index 219a936373..0000000000 --- a/www/apps/resources/app/commerce-modules/inventory/_events/_events-table/page.mdx +++ /dev/null @@ -1,211 +0,0 @@ -import { Table } from "docs-ui" - - - - - Event Name - Description - Data Payload - - - - - - - `inventory-item.created` - - - - - Triggered when a inventory item is created. - - - - - ```ts blockStyle="inline" - { - // the ID of the inventory item - id, - } - ``` - - - - - - - `inventory-item.updated` - - - - - Triggered when a inventory item is updated. - - - - - ```ts blockStyle="inline" - { - // the ID of the inventory item - id, - } - ``` - - - - - - - `inventory-item.deleted` - - - - - Triggered when a inventory item is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted inventory item - id, - } - ``` - - - - - - - `inventory-level.created` - - - - - Triggered when a inventory level is created. - - - - - ```ts blockStyle="inline" - { - // the ID of the inventory level - id, - } - ``` - - - - - - - `inventory-level.updated` - - - - - Triggered when a inventory level is updated. - - - - - ```ts blockStyle="inline" - { - // the ID of the inventory level - id, - } - ``` - - - - - - - `inventory-level.deleted` - - - - - Triggered when a inventory level is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted inventory level - id, - } - ``` - - - - - - - `reservation-item.created` - - - - - Triggered when a reservation item is created. - - - - - ```ts blockStyle="inline" - { - // the ID of the reservation item - id, - } - ``` - - - - - - - `reservation-item.updated` - - - - - Triggered when a reservation item is updated. - - - - - ```ts blockStyle="inline" - { - // the ID of the reservation item - id, - } - ``` - - - - - - - `reservation-item.deleted` - - - - - Triggered when a reservation item is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted reservation item - id, - } - ``` - - - - -
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/inventory/_events/page.mdx b/www/apps/resources/app/commerce-modules/inventory/_events/page.mdx deleted file mode 100644 index ecd247569c..0000000000 --- a/www/apps/resources/app/commerce-modules/inventory/_events/page.mdx +++ /dev/null @@ -1,17 +0,0 @@ -import EventsTable from "./_events-table/page.mdx" - -export const metadata = { - title: `Inventory Module Events Reference`, -} - -# {metadata.title} - -Find in this reference the list of events emitted by the Inventory Module. - - - -Events are still in development, so this reference will change in the future. - - - - \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/order/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/order/_events/_events-table/page.mdx deleted file mode 100644 index e6d6f05582..0000000000 --- a/www/apps/resources/app/commerce-modules/order/_events/_events-table/page.mdx +++ /dev/null @@ -1,321 +0,0 @@ -import { Table } from "docs-ui" - - - - - Event Name - Description - Data Payload - - - - - - - `order.deleted` - - - - - Triggered when an order is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted order - id, - } - ``` - - - - - - - `address.deleted` - - - - - Triggered when an address is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted address - id, - } - ``` - - - - - - - `line-item.deleted` - - - - - Triggered when a line item is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted line item - id, - } - ``` - - - - - - - `line-item-adjustment.deleted` - - - - - Triggered when a line item adjustment is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted line item adjustment - id, - } - ``` - - - - - - - `line-item-tax-line.deleted` - - - - - Triggered when a line item tax line is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted line item tax line - id, - } - ``` - - - - - - - `shipping-method.deleted` - - - - - Triggered when a shipping method is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted shipping method - id, - } - ``` - - - - - - - `shipping-method-adjustment.deleted` - - - - - Triggered when a shipping method adjustment is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted shipping method adjustment - id, - } - ``` - - - - - - - `shipping-method-tax-line.deleted` - - - - - Triggered when a shipping method tax line is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted shipping method tax line - id, - } - ``` - - - - - - - `transaction.deleted` - - - - - Triggered when a transaction is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted transaction - id, - } - ``` - - - - - - - `order-change.deleted` - - - - - Triggered when an order change is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted order change - id, - } - ``` - - - - - - - `order-change-action.deleted` - - - - - Triggered when an order change action is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted order change action - id, - } - ``` - - - - - - - `order-item.deleted` - - - - - Triggered when an order item is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted order item - id, - } - ``` - - - - - - - `order-summary.deleted` - - - - - Triggered when an order summary is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted order summary - id, - } - ``` - - - - - - - `order-shipping-method.deleted` - - - - - Triggered when an order shipping method is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted order shipping method - id, - } - ``` - - - - -
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/order/_events/page.mdx b/www/apps/resources/app/commerce-modules/order/_events/page.mdx deleted file mode 100644 index abe5cfc665..0000000000 --- a/www/apps/resources/app/commerce-modules/order/_events/page.mdx +++ /dev/null @@ -1,17 +0,0 @@ -import EventsTable from "./_events-table/page.mdx" - -export const metadata = { - title: `Order Module Events Reference`, -} - -# {metadata.title} - -Find in this reference the list of events emitted by the Order Module. - - - -Events are still in development, so this reference will change in the future. - - - - \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/payment/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/payment/_events/_events-table/page.mdx deleted file mode 100644 index 6b2833bc3f..0000000000 --- a/www/apps/resources/app/commerce-modules/payment/_events/_events-table/page.mdx +++ /dev/null @@ -1,123 +0,0 @@ -import { Table } from "docs-ui" - - - - - Event Name - Description - Data Payload - - - - - - - `payment.deleted` - - - - - Triggered when a payment is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted payment - id, - } - ``` - - - - - - - `payment-collection.deleted` - - - - - Triggered when a payment collection is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted payment collection - id, - } - ``` - - - - - - - `payment-session.deleted` - - - - - Triggered when a payment session is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted payment session - id, - } - ``` - - - - - - - `capture.deleted` - - - - - Triggered when a capture is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted capture - id, - } - ``` - - - - - - - `refund.deleted` - - - - - Triggered when a refund is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted refund - id, - } - ``` - - - - -
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/payment/_events/page.mdx b/www/apps/resources/app/commerce-modules/payment/_events/page.mdx deleted file mode 100644 index 1dc0d4b8c6..0000000000 --- a/www/apps/resources/app/commerce-modules/payment/_events/page.mdx +++ /dev/null @@ -1,17 +0,0 @@ -import EventsTable from "./_events-table/page.mdx" - -export const metadata = { - title: `Payment Module Events Reference`, -} - -# {metadata.title} - -Find in this reference the list of events emitted by the Payment Module. - - - -Events are still in development, so this reference will change in the future. - - - - \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/pricing/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/pricing/_events/_events-table/page.mdx deleted file mode 100644 index 328ced7184..0000000000 --- a/www/apps/resources/app/commerce-modules/pricing/_events/_events-table/page.mdx +++ /dev/null @@ -1,189 +0,0 @@ -import { Table } from "docs-ui" - - - - - Event Name - Description - Data Payload - - - - - - - `price-set.deleted` - - - - - Triggered when a price set is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted price set - id, - } - ``` - - - - - - - `price-list.deleted` - - - - - Triggered when a price list is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted price list - id, - } - ``` - - - - - - - `price-list-rule.deleted` - - - - - Triggered when a price list rule is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted price list rule - id, - } - ``` - - - - - - - `price-list-rule-value.deleted` - - - - - Triggered when a price list rule value is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted price list rule value - id, - } - ``` - - - - - - - `price-rule.deleted` - - - - - Triggered when a price rule is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted price rule - id, - } - ``` - - - - - - - `price.deleted` - - - - - Triggered when a price is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted price - id, - } - ``` - - - - - - - `price-set-rule-type.deleted` - - - - - Triggered when a price set rule type is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted price set rule type - id, - } - ``` - - - - - - - `rule-type.deleted` - - - - - Triggered when a rule type is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted rule type - id, - } - ``` - - - - -
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/pricing/_events/page.mdx b/www/apps/resources/app/commerce-modules/pricing/_events/page.mdx deleted file mode 100644 index e8063540f3..0000000000 --- a/www/apps/resources/app/commerce-modules/pricing/_events/page.mdx +++ /dev/null @@ -1,17 +0,0 @@ -import EventsTable from "./_events-table/page.mdx" - -export const metadata = { - title: `Pricing Module Events Reference`, -} - -# {metadata.title} - -Find in this reference the list of events emitted by the Pricing Module. - - - -Events are still in development, so this reference will change in the future. - - - - \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/product/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/product/_events/_events-table/page.mdx deleted file mode 100644 index aa53b73023..0000000000 --- a/www/apps/resources/app/commerce-modules/product/_events/_events-table/page.mdx +++ /dev/null @@ -1,299 +0,0 @@ -import { Table } from "docs-ui" - - - - - Event Name - Description - Data Payload - - - - - - - `product.created` - - - - - Triggered when a product is created. - - - - - ```ts blockStyle="inline" - { - // the ID of the product - id, - } - ``` - - - - - - - `product.updated` - - - - - Triggered when a product is updated. - - - - - ```ts blockStyle="inline" - { - // the ID of the product - id, - } - ``` - - - - - - - `product.deleted` - - - - - Triggered when a product is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted product - id, - } - ``` - - - - - - - `product-collection.created` - - - - - Triggered when a product collection is created. - - - - - ```ts blockStyle="inline" - { - // the ID of the product collection - id, - } - ``` - - - - - - - `product-collection.updated` - - - - - Triggered when a product collection is updated. - - - - - ```ts blockStyle="inline" - { - // the ID of the product collection - id, - } - ``` - - - - - - - `product-collection.deleted` - - - - - Triggered when a product collection is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted product collection - id, - } - ``` - - - - - - - `product-category.created` - - - - - Triggered when a product category is created. - - - - - ```ts blockStyle="inline" - { - // the ID of the product category - id, - } - ``` - - - - - - - `product-category.updated` - - - - - Triggered when a product category is updated. - - - - - ```ts blockStyle="inline" - { - // the ID of the product category - id, - } - ``` - - - - - - - `product-category.deleted` - - - - - Triggered when a product category is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted product category - id, - } - ``` - - - - - - - `product-option.deleted` - - - - - Triggered when a product option is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted product option - id, - } - ``` - - - - - - - `product-tag.deleted` - - - - - Triggered when a product tag is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted product tag - id, - } - ``` - - - - - - - `product-type.deleted` - - - - - Triggered when a product type is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted product type - id, - } - ``` - - - - - - - `product-variant.deleted` - - - - - Triggered when a product variant is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted product variant - id, - } - ``` - - - - -
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/product/_events/page.mdx b/www/apps/resources/app/commerce-modules/product/_events/page.mdx deleted file mode 100644 index 7c685c65f1..0000000000 --- a/www/apps/resources/app/commerce-modules/product/_events/page.mdx +++ /dev/null @@ -1,17 +0,0 @@ -import EventsTable from "./_events-table/page.mdx" - -export const metadata = { - title: `Product Module Events Reference`, -} - -# {metadata.title} - -Find in this reference the list of events emitted by the Product Module. - - - -Events are still in development, so this reference will change in the future. - - - - \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/promotion/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/promotion/_events/_events-table/page.mdx deleted file mode 100644 index 4e22be1363..0000000000 --- a/www/apps/resources/app/commerce-modules/promotion/_events/_events-table/page.mdx +++ /dev/null @@ -1,145 +0,0 @@ -import { Table } from "docs-ui" - - - - - Event Name - Description - Data Payload - - - - - - - `promotion.deleted` - - - - - Triggered when a promotion is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted promotion - id, - } - ``` - - - - - - - `application-method.deleted` - - - - - Triggered when a application method is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted application method - id, - } - ``` - - - - - - - `campaign.deleted` - - - - - Triggered when a campaign is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted campaign - id, - } - ``` - - - - - - - `campaign-budget.deleted` - - - - - Triggered when a campaign budget is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted campaign budget - id, - } - ``` - - - - - - - `promotion-rule.deleted` - - - - - Triggered when a promotion rule is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted promotion rule - id, - } - ``` - - - - - - - `promotion-rule-value.deleted` - - - - - Triggered when a promotion rule value is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted promotion rule value - id, - } - ``` - - - - -
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/promotion/_events/page.mdx b/www/apps/resources/app/commerce-modules/promotion/_events/page.mdx deleted file mode 100644 index 41b7e449af..0000000000 --- a/www/apps/resources/app/commerce-modules/promotion/_events/page.mdx +++ /dev/null @@ -1,17 +0,0 @@ -import EventsTable from "./_events-table/page.mdx" - -export const metadata = { - title: `Promotion Module Events Reference`, -} - -# {metadata.title} - -Find in this reference the list of events emitted by the Promotion Module. - - - -Events are still in development, so this reference will change in the future. - - - - \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/region/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/region/_events/_events-table/page.mdx deleted file mode 100644 index 3e732d659e..0000000000 --- a/www/apps/resources/app/commerce-modules/region/_events/_events-table/page.mdx +++ /dev/null @@ -1,57 +0,0 @@ -import { Table } from "docs-ui" - - - - - Event Name - Description - Data Payload - - - - - - - `region.deleted` - - - - - Triggered when a region is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted region - id, - } - ``` - - - - - - - `country.deleted` - - - - - Triggered when a country is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted country - id, - } - ``` - - - - -
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/region/_events/page.mdx b/www/apps/resources/app/commerce-modules/region/_events/page.mdx deleted file mode 100644 index 5b2cdcabb5..0000000000 --- a/www/apps/resources/app/commerce-modules/region/_events/page.mdx +++ /dev/null @@ -1,17 +0,0 @@ -import EventsTable from "./_events-table/page.mdx" - -export const metadata = { - title: `Region Module Events Reference`, -} - -# {metadata.title} - -Find in this reference the list of events emitted by the Region Module. - - - -Events are still in development, so this reference will change in the future. - - - - \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/sales-channel/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/sales-channel/_events/_events-table/page.mdx deleted file mode 100644 index de31406695..0000000000 --- a/www/apps/resources/app/commerce-modules/sales-channel/_events/_events-table/page.mdx +++ /dev/null @@ -1,35 +0,0 @@ -import { Table } from "docs-ui" - - - - - Event Name - Description - Data Payload - - - - - - - `sales-channel.deleted` - - - - - Triggered when a sales channel is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted sales channel - id, - } - ``` - - - - -
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/sales-channel/_events/page.mdx b/www/apps/resources/app/commerce-modules/sales-channel/_events/page.mdx deleted file mode 100644 index 736bfbd43f..0000000000 --- a/www/apps/resources/app/commerce-modules/sales-channel/_events/page.mdx +++ /dev/null @@ -1,17 +0,0 @@ -import EventsTable from "./_events-table/page.mdx" - -export const metadata = { - title: `Sales Channel Module Events Reference`, -} - -# {metadata.title} - -Find in this reference the list of events emitted by the Sales Channel Module. - - - -Events are still in development, so this reference will change in the future. - - - - \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/stock-location/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/stock-location/_events/_events-table/page.mdx deleted file mode 100644 index af393f49ec..0000000000 --- a/www/apps/resources/app/commerce-modules/stock-location/_events/_events-table/page.mdx +++ /dev/null @@ -1,57 +0,0 @@ -import { Table } from "docs-ui" - - - - - Event Name - Description - Data Payload - - - - - - - `stock-location.deleted` - - - - - Triggered when a stock location is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted stock location - id, - } - ``` - - - - - - - `stock-location-address.deleted` - - - - - Triggered when a stock location address is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted stock location address - id, - } - ``` - - - - -
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/stock-location/_events/page.mdx b/www/apps/resources/app/commerce-modules/stock-location/_events/page.mdx deleted file mode 100644 index bea4646ecc..0000000000 --- a/www/apps/resources/app/commerce-modules/stock-location/_events/page.mdx +++ /dev/null @@ -1,17 +0,0 @@ -import EventsTable from "./_events-table/page.mdx" - -export const metadata = { - title: `Stock Location Module Events Reference`, -} - -# {metadata.title} - -Find in this reference the list of events emitted by the Stock Location Module. - - - -Events are still in development, so this reference will change in the future. - - - - \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/store/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/store/_events/_events-table/page.mdx deleted file mode 100644 index d5b9c71344..0000000000 --- a/www/apps/resources/app/commerce-modules/store/_events/_events-table/page.mdx +++ /dev/null @@ -1,35 +0,0 @@ -import { Table } from "docs-ui" - - - - - Event Name - Description - Data Payload - - - - - - - `store.deleted` - - - - - Triggered when a store is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted store - id, - } - ``` - - - - -
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/store/_events/page.mdx b/www/apps/resources/app/commerce-modules/store/_events/page.mdx deleted file mode 100644 index 75e23ca1df..0000000000 --- a/www/apps/resources/app/commerce-modules/store/_events/page.mdx +++ /dev/null @@ -1,17 +0,0 @@ -import EventsTable from "./_events-table/page.mdx" - -export const metadata = { - title: `Store Module Events Reference`, -} - -# {metadata.title} - -Find in this reference the list of events emitted by the Store Module. - - - -Events are still in development, so this reference will change in the future. - - - - \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/tax/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/tax/_events/_events-table/page.mdx deleted file mode 100644 index 5c15a3fcec..0000000000 --- a/www/apps/resources/app/commerce-modules/tax/_events/_events-table/page.mdx +++ /dev/null @@ -1,101 +0,0 @@ -import { Table } from "docs-ui" - - - - - Event Name - Description - Data Payload - - - - - - - `tax-rate.deleted` - - - - - Triggered when a tax rate is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted tax rate - id, - } - ``` - - - - - - - `tax-region.deleted` - - - - - Triggered when a tax region is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted tax region - id, - } - ``` - - - - - - - `tax-rate-rule.deleted` - - - - - Triggered when a tax rate rule is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted tax rate rule - id, - } - ``` - - - - - - - `tax-provider.deleted` - - - - - Triggered when a tax provider is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted tax provider - id, - } - ``` - - - - -
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/tax/_events/page.mdx b/www/apps/resources/app/commerce-modules/tax/_events/page.mdx deleted file mode 100644 index c9878a80a0..0000000000 --- a/www/apps/resources/app/commerce-modules/tax/_events/page.mdx +++ /dev/null @@ -1,17 +0,0 @@ -import EventsTable from "./_events-table/page.mdx" - -export const metadata = { - title: `Tax Module Events Reference`, -} - -# {metadata.title} - -Find in this reference the list of events emitted by the Tax Module. - - - -Events are still in development, so this reference will change in the future. - - - - \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/user/_events/_events-table/page.mdx b/www/apps/resources/app/commerce-modules/user/_events/_events-table/page.mdx deleted file mode 100644 index 782013f770..0000000000 --- a/www/apps/resources/app/commerce-modules/user/_events/_events-table/page.mdx +++ /dev/null @@ -1,167 +0,0 @@ -import { Table } from "docs-ui" - - - - - Event Name - Description - Data Payload - - - - - - - `user.created` - - - - - Triggered when a user is created. - - - - - ```ts blockStyle="inline" - { - // the ID of the user - id, - } - ``` - - - - - - - `user.updated` - - - - - Triggered when a user is updated. - - - - - ```ts blockStyle="inline" - { - // the ID of the user - id, - } - ``` - - - - - - - `user.deleted` - - - - - Triggered when a user is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted user - id, - } - ``` - - - - - - - `invite.created` - - - - - Triggered when an invite is created. - - - - - ```ts blockStyle="inline" - { - // the ID of the invite - id, - } - ``` - - - - - - - `invite.updated` - - - - - Triggered when an invite is updated. - - - - - ```ts blockStyle="inline" - { - // the ID of the invite - id, - } - ``` - - - - - - - `invite.deleted` - - - - - Triggered when an invite is deleted. - - - - - ```ts blockStyle="inline" - { - // the ID of the deleted invite - id, - } - ``` - - - - - - - `invite.token_generated` - - - - - Triggered when an invite's token is generated for the first time or refreshed. - - - - - ```ts blockStyle="inline" - { - // the ID of the invite - id, - } - ``` - - - - -
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/user/_events/page.mdx b/www/apps/resources/app/commerce-modules/user/_events/page.mdx deleted file mode 100644 index fe9a27763f..0000000000 --- a/www/apps/resources/app/commerce-modules/user/_events/page.mdx +++ /dev/null @@ -1,17 +0,0 @@ -import EventsTable from "./_events-table/page.mdx" - -export const metadata = { - title: `User Module Events Reference`, -} - -# {metadata.title} - -Find in this reference the list of events emitted by the User Module. - - - -Events are still in development, so this reference will change in the future. - - - - \ No newline at end of file diff --git a/www/apps/resources/app/events-reference/page.mdx b/www/apps/resources/app/events-reference/page.mdx new file mode 100644 index 0000000000..3f04862232 --- /dev/null +++ b/www/apps/resources/app/events-reference/page.mdx @@ -0,0 +1,820 @@ +import { Table } from "docs-ui" + +export const metadata = { + title: `Events Reference`, +} + +# {metadata.title} + +This documentation page includes the list of all events emitted by Medusa's workflows. + + + +Events are still in development and may change. + + + +## Auth Events + + + + + Event Name + Description + Payload + + + + + + + `auth.password_reset` + + + + + Emitted when a password of a user, customer, or other actor types is reset. + + + + +```ts blockStyle="inline" +{ + entityId, // The ID of the user + token, // The reset token +} +``` + + + + +
+ +--- + +## Customer Events + + + + + Event Name + Description + Payload + + + + + + + `customer.created` + + + + + Emitted when customers are created. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the customer +}] +``` + + + + + + + `customer.updated` + + + + + Emitted when customers are updated. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the customer +}] +``` + + + + + + + `customer.deleted` + + + + + Emitted when customers are deleted. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the customer +}] +``` + + + + +
+ +--- + +## Invite Events + + + + + Event Name + Description + Payload + + + + + + + `invite.accepted` + + + + + Emitted when an invite is accepted. + + + + +```ts blockStyle="inline" +{ + id, // The ID of the invite +} +``` + + + + + + + `invite.created` + + + + + Emitted when invites are created. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the invite +}] +``` + + + + + + + `invite.deleted` + + + + + Emitted when invites are deleted. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the invite +}] +``` + + + + + + + `invite.resent` + + + + + Emitted when invites are resent. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the invite +}] +``` + + + + +
+ +--- + +## Order Events + + + + + Event Name + Description + Payload + + + + + + + `order.placed` + + + + + Emitted when the customer completes a cart and an order is placed. + + + + +```ts blockStyle="inline" +{ + id, // The ID of the order +} +``` + + + + +
+ +--- + +## Product Events + + + + + Event Name + Description + Payload + + + + + + + `product.created` + + + + + Emitted when products are created. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the product +}] +``` + + + + + + + `product.updated` + + + + + Emitted when products are updated. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the product +}] +``` + + + + + + + `product.deleted` + + + + + Emitted when products are deleted. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the product +}] +``` + + + + +
+ +--- + +## Product Category Events + + + + + Event Name + Description + Payload + + + + + + + `product-category.created` + + + + + Emitted when product categories are created. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the category +}] +``` + + + + + + + `product-category.updated` + + + + + Emitted when product categories are updated. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the category +}] +``` + + + + + + + `product-category.deleted` + + + + + Emitted when product categories are deleted. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the category +}] +``` + + + + +
+ +--- + +## Product Collection Events + + + + + Event Name + Description + Payload + + + + + + + `product-collection.created` + + + + + Emitted when product collections are created. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the collection +}] +``` + + + + + + + `product-collection.updated` + + + + + Emitted when product collections are updated. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the collection +}] +``` + + + + + + + `product-collection.deleted` + + + + + Emitted when product collections are deleted. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the collection +}] +``` + + + + +
+ +--- + +## Product Variant Events + + + + + Event Name + Description + Payload + + + + + + + `product-variant.created` + + + + + Emitted when product variants are created. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the variant +}] +``` + + + + + + + `product-variant.updated` + + + + + Emitted when product variants are updated. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the variant +}] +``` + + + + + + + `product-variant.deleted` + + + + + Emitted when product variants are deleted. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the variant +}] +``` + + + + +
+ +--- + +## Region Events + + + + + Event Name + Description + Payload + + + + + + + `region.created` + + + + + Emitted when regions are created. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the region +}] +``` + + + + + + + `region.updated` + + + + + Emitted when regions are updated. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the region +}] +``` + + + + + + + `region.deleted` + + + + + Emitted when regions are deleted. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the region +}] +``` + + + + +
+ +--- + +## Sales Channel Events + + + + + Event Name + Description + Payload + + + + + + + `sales-channel.created` + + + + + Emitted when sales channels are created. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the sales channel +}] +``` + + + + + + + `sales-channel.updated` + + + + + Emitted when sales channels are updated. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the sales channel +}] +``` + + + + + + + `sales-channel.deleted` + + + + + Emitted when sales channels are deleted. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the sales channel +}] +``` + + + + +
+ +--- + +## User Events + + + + + Event Name + Description + Payload + + + + + + + `user.created` + + + + + Emitted when users are created. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the user +}] +``` + + + + + + + `user.updated` + + + + + Emitted when users are updated. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the user +}] +``` + + + + + + + `user.deleted` + + + + + Emitted when users are deleted. + + + + +```ts blockStyle="inline" +[{ + id, // The ID of the user +}] +``` + + + + +
diff --git a/www/apps/resources/generated/files-map.mjs b/www/apps/resources/generated/files-map.mjs index 43bdcf6225..416efb0f3f 100644 --- a/www/apps/resources/generated/files-map.mjs +++ b/www/apps/resources/generated/files-map.mjs @@ -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" diff --git a/www/apps/resources/generated/sidebar.mjs b/www/apps/resources/generated/sidebar.mjs index d31208c710..d92689dc65 100644 --- a/www/apps/resources/generated/sidebar.mjs +++ b/www/apps/resources/generated/sidebar.mjs @@ -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, diff --git a/www/apps/resources/sidebar.mjs b/www/apps/resources/sidebar.mjs index dcdda3ceef..e77f6128b8 100644 --- a/www/apps/resources/sidebar.mjs +++ b/www/apps/resources/sidebar.mjs @@ -79,10 +79,6 @@ export const sidebar = sidebarAttachHrefCommonOptions([ }, ], }, - // { - // path: "/commerce-modules/api-key/events", - // title: "Events Reference", - // }, ], }, ], @@ -203,10 +199,6 @@ export const sidebar = sidebarAttachHrefCommonOptions([ }, ], }, - // { - // path: "/commerce-modules/auth/events", - // title: "Events Reference", - // }, ], }, ], @@ -285,10 +277,6 @@ export const sidebar = sidebarAttachHrefCommonOptions([ }, ], }, - // { - // path: "/commerce-modules/cart/events", - // title: "Events Reference", - // }, ], }, ], @@ -352,10 +340,6 @@ export const sidebar = sidebarAttachHrefCommonOptions([ }, ], }, - // { - // path: "/commerce-modules/currency/events", - // title: "Events Reference", - // }, ], }, ], @@ -424,10 +408,6 @@ export const sidebar = sidebarAttachHrefCommonOptions([ }, ], }, - // { - // path: "/commerce-modules/customer/events", - // title: "Events Reference", - // }, ], }, ], @@ -518,10 +498,6 @@ export const sidebar = sidebarAttachHrefCommonOptions([ }, ], }, - // { - // path: "/commerce-modules/fulfillment/events", - // title: "Events Reference", - // }, ], }, ], @@ -596,10 +572,6 @@ export const sidebar = sidebarAttachHrefCommonOptions([ }, ], }, - // { - // path: "/commerce-modules/inventory/events", - // title: "Events Reference", - // }, ], }, ], @@ -699,10 +671,6 @@ export const sidebar = sidebarAttachHrefCommonOptions([ }, ], }, - // { - // path: "/commerce-modules/order/events", - // title: "Events Reference", - // }, ], }, ], @@ -819,10 +787,6 @@ export const sidebar = sidebarAttachHrefCommonOptions([ }, ], }, - // { - // path: "/commerce-modules/payment/events", - // title: "Events Reference", - // }, ], }, ], @@ -907,10 +871,6 @@ export const sidebar = sidebarAttachHrefCommonOptions([ }, ], }, - // { - // path: "/commerce-modules/pricing/events", - // title: "Events Reference", - // }, ], }, ], @@ -980,10 +940,6 @@ export const sidebar = sidebarAttachHrefCommonOptions([ }, ], }, - // { - // path: "/commerce-modules/product/events", - // title: "Events Reference", - // }, ], }, ], @@ -1069,10 +1025,6 @@ export const sidebar = sidebarAttachHrefCommonOptions([ }, ], }, - // { - // path: "/commerce-modules/promotion/events", - // title: "Events Reference", - // }, ], }, ], @@ -1136,10 +1088,6 @@ export const sidebar = sidebarAttachHrefCommonOptions([ }, ], }, - // { - // path: "/commerce-modules/region/events", - // title: "Events Reference", - // }, ], }, ], @@ -1210,10 +1158,6 @@ export const sidebar = sidebarAttachHrefCommonOptions([ }, ], }, - // { - // path: "/commerce-modules/sales-channel/events", - // title: "Events Reference", - // }, ], }, ], @@ -1285,10 +1229,6 @@ export const sidebar = sidebarAttachHrefCommonOptions([ }, ], }, - // { - // path: "/commerce-modules/stock-location/events", - // title: "Events Reference", - // }, ], }, ], @@ -1352,10 +1292,6 @@ export const sidebar = sidebarAttachHrefCommonOptions([ }, ], }, - // { - // path: "/commerce-modules/store/events", - // title: "Events Reference", - // }, ], }, ], @@ -1439,10 +1375,6 @@ export const sidebar = sidebarAttachHrefCommonOptions([ }, ], }, - // { - // path: "/commerce-modules/tax/events", - // title: "Events Reference", - // }, ], }, ], @@ -1512,10 +1444,6 @@ export const sidebar = sidebarAttachHrefCommonOptions([ }, ], }, - // { - // path: "/commerce-modules/user/events", - // title: "Events Reference", - // }, ], }, ], @@ -2269,10 +2197,11 @@ export const sidebar = sidebarAttachHrefCommonOptions([ path: "/medusa-container-resources", title: "Medusa Container Resources", }, - // { - // path: "/events-reference", - // title: "Events", - // }, + { + type: "link", + path: "/events-reference", + title: "Events List", + }, { type: "link", path: "/admin-widget-injection-zones",