New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@medusajs/types

Package Overview
Dependencies
Maintainers
2
Versions
3185
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.11.1-snapshot-20230911102459 to 1.11.1-snapshot-20230911114336

10

dist/pricing/common/price-set.d.ts
import { BaseFilterable } from "../../dal";
import { FilterableMoneyAmountProps, MoneyAmountDTO } from "./money-amount";
export interface PricingContext {
currency_code?: string;
}
export interface PriceSetDTO {

@@ -7,2 +10,9 @@ id: string;

}
export interface CalculatedPriceSetDTO {
id: string;
amount: number | null;
currency_code: string | null;
min_quantity: number | null;
max_quantity: number | null;
}
export interface CreatePriceSetDTO {

@@ -9,0 +19,0 @@ money_amounts?: MoneyAmountDTO[];

3

dist/pricing/service.d.ts
import { FindConfig } from "../common";
import { ModuleJoinerConfig } from "../modules-sdk";
import { Context } from "../shared-context";
import { CreateCurrencyDTO, CreateMoneyAmountDTO, CreatePriceSetDTO, CurrencyDTO, FilterableCurrencyProps, FilterableMoneyAmountProps, FilterablePriceSetProps, MoneyAmountDTO, PriceSetDTO, UpdateCurrencyDTO, UpdateMoneyAmountDTO, UpdatePriceSetDTO } from "./common";
import { CalculatedPriceSetDTO, CreateCurrencyDTO, CreateMoneyAmountDTO, CreatePriceSetDTO, CurrencyDTO, FilterableCurrencyProps, FilterableMoneyAmountProps, FilterablePriceSetProps, MoneyAmountDTO, PriceSetDTO, PricingContext, UpdateCurrencyDTO, UpdateMoneyAmountDTO, UpdatePriceSetDTO } from "./common";
export interface IPricingModuleService {
__joinerConfig(): ModuleJoinerConfig;
calculatePrices(priceSetIds: string[], pricingContext: PricingContext, sharedContext?: Context): Promise<CalculatedPriceSetDTO>;
retrieve(id: string, config?: FindConfig<PriceSetDTO>, sharedContext?: Context): Promise<PriceSetDTO>;

@@ -8,0 +9,0 @@ list(filters?: FilterablePriceSetProps, config?: FindConfig<PriceSetDTO>, sharedContext?: Context): Promise<PriceSetDTO[]>;

{
"name": "@medusajs/types",
"version": "1.11.1-snapshot-20230911102459",
"version": "1.11.1-snapshot-20230911114336",
"description": "Medusa Types definition",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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