Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@medusajs/admin-shared

Package Overview
Dependencies
Maintainers
2
Versions
1997
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@medusajs/admin-shared - npm Package Compare versions

Comparing version 0.0.2-snapshot-20240525075223 to 0.0.2-snapshot-20240527135519

2

dist/index.d.ts

@@ -7,3 +7,3 @@ import { ComponentType } from 'react';

*/
declare const INJECTION_ZONES: readonly ["order.details.before", "order.details.after", "order.list.before", "order.list.after", "draft_order.list.before", "draft_order.list.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.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];

@@ -65,2 +65,4 @@ "use strict";

"order.details.after",
"order.details.side.before",
"order.details.side.after",
"order.list.before",

@@ -72,2 +74,4 @@ "order.list.after"

"draft_order.list.after",
"draft_order.details.side.before",
"draft_order.details.side.after",
"draft_order.details.before",

@@ -105,2 +109,4 @@ "draft_order.details.after"

"product_category.details.after",
"product_category.details.side.before",
"product_category.details.side.after",
"product_category.list.before",

@@ -112,14 +118,12 @@ "product_category.list.after"

"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",

@@ -136,2 +140,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"];

@@ -147,5 +171,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

@@ -152,0 +178,0 @@ ];

{
"name": "@medusajs/admin-shared",
"description": "Shared code for Medusa admin packages.",
"version": "0.0.2-snapshot-20240525075223",
"version": "0.0.2-snapshot-20240527135519",
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc