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
3120
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.0-snapshot-20230907143114 to 1.11.0-snapshot-20230907154042

dist/pricing/common/price-set.d.ts

1

dist/pricing/common/index.d.ts
export * from "./currency";
export * from "./money-amount";
export * from "./price-set";

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

__exportStar(require("./money-amount"), exports);
__exportStar(require("./price-set"), exports);
//# sourceMappingURL=index.js.map

18

dist/pricing/service.d.ts
import { FindConfig } from "../common";
import { ModuleJoinerConfig } from "../modules-sdk";
import { Context } from "../shared-context";
import { CreateCurrencyDTO, CreateMoneyAmountDTO, CurrencyDTO, FilterableCurrencyProps, FilterableMoneyAmountProps, MoneyAmountDTO, UpdateCurrencyDTO, UpdateMoneyAmountDTO } from "./common";
import { CreateCurrencyDTO, CreateMoneyAmountDTO, CreatePriceSetDTO, CurrencyDTO, FilterableCurrencyProps, FilterableMoneyAmountProps, FilterablePriceSetProps, MoneyAmountDTO, PriceSetDTO, UpdateCurrencyDTO, UpdateMoneyAmountDTO, UpdatePriceSetDTO } from "./common";
export interface IPricingModuleService {
__joinerConfig(): ModuleJoinerConfig;
retrieve(id: string, config?: FindConfig<MoneyAmountDTO>, sharedContext?: Context): Promise<MoneyAmountDTO>;
list(filters?: FilterableMoneyAmountProps, config?: FindConfig<MoneyAmountDTO>, sharedContext?: Context): Promise<MoneyAmountDTO[]>;
listAndCount(filters?: FilterableMoneyAmountProps, config?: FindConfig<MoneyAmountDTO>, sharedContext?: Context): Promise<[MoneyAmountDTO[], number]>;
create(data: CreateMoneyAmountDTO[], sharedContext?: Context): Promise<MoneyAmountDTO[]>;
update(data: UpdateMoneyAmountDTO[], sharedContext?: Context): Promise<MoneyAmountDTO[]>;
retrieve(id: string, config?: FindConfig<PriceSetDTO>, sharedContext?: Context): Promise<PriceSetDTO>;
list(filters?: FilterablePriceSetProps, config?: FindConfig<PriceSetDTO>, sharedContext?: Context): Promise<PriceSetDTO[]>;
listAndCount(filters?: FilterablePriceSetProps, config?: FindConfig<PriceSetDTO>, sharedContext?: Context): Promise<[PriceSetDTO[], number]>;
create(data: CreatePriceSetDTO[], sharedContext?: Context): Promise<PriceSetDTO[]>;
update(data: UpdatePriceSetDTO[], sharedContext?: Context): Promise<PriceSetDTO[]>;
delete(ids: string[], sharedContext?: Context): Promise<void>;
retrieveMoneyAmount(id: string, config?: FindConfig<MoneyAmountDTO>, sharedContext?: Context): Promise<MoneyAmountDTO>;
listMoneyAmounts(filters?: FilterableMoneyAmountProps, config?: FindConfig<MoneyAmountDTO>, sharedContext?: Context): Promise<MoneyAmountDTO[]>;
listAndCountMoneyAmounts(filters?: FilterableMoneyAmountProps, config?: FindConfig<MoneyAmountDTO>, sharedContext?: Context): Promise<[MoneyAmountDTO[], number]>;
createMoneyAmounts(data: CreateMoneyAmountDTO[], sharedContext?: Context): Promise<MoneyAmountDTO[]>;
updateMoneyAmounts(data: UpdateMoneyAmountDTO[], sharedContext?: Context): Promise<MoneyAmountDTO[]>;
deleteMoneyAmounts(ids: string[], sharedContext?: Context): Promise<void>;
retrieveCurrency(code: string, config?: FindConfig<CurrencyDTO>, sharedContext?: Context): Promise<CurrencyDTO>;

@@ -14,0 +20,0 @@ listCurrencies(filters?: FilterableCurrencyProps, config?: FindConfig<CurrencyDTO>, sharedContext?: Context): Promise<CurrencyDTO[]>;

{
"name": "@medusajs/types",
"version": "1.11.0-snapshot-20230907143114",
"version": "1.11.0-snapshot-20230907154042",
"description": "Medusa Types definition",

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

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