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

@medusajs/types

Package Overview
Dependencies
Maintainers
2
Versions
2812
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@medusajs/types - npm Package Compare versions

Comparing version 1.8.6 to 1.8.7-snapshot-20230516140814

4

dist/admin/application.d.ts

@@ -1,3 +0,3 @@

import { DomainKey, HookPointKey, LoadedWidget, WidgetsConfig } from "./widget";
export declare type InjectionZone = `${DomainKey}.${HookPointKey}`;
import { DomainKey, HookPointKey, LoadedWidget, PageKey, PagePointKey, StumbDomainKey, WidgetsConfig } from "./widget";
export declare type InjectionZone = `${DomainKey}.${HookPointKey}` | `${PageKey}.${PagePointKey}` | `${StumbDomainKey}`;
export declare type InjectionZones = Map<InjectionZone, LoadedWidget[]>;

@@ -4,0 +4,0 @@ export interface Application {

@@ -5,9 +5,20 @@ import { IBaseExtension, IBaseLoadedExtension } from "./common";

}
export declare type DomainKey = "product" | "product_collection" | "order" | "customer";
export declare type HookPointKey = "details";
declare type HookPoint = {
export declare type DomainKey = "product" | "product_collection" | "order" | "draft_order" | "customer" | "customer_group" | "discount" | "price_list" | "gift_card";
export declare type StumbDomainKey = "custom_gift_card";
export declare type PageKey = "login";
export declare type HookPointKey = "details" | "list";
export declare type PagePointKey = "before" | "after";
export declare type HookPoint = {
[key in HookPointKey]?: Widget[];
};
export declare type PagePoint = {
[key in PagePointKey]?: Widget[];
};
export declare type WidgetConfigKey = DomainKey | StumbDomainKey | PageKey;
export declare type WidgetsConfig = {
[key in DomainKey]?: HookPoint;
} & {
[key in StumbDomainKey]?: Widget[];
} & {
[key in PageKey]?: PagePoint;
};

@@ -21,2 +32,1 @@ export interface LoadedWidget extends Widget, IBaseLoadedExtension {

}
export {};

@@ -0,1 +1,2 @@

export * from "./admin";
export * from "./bundles";

@@ -2,0 +3,0 @@ export * from "./cache";

@@ -17,2 +17,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./admin"), exports);
__exportStar(require("./bundles"), exports);

@@ -19,0 +20,0 @@ __exportStar(require("./cache"), exports);

{
"name": "@medusajs/types",
"version": "1.8.6",
"version": "1.8.7-snapshot-20230516140814",
"description": "Medusa Types definition",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": {

@@ -22,2 +23,3 @@ "type": "git",

"cross-env": "^5.2.1",
"react-router-dom": "6.8.0",
"typeorm": "^0.3.16",

@@ -24,0 +26,0 @@ "typescript": "^4.4.4",

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