@medusajs/admin-shared
Advanced tools
Comparing version 0.0.2-snapshot-20240527135519 to 0.0.2-snapshot-20240528082138
@@ -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.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"]; | ||
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", "user.details.before", "user.details.after", "user.list.before", "user.list.after", "store.details.before", "store.details.after", "profile.details.before", "profile.details.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", "sales_channel.details.before", "sales_channel.details.after", "sales_channel.list.before", "sales_channel.list.after", "reservation.details.before", "reservation.details.after", "reservation.details.side.before", "reservation.details.side.after", "reservation.list.before", "reservation.list.after", ...string[], "workflow.details.before", "workflow.details.after", "workflow.list.before", "workflow.list.after", "campaign.details.before", "campaign.details.after", "campaign.details.side.before", "campaign.details.side.after", "campaign.list.before", "campaign.list.after", "tax.details.before", "tax.details.after", "tax.list.before", "tax.list.after"]; | ||
@@ -10,0 +10,0 @@ type InjectionZone = (typeof INJECTION_ZONES)[number]; |
@@ -128,2 +128,10 @@ "use strict"; | ||
]; | ||
var CAMPAIGN_INJECTION_ZONES = [ | ||
"campaign.details.before", | ||
"campaign.details.after", | ||
"campaign.details.side.before", | ||
"campaign.details.side.after", | ||
"campaign.list.before", | ||
"campaign.list.after" | ||
]; | ||
var GIFT_CARD_INJECTION_ZONES = [ | ||
@@ -137,2 +145,16 @@ "gift_card.details.before", | ||
]; | ||
var USER_INJECTION_ZONES = [ | ||
"user.details.before", | ||
"user.details.after", | ||
"user.list.before", | ||
"user.list.after" | ||
]; | ||
var STORE_INJECTION_ZONES = [ | ||
"store.details.before", | ||
"store.details.after" | ||
]; | ||
var PROFILE_INJECTION_ZONES = [ | ||
"profile.details.before", | ||
"profile.details.after" | ||
]; | ||
var REGION_INJECTION_ZONES = [ | ||
@@ -159,2 +181,34 @@ "region.details.before", | ||
var LOGIN_INJECTION_ZONES = ["login.before", "login.after"]; | ||
var SALES_CHANNEL_INJECTION_ZONES = [ | ||
"sales_channel.details.before", | ||
"sales_channel.details.after", | ||
"sales_channel.list.before", | ||
"sales_channel.list.after" | ||
]; | ||
var RESERVATION_INJECTION_ZONES = [ | ||
"reservation.details.before", | ||
"reservation.details.after", | ||
"reservation.details.side.before", | ||
"reservation.details.side.after", | ||
"reservation.list.before", | ||
"reservation.list.after" | ||
]; | ||
var API_KEY_INJECTION_ZONES = [ | ||
"api_key.details.before", | ||
"api_key.details.after", | ||
"api_key.list.before", | ||
"api_key.list.after" | ||
]; | ||
var WORKFLOW_INJECTION_ZONES = [ | ||
"workflow.details.before", | ||
"workflow.details.after", | ||
"workflow.list.before", | ||
"workflow.list.after" | ||
]; | ||
var TAX_INJECTION_ZONES = [ | ||
"tax.details.before", | ||
"tax.details.after", | ||
"tax.list.before", | ||
"tax.list.after" | ||
]; | ||
var INJECTION_ZONES = [ | ||
@@ -171,6 +225,15 @@ ...ORDER_INJECTION_ZONES, | ||
...GIFT_CARD_INJECTION_ZONES, | ||
...USER_INJECTION_ZONES, | ||
...STORE_INJECTION_ZONES, | ||
...PROFILE_INJECTION_ZONES, | ||
...REGION_INJECTION_ZONES, | ||
...SHIPPING_PROFILE_INJECTION_ZONES, | ||
...LOCATION_INJECTION_ZONES, | ||
...LOGIN_INJECTION_ZONES | ||
...LOGIN_INJECTION_ZONES, | ||
...SALES_CHANNEL_INJECTION_ZONES, | ||
...RESERVATION_INJECTION_ZONES, | ||
...API_KEY_INJECTION_ZONES, | ||
...WORKFLOW_INJECTION_ZONES, | ||
...CAMPAIGN_INJECTION_ZONES, | ||
...TAX_INJECTION_ZONES | ||
]; | ||
@@ -177,0 +240,0 @@ |
{ | ||
"name": "@medusajs/admin-shared", | ||
"description": "Shared code for Medusa admin packages.", | ||
"version": "0.0.2-snapshot-20240527135519", | ||
"version": "0.0.2-snapshot-20240528082138", | ||
"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
25375
595