@medusajs/admin-shared
Advanced tools
Comparing version 0.0.2-preview-20240527090510 to 0.0.2-preview-20240527133321
@@ -7,3 +7,3 @@ import { ComponentType } from 'react'; | ||
*/ | ||
declare const INJECTION_ZONES: readonly ["order.details.before", "order.details.after", "order.details.side.before", "order.details.side.after", "order.list.before", "order.list.after", "draft_order.list.before", "draft_order.list.after", "draft_order.details.side.before", "draft_order.details.side.after", "draft_order.details.before", "draft_order.details.after", "customer.details.before", "customer.details.after", "customer.list.before", "customer.list.after", "customer_group.details.before", "customer_group.details.after", "customer_group.list.before", "customer_group.list.after", "product.details.before", "product.details.after", "product.list.before", "product.list.after", "product.details.side.before", "product.details.side.after", "product_collection.details.before", "product_collection.details.after", "product_collection.list.before", "product_collection.list.after", "product_category.details.before", "product_category.details.after", "product_category.details.side.before", "product_category.details.side.after", "product_category.list.before", "product_category.list.after", "price_list.details.before", "price_list.details.after", "price_list.list.before", "price_list.list.after", "discount.details.before", "discount.details.after", "discount.list.before", "discount.list.after", "promotion.details.before", "promotion.details.after", "promotion.list.before", "promotion.list.after", "gift_card.details.before", "gift_card.details.after", "gift_card.list.before", "gift_card.list.after", "custom_gift_card.before", "custom_gift_card.after", "login.before", "login.after"]; | ||
declare const INJECTION_ZONES: readonly ["order.details.before", "order.details.after", "order.details.side.before", "order.details.side.after", "order.list.before", "order.list.after", "draft_order.list.before", "draft_order.list.after", "draft_order.details.side.before", "draft_order.details.side.after", "draft_order.details.before", "draft_order.details.after", "customer.details.before", "customer.details.after", "customer.list.before", "customer.list.after", "customer_group.details.before", "customer_group.details.after", "customer_group.list.before", "customer_group.list.after", "product.details.before", "product.details.after", "product.list.before", "product.list.after", "product.details.side.before", "product.details.side.after", "product_collection.details.before", "product_collection.details.after", "product_collection.list.before", "product_collection.list.after", "product_category.details.before", "product_category.details.after", "product_category.details.side.before", "product_category.details.side.after", "product_category.list.before", "product_category.list.after", "price_list.details.before", "price_list.details.after", "price_list.details.side.before", "price_list.details.side.after", "price_list.list.before", "price_list.list.after", "promotion.details.before", "promotion.details.after", "promotion.details.side.before", "promotion.details.side.after", "promotion.list.before", "promotion.list.after", "gift_card.details.before", "gift_card.details.after", "gift_card.list.before", "gift_card.list.after", "custom_gift_card.before", "custom_gift_card.after", "region.details.before", "region.details.after", "region.list.before", "region.list.after", "shipping_profile.details.before", "shipping_profile.details.after", "shipping_profile.list.before", "shipping_profile.list.after", "location.details.before", "location.details.after", "location.details.side.before", "location.details.side.after", "location.list.before", "location.list.after", "login.before", "login.after"]; | ||
@@ -10,0 +10,0 @@ type InjectionZone = (typeof INJECTION_ZONES)[number]; |
@@ -115,14 +115,12 @@ "use strict"; | ||
"price_list.details.after", | ||
"price_list.details.side.before", | ||
"price_list.details.side.after", | ||
"price_list.list.before", | ||
"price_list.list.after" | ||
]; | ||
var DISCOUNT_INJECTION_ZONES = [ | ||
"discount.details.before", | ||
"discount.details.after", | ||
"discount.list.before", | ||
"discount.list.after" | ||
]; | ||
var PROMOTION_INJECTION_ZONES = [ | ||
"promotion.details.before", | ||
"promotion.details.after", | ||
"promotion.details.side.before", | ||
"promotion.details.side.after", | ||
"promotion.list.before", | ||
@@ -139,2 +137,22 @@ "promotion.list.after" | ||
]; | ||
var REGION_INJECTION_ZONES = [ | ||
"region.details.before", | ||
"region.details.after", | ||
"region.list.before", | ||
"region.list.after" | ||
]; | ||
var SHIPPING_PROFILE_INJECTION_ZONES = [ | ||
"shipping_profile.details.before", | ||
"shipping_profile.details.after", | ||
"shipping_profile.list.before", | ||
"shipping_profile.list.after" | ||
]; | ||
var LOCATION_INJECTION_ZONES = [ | ||
"location.details.before", | ||
"location.details.after", | ||
"location.details.side.before", | ||
"location.details.side.after", | ||
"location.list.before", | ||
"location.list.after" | ||
]; | ||
var LOGIN_INJECTION_ZONES = ["login.before", "login.after"]; | ||
@@ -150,5 +168,7 @@ var INJECTION_ZONES = [ | ||
...PRICE_LIST_INJECTION_ZONES, | ||
...DISCOUNT_INJECTION_ZONES, | ||
...PROMOTION_INJECTION_ZONES, | ||
...GIFT_CARD_INJECTION_ZONES, | ||
...REGION_INJECTION_ZONES, | ||
...SHIPPING_PROFILE_INJECTION_ZONES, | ||
...LOCATION_INJECTION_ZONES, | ||
...LOGIN_INJECTION_ZONES | ||
@@ -155,0 +175,0 @@ ]; |
{ | ||
"name": "@medusajs/admin-shared", | ||
"description": "Shared code for Medusa admin packages.", | ||
"version": "0.0.2-preview-20240527090510", | ||
"version": "0.0.2-preview-20240527133321", | ||
"author": "Kasper Kristensen <kasper@medusajs.com>", | ||
@@ -6,0 +6,0 @@ "types": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
20544
466