Chore(medusa,utils,types,inventory,stock-location): remove core dependency modules (#3531)

This commit is contained in:
Carlos R. L. Rodrigues
2023-03-23 08:07:32 -03:00
committed by GitHub
parent bfef22b33e
commit 4e9d257d3b
159 changed files with 1769 additions and 693 deletions
@@ -1,22 +1,27 @@
import { InternalModuleDeclaration } from "@medusajs/modules-sdk"
import {
buildQuery,
CreateStockLocationInput,
FilterableStockLocationProps,
FindConfig,
setMetadata,
IEventBusService,
SharedContext,
StockLocationAddressInput,
UpdateStockLocationInput
} from "@medusajs/medusa"
import { InternalModuleDeclaration } from "@medusajs/modules-sdk"
import { EventBusTypes, SharedContext } from "@medusajs/types"
import { InjectEntityManager, MedusaContext } from "@medusajs/utils"
import { isDefined, MedusaError } from "medusa-core-utils"
UpdateStockLocationInput,
} from "@medusajs/types"
import {
buildQuery,
InjectEntityManager,
isDefined,
MedusaContext,
MedusaError,
setMetadata,
} from "@medusajs/utils"
import { EntityManager } from "typeorm"
import { StockLocation, StockLocationAddress } from "../models"
type InjectedDependencies = {
manager: EntityManager
eventBusService: EventBusTypes.IEventBusService
eventBusService: IEventBusService
}
/**
@@ -31,7 +36,7 @@ export default class StockLocationService {
}
protected readonly manager_: EntityManager
protected readonly eventBusService_: EventBusTypes.IEventBusService
protected readonly eventBusService_: IEventBusService
constructor(
{ eventBusService, manager }: InjectedDependencies,