chore: remove container registration name (#9137)

This commit is contained in:
Carlos R. L. Rodrigues authored and GitHub committed 2024-09-16 06:22:24 -03:00
1 parent ab4a422fc8
commit 950cf9af79
421 files changed
+1528 -2496

No files matched your search

@@ -32,6 +32,7 @@ import {
MedusaContext,
MedusaError,
MedusaService,
Modules,
ProductStatus,
promiseAll,
removeUndefined,
@@ -64,7 +65,7 @@ type InjectedDependencies = {
productTypeService: ModulesSdkTypes.IMedusaInternalService<any>
productOptionService: ModulesSdkTypes.IMedusaInternalService<any>
productOptionValueService: ModulesSdkTypes.IMedusaInternalService<any>
eventBusModuleService?: IEventBusModuleService
[Modules.EVENT_BUS]?: IEventBusModuleService
}
export default class ProductModuleService
@@ -129,7 +130,7 @@ export default class ProductModuleService
productTypeService,
productOptionService,
productOptionValueService,
eventBusModuleService,
[Modules.EVENT_BUS]: eventBusModuleService,
}: InjectedDependencies,
protected readonly moduleDeclaration: InternalModuleDeclaration
) {
+1 -1
View File
@@ -2,7 +2,7 @@ import { IEventBusModuleService, Logger, ProductTypes } from "@medusajs/types"
export type InitializeModuleInjectableDependencies = {
logger?: Logger
eventBusModuleService?: IEventBusModuleService
EventBus?: IEventBusModuleService
}
// TODO: remove and cleanup bellow code