feat(medusa, stock-location, inventory): Allow modules to integrate with core (#2997)

* feat: module shared resources
This commit is contained in:
Carlos R. L. Rodrigues
2023-01-13 10:39:43 -03:00
committed by GitHub
parent b3e4be7208
commit 9dbccd9ca7
24 changed files with 577 additions and 327 deletions
@@ -1,3 +1,6 @@
import { EntityManager } from "typeorm"
export interface IEventBusService {
emit(event: string, data: any): Promise<void>
withTransaction(transactionManager?: EntityManager): this
}