From b880e5df0de2de81ab5a6dc913999d178e442263 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Tue, 24 Dec 2024 11:05:38 +0200 Subject: [PATCH] docs: split admin widget zone to pages --- .../app/admin-widget-injection-zones/page.mdx | 2457 +---------------- .../api-key/admin-widget-zones/_content.mdx | 93 + .../api-key/admin-widget-zones/page.mdx | 13 + .../auth/admin-widget-zones/_content.mdx | 47 + .../auth/admin-widget-zones/page.mdx | 13 + .../_content/customer-group.mdx | 93 + .../admin-widget-zones/_content/customer.mdx | 93 + .../customer/admin-widget-zones/page.mdx | 20 + .../admin-widget-zones/_content.mdx | 93 + .../fulfillment/admin-widget-zones/page.mdx | 13 + .../admin-widget-zones/_content/inventory.mdx | 139 + .../_content/reservation.mdx | 139 + .../inventory/admin-widget-zones/page.mdx | 20 + .../admin-widget-zones/_content/order.mdx | 139 + .../_content/return-reason.mdx | 47 + .../order/admin-widget-zones/page.mdx | 20 + .../pricing/admin-widget-zones/_content.mdx | 139 + .../pricing/admin-widget-zones/page.mdx | 13 + .../_content/product-category.mdx | 139 + .../_content/product-collection.mdx | 93 + .../_content/product-variant.mdx | 111 + .../admin-widget-zones/_content/product.mdx | 139 + .../product/admin-widget-zones/page.mdx | 34 + .../admin-widget-zones/_content/campaign.mdx | 139 + .../admin-widget-zones/_content/promotion.mdx | 139 + .../promotion/admin-widget-zones/page.mdx | 20 + .../region/admin-widget-zones/_content.mdx | 93 + .../region/admin-widget-zones/page.mdx | 13 + .../admin-widget-zones/_content.mdx | 93 + .../sales-channel/admin-widget-zones/page.mdx | 13 + .../admin-widget-zones/_content.mdx | 139 + .../admin-widget-zones/page.mdx | 13 + .../store/admin-widget-zones/_content.mdx | 59 + .../store/admin-widget-zones/page.mdx | 13 + .../tax/admin-widget-zones/_content.mdx | 93 + .../tax/admin-widget-zones/page.mdx | 13 + .../admin-widget-zones/_content/profile.mdx | 59 + .../user/admin-widget-zones/_content/user.mdx | 93 + .../user/admin-widget-zones/page.mdx | 20 + www/apps/resources/generated/edit-dates.mjs | 19 +- www/apps/resources/generated/files-map.mjs | 60 + www/apps/resources/generated/sidebar.mjs | 120 + www/apps/resources/sidebars/api-key.mjs | 5 + www/apps/resources/sidebars/auth.mjs | 5 + www/apps/resources/sidebars/customer.mjs | 5 + www/apps/resources/sidebars/fulfillment.mjs | 5 + www/apps/resources/sidebars/inventory.mjs | 5 + www/apps/resources/sidebars/order-module.mjs | 5 + www/apps/resources/sidebars/pricing.mjs | 5 + www/apps/resources/sidebars/product.mjs | 5 + www/apps/resources/sidebars/promotion.mjs | 5 + www/apps/resources/sidebars/region.mjs | 5 + www/apps/resources/sidebars/sales-channel.mjs | 5 + .../resources/sidebars/stock-location.mjs | 5 + www/apps/resources/sidebars/store.mjs | 5 + www/apps/resources/sidebars/tax.mjs | 5 + www/apps/resources/sidebars/user.mjs | 5 + 57 files changed, 3014 insertions(+), 2379 deletions(-) create mode 100644 www/apps/resources/app/commerce-modules/api-key/admin-widget-zones/_content.mdx create mode 100644 www/apps/resources/app/commerce-modules/api-key/admin-widget-zones/page.mdx create mode 100644 www/apps/resources/app/commerce-modules/auth/admin-widget-zones/_content.mdx create mode 100644 www/apps/resources/app/commerce-modules/auth/admin-widget-zones/page.mdx create mode 100644 www/apps/resources/app/commerce-modules/customer/admin-widget-zones/_content/customer-group.mdx create mode 100644 www/apps/resources/app/commerce-modules/customer/admin-widget-zones/_content/customer.mdx create mode 100644 www/apps/resources/app/commerce-modules/customer/admin-widget-zones/page.mdx create mode 100644 www/apps/resources/app/commerce-modules/fulfillment/admin-widget-zones/_content.mdx create mode 100644 www/apps/resources/app/commerce-modules/fulfillment/admin-widget-zones/page.mdx create mode 100644 www/apps/resources/app/commerce-modules/inventory/admin-widget-zones/_content/inventory.mdx create mode 100644 www/apps/resources/app/commerce-modules/inventory/admin-widget-zones/_content/reservation.mdx create mode 100644 www/apps/resources/app/commerce-modules/inventory/admin-widget-zones/page.mdx create mode 100644 www/apps/resources/app/commerce-modules/order/admin-widget-zones/_content/order.mdx create mode 100644 www/apps/resources/app/commerce-modules/order/admin-widget-zones/_content/return-reason.mdx create mode 100644 www/apps/resources/app/commerce-modules/order/admin-widget-zones/page.mdx create mode 100644 www/apps/resources/app/commerce-modules/pricing/admin-widget-zones/_content.mdx create mode 100644 www/apps/resources/app/commerce-modules/pricing/admin-widget-zones/page.mdx create mode 100644 www/apps/resources/app/commerce-modules/product/admin-widget-zones/_content/product-category.mdx create mode 100644 www/apps/resources/app/commerce-modules/product/admin-widget-zones/_content/product-collection.mdx create mode 100644 www/apps/resources/app/commerce-modules/product/admin-widget-zones/_content/product-variant.mdx create mode 100644 www/apps/resources/app/commerce-modules/product/admin-widget-zones/_content/product.mdx create mode 100644 www/apps/resources/app/commerce-modules/product/admin-widget-zones/page.mdx create mode 100644 www/apps/resources/app/commerce-modules/promotion/admin-widget-zones/_content/campaign.mdx create mode 100644 www/apps/resources/app/commerce-modules/promotion/admin-widget-zones/_content/promotion.mdx create mode 100644 www/apps/resources/app/commerce-modules/promotion/admin-widget-zones/page.mdx create mode 100644 www/apps/resources/app/commerce-modules/region/admin-widget-zones/_content.mdx create mode 100644 www/apps/resources/app/commerce-modules/region/admin-widget-zones/page.mdx create mode 100644 www/apps/resources/app/commerce-modules/sales-channel/admin-widget-zones/_content.mdx create mode 100644 www/apps/resources/app/commerce-modules/sales-channel/admin-widget-zones/page.mdx create mode 100644 www/apps/resources/app/commerce-modules/stock-location/admin-widget-zones/_content.mdx create mode 100644 www/apps/resources/app/commerce-modules/stock-location/admin-widget-zones/page.mdx create mode 100644 www/apps/resources/app/commerce-modules/store/admin-widget-zones/_content.mdx create mode 100644 www/apps/resources/app/commerce-modules/store/admin-widget-zones/page.mdx create mode 100644 www/apps/resources/app/commerce-modules/tax/admin-widget-zones/_content.mdx create mode 100644 www/apps/resources/app/commerce-modules/tax/admin-widget-zones/page.mdx create mode 100644 www/apps/resources/app/commerce-modules/user/admin-widget-zones/_content/profile.mdx create mode 100644 www/apps/resources/app/commerce-modules/user/admin-widget-zones/_content/user.mdx create mode 100644 www/apps/resources/app/commerce-modules/user/admin-widget-zones/page.mdx diff --git a/www/apps/resources/app/admin-widget-injection-zones/page.mdx b/www/apps/resources/app/admin-widget-injection-zones/page.mdx index 17882579cc943..55783318a67bf 100644 --- a/www/apps/resources/app/admin-widget-injection-zones/page.mdx +++ b/www/apps/resources/app/admin-widget-injection-zones/page.mdx @@ -1,4 +1,27 @@ import { Table } from "docs-ui" +import CampaignContent from "../commerce-modules/promotion/admin-widget-zones/_content/campaign.mdx" +import CustomerContent from "../commerce-modules/customer/admin-widget-zones/_content/customer.mdx" +import CustomerGroupContent from "../commerce-modules/customer/admin-widget-zones/_content/customer-group.mdx" +import InventoryContent from "../commerce-modules/inventory/admin-widget-zones/_content/inventory.mdx" +import LoginContent from "../commerce-modules/auth/admin-widget-zones/_content.mdx" +import OrderContent from "../commerce-modules/order/admin-widget-zones/_content/order.mdx" +import PricingContent from "../commerce-modules/pricing/admin-widget-zones/_content.mdx" +import ProductContent from "../commerce-modules/product/admin-widget-zones/_content/product.mdx" +import ProductVariantContent from "../commerce-modules/product/admin-widget-zones/_content/product-variant.mdx" +import ProductCollectionContent from "../commerce-modules/product/admin-widget-zones/_content/product-collection.mdx" +import ProductCategoryContent from "../commerce-modules/product/admin-widget-zones/_content/product-category.mdx" +import PromotionContent from "../commerce-modules/promotion/admin-widget-zones/_content/promotion.mdx" +import ApiKeyContent from "../commerce-modules/api-key/admin-widget-zones/_content.mdx" +import StockLocationContent from "../commerce-modules/stock-location/admin-widget-zones/_content.mdx" +import ProfileContent from "../commerce-modules/user/admin-widget-zones/_content/profile.mdx" +import RegionContent from "../commerce-modules/region/admin-widget-zones/_content.mdx" +import ReservationContent from "../commerce-modules/inventory/admin-widget-zones/_content/reservation.mdx" +import ReturnReasonContent from "../commerce-modules/order/admin-widget-zones/_content/return-reason.mdx" +import SalesChannelContent from "../commerce-modules/sales-channel/admin-widget-zones/_content.mdx" +import ShippingProfileContent from "../commerce-modules/fulfillment/admin-widget-zones/_content.mdx" +import StoreContent from "../commerce-modules/store/admin-widget-zones/_content.mdx" +import TaxContent from "../commerce-modules/tax/admin-widget-zones/_content.mdx" +import UserContent from "../commerce-modules/user/admin-widget-zones/_content/user.mdx" export const metadata = { title: `Admin Widget Injection Zones`, @@ -10,2441 +33,121 @@ This documentation page includes the list of injection zones you can add Admin W ## Campaign Pages - - - - Injection Zone Name - Description - Additional Props - - - - - - - `campaign.list.before` - - - - - Added at the top of the campaigns list page. - - - - - \- - - - - - - - `campaign.list.after` - - - - - Added at the bottom of the campaigns list page. - - - - - \- - - - - - - - `campaign.details.before` - - - - - Added at the top of a campaign's details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminCampaign object - } - ``` - - - - - - - `campaign.details.after` - - - - - Added at the bottom of a campaign's details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminCampaign object - } - ``` - - - - - - - `campaign.details.side.before` - - - - - Added at the top of the second column in the campaign details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminCampaign object - } - ``` - - - - - - - `campaign.details.side.after` - - - - - Added at the bottom of the second column in the campaign details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminCampaign object - } - ``` - - - - -
- -## Customer Pages - - - - - Injection Zone Name - Description - Additional Props - - - - - - - `customer.list.before` - - - - - Added at the top of the customers list page. - - - - - \- - - - - - - - `customer.list.after` - - - - - Added at the bottom of the customers list page. - - - - - \- - - - - - - - `customer.details.before` - - - - - Added at the top of the customer details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminCustomer object - } - ``` - - - - - - - `customer.details.after` - - - - - Added at the bottom of the customer details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminCustomer object - } - ``` - - - - -
- -## Customer Group Pages - - - - - Injection Zone Name - Description - Additional Props - - - - - - - `customer_group.list.before` - - - - - Added at the top of the customer groups list page. - - - - - \- - - - - - - - `customer_group.list.after` - - - - - Added at the bottom of the customer groups list page. - - - - - \- - - - - - - - `customer_group.details.before` - - - - - Added at the top of the customer group details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminCustomerGroup object - } - ``` - - - - - - - `customer_group.details.after` - - - - - Added at the bottom of the customer group details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminCustomerGroup object - } - ``` - - - - -
- -## Inventory Pages - - - - - Injection Zone Name - Description - Additional Props - - - - - - - `inventory_item.list.before` - - - - - Added at the top of the inventory list page. - - - - - \- - - - - - - - `inventory_item.list.after` - - - - - Added at the bottom of the inventory list page. - - - - - \- - - - - - - - `inventory_item.details.before` - - - - - Added at the top of the inventory item details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminInventoryItem object - } - ``` - - - - - - - `inventory_item.details.after` - - - - - Added at the bottom of the inventory item details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminInventoryItem object - } - ``` - - - - - - - `inventory_item.details.side.before` - - - - - Added at the top of the second column in the inventory item details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminInventoryItem object - } - ``` - - - - - - - `inventory_item.details.side.after` - - - - - Added at the end of the second column in the inventory item details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminInventoryItem object - } - ``` - - - - -
- -## Login Page - - - - - Injection Zone Name - Description - Additional Props - - - - - - - `login.before` - - - - - Added before the login form. - - - - - \- - - - - - - - `login.after` - - - - - Added after the login form. - - - - - \- - - - - -
- -## Order Pages - - - - - Injection Zone Name - Description - Additional Props - - - - - - - `order.list.before` - - - - - Added at the top of the orders list page. - - - - - \- - - - - - - - `order.list.after` - - - - - Added at the bottom of the order list page. - - - - - \- - - - - - - - `order.details.before` - - - - - Added at the top of the order details page - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminOrder object - } - ``` - - - - - - - `order.details.after` - - - - - Added at the end of the order details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminOrder object - } - ``` - - - - - - - `order.details.side.before` - - - - - Added at the top of the second column in the order details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminOrder object - } - ``` - - - - - - - `order.details.side.after` - - - - - Added at the end of the second column in the order details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminOrder object - } - ``` - - - - -
- -## Price List Pages - - - - - Injection Zone Name - Description - Additional Props - - - - - - - `price_list.list.before` - - - - - Added at the top of the Pricing list page. - - - - - \- - - - - - - - `price_list.list.after` - - - - - Added at the bottom of the Pricing list page. - - - - - \- - - - - - - - `price_list.details.before` - - - - - Added at the top of a price list's details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminPriceList object - } - ``` - - - - - - - `price_list.details.after` - - - - - Added at the bottom of a price list's details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminPriceList object - } - ``` - - - - - - - `price_list.details.side.before` - - - - - Added at the top of the second column in the price list details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminPriceList object - } - ``` - - - - - - - `price_list.details.side.after` - - - - - Added at the bottom of the second column in the price list details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminPriceList object - } - ``` - - - - -
- -## Product Pages - - - - - Injection Zone Name - Description - Additional Props - - - - - - - `product.list.before` - - - - - Added at the top of the product list page. - - - - - \- - - - - - - - `product.list.after` - - - - - Added at the bottom of the products list page. - - - - - \- - - - - - - - `product.details.before` - - - - - Added at the top of the product details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminProduct object - } - ``` - - - - - - - `product.details.after` - - - - - Added at the bottom of the product details page - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminProduct object - } - ``` - - - - - - - `product.details.side.before` - - - - - Added at the top of the second column in the product details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminProduct object - } - ``` - - - - - - - `product.details.side.after` - - - - - Added at the bottom of the second column in the product details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminProduct object - } - ``` - - - - -
- -## Product Variant Pages - - - -This injection zone is only available after [Medusa v2.0.5](https://github.com/medusajs/medusa/releases/tag/v2.0.5). - - - - - - - Injection Zone Name - Description - Additional Props - - - - - - - `product_variant.details.before` - - - - - Added at the top of the product variant details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminProductVariant object - } - ``` - - - - - - - `product_variant.details.after` - - - - - Added at the bottom of the product variant details page - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminProductVariant object - } - ``` - - - - - - - `product_variant.details.side.before` - - - - - Added at the top of the second column in the product variant details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminProductVariant object - } - ``` - - - - - - - `product_variant.details.side.after` - - - - - Added at the bottom of the second column in the product variant details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminProductVariant object - } - ``` - - - - -
- -## Product Collection Pages - - - - - Injection Zone Name - Description - Additional Props - - - - - - - `product_collection.list.before` - - - - - Added at the top of the product collections list page. - - - - - \- - - - - - - - `product_collection.list.after` - - - - - Added at the bottom of the product collections list page. - - - - - \- - - - - - - - `product_collection.details.before` - - - - - Added at the top of the product collection details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminProductCollection object - } - ``` - - - - - - - `product_collection.details.after` - - - - - Added at the bottom of the product collection details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminProductCollection object - } - ``` - - - - -
- -## Product Category Pages - - - - - Injection Zone Name - Description - Additional Props - - - - - - - `product_category.list.before` - - - - - Added at the top of the product categories list page. - - - - - \- - - - - - - - `product_category.list.after` - - - - - Added at the bottom of the product categories list page. - - - - - \- - - - - - - - `product_category.details.before` - - - - - Added at the top of the product category details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminProductCategory object - } - ``` - - - - - - - `product_category.details.after` - - - - - Added at the bottom of the product category details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminProductCategory object - } - ``` - - - - - - - `product_category.details.side.before` - - - - - Added at the top of the second column in the product category details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminProductCategory object - } - ``` - - - - - - - `product_category.details.side.after` - - - - - Added at the bottom of the second column in the product category details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminProductCategory object - } - ``` - - - - -
- - - -## Promotion Pages - - - - - Injection Zone Name - Description - Additional Props - - - - - - - `promotion.list.before` - - - - - Added at the top of the promotions list page. - - - - - \- - - - - - - - `promotion.list.after` - - - - - Added at the bottom of the promotions list page. - - - - - \- - - - - - - - `promotion.details.before` - - - - - Added at the top of a promotion's details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminPromotion object - } - ``` - - - - - - - `promotion.details.after` - - - - - Added at the bottom of a promotion's details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminPromotion object - } - ``` - - - - - - - `promotion.details.side.before` - - - - - Added at the top of the second column in the promotion details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminPromotion object - } - ``` - - - - - - - `promotion.details.side.after` - - - - - Added at the bottom of the second column in the promotion details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminPromotion object - } - ``` - - - - -
- -## Setting Pages - -### API Key Pages - - - - - Injection Zone Name - Description - Additional Props - - - - - - - `api_key.list.before` - - - - - Added at the top of the API keys list page. - - - - - \- - - - - - - - `api_key.list.after` - - - - - Added at the bottom of the API keys list page. - - - - - \- - - - - - - - `api_key.details.before` - - - - - Added at the top of a API key's details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminApiKey object - } - ``` - - - - - - - `api_key.details.after` - - - - - Added at the bottom of a API key's details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminApiKey object - } - ``` - - - - -
- -### Location Pages - - - - - Injection Zone Name - Description - Additional Props - - - - - - - `location.list.before` - - - - - Added at the top of the locations list page. - - - - - \- - - - - - - - `location.list.after` - - - - - Added at the bottom of the locations list page. - - - - - \- - - - - - - - `location.details.before` - - - - - Added at the top of a location's details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminStockLocation object - } - ``` - - - - - - - `location.details.after` - - - - - Added at the bottom of a location's details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminStockLocation object - } - ``` - - - - - - - `location.details.side.before` - - - - - Added at the top of the second column in the location details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminStockLocation object - } - ``` - - - - - - - `location.details.side.after` - - - - - Added at the bottom of the second column in the location details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminStockLocation object - } - ``` - - - - -
- -### Profile Pages - - - - - Injection Zone Name - Description - Additional Props - - - - - - - `profile.details.before` - - - - - Added at the top of a profile's details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminUser object - } - ``` - - - - - - - `profile.details.after` - - - - - Added at the bottom of a profile's details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminUser object - } - ``` - - - - -
- -### Region Pages - - - - - Injection Zone Name - Description - Additional Props - - - - - - - `region.list.before` - - - - - Added at the top of the regions list page. - - - - - \- - - - - - - - `region.list.after` - - - - - Added at the bottom of the regions list page. - - - - - \- - - - - - - - `region.details.before` - - - - - Added at the top of a region's details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminRegion object - } - ``` - - - - - - - `region.details.after` - - - - - Added at the bottom of a region's details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminRegion object - } - ``` - - - - -
- -### Reservation Pages - - - - - Injection Zone Name - Description - Additional Props - - - - - - - `reservation.list.before` - - - - - Added at the top of the reservations list page. - - - - - \- - - - - - - - `reservation.list.after` - - - - - Added at the bottom of the reservations list page. - - - - - \- - - - - - - - `reservation.details.before` - - - - - Added at the top of a reservation item's details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminReservation object - } - ``` - - - - - - - `reservation.details.after` - - - - - Added at the bottom of a reservation item's details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminReservation object - } - ``` - - - - - - - `reservation.details.side.before` - - - - - Added at the top of the second column in the reservation item details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminReservation object - } - ``` - - - - - - - `reservation.details.side.after` - - - - - Added at the bottom of the second column in the reservation item details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminReservation object - } - ``` - - - - -
- -### Return Reason Pages - - - - - Injection Zone Name - Description - Additional Props - - - - - - - `return_reason.list.before` - - - - - Added at the top of the return reasons list page. - - - - - \- - - - - - - - `return_reason.list.after` - - - - - Added at the bottom of the return reasons list page. - - - - - \- - - - - -
- -### Sales Channel Pages - - - - - Injection Zone Name - Description - Additional Props - - - - - - - `sales_channel.list.before` - - - - - Added at the top of the sales channels list page. - - - - - \- - - - - - - - `sales_channel.list.after` - - - - - Added at the bottom of the sales channels list page. - - - - - \- - - - - - - - `sales_channel.details.before` - - - - - Added at the top of a sales channel's details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminSalesChannel object - } - ``` - - - - - - - `sales_channel.details.after` - - - - - Added at the bottom of a sales channel's details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminSalesChannel object - } - ``` - - - - -
- -### Shipping Profile Pages - - - - - Injection Zone Name - Description - Additional Props - - - - - - - `shipping_profile.list.before` - - - - - Added at the top of the shipping profiles list page. - - - + - \- - - - - - - - `shipping_profile.list.after` - - - - - Added at the bottom of the shipping profiles list page. - - - +--- - \- +## Customer Pages - - - - + - `shipping_profile.details.before` +--- - - +## Customer Group Pages - Added at the top of a shipping profile's details page. + - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` +--- - ```ts blockStyle="inline" - { - data, // AdminShippingProfile object - } - ``` +## Inventory Pages - - - - + - `shipping_profile.details.after` +--- - - +## Login Page - Added at the bottom of a shipping profile's details page. + - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` +--- - ```ts blockStyle="inline" - { - data, // AdminShippingProfile object - } - ``` +## Order Pages - - - -
+ -### Store Pages +--- - - - - Injection Zone Name - Description - Additional Props - - - - - +## Price List Pages - `store.details.before` + - - +--- - Added at the top of a store's details page. +## Product Pages - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + - ```ts blockStyle="inline" - { - data, // AdminStore object - } - ``` +--- - - - - +## Product Variant Pages - `store.details.after` + - - +--- - Added at the bottom of a store's details page. +## Product Collection Pages - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + - ```ts blockStyle="inline" - { - data, // AdminStore object - } - ``` +--- - - - -
+## Product Category Pages -### Tax Pages + - - - - Injection Zone Name - Description - Additional Props - - - - - +--- - `tax.list.before` +## Promotion Pages - - + - Added at the top of the tax regions list page. +--- - - +## Setting Pages - \- +### API Key Pages - - - - + - `tax.list.after` +### Location Pages - - + - Added at the bottom of the tax regions list page. +### Profile Pages - - + - \- +### Region Pages - - - - + - `tax.details.before` +### Reservation Pages - - + - Added at the top of a tax region's details page. +### Return Reason Pages - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + - ```ts blockStyle="inline" - { - data, // AdminTaxRegion object - } - ``` +### Sales Channel Pages - - - - + - `tax.details.after` +### Shipping Profile Pages - - + - Added at the bottom of a tax region's details page. +### Store Pages - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + - ```ts blockStyle="inline" - { - data, // AdminTaxRegion object - } - ``` +### Tax Pages - - - -
+ ### User Pages - - - - Injection Zone Name - Description - Additional Props - - - - - - - `user.list.before` - - - - - Added at the top of the users list page. - - - - - \- - - - - - - - `user.list.after` - - - - - Added at the bottom of the users list page. - - - - - \- - - - - - - - `user.details.before` - - - - - Added at the top of a user's details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminUser object - } - ``` - - - - - - - `user.details.after` - - - - - Added at the bottom of a user's details page. - - - - - Type `DetailWidgetProps` imported from `@medusajs/framework/types` - - ```ts blockStyle="inline" - { - data, // AdminUser object - } - ``` - - - - -
+ ### Workflow Pages diff --git a/www/apps/resources/app/commerce-modules/api-key/admin-widget-zones/_content.mdx b/www/apps/resources/app/commerce-modules/api-key/admin-widget-zones/_content.mdx new file mode 100644 index 0000000000000..c466459fa1e72 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/api-key/admin-widget-zones/_content.mdx @@ -0,0 +1,93 @@ +import { Table } from "docs-ui" + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `api_key.list.before` + + + + + Added at the top of the API keys list page. + + + + + \- + + + + + + + `api_key.list.after` + + + + + Added at the bottom of the API keys list page. + + + + + \- + + + + + + + `api_key.details.before` + + + + + Added at the top of a API key's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminApiKey object + } + ``` + + + + + + + `api_key.details.after` + + + + + Added at the bottom of a API key's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminApiKey object + } + ``` + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/api-key/admin-widget-zones/page.mdx b/www/apps/resources/app/commerce-modules/api-key/admin-widget-zones/page.mdx new file mode 100644 index 0000000000000..bafe5a8182e8c --- /dev/null +++ b/www/apps/resources/app/commerce-modules/api-key/admin-widget-zones/page.mdx @@ -0,0 +1,13 @@ +import ApiKeyContent from "./_content.mdx" + +export const metadata = { + title: `API Key Module's Admin Widget Injection Zones`, +} + +# {metadata.title} + +This reference shows all the injection zones in the Medusa Admin related to the API Key Module. + +## API Key Pages + + \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/auth/admin-widget-zones/_content.mdx b/www/apps/resources/app/commerce-modules/auth/admin-widget-zones/_content.mdx new file mode 100644 index 0000000000000..54f19e2292614 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/auth/admin-widget-zones/_content.mdx @@ -0,0 +1,47 @@ +import { Table } from "docs-ui" + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `login.before` + + + + + Added before the login form. + + + + + \- + + + + + + + `login.after` + + + + + Added after the login form. + + + + + \- + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/auth/admin-widget-zones/page.mdx b/www/apps/resources/app/commerce-modules/auth/admin-widget-zones/page.mdx new file mode 100644 index 0000000000000..43177edfb2e99 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/auth/admin-widget-zones/page.mdx @@ -0,0 +1,13 @@ +import LoginContent from "./_content.mdx" + +export const metadata = { + title: `Auth Module's Admin Widget Injection Zones`, +} + +# {metadata.title} + +This reference shows all the injection zones in the Medusa Admin related to the Auth Module. + +## Login Pages + + \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/customer/admin-widget-zones/_content/customer-group.mdx b/www/apps/resources/app/commerce-modules/customer/admin-widget-zones/_content/customer-group.mdx new file mode 100644 index 0000000000000..42f159ecfb70b --- /dev/null +++ b/www/apps/resources/app/commerce-modules/customer/admin-widget-zones/_content/customer-group.mdx @@ -0,0 +1,93 @@ +import { Table } from "docs-ui" + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `customer_group.list.before` + + + + + Added at the top of the customer groups list page. + + + + + \- + + + + + + + `customer_group.list.after` + + + + + Added at the bottom of the customer groups list page. + + + + + \- + + + + + + + `customer_group.details.before` + + + + + Added at the top of the customer group details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminCustomerGroup object + } + ``` + + + + + + + `customer_group.details.after` + + + + + Added at the bottom of the customer group details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminCustomerGroup object + } + ``` + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/customer/admin-widget-zones/_content/customer.mdx b/www/apps/resources/app/commerce-modules/customer/admin-widget-zones/_content/customer.mdx new file mode 100644 index 0000000000000..2e8d5f52c65f3 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/customer/admin-widget-zones/_content/customer.mdx @@ -0,0 +1,93 @@ +import { Table } from "docs-ui" + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `customer.list.before` + + + + + Added at the top of the customers list page. + + + + + \- + + + + + + + `customer.list.after` + + + + + Added at the bottom of the customers list page. + + + + + \- + + + + + + + `customer.details.before` + + + + + Added at the top of the customer details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminCustomer object + } + ``` + + + + + + + `customer.details.after` + + + + + Added at the bottom of the customer details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminCustomer object + } + ``` + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/customer/admin-widget-zones/page.mdx b/www/apps/resources/app/commerce-modules/customer/admin-widget-zones/page.mdx new file mode 100644 index 0000000000000..d834139e66348 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/customer/admin-widget-zones/page.mdx @@ -0,0 +1,20 @@ +import CustomerContent from "./_content/customer.mdx" +import CustomerGroupContent from "./_content/customer-group.mdx" + +export const metadata = { + title: `Customer Module's Admin Widget Injection Zones`, +} + +# {metadata.title} + +This reference shows all the injection zones in the Medusa Admin related to the Customer Module. + +## Customer Pages + + + +--- + +## Customer Group Pages + + \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/fulfillment/admin-widget-zones/_content.mdx b/www/apps/resources/app/commerce-modules/fulfillment/admin-widget-zones/_content.mdx new file mode 100644 index 0000000000000..4bd1e4a072a7f --- /dev/null +++ b/www/apps/resources/app/commerce-modules/fulfillment/admin-widget-zones/_content.mdx @@ -0,0 +1,93 @@ +import { Table } from "docs-ui" + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `shipping_profile.list.before` + + + + + Added at the top of the shipping profiles list page. + + + + + \- + + + + + + + `shipping_profile.list.after` + + + + + Added at the bottom of the shipping profiles list page. + + + + + \- + + + + + + + `shipping_profile.details.before` + + + + + Added at the top of a shipping profile's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminShippingProfile object + } + ``` + + + + + + + `shipping_profile.details.after` + + + + + Added at the bottom of a shipping profile's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminShippingProfile object + } + ``` + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/fulfillment/admin-widget-zones/page.mdx b/www/apps/resources/app/commerce-modules/fulfillment/admin-widget-zones/page.mdx new file mode 100644 index 0000000000000..2712ba55759ed --- /dev/null +++ b/www/apps/resources/app/commerce-modules/fulfillment/admin-widget-zones/page.mdx @@ -0,0 +1,13 @@ +import ShippingProfileContent from "./_content.mdx" + +export const metadata = { + title: `Fulfillment Module's Admin Widget Injection Zones`, +} + +# {metadata.title} + +This reference shows all the injection zones in the Medusa Admin related to the Fulfillment Module. + +## Shipping Profile Pages + + \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/inventory/admin-widget-zones/_content/inventory.mdx b/www/apps/resources/app/commerce-modules/inventory/admin-widget-zones/_content/inventory.mdx new file mode 100644 index 0000000000000..f38bbf6523342 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/inventory/admin-widget-zones/_content/inventory.mdx @@ -0,0 +1,139 @@ +import { Table } from "docs-ui" + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `inventory_item.list.before` + + + + + Added at the top of the inventory list page. + + + + + \- + + + + + + + `inventory_item.list.after` + + + + + Added at the bottom of the inventory list page. + + + + + \- + + + + + + + `inventory_item.details.before` + + + + + Added at the top of the inventory item details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminInventoryItem object + } + ``` + + + + + + + `inventory_item.details.after` + + + + + Added at the bottom of the inventory item details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminInventoryItem object + } + ``` + + + + + + + `inventory_item.details.side.before` + + + + + Added at the top of the second column in the inventory item details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminInventoryItem object + } + ``` + + + + + + + `inventory_item.details.side.after` + + + + + Added at the end of the second column in the inventory item details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminInventoryItem object + } + ``` + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/inventory/admin-widget-zones/_content/reservation.mdx b/www/apps/resources/app/commerce-modules/inventory/admin-widget-zones/_content/reservation.mdx new file mode 100644 index 0000000000000..7fafb14fcb768 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/inventory/admin-widget-zones/_content/reservation.mdx @@ -0,0 +1,139 @@ +import { Table } from "docs-ui" + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `reservation.list.before` + + + + + Added at the top of the reservations list page. + + + + + \- + + + + + + + `reservation.list.after` + + + + + Added at the bottom of the reservations list page. + + + + + \- + + + + + + + `reservation.details.before` + + + + + Added at the top of a reservation item's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminReservation object + } + ``` + + + + + + + `reservation.details.after` + + + + + Added at the bottom of a reservation item's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminReservation object + } + ``` + + + + + + + `reservation.details.side.before` + + + + + Added at the top of the second column in the reservation item details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminReservation object + } + ``` + + + + + + + `reservation.details.side.after` + + + + + Added at the bottom of the second column in the reservation item details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminReservation object + } + ``` + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/inventory/admin-widget-zones/page.mdx b/www/apps/resources/app/commerce-modules/inventory/admin-widget-zones/page.mdx new file mode 100644 index 0000000000000..3a0487ef887e3 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/inventory/admin-widget-zones/page.mdx @@ -0,0 +1,20 @@ +import InventoryContent from "./_content/inventory.mdx" +import ReservationContent from "./_content/reservation.mdx" + +export const metadata = { + title: `Inventory Module's Admin Widget Injection Zones`, +} + +# {metadata.title} + +This reference shows all the injection zones in the Medusa Admin related to the Inventory Module. + +## Inventory Pages + + + +--- + +## Reservation Pages + + \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/order/admin-widget-zones/_content/order.mdx b/www/apps/resources/app/commerce-modules/order/admin-widget-zones/_content/order.mdx new file mode 100644 index 0000000000000..2bd34238a7eb1 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/order/admin-widget-zones/_content/order.mdx @@ -0,0 +1,139 @@ +import { Table } from "docs-ui" + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `order.list.before` + + + + + Added at the top of the orders list page. + + + + + \- + + + + + + + `order.list.after` + + + + + Added at the bottom of the order list page. + + + + + \- + + + + + + + `order.details.before` + + + + + Added at the top of the order details page + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminOrder object + } + ``` + + + + + + + `order.details.after` + + + + + Added at the end of the order details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminOrder object + } + ``` + + + + + + + `order.details.side.before` + + + + + Added at the top of the second column in the order details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminOrder object + } + ``` + + + + + + + `order.details.side.after` + + + + + Added at the end of the second column in the order details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminOrder object + } + ``` + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/order/admin-widget-zones/_content/return-reason.mdx b/www/apps/resources/app/commerce-modules/order/admin-widget-zones/_content/return-reason.mdx new file mode 100644 index 0000000000000..b2f714dd8bd32 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/order/admin-widget-zones/_content/return-reason.mdx @@ -0,0 +1,47 @@ +import { Table } from "docs-ui" + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `return_reason.list.before` + + + + + Added at the top of the return reasons list page. + + + + + \- + + + + + + + `return_reason.list.after` + + + + + Added at the bottom of the return reasons list page. + + + + + \- + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/order/admin-widget-zones/page.mdx b/www/apps/resources/app/commerce-modules/order/admin-widget-zones/page.mdx new file mode 100644 index 0000000000000..a528c0193f370 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/order/admin-widget-zones/page.mdx @@ -0,0 +1,20 @@ +import OrderContent from "./_content/order.mdx" +import ReturnReasonContent from "./_content/return-reason.mdx" + +export const metadata = { + title: `Order Module's Admin Widget Injection Zones`, +} + +# {metadata.title} + +This reference shows all the injection zones in the Medusa Admin related to the Order Module. + +## Order Pages + + + +--- + +## Return Reason Pages + + \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/pricing/admin-widget-zones/_content.mdx b/www/apps/resources/app/commerce-modules/pricing/admin-widget-zones/_content.mdx new file mode 100644 index 0000000000000..0651a0e027193 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/pricing/admin-widget-zones/_content.mdx @@ -0,0 +1,139 @@ +import { Table } from "docs-ui" + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `price_list.list.before` + + + + + Added at the top of the Pricing list page. + + + + + \- + + + + + + + `price_list.list.after` + + + + + Added at the bottom of the Pricing list page. + + + + + \- + + + + + + + `price_list.details.before` + + + + + Added at the top of a price list's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminPriceList object + } + ``` + + + + + + + `price_list.details.after` + + + + + Added at the bottom of a price list's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminPriceList object + } + ``` + + + + + + + `price_list.details.side.before` + + + + + Added at the top of the second column in the price list details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminPriceList object + } + ``` + + + + + + + `price_list.details.side.after` + + + + + Added at the bottom of the second column in the price list details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminPriceList object + } + ``` + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/pricing/admin-widget-zones/page.mdx b/www/apps/resources/app/commerce-modules/pricing/admin-widget-zones/page.mdx new file mode 100644 index 0000000000000..beaae8939ccb1 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/pricing/admin-widget-zones/page.mdx @@ -0,0 +1,13 @@ +import PricingContent from "./_content.mdx" + +export const metadata = { + title: `Pricing Module's Admin Widget Injection Zones`, +} + +# {metadata.title} + +This reference shows all the injection zones in the Medusa Admin related to the Pricing Module. + +## Price List Pages + + \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/product/admin-widget-zones/_content/product-category.mdx b/www/apps/resources/app/commerce-modules/product/admin-widget-zones/_content/product-category.mdx new file mode 100644 index 0000000000000..630caf5a9569c --- /dev/null +++ b/www/apps/resources/app/commerce-modules/product/admin-widget-zones/_content/product-category.mdx @@ -0,0 +1,139 @@ +import { Table } from "docs-ui" + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `product_category.list.before` + + + + + Added at the top of the product categories list page. + + + + + \- + + + + + + + `product_category.list.after` + + + + + Added at the bottom of the product categories list page. + + + + + \- + + + + + + + `product_category.details.before` + + + + + Added at the top of the product category details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminProductCategory object + } + ``` + + + + + + + `product_category.details.after` + + + + + Added at the bottom of the product category details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminProductCategory object + } + ``` + + + + + + + `product_category.details.side.before` + + + + + Added at the top of the second column in the product category details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminProductCategory object + } + ``` + + + + + + + `product_category.details.side.after` + + + + + Added at the bottom of the second column in the product category details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminProductCategory object + } + ``` + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/product/admin-widget-zones/_content/product-collection.mdx b/www/apps/resources/app/commerce-modules/product/admin-widget-zones/_content/product-collection.mdx new file mode 100644 index 0000000000000..a57385f35b2fe --- /dev/null +++ b/www/apps/resources/app/commerce-modules/product/admin-widget-zones/_content/product-collection.mdx @@ -0,0 +1,93 @@ +import { Table } from "docs-ui" + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `product_collection.list.before` + + + + + Added at the top of the product collections list page. + + + + + \- + + + + + + + `product_collection.list.after` + + + + + Added at the bottom of the product collections list page. + + + + + \- + + + + + + + `product_collection.details.before` + + + + + Added at the top of the product collection details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminProductCollection object + } + ``` + + + + + + + `product_collection.details.after` + + + + + Added at the bottom of the product collection details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminProductCollection object + } + ``` + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/product/admin-widget-zones/_content/product-variant.mdx b/www/apps/resources/app/commerce-modules/product/admin-widget-zones/_content/product-variant.mdx new file mode 100644 index 0000000000000..e43ca823c8238 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/product/admin-widget-zones/_content/product-variant.mdx @@ -0,0 +1,111 @@ +import { Table } from "docs-ui" + + + +This injection zone is only available after [Medusa v2.0.5](https://github.com/medusajs/medusa/releases/tag/v2.0.5). + + + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `product_variant.details.before` + + + + + Added at the top of the product variant details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminProductVariant object + } + ``` + + + + + + + `product_variant.details.after` + + + + + Added at the bottom of the product variant details page + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminProductVariant object + } + ``` + + + + + + + `product_variant.details.side.before` + + + + + Added at the top of the second column in the product variant details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminProductVariant object + } + ``` + + + + + + + `product_variant.details.side.after` + + + + + Added at the bottom of the second column in the product variant details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminProductVariant object + } + ``` + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/product/admin-widget-zones/_content/product.mdx b/www/apps/resources/app/commerce-modules/product/admin-widget-zones/_content/product.mdx new file mode 100644 index 0000000000000..ad98545e9ca88 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/product/admin-widget-zones/_content/product.mdx @@ -0,0 +1,139 @@ +import { Table } from "docs-ui" + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `product.list.before` + + + + + Added at the top of the product list page. + + + + + \- + + + + + + + `product.list.after` + + + + + Added at the bottom of the products list page. + + + + + \- + + + + + + + `product.details.before` + + + + + Added at the top of the product details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminProduct object + } + ``` + + + + + + + `product.details.after` + + + + + Added at the bottom of the product details page + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminProduct object + } + ``` + + + + + + + `product.details.side.before` + + + + + Added at the top of the second column in the product details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminProduct object + } + ``` + + + + + + + `product.details.side.after` + + + + + Added at the bottom of the second column in the product details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminProduct object + } + ``` + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/product/admin-widget-zones/page.mdx b/www/apps/resources/app/commerce-modules/product/admin-widget-zones/page.mdx new file mode 100644 index 0000000000000..07f9efd04f12a --- /dev/null +++ b/www/apps/resources/app/commerce-modules/product/admin-widget-zones/page.mdx @@ -0,0 +1,34 @@ +import ProductContent from "./_content/product.mdx" +import ProductVariantContent from "./_content/product-variant.mdx" +import ProductCollectionContent from "./_content/product-collection.mdx" +import ProductCategoryContent from "./_content/product-category.mdx" + +export const metadata = { + title: `Product Module's Admin Widget Injection Zones`, +} + +# {metadata.title} + +This reference shows all the injection zones in the Medusa Admin related to the Product Module. + +## Product Pages + + + +--- + +## Product Variant Pages + + + +--- + +## Product Collection Pages + + + +--- + +## Product Catgory Pages + + \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/promotion/admin-widget-zones/_content/campaign.mdx b/www/apps/resources/app/commerce-modules/promotion/admin-widget-zones/_content/campaign.mdx new file mode 100644 index 0000000000000..6a9946510ae8f --- /dev/null +++ b/www/apps/resources/app/commerce-modules/promotion/admin-widget-zones/_content/campaign.mdx @@ -0,0 +1,139 @@ +import { Table } from "docs-ui" + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `campaign.list.before` + + + + + Added at the top of the campaigns list page. + + + + + \- + + + + + + + `campaign.list.after` + + + + + Added at the bottom of the campaigns list page. + + + + + \- + + + + + + + `campaign.details.before` + + + + + Added at the top of a campaign's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminCampaign object + } + ``` + + + + + + + `campaign.details.after` + + + + + Added at the bottom of a campaign's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminCampaign object + } + ``` + + + + + + + `campaign.details.side.before` + + + + + Added at the top of the second column in the campaign details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminCampaign object + } + ``` + + + + + + + `campaign.details.side.after` + + + + + Added at the bottom of the second column in the campaign details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminCampaign object + } + ``` + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/promotion/admin-widget-zones/_content/promotion.mdx b/www/apps/resources/app/commerce-modules/promotion/admin-widget-zones/_content/promotion.mdx new file mode 100644 index 0000000000000..b6bd44f04bed0 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/promotion/admin-widget-zones/_content/promotion.mdx @@ -0,0 +1,139 @@ +import { Table } from "docs-ui" + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `promotion.list.before` + + + + + Added at the top of the promotions list page. + + + + + \- + + + + + + + `promotion.list.after` + + + + + Added at the bottom of the promotions list page. + + + + + \- + + + + + + + `promotion.details.before` + + + + + Added at the top of a promotion's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminPromotion object + } + ``` + + + + + + + `promotion.details.after` + + + + + Added at the bottom of a promotion's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminPromotion object + } + ``` + + + + + + + `promotion.details.side.before` + + + + + Added at the top of the second column in the promotion details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminPromotion object + } + ``` + + + + + + + `promotion.details.side.after` + + + + + Added at the bottom of the second column in the promotion details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminPromotion object + } + ``` + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/promotion/admin-widget-zones/page.mdx b/www/apps/resources/app/commerce-modules/promotion/admin-widget-zones/page.mdx new file mode 100644 index 0000000000000..9a7097485f684 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/promotion/admin-widget-zones/page.mdx @@ -0,0 +1,20 @@ +import CampaignContent from "./_content/campaign.mdx" +import PromotionContent from "./_content/promotion.mdx" + +export const metadata = { + title: `Promotion Module's Admin Widget Injection Zones`, +} + +# {metadata.title} + +This reference shows all the injection zones in the Medusa Admin related to the Promotion Module. + +## Campaign Pages + + + +--- + +## Promotion Pages + + \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/region/admin-widget-zones/_content.mdx b/www/apps/resources/app/commerce-modules/region/admin-widget-zones/_content.mdx new file mode 100644 index 0000000000000..097c485ee3070 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/region/admin-widget-zones/_content.mdx @@ -0,0 +1,93 @@ +import { Table } from "docs-ui" + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `region.list.before` + + + + + Added at the top of the regions list page. + + + + + \- + + + + + + + `region.list.after` + + + + + Added at the bottom of the regions list page. + + + + + \- + + + + + + + `region.details.before` + + + + + Added at the top of a region's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminRegion object + } + ``` + + + + + + + `region.details.after` + + + + + Added at the bottom of a region's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminRegion object + } + ``` + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/region/admin-widget-zones/page.mdx b/www/apps/resources/app/commerce-modules/region/admin-widget-zones/page.mdx new file mode 100644 index 0000000000000..7e80dae8e4eef --- /dev/null +++ b/www/apps/resources/app/commerce-modules/region/admin-widget-zones/page.mdx @@ -0,0 +1,13 @@ +import RegionContent from "./_content.mdx" + +export const metadata = { + title: `Region Module's Admin Widget Injection Zones`, +} + +# {metadata.title} + +This reference shows all the injection zones in the Medusa Admin related to the Region Module. + +## Region Pages + + \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/sales-channel/admin-widget-zones/_content.mdx b/www/apps/resources/app/commerce-modules/sales-channel/admin-widget-zones/_content.mdx new file mode 100644 index 0000000000000..a5c576d7ad6dc --- /dev/null +++ b/www/apps/resources/app/commerce-modules/sales-channel/admin-widget-zones/_content.mdx @@ -0,0 +1,93 @@ +import { Table } from "docs-ui" + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `sales_channel.list.before` + + + + + Added at the top of the sales channels list page. + + + + + \- + + + + + + + `sales_channel.list.after` + + + + + Added at the bottom of the sales channels list page. + + + + + \- + + + + + + + `sales_channel.details.before` + + + + + Added at the top of a sales channel's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminSalesChannel object + } + ``` + + + + + + + `sales_channel.details.after` + + + + + Added at the bottom of a sales channel's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminSalesChannel object + } + ``` + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/sales-channel/admin-widget-zones/page.mdx b/www/apps/resources/app/commerce-modules/sales-channel/admin-widget-zones/page.mdx new file mode 100644 index 0000000000000..f59ed7bae3f12 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/sales-channel/admin-widget-zones/page.mdx @@ -0,0 +1,13 @@ +import SalesChannelContent from "./_content.mdx" + +export const metadata = { + title: `Sales Channel Module's Admin Widget Injection Zones`, +} + +# {metadata.title} + +This reference shows all the injection zones in the Medusa Admin related to the Sales Channel Module. + +## Sales Channel Pages + + \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/stock-location/admin-widget-zones/_content.mdx b/www/apps/resources/app/commerce-modules/stock-location/admin-widget-zones/_content.mdx new file mode 100644 index 0000000000000..f4e8976e5bcfb --- /dev/null +++ b/www/apps/resources/app/commerce-modules/stock-location/admin-widget-zones/_content.mdx @@ -0,0 +1,139 @@ +import { Table } from "docs-ui" + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `location.list.before` + + + + + Added at the top of the locations list page. + + + + + \- + + + + + + + `location.list.after` + + + + + Added at the bottom of the locations list page. + + + + + \- + + + + + + + `location.details.before` + + + + + Added at the top of a location's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminStockLocation object + } + ``` + + + + + + + `location.details.after` + + + + + Added at the bottom of a location's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminStockLocation object + } + ``` + + + + + + + `location.details.side.before` + + + + + Added at the top of the second column in the location details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminStockLocation object + } + ``` + + + + + + + `location.details.side.after` + + + + + Added at the bottom of the second column in the location details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminStockLocation object + } + ``` + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/stock-location/admin-widget-zones/page.mdx b/www/apps/resources/app/commerce-modules/stock-location/admin-widget-zones/page.mdx new file mode 100644 index 0000000000000..5472052fd92bb --- /dev/null +++ b/www/apps/resources/app/commerce-modules/stock-location/admin-widget-zones/page.mdx @@ -0,0 +1,13 @@ +import StockLocationContent from "./_content.mdx" + +export const metadata = { + title: `Stock Location Module's Admin Widget Injection Zones`, +} + +# {metadata.title} + +This reference shows all the injection zones in the Medusa Admin related to the Stock Location Module. + +## Stock Location Pages + + \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/store/admin-widget-zones/_content.mdx b/www/apps/resources/app/commerce-modules/store/admin-widget-zones/_content.mdx new file mode 100644 index 0000000000000..1551057c9f377 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/store/admin-widget-zones/_content.mdx @@ -0,0 +1,59 @@ +import { Table } from "docs-ui" + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `store.details.before` + + + + + Added at the top of a store's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminStore object + } + ``` + + + + + + + `store.details.after` + + + + + Added at the bottom of a store's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminStore object + } + ``` + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/store/admin-widget-zones/page.mdx b/www/apps/resources/app/commerce-modules/store/admin-widget-zones/page.mdx new file mode 100644 index 0000000000000..5833ac2971868 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/store/admin-widget-zones/page.mdx @@ -0,0 +1,13 @@ +import StoreContent from "./_content.mdx" + +export const metadata = { + title: `Store Module's Admin Widget Injection Zones`, +} + +# {metadata.title} + +This reference shows all the injection zones in the Medusa Admin related to the Store Module. + +## Store Pages + + \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/tax/admin-widget-zones/_content.mdx b/www/apps/resources/app/commerce-modules/tax/admin-widget-zones/_content.mdx new file mode 100644 index 0000000000000..5f1dd084fb443 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/tax/admin-widget-zones/_content.mdx @@ -0,0 +1,93 @@ +import { Table } from "docs-ui" + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `tax.list.before` + + + + + Added at the top of the tax regions list page. + + + + + \- + + + + + + + `tax.list.after` + + + + + Added at the bottom of the tax regions list page. + + + + + \- + + + + + + + `tax.details.before` + + + + + Added at the top of a tax region's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminTaxRegion object + } + ``` + + + + + + + `tax.details.after` + + + + + Added at the bottom of a tax region's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminTaxRegion object + } + ``` + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/tax/admin-widget-zones/page.mdx b/www/apps/resources/app/commerce-modules/tax/admin-widget-zones/page.mdx new file mode 100644 index 0000000000000..138e888979918 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/tax/admin-widget-zones/page.mdx @@ -0,0 +1,13 @@ +import TaxContent from "./_content.mdx" + +export const metadata = { + title: `Tax Module's Admin Widget Injection Zones`, +} + +# {metadata.title} + +This reference shows all the injection zones in the Medusa Admin related to the Tax Module. + +## Tax Pages + + \ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/user/admin-widget-zones/_content/profile.mdx b/www/apps/resources/app/commerce-modules/user/admin-widget-zones/_content/profile.mdx new file mode 100644 index 0000000000000..ba01e03f353ab --- /dev/null +++ b/www/apps/resources/app/commerce-modules/user/admin-widget-zones/_content/profile.mdx @@ -0,0 +1,59 @@ +import { Table } from "docs-ui" + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `profile.details.before` + + + + + Added at the top of a profile's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminUser object + } + ``` + + + + + + + `profile.details.after` + + + + + Added at the bottom of a profile's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminUser object + } + ``` + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/user/admin-widget-zones/_content/user.mdx b/www/apps/resources/app/commerce-modules/user/admin-widget-zones/_content/user.mdx new file mode 100644 index 0000000000000..709e31fc68d49 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/user/admin-widget-zones/_content/user.mdx @@ -0,0 +1,93 @@ +import { Table } from "docs-ui" + + + + + Injection Zone Name + Description + Additional Props + + + + + + + `user.list.before` + + + + + Added at the top of the users list page. + + + + + \- + + + + + + + `user.list.after` + + + + + Added at the bottom of the users list page. + + + + + \- + + + + + + + `user.details.before` + + + + + Added at the top of a user's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminUser object + } + ``` + + + + + + + `user.details.after` + + + + + Added at the bottom of a user's details page. + + + + + Type `DetailWidgetProps` imported from `@medusajs/framework/types` + + ```ts blockStyle="inline" + { + data, // AdminUser object + } + ``` + + + + +
\ No newline at end of file diff --git a/www/apps/resources/app/commerce-modules/user/admin-widget-zones/page.mdx b/www/apps/resources/app/commerce-modules/user/admin-widget-zones/page.mdx new file mode 100644 index 0000000000000..0f2b057df1841 --- /dev/null +++ b/www/apps/resources/app/commerce-modules/user/admin-widget-zones/page.mdx @@ -0,0 +1,20 @@ +import ProfileContent from "./_content/profile.mdx" +import UserContent from "./_content/user.mdx" + +export const metadata = { + title: `User Module's Admin Widget Injection Zones`, +} + +# {metadata.title} + +This reference shows all the injection zones in the Medusa Admin related to the User Module. + +## Profile Pages + + + +--- + +## User Pages + + \ No newline at end of file diff --git a/www/apps/resources/generated/edit-dates.mjs b/www/apps/resources/generated/edit-dates.mjs index 64582b54cf30d..543900d7e0bf8 100644 --- a/www/apps/resources/generated/edit-dates.mjs +++ b/www/apps/resources/generated/edit-dates.mjs @@ -233,7 +233,7 @@ export const generatedEditDates = { "app/architectural-modules/file/page.mdx": "2024-12-11T10:27:50.510Z", "app/architectural-modules/event/page.mdx": "2024-05-28T13:25:03+03:00", "app/architectural-modules/cache/create/page.mdx": "2024-10-16T08:51:35.074Z", - "app/admin-widget-injection-zones/page.mdx": "2024-11-22T11:00:30.159Z", + "app/admin-widget-injection-zones/page.mdx": "2024-12-24T08:48:36.154Z", "app/architectural-modules/notification/page.mdx": "2024-12-11T10:29:47.317Z", "app/architectural-modules/event/create/page.mdx": "2024-12-09T14:46:40.248Z", "references/core_flows/Order/functions/core_flows.Order.orderEditUpdateItemQuantityValidationStep/page.mdx": "2024-08-20T00:10:58.913Z", @@ -5764,5 +5764,20 @@ export const generatedEditDates = { "app/commerce-modules/product/events/page.mdx": "2024-12-23T16:25:05.789Z", "app/commerce-modules/region/events/page.mdx": "2024-12-23T16:26:13.661Z", "app/commerce-modules/sales-channel/events/page.mdx": "2024-12-23T16:27:10.675Z", - "app/commerce-modules/user/events/page.mdx": "2024-12-23T16:28:41.193Z" + "app/commerce-modules/user/events/page.mdx": "2024-12-23T16:28:41.193Z", + "app/commerce-modules/api-key/admin-widget-zones/page.mdx": "2024-12-24T08:29:56.989Z", + "app/commerce-modules/auth/admin-widget-zones/page.mdx": "2024-12-24T08:11:08.250Z", + "app/commerce-modules/customer/admin-widget-zones/page.mdx": "2024-12-24T08:07:15.439Z", + "app/commerce-modules/fulfillment/admin-widget-zones/page.mdx": "2024-12-24T08:45:36.216Z", + "app/commerce-modules/inventory/admin-widget-zones/page.mdx": "2024-12-24T08:42:14.732Z", + "app/commerce-modules/order/admin-widget-zones/page.mdx": "2024-12-24T08:43:41.179Z", + "app/commerce-modules/pricing/admin-widget-zones/page.mdx": "2024-12-24T08:13:03.740Z", + "app/commerce-modules/product/admin-widget-zones/page.mdx": "2024-12-24T08:27:28.305Z", + "app/commerce-modules/promotion/admin-widget-zones/page.mdx": "2024-12-24T08:28:12.007Z", + "app/commerce-modules/region/admin-widget-zones/page.mdx": "2024-12-24T08:41:05.359Z", + "app/commerce-modules/sales-channel/admin-widget-zones/page.mdx": "2024-12-24T08:44:29.546Z", + "app/commerce-modules/stock-location/admin-widget-zones/page.mdx": "2024-12-24T08:38:38.403Z", + "app/commerce-modules/store/admin-widget-zones/page.mdx": "2024-12-24T08:46:28.646Z", + "app/commerce-modules/tax/admin-widget-zones/page.mdx": "2024-12-24T08:47:13.176Z", + "app/commerce-modules/user/admin-widget-zones/page.mdx": "2024-12-24T08:48:14.186Z" } \ No newline at end of file diff --git a/www/apps/resources/generated/files-map.mjs b/www/apps/resources/generated/files-map.mjs index 957215c487f5e..7102e40c1f148 100644 --- a/www/apps/resources/generated/files-map.mjs +++ b/www/apps/resources/generated/files-map.mjs @@ -119,6 +119,10 @@ 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/admin-widget-zones/page.mdx", + "pathname": "/commerce-modules/api-key/admin-widget-zones" + }, { "filePath": "/www/apps/resources/app/commerce-modules/api-key/concepts/page.mdx", "pathname": "/commerce-modules/api-key/concepts" @@ -135,6 +139,10 @@ export const filesMap = [ "filePath": "/www/apps/resources/app/commerce-modules/api-key/page.mdx", "pathname": "/commerce-modules/api-key" }, + { + "filePath": "/www/apps/resources/app/commerce-modules/auth/admin-widget-zones/page.mdx", + "pathname": "/commerce-modules/auth/admin-widget-zones" + }, { "filePath": "/www/apps/resources/app/commerce-modules/auth/auth-flows/page.mdx", "pathname": "/commerce-modules/auth/auth-flows" @@ -227,6 +235,10 @@ export const filesMap = [ "filePath": "/www/apps/resources/app/commerce-modules/currency/page.mdx", "pathname": "/commerce-modules/currency" }, + { + "filePath": "/www/apps/resources/app/commerce-modules/customer/admin-widget-zones/page.mdx", + "pathname": "/commerce-modules/customer/admin-widget-zones" + }, { "filePath": "/www/apps/resources/app/commerce-modules/customer/customer-accounts/page.mdx", "pathname": "/commerce-modules/customer/customer-accounts" @@ -247,6 +259,10 @@ export const filesMap = [ "filePath": "/www/apps/resources/app/commerce-modules/customer/page.mdx", "pathname": "/commerce-modules/customer" }, + { + "filePath": "/www/apps/resources/app/commerce-modules/fulfillment/admin-widget-zones/page.mdx", + "pathname": "/commerce-modules/fulfillment/admin-widget-zones" + }, { "filePath": "/www/apps/resources/app/commerce-modules/fulfillment/concepts/page.mdx", "pathname": "/commerce-modules/fulfillment/concepts" @@ -275,6 +291,10 @@ 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/admin-widget-zones/page.mdx", + "pathname": "/commerce-modules/inventory/admin-widget-zones" + }, { "filePath": "/www/apps/resources/app/commerce-modules/inventory/concepts/page.mdx", "pathname": "/commerce-modules/inventory/concepts" @@ -295,6 +315,10 @@ export const filesMap = [ "filePath": "/www/apps/resources/app/commerce-modules/inventory/page.mdx", "pathname": "/commerce-modules/inventory" }, + { + "filePath": "/www/apps/resources/app/commerce-modules/order/admin-widget-zones/page.mdx", + "pathname": "/commerce-modules/order/admin-widget-zones" + }, { "filePath": "/www/apps/resources/app/commerce-modules/order/claim/page.mdx", "pathname": "/commerce-modules/order/claim" @@ -395,6 +419,10 @@ 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/admin-widget-zones/page.mdx", + "pathname": "/commerce-modules/pricing/admin-widget-zones" + }, { "filePath": "/www/apps/resources/app/commerce-modules/pricing/concepts/page.mdx", "pathname": "/commerce-modules/pricing/concepts" @@ -423,6 +451,10 @@ 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/admin-widget-zones/page.mdx", + "pathname": "/commerce-modules/product/admin-widget-zones" + }, { "filePath": "/www/apps/resources/app/commerce-modules/product/events/page.mdx", "pathname": "/commerce-modules/product/events" @@ -455,6 +487,10 @@ export const filesMap = [ "filePath": "/www/apps/resources/app/commerce-modules/promotion/actions/page.mdx", "pathname": "/commerce-modules/promotion/actions" }, + { + "filePath": "/www/apps/resources/app/commerce-modules/promotion/admin-widget-zones/page.mdx", + "pathname": "/commerce-modules/promotion/admin-widget-zones" + }, { "filePath": "/www/apps/resources/app/commerce-modules/promotion/application-method/page.mdx", "pathname": "/commerce-modules/promotion/application-method" @@ -483,6 +519,10 @@ export const filesMap = [ "filePath": "/www/apps/resources/app/commerce-modules/promotion/page.mdx", "pathname": "/commerce-modules/promotion" }, + { + "filePath": "/www/apps/resources/app/commerce-modules/region/admin-widget-zones/page.mdx", + "pathname": "/commerce-modules/region/admin-widget-zones" + }, { "filePath": "/www/apps/resources/app/commerce-modules/region/events/page.mdx", "pathname": "/commerce-modules/region/events" @@ -499,6 +539,10 @@ export const filesMap = [ "filePath": "/www/apps/resources/app/commerce-modules/region/page.mdx", "pathname": "/commerce-modules/region" }, + { + "filePath": "/www/apps/resources/app/commerce-modules/sales-channel/admin-widget-zones/page.mdx", + "pathname": "/commerce-modules/sales-channel/admin-widget-zones" + }, { "filePath": "/www/apps/resources/app/commerce-modules/sales-channel/events/page.mdx", "pathname": "/commerce-modules/sales-channel/events" @@ -519,6 +563,10 @@ export const filesMap = [ "filePath": "/www/apps/resources/app/commerce-modules/sales-channel/publishable-api-keys/page.mdx", "pathname": "/commerce-modules/sales-channel/publishable-api-keys" }, + { + "filePath": "/www/apps/resources/app/commerce-modules/stock-location/admin-widget-zones/page.mdx", + "pathname": "/commerce-modules/stock-location/admin-widget-zones" + }, { "filePath": "/www/apps/resources/app/commerce-modules/stock-location/concepts/page.mdx", "pathname": "/commerce-modules/stock-location/concepts" @@ -535,6 +583,10 @@ export const filesMap = [ "filePath": "/www/apps/resources/app/commerce-modules/stock-location/page.mdx", "pathname": "/commerce-modules/stock-location" }, + { + "filePath": "/www/apps/resources/app/commerce-modules/store/admin-widget-zones/page.mdx", + "pathname": "/commerce-modules/store/admin-widget-zones" + }, { "filePath": "/www/apps/resources/app/commerce-modules/store/examples/page.mdx", "pathname": "/commerce-modules/store/examples" @@ -543,6 +595,10 @@ export const filesMap = [ "filePath": "/www/apps/resources/app/commerce-modules/store/page.mdx", "pathname": "/commerce-modules/store" }, + { + "filePath": "/www/apps/resources/app/commerce-modules/tax/admin-widget-zones/page.mdx", + "pathname": "/commerce-modules/tax/admin-widget-zones" + }, { "filePath": "/www/apps/resources/app/commerce-modules/tax/examples/page.mdx", "pathname": "/commerce-modules/tax/examples" @@ -567,6 +623,10 @@ 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/admin-widget-zones/page.mdx", + "pathname": "/commerce-modules/user/admin-widget-zones" + }, { "filePath": "/www/apps/resources/app/commerce-modules/user/events/page.mdx", "pathname": "/commerce-modules/user/events" diff --git a/www/apps/resources/generated/sidebar.mjs b/www/apps/resources/generated/sidebar.mjs index 770b6c0115e34..78178f22751f6 100644 --- a/www/apps/resources/generated/sidebar.mjs +++ b/www/apps/resources/generated/sidebar.mjs @@ -229,6 +229,14 @@ export const generatedSidebar = [ "type": "sub-category", "title": "References", "children": [ + { + "loaded": true, + "isPathHref": true, + "type": "link", + "path": "/commerce-modules/api-key/admin-widget-zones", + "title": "Admin Widget Zones", + "children": [] + }, { "loaded": true, "isPathHref": true, @@ -504,6 +512,14 @@ export const generatedSidebar = [ "title": "Events Reference", "children": [] }, + { + "loaded": true, + "isPathHref": true, + "type": "link", + "path": "/commerce-modules/auth/admin-widget-zones", + "title": "Admin Widget Zones", + "children": [] + }, { "loaded": true, "isPathHref": true, @@ -1451,6 +1467,14 @@ export const generatedSidebar = [ "title": "Events Reference", "children": [] }, + { + "loaded": true, + "isPathHref": true, + "type": "link", + "path": "/commerce-modules/customer/admin-widget-zones", + "title": "Admin Widget Zones", + "children": [] + }, { "loaded": true, "isPathHref": true, @@ -1820,6 +1844,14 @@ export const generatedSidebar = [ "type": "sub-category", "title": "References", "children": [ + { + "loaded": true, + "isPathHref": true, + "type": "link", + "path": "/commerce-modules/fulfillment/admin-widget-zones", + "title": "Admin Widget Zones", + "children": [] + }, { "loaded": true, "isPathHref": true, @@ -2574,6 +2606,14 @@ export const generatedSidebar = [ "type": "sub-category", "title": "References", "children": [ + { + "loaded": true, + "isPathHref": true, + "type": "link", + "path": "/commerce-modules/inventory/admin-widget-zones", + "title": "Admin Widget Zones", + "children": [] + }, { "loaded": true, "isPathHref": true, @@ -3047,6 +3087,14 @@ export const generatedSidebar = [ "title": "Events Reference", "children": [] }, + { + "loaded": true, + "isPathHref": true, + "type": "link", + "path": "/commerce-modules/order/admin-widget-zones", + "title": "Admin Widget Zones", + "children": [] + }, { "loaded": true, "isPathHref": true, @@ -4898,6 +4946,14 @@ export const generatedSidebar = [ "type": "sub-category", "title": "References", "children": [ + { + "loaded": true, + "isPathHref": true, + "type": "link", + "path": "/commerce-modules/pricing/admin-widget-zones", + "title": "Admin Widget Zones", + "children": [] + }, { "loaded": true, "isPathHref": true, @@ -5429,6 +5485,14 @@ export const generatedSidebar = [ "title": "Events Reference", "children": [] }, + { + "loaded": true, + "isPathHref": true, + "type": "link", + "path": "/commerce-modules/product/admin-widget-zones", + "title": "Admin Widget Zones", + "children": [] + }, { "loaded": true, "isPathHref": true, @@ -6191,6 +6255,14 @@ export const generatedSidebar = [ "type": "sub-category", "title": "References", "children": [ + { + "loaded": true, + "isPathHref": true, + "type": "link", + "path": "/commerce-modules/promotion/admin-widget-zones", + "title": "Admin Widget Zones", + "children": [] + }, { "loaded": true, "isPathHref": true, @@ -6570,6 +6642,14 @@ export const generatedSidebar = [ "title": "Events Reference", "children": [] }, + { + "loaded": true, + "isPathHref": true, + "type": "link", + "path": "/commerce-modules/region/admin-widget-zones", + "title": "Admin Widget Zones", + "children": [] + }, { "loaded": true, "isPathHref": true, @@ -6787,6 +6867,14 @@ export const generatedSidebar = [ "title": "Events Reference", "children": [] }, + { + "loaded": true, + "isPathHref": true, + "type": "link", + "path": "/commerce-modules/sales-channel/admin-widget-zones", + "title": "Admin Widget Zones", + "children": [] + }, { "loaded": true, "isPathHref": true, @@ -6964,6 +7052,14 @@ export const generatedSidebar = [ "type": "sub-category", "title": "References", "children": [ + { + "loaded": true, + "isPathHref": true, + "type": "link", + "path": "/commerce-modules/stock-location/admin-widget-zones", + "title": "Admin Widget Zones", + "children": [] + }, { "loaded": true, "isPathHref": true, @@ -7125,6 +7221,14 @@ export const generatedSidebar = [ "type": "sub-category", "title": "References", "children": [ + { + "loaded": true, + "isPathHref": true, + "type": "link", + "path": "/commerce-modules/store/admin-widget-zones", + "title": "Admin Widget Zones", + "children": [] + }, { "loaded": true, "isPathHref": true, @@ -7342,6 +7446,14 @@ export const generatedSidebar = [ "type": "sub-category", "title": "References", "children": [ + { + "loaded": true, + "isPathHref": true, + "type": "link", + "path": "/commerce-modules/tax/admin-widget-zones", + "title": "Admin Widget Zones", + "children": [] + }, { "loaded": true, "isPathHref": true, @@ -7647,6 +7759,14 @@ export const generatedSidebar = [ "title": "Events Reference", "children": [] }, + { + "loaded": true, + "isPathHref": true, + "type": "link", + "path": "/commerce-modules/user/admin-widget-zones", + "title": "Admin Widget Zones", + "children": [] + }, { "loaded": true, "isPathHref": true, diff --git a/www/apps/resources/sidebars/api-key.mjs b/www/apps/resources/sidebars/api-key.mjs index 2f4ed9d410b31..aeffd5387cd81 100644 --- a/www/apps/resources/sidebars/api-key.mjs +++ b/www/apps/resources/sidebars/api-key.mjs @@ -35,6 +35,11 @@ export const apiKeySidebar = [ type: "sub-category", title: "References", children: [ + { + type: "link", + path: "/commerce-modules/api-key/admin-widget-zones", + title: "Admin Widget Zones", + }, { type: "link", path: "/references/api-key", diff --git a/www/apps/resources/sidebars/auth.mjs b/www/apps/resources/sidebars/auth.mjs index 7e7d49dbcbe6f..6f4baea84e7de 100644 --- a/www/apps/resources/sidebars/auth.mjs +++ b/www/apps/resources/sidebars/auth.mjs @@ -97,6 +97,11 @@ export const authSidebar = [ path: "/commerce-modules/auth/events", title: "Events Reference", }, + { + type: "link", + path: "/commerce-modules/auth/admin-widget-zones", + title: "Admin Widget Zones", + }, { type: "link", path: "/references/auth", diff --git a/www/apps/resources/sidebars/customer.mjs b/www/apps/resources/sidebars/customer.mjs index 6e8f389feae67..631c947e578cc 100644 --- a/www/apps/resources/sidebars/customer.mjs +++ b/www/apps/resources/sidebars/customer.mjs @@ -40,6 +40,11 @@ export const customerSidebar = [ path: "/commerce-modules/customer/events", title: "Events Reference", }, + { + type: "link", + path: "/commerce-modules/customer/admin-widget-zones", + title: "Admin Widget Zones", + }, { type: "link", path: "/references/customer", diff --git a/www/apps/resources/sidebars/fulfillment.mjs b/www/apps/resources/sidebars/fulfillment.mjs index 8d9a0c7c90e2a..c46b2fec93fb6 100644 --- a/www/apps/resources/sidebars/fulfillment.mjs +++ b/www/apps/resources/sidebars/fulfillment.mjs @@ -66,6 +66,11 @@ export const fulfillmentSidebar = [ type: "sub-category", title: "References", children: [ + { + type: "link", + path: "/commerce-modules/fulfillment/admin-widget-zones", + title: "Admin Widget Zones", + }, { type: "link", path: "/references/fulfillment", diff --git a/www/apps/resources/sidebars/inventory.mjs b/www/apps/resources/sidebars/inventory.mjs index a49bdaf9be810..4d32a13a7546a 100644 --- a/www/apps/resources/sidebars/inventory.mjs +++ b/www/apps/resources/sidebars/inventory.mjs @@ -40,6 +40,11 @@ export const inventorySidebar = [ type: "sub-category", title: "References", children: [ + { + type: "link", + path: "/commerce-modules/inventory/admin-widget-zones", + title: "Admin Widget Zones", + }, { type: "link", path: "/references/inventory-next", diff --git a/www/apps/resources/sidebars/order-module.mjs b/www/apps/resources/sidebars/order-module.mjs index 4b6847491203e..1142348b9fc70 100644 --- a/www/apps/resources/sidebars/order-module.mjs +++ b/www/apps/resources/sidebars/order-module.mjs @@ -80,6 +80,11 @@ export const orderSidebar = [ path: "/commerce-modules/order/events", title: "Events Reference", }, + { + type: "link", + path: "/commerce-modules/order/admin-widget-zones", + title: "Admin Widget Zones", + }, { type: "link", path: "/references/order", diff --git a/www/apps/resources/sidebars/pricing.mjs b/www/apps/resources/sidebars/pricing.mjs index 7f5ca7f41cfa7..090fde1184b2a 100644 --- a/www/apps/resources/sidebars/pricing.mjs +++ b/www/apps/resources/sidebars/pricing.mjs @@ -50,6 +50,11 @@ export const pricingSidebar = [ type: "sub-category", title: "References", children: [ + { + type: "link", + path: "/commerce-modules/pricing/admin-widget-zones", + title: "Admin Widget Zones", + }, { type: "link", path: "/references/pricing", diff --git a/www/apps/resources/sidebars/product.mjs b/www/apps/resources/sidebars/product.mjs index 12bd593dedc59..bb2157bd33663 100644 --- a/www/apps/resources/sidebars/product.mjs +++ b/www/apps/resources/sidebars/product.mjs @@ -45,6 +45,11 @@ export const productSidebar = [ path: "/commerce-modules/product/events", title: "Events Reference", }, + { + type: "link", + path: "/commerce-modules/product/admin-widget-zones", + title: "Admin Widget Zones", + }, { type: "link", path: "/references/product", diff --git a/www/apps/resources/sidebars/promotion.mjs b/www/apps/resources/sidebars/promotion.mjs index 5f942d4925156..9072b55202cfc 100644 --- a/www/apps/resources/sidebars/promotion.mjs +++ b/www/apps/resources/sidebars/promotion.mjs @@ -55,6 +55,11 @@ export const promotionSidebar = [ type: "sub-category", title: "References", children: [ + { + type: "link", + path: "/commerce-modules/promotion/admin-widget-zones", + title: "Admin Widget Zones", + }, { type: "link", path: "/references/promotion", diff --git a/www/apps/resources/sidebars/region.mjs b/www/apps/resources/sidebars/region.mjs index f5c635534e2ea..d8515c01cc061 100644 --- a/www/apps/resources/sidebars/region.mjs +++ b/www/apps/resources/sidebars/region.mjs @@ -35,6 +35,11 @@ export const regionSidebar = [ path: "/commerce-modules/region/events", title: "Events Reference", }, + { + type: "link", + path: "/commerce-modules/region/admin-widget-zones", + title: "Admin Widget Zones", + }, { type: "link", path: "/references/region", diff --git a/www/apps/resources/sidebars/sales-channel.mjs b/www/apps/resources/sidebars/sales-channel.mjs index 4c2c82aa44e5d..de38d90b5b176 100644 --- a/www/apps/resources/sidebars/sales-channel.mjs +++ b/www/apps/resources/sidebars/sales-channel.mjs @@ -40,6 +40,11 @@ export const salesChannelSidebar = [ path: "/commerce-modules/sales-channel/events", title: "Events Reference", }, + { + type: "link", + path: "/commerce-modules/sales-channel/admin-widget-zones", + title: "Admin Widget Zones", + }, { type: "link", path: "/references/sales-channel", diff --git a/www/apps/resources/sidebars/stock-location.mjs b/www/apps/resources/sidebars/stock-location.mjs index 44058cc2c56a1..daa2c277f516a 100644 --- a/www/apps/resources/sidebars/stock-location.mjs +++ b/www/apps/resources/sidebars/stock-location.mjs @@ -35,6 +35,11 @@ export const stockLocationSidebar = [ type: "sub-category", title: "References", children: [ + { + type: "link", + path: "/commerce-modules/stock-location/admin-widget-zones", + title: "Admin Widget Zones", + }, { type: "link", path: "/references/stock-location-next", diff --git a/www/apps/resources/sidebars/store.mjs b/www/apps/resources/sidebars/store.mjs index 08697fc55df8c..985d6e1ff45d0 100644 --- a/www/apps/resources/sidebars/store.mjs +++ b/www/apps/resources/sidebars/store.mjs @@ -19,6 +19,11 @@ export const storeSidebar = [ type: "sub-category", title: "References", children: [ + { + type: "link", + path: "/commerce-modules/store/admin-widget-zones", + title: "Admin Widget Zones", + }, { type: "link", path: "/references/store", diff --git a/www/apps/resources/sidebars/tax.mjs b/www/apps/resources/sidebars/tax.mjs index 8a86002a15bbf..59f30262f0eb8 100644 --- a/www/apps/resources/sidebars/tax.mjs +++ b/www/apps/resources/sidebars/tax.mjs @@ -56,6 +56,11 @@ export const taxSidebar = [ type: "sub-category", title: "References", children: [ + { + type: "link", + path: "/commerce-modules/tax/admin-widget-zones", + title: "Admin Widget Zones", + }, { type: "link", path: "/references/tax", diff --git a/www/apps/resources/sidebars/user.mjs b/www/apps/resources/sidebars/user.mjs index 7d5330d4b985c..7bd33cbc12a8a 100644 --- a/www/apps/resources/sidebars/user.mjs +++ b/www/apps/resources/sidebars/user.mjs @@ -40,6 +40,11 @@ export const userSidebar = [ path: "/commerce-modules/user/events", title: "Events Reference", }, + { + type: "link", + path: "/commerce-modules/user/admin-widget-zones", + title: "Admin Widget Zones", + }, { type: "link", path: "/references/user",