feat(medusa): Simplify the transaction base service (#2007)
**What** Simplify the transaction base service. **How** In fact, it does not need to be template and reduce the extensibility as the type is internally enforce. Now, the type is deduced by this which can be any derived class.
This commit is contained in:
1 parent
cbe2b7f687
commit
79acc38a57
46 files changed
+82
-115
No files matched your search
@@ -7,13 +7,13 @@ import { ISearchService } from "../interfaces"
|
||||
|
||||
type InjectedDependencies = {
|
||||
eventBusService: EventBusService
|
||||
searchService: ISearchService<never>
|
||||
searchService: ISearchService
|
||||
productService: ProductService
|
||||
}
|
||||
|
||||
class SearchIndexingSubscriber {
|
||||
private readonly eventBusService_: EventBusService
|
||||
private readonly searchService_: ISearchService<never>
|
||||
private readonly searchService_: ISearchService
|
||||
private readonly productService_: ProductService
|
||||
|
||||
constructor({
|
||||
|
||||
Reference in new issue
Block a user