From 82128afdfb96453001ec9a54582761124ab1a6bf Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Thu, 14 Nov 2024 17:14:47 +0200 Subject: [PATCH] docs: update admin injection zones list --- .../app/admin-widget-injection-zones/page.mdx | 944 +++++++++++------- www/apps/resources/generated/edit-dates.mjs | 2 +- www/apps/resources/providers/index.tsx | 2 +- 3 files changed, 597 insertions(+), 351 deletions(-) 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 4d61b618f85a9..78768abb3197c 100644 --- a/www/apps/resources/app/admin-widget-injection-zones/page.mdx +++ b/www/apps/resources/app/admin-widget-injection-zones/page.mdx @@ -8,55 +8,7 @@ export const metadata = { This documentation page includes the list of injection zones you can add Admin Widgets to. -## Login Page - - - - - Injection Zone Name - Description - Additional Props - - - - - - - `login.before` - - - - - Added before the login form. - - - - - \- - - - - - - - `login.after` - - - - - Added after the login form. - - - - - \- - - - - -
- -## Order Pages +## Campaign Pages @@ -70,12 +22,12 @@ This documentation page includes the list of injection zones you can add Admin W - `order.list.before` + `campaign.list.before` - Added at the top of the orders list page. + Added at the top of the campaigns list page. @@ -87,12 +39,12 @@ This documentation page includes the list of injection zones you can add Admin W - `order.list.after` + `campaign.list.after` - Added at the bottom of the order list page. + Added at the bottom of the campaigns list page. @@ -104,21 +56,21 @@ This documentation page includes the list of injection zones you can add Admin W - `order.details.before` + `campaign.details.before` - Added at the top of the order details page + Added at the top of a campaign's details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminOrder object + data, // AdminCampaign object } ``` @@ -127,21 +79,21 @@ This documentation page includes the list of injection zones you can add Admin W - `order.details.after` + `campaign.details.after` - Added at the end of the order details page. + Added at the bottom of a campaign's details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminOrder object + data, // AdminCampaign object } ``` @@ -150,21 +102,21 @@ This documentation page includes the list of injection zones you can add Admin W - `order.details.side.before` + `campaign.details.side.before` - Added at the top of the second column in the order details page. + Added at the top of the second column in the campaign details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminOrder object + data, // AdminCampaign object } ``` @@ -173,21 +125,21 @@ This documentation page includes the list of injection zones you can add Admin W - `order.details.side.before` + `campaign.details.side.after` - Added at the end of the second column in the order details page. + Added at the bottom of the second column in the campaign details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminOrder object + data, // AdminCampaign object } ``` @@ -287,6 +239,20 @@ This documentation page includes the list of injection zones you can add Admin W + +
+ +## Customer Group Pages + + + + + Injection Zone Name + Description + Additional Props + + + @@ -370,7 +336,7 @@ This documentation page includes the list of injection zones you can add Admin W
-## Product Pages +## Inventory Pages @@ -384,12 +350,12 @@ This documentation page includes the list of injection zones you can add Admin W - `product.list.before` + `inventory_item.list.before` - Added at the top of the product list page. + Added at the top of the inventory list page. @@ -401,12 +367,12 @@ This documentation page includes the list of injection zones you can add Admin W - `product.list.after` + `inventory_item.list.after` - Added at the bottom of the products list page. + Added at the bottom of the inventory list page. @@ -418,21 +384,21 @@ This documentation page includes the list of injection zones you can add Admin W - `product.details.before` + `inventory_item.details.before` - Added at the top of the product details page. + Added at the top of the inventory item details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminProduct object + data, // AdminInventoryItem object } ``` @@ -441,21 +407,21 @@ This documentation page includes the list of injection zones you can add Admin W - `product.details.after` + `inventory_item.details.after` - Added at the bottom of the product details page + Added at the bottom of the inventory item details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminProduct object + data, // AdminInventoryItem object } ``` @@ -464,21 +430,21 @@ This documentation page includes the list of injection zones you can add Admin W - `product.details.side.before` + `inventory_item.details.side.before` - Added at the top of the second column in the product details page. + Added at the top of the second column in the inventory item details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminProduct object + data, // AdminInventoryItem object } ``` @@ -487,52 +453,49 @@ This documentation page includes the list of injection zones you can add Admin W - `product.details.side.after` + `inventory_item.details.side.after` - Added at the bottom of the second column in the product details page. + Added at the end of the second column in the inventory item details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminProduct object + data, // AdminInventoryItem object } ``` - - - - `product_collection.list.before` - - - - - Added at the top of the product collections list page. - - - + +
- \- +## Login Page - + + + + Injection Zone Name + Description + Additional Props + + - `product_collection.list.after` + `login.before` - Added at the bottom of the product collections list page. + Added before the login form. @@ -544,58 +507,43 @@ This documentation page includes the list of injection zones you can add Admin W - `product_collection.details.before` + `login.after` - Added at the top of the product collection details page. + Added after the login form. - - 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 - } - ``` +## Order Pages - + + + + Injection Zone Name + Description + Additional Props + + - `product_category.list.before` + `order.list.before` - Added at the top of the product categories list page. + Added at the top of the orders list page. @@ -607,12 +555,12 @@ This documentation page includes the list of injection zones you can add Admin W - `product_category.list.after` + `order.list.after` - Added at the bottom of the product categories list page. + Added at the bottom of the order list page. @@ -624,21 +572,21 @@ This documentation page includes the list of injection zones you can add Admin W - `product_category.details.before` + `order.details.before` - Added at the top of the product category details page. + Added at the top of the order details page - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminProductCategory object + data, // AdminOrder object } ``` @@ -647,21 +595,21 @@ This documentation page includes the list of injection zones you can add Admin W - `product_category.details.after` + `order.details.after` - Added at the bottom of the product category details page. + Added at the end of the order details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminProductCategory object + data, // AdminOrder object } ``` @@ -670,21 +618,21 @@ This documentation page includes the list of injection zones you can add Admin W - `product_category.details.side.before` + `order.details.side.before` - Added at the top of the second column in the product category details page. + Added at the top of the second column in the order details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminProductCategory object + data, // AdminOrder object } ``` @@ -693,21 +641,21 @@ This documentation page includes the list of injection zones you can add Admin W - `product_category.details.side.after` + `order.details.side.after` - Added at the bottom of the second column in the product category details page. + Added at the end of the second column in the order details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminProductCategory object + data, // AdminOrder object } ``` @@ -716,7 +664,7 @@ This documentation page includes the list of injection zones you can add Admin W
-## Pricing Pages +## Price List Pages @@ -856,7 +804,7 @@ This documentation page includes the list of injection zones you can add Admin W
-## Promotion Pages +## Product Pages @@ -870,12 +818,12 @@ This documentation page includes the list of injection zones you can add Admin W - `promotion.list.before` + `product.list.before` - Added at the top of the promotions list page. + Added at the top of the product list page. @@ -887,12 +835,12 @@ This documentation page includes the list of injection zones you can add Admin W - `promotion.list.after` + `product.list.after` - Added at the bottom of the promotions list page. + Added at the bottom of the products list page. @@ -904,21 +852,21 @@ This documentation page includes the list of injection zones you can add Admin W - `promotion.details.before` + `product.details.before` - Added at the top of a promotion's details page. + Added at the top of the product details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminPromotion object + data, // AdminProduct object } ``` @@ -927,21 +875,21 @@ This documentation page includes the list of injection zones you can add Admin W - `promotion.details.after` + `product.details.after` - Added at the bottom of a promotion's details page. + Added at the bottom of the product details page - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminPromotion object + data, // AdminProduct object } ``` @@ -950,21 +898,21 @@ This documentation page includes the list of injection zones you can add Admin W - `promotion.details.side.before` + `product.details.side.before` - Added at the top of the second column in the promotion details page. + Added at the top of the second column in the product details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminPromotion object + data, // AdminProduct object } ``` @@ -973,35 +921,49 @@ This documentation page includes the list of injection zones you can add Admin W - `promotion.details.side.after` + `product.details.side.after` - Added at the bottom of the second column in the promotion details page. + Added at the bottom of the second column in the product details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminPromotion object + data, // AdminProduct object } ``` + +
+ +## Product Collection Pages + + + + + Injection Zone Name + Description + Additional Props + + + - `campaign.list.before` + `product_collection.list.before` - Added at the top of the campaigns list page. + Added at the top of the product collections list page. @@ -1013,12 +975,12 @@ This documentation page includes the list of injection zones you can add Admin W - `campaign.list.after` + `product_collection.list.after` - Added at the bottom of the campaigns list page. + Added at the bottom of the product collections list page. @@ -1030,21 +992,21 @@ This documentation page includes the list of injection zones you can add Admin W - `campaign.details.before` + `product_collection.details.before` - Added at the top of a campaign's details page. + Added at the top of the product collection details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminCampaign object + data, // AdminProductCollection object } ``` @@ -1053,44 +1015,92 @@ This documentation page includes the list of injection zones you can add Admin W - `campaign.details.after` + `product_collection.details.after` - Added at the bottom of a campaign's details page. + Added at the bottom of the product collection details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminCampaign object + data, // AdminProductCollection object } ``` + +
+ +## Product Category Pages + + + + + Injection Zone Name + Description + Additional Props + + + - `campaign.details.side.before` + `product_category.list.before` - Added at the top of the second column in the campaign details page. + 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` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminCampaign object + data, // AdminProductCategory object } ``` @@ -1099,21 +1109,67 @@ This documentation page includes the list of injection zones you can add Admin W - `campaign.details.side.after` + `product_category.details.after` - Added at the bottom of the second column in the campaign details page. + Added at the bottom of the product category details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminCampaign object + 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 } ``` @@ -1122,9 +1178,9 @@ This documentation page includes the list of injection zones you can add Admin W
-## Setting Pages -### User Pages + +## Promotion Pages @@ -1138,12 +1194,12 @@ This documentation page includes the list of injection zones you can add Admin W - `user.list.before` + `promotion.list.before` - Added at the top of the users list page. + Added at the top of the promotions list page. @@ -1155,12 +1211,12 @@ This documentation page includes the list of injection zones you can add Admin W - `user.list.after` + `promotion.list.after` - Added at the bottom of the users list page. + Added at the bottom of the promotions list page. @@ -1172,21 +1228,21 @@ This documentation page includes the list of injection zones you can add Admin W - `user.details.before` + `promotion.details.before` - Added at the top of a user's details page. + Added at the top of a promotion's details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminUser object + data, // AdminPromotion object } ``` @@ -1195,58 +1251,44 @@ This documentation page includes the list of injection zones you can add Admin W - `user.details.after` + `promotion.details.after` - Added at the bottom of a user's details page. + Added at the bottom of a promotion's details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminUser object + data, // AdminPromotion object } ``` - -
- -### Store Pages - - - - - Injection Zone Name - Description - Additional Props - - - - `store.details.before` + `promotion.details.side.before` - Added at the top of a store's details page. + Added at the top of the second column in the promotion details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminStore object + data, // AdminPromotion object } ``` @@ -1255,21 +1297,21 @@ This documentation page includes the list of injection zones you can add Admin W - `store.details.after` + `promotion.details.side.after` - Added at the bottom of a store's details page. + Added at the bottom of the second column in the promotion details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminStore object + data, // AdminPromotion object } ``` @@ -1278,7 +1320,9 @@ This documentation page includes the list of injection zones you can add Admin W
-### Profile Pages +## Setting Pages + +### API Key Pages @@ -1292,21 +1336,55 @@ This documentation page includes the list of injection zones you can add Admin W - `profile.details.before` + `api_key.list.before` - Added at the top of a profile's details page. + 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` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminUser object + data, // AdminApiKey object } ``` @@ -1315,21 +1393,21 @@ This documentation page includes the list of injection zones you can add Admin W - `profile.details.after` + `api_key.details.after` - Added at the bottom of a profile's details page. + Added at the bottom of a API key's details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminUser object + data, // AdminApiKey object } ``` @@ -1338,7 +1416,7 @@ This documentation page includes the list of injection zones you can add Admin W
-### Region Pages +### Location Pages @@ -1352,12 +1430,12 @@ This documentation page includes the list of injection zones you can add Admin W - `region.list.before` + `location.list.before` - Added at the top of the regions list page. + Added at the top of the locations list page. @@ -1369,12 +1447,12 @@ This documentation page includes the list of injection zones you can add Admin W - `region.list.after` + `location.list.after` - Added at the bottom of the regions list page. + Added at the bottom of the locations list page. @@ -1386,21 +1464,127 @@ This documentation page includes the list of injection zones you can add Admin W - `region.details.before` + `location.details.before` - Added at the top of a region's details page. + Added at the top of a location's details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + 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, // AdminRegion object + data, // AdminUser object } ``` @@ -1409,21 +1593,21 @@ This documentation page includes the list of injection zones you can add Admin W - `region.details.after` + `profile.details.after` - Added at the bottom of a region's details page. + Added at the bottom of a profile's details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminRegion object + data, // AdminUser object } ``` @@ -1432,7 +1616,7 @@ This documentation page includes the list of injection zones you can add Admin W
-### Shipping Profile Pages +### Region Pages @@ -1446,12 +1630,12 @@ This documentation page includes the list of injection zones you can add Admin W - `shipping_profile.list.before` + `region.list.before` - Added at the top of the shipping profiles list page. + Added at the top of the regions list page. @@ -1463,12 +1647,12 @@ This documentation page includes the list of injection zones you can add Admin W - `shipping_profile.list.after` + `region.list.after` - Added at the bottom of the shipping profiles list page. + Added at the bottom of the regions list page. @@ -1480,21 +1664,21 @@ This documentation page includes the list of injection zones you can add Admin W - `shipping_profile.details.before` + `region.details.before` - Added at the top of a shipping profile's details page. + Added at the top of a region's details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminShippingProfile object + data, // AdminRegion object } ``` @@ -1503,21 +1687,21 @@ This documentation page includes the list of injection zones you can add Admin W - `shipping_profile.details.after` + `region.details.after` - Added at the bottom of a shipping profile's details page. + Added at the bottom of a region's details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminShippingProfile object + data, // AdminRegion object } ``` @@ -1526,7 +1710,7 @@ This documentation page includes the list of injection zones you can add Admin W
-### Location Pages +### Reservation Pages @@ -1540,12 +1724,12 @@ This documentation page includes the list of injection zones you can add Admin W - `location.list.before` + `reservation.list.before` - Added at the top of the locations list page. + Added at the top of the reservations list page. @@ -1557,12 +1741,12 @@ This documentation page includes the list of injection zones you can add Admin W - `location.list.after` + `reservation.list.after` - Added at the bottom of the locations list page. + Added at the bottom of the reservations list page. @@ -1574,21 +1758,21 @@ This documentation page includes the list of injection zones you can add Admin W - `location.details.before` + `reservation.details.before` - Added at the top of a location's details page. + Added at the top of a reservation item's details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminStockLocation object + data, // AdminReservation object } ``` @@ -1597,21 +1781,21 @@ This documentation page includes the list of injection zones you can add Admin W - `location.details.after` + `reservation.details.after` - Added at the bottom of a location's details page. + Added at the bottom of a reservation item's details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminStockLocation object + data, // AdminReservation object } ``` @@ -1620,21 +1804,21 @@ This documentation page includes the list of injection zones you can add Admin W - `location.details.side.before` + `reservation.details.side.before` - Added at the top of the second column in the location details page. + Added at the top of the second column in the reservation item details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminStockLocation object + data, // AdminReservation object } ``` @@ -1643,21 +1827,21 @@ This documentation page includes the list of injection zones you can add Admin W - `location.details.side.after` + `reservation.details.side.after` - Added at the bottom of the second column in the location details page. + Added at the bottom of the second column in the reservation item details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminStockLocation object + data, // AdminReservation object } ``` @@ -1666,6 +1850,54 @@ This documentation page includes the list of injection zones you can add Admin W
+### 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 @@ -1760,7 +1992,7 @@ This documentation page includes the list of injection zones you can add Admin W
-### Reservation Pages +### Shipping Profile Pages @@ -1774,12 +2006,12 @@ This documentation page includes the list of injection zones you can add Admin W - `reservation.list.before` + `shipping_profile.list.before` - Added at the top of the reservations list page. + Added at the top of the shipping profiles list page. @@ -1791,12 +2023,12 @@ This documentation page includes the list of injection zones you can add Admin W - `reservation.list.after` + `shipping_profile.list.after` - Added at the bottom of the reservations list page. + Added at the bottom of the shipping profiles list page. @@ -1808,21 +2040,21 @@ This documentation page includes the list of injection zones you can add Admin W - `reservation.details.before` + `shipping_profile.details.before` - Added at the top of a reservation item's details page. + Added at the top of a shipping profile's details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminReservation object + data, // AdminShippingProfile object } ``` @@ -1831,44 +2063,58 @@ This documentation page includes the list of injection zones you can add Admin W - `reservation.details.after` + `shipping_profile.details.after` - Added at the bottom of a reservation item's details page. + Added at the bottom of a shipping profile's details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminReservation object + data, // AdminShippingProfile object } ``` + +
+ +### Store Pages + + + + + Injection Zone Name + Description + Additional Props + + + - `reservation.details.side.before` + `store.details.before` - Added at the top of the second column in the reservation item details page. + Added at the top of a store's details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminReservation object + data, // AdminStore object } ``` @@ -1877,21 +2123,21 @@ This documentation page includes the list of injection zones you can add Admin W - `reservation.details.side.after` + `store.details.after` - Added at the bottom of the second column in the reservation item details page. + Added at the bottom of a store's details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminReservation object + data, // AdminStore object } ``` @@ -1900,7 +2146,7 @@ This documentation page includes the list of injection zones you can add Admin W
-### API Key Pages +### Tax Pages @@ -1914,12 +2160,12 @@ This documentation page includes the list of injection zones you can add Admin W - `api_key.list.before` + `tax.list.before` - Added at the top of the API keys list page. + Added at the top of the tax regions list page. @@ -1931,12 +2177,12 @@ This documentation page includes the list of injection zones you can add Admin W - `api_key.list.after` + `tax.list.after` - Added at the bottom of the API keys list page. + Added at the bottom of the tax regions list page. @@ -1948,21 +2194,21 @@ This documentation page includes the list of injection zones you can add Admin W - `api_key.details.before` + `tax.details.before` - Added at the top of a API key's details page. + Added at the top of a tax region's details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminApiKey object + data, // AdminTaxRegion object } ``` @@ -1971,21 +2217,21 @@ This documentation page includes the list of injection zones you can add Admin W - `api_key.details.after` + `tax.details.after` - Added at the bottom of a API key's details page. + Added at the bottom of a tax region's details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminApiKey object + data, // AdminTaxRegion object } ``` @@ -1994,7 +2240,7 @@ This documentation page includes the list of injection zones you can add Admin W
-### Workflow Pages +### User Pages @@ -2008,12 +2254,12 @@ This documentation page includes the list of injection zones you can add Admin W - `workflow.list.before` + `user.list.before` - Added at the top of the workflows list page. + Added at the top of the users list page. @@ -2025,12 +2271,12 @@ This documentation page includes the list of injection zones you can add Admin W - `workflow.list.after` + `user.list.after` - Added at the bottom of the workflows list page. + Added at the bottom of the users list page. @@ -2042,21 +2288,21 @@ This documentation page includes the list of injection zones you can add Admin W - `workflow.details.before` + `user.details.before` - Added at the top of a workflow execution's details page. + Added at the top of a user's details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminWorkflowExecution object + data, // AdminUser object } ``` @@ -2065,21 +2311,21 @@ This documentation page includes the list of injection zones you can add Admin W - `workflow.details.after` + `user.details.after` - Added at the bottom of a workflow execution's details page. + Added at the bottom of a user's details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminWorkflowExecution object + data, // AdminUser object } ``` @@ -2088,7 +2334,7 @@ This documentation page includes the list of injection zones you can add Admin W
-### Tax Pages +### Workflow Pages @@ -2102,12 +2348,12 @@ This documentation page includes the list of injection zones you can add Admin W - `tax.list.before` + `workflow.list.before` - Added at the top of the tax regions list page. + Added at the top of the workflows list page. @@ -2119,12 +2365,12 @@ This documentation page includes the list of injection zones you can add Admin W - `tax.list.after` + `workflow.list.after` - Added at the bottom of the tax regions list page. + Added at the bottom of the workflows list page. @@ -2136,21 +2382,21 @@ This documentation page includes the list of injection zones you can add Admin W - `tax.details.before` + `workflow.details.before` - Added at the top of a tax region's details page. + Added at the top of a workflow execution's details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminTaxRegion object + data, // AdminWorkflowExecution object } ``` @@ -2159,21 +2405,21 @@ This documentation page includes the list of injection zones you can add Admin W - `tax.details.after` + `workflow.details.after` - Added at the bottom of a tax region's details page. + Added at the bottom of a workflow execution's details page. - Type `DetailWidgetProps` imported from `@medusajs/framework/types` + Type `DetailWidgetProps` imported from `@medusajs/framework/types` ```ts blockStyle="inline" { - data, // AdminTaxRegion object + data, // AdminWorkflowExecution object } ``` diff --git a/www/apps/resources/generated/edit-dates.mjs b/www/apps/resources/generated/edit-dates.mjs index f87fcc1468389..8c03340a3c777 100644 --- a/www/apps/resources/generated/edit-dates.mjs +++ b/www/apps/resources/generated/edit-dates.mjs @@ -234,7 +234,7 @@ export const generatedEditDates = { "app/architectural-modules/file/page.mdx": "2024-07-01T10:21:19+03:00", "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-09-30T08:43:53.147Z", + "app/admin-widget-injection-zones/page.mdx": "2024-11-14T15:10:36.495Z", "app/architectural-modules/notification/page.mdx": "2024-10-15T12:51:28.735Z", "app/architectural-modules/event/create/page.mdx": "2024-11-12T11:54:51.583Z", "references/core_flows/Order/functions/core_flows.Order.orderEditUpdateItemQuantityValidationStep/page.mdx": "2024-08-20T00:10:58.913Z", diff --git a/www/apps/resources/providers/index.tsx b/www/apps/resources/providers/index.tsx index ae55b911c5fc1..79bd672a1fb5e 100644 --- a/www/apps/resources/providers/index.tsx +++ b/www/apps/resources/providers/index.tsx @@ -34,7 +34,7 @@ const Providers = ({ children }: ProvidersProps) => { {children}