chore: remove container registration name (#9137)
This commit is contained in:
1 parent
ab4a422fc8
commit
950cf9af79
421 files changed
+1528
-2496
No files matched your search
+3
-3
@@ -30,7 +30,7 @@ moduleIntegrationTestRunner<IStockLocationService>({
|
||||
linkable: "stock_location_address_id",
|
||||
entity: "StockLocationAddress",
|
||||
primaryKey: "id",
|
||||
serviceName: "stockLocationService",
|
||||
serviceName: "StockLocation",
|
||||
field: "stockLocationAddress",
|
||||
},
|
||||
},
|
||||
@@ -40,13 +40,13 @@ moduleIntegrationTestRunner<IStockLocationService>({
|
||||
entity: "StockLocation",
|
||||
linkable: "stock_location_id",
|
||||
primaryKey: "id",
|
||||
serviceName: "stockLocationService",
|
||||
serviceName: "StockLocation",
|
||||
},
|
||||
location_id: {
|
||||
linkable: "location_id",
|
||||
entity: "StockLocation",
|
||||
primaryKey: "location_id",
|
||||
serviceName: "stockLocationService",
|
||||
serviceName: "StockLocation",
|
||||
field: "stockLocation",
|
||||
},
|
||||
},
|
||||
|
||||
@@ -18,6 +18,7 @@ import {
|
||||
InjectTransactionManager,
|
||||
MedusaContext,
|
||||
MedusaService,
|
||||
Modules,
|
||||
isString,
|
||||
promiseAll,
|
||||
} from "@medusajs/utils"
|
||||
@@ -25,7 +26,7 @@ import { joinerConfig } from "../joiner-config"
|
||||
import { StockLocation, StockLocationAddress } from "../models"
|
||||
|
||||
type InjectedDependencies = {
|
||||
eventBusModuleService: IEventBusService
|
||||
[Modules.EVENT_BUS]: IEventBusService
|
||||
baseRepository: DAL.RepositoryService
|
||||
stockLocationService: ModulesSdkTypes.IMedusaInternalService<any>
|
||||
stockLocationAddressService: ModulesSdkTypes.IMedusaInternalService<any>
|
||||
@@ -48,7 +49,7 @@ export default class StockLocationModuleService
|
||||
|
||||
constructor(
|
||||
{
|
||||
eventBusModuleService,
|
||||
[Modules.EVENT_BUS]: eventBusModuleService,
|
||||
baseRepository,
|
||||
stockLocationService,
|
||||
stockLocationAddressService,
|
||||
|
||||
Reference in new issue
Block a user