@@ -1,5 +1,6 @@
|
||||
import { MedusaContainer } from "../common"
|
||||
import { JoinerServiceConfig } from "../joiner"
|
||||
import { Logger } from "../logger"
|
||||
import { MedusaContainer } from "../common"
|
||||
import { RepositoryService } from "../dal"
|
||||
|
||||
export type Constructor<T> = new (...args: any[]) => T
|
||||
@@ -69,6 +70,11 @@ export type ModuleDefinition = {
|
||||
| ExternalModuleDeclaration
|
||||
}
|
||||
|
||||
export type LoadedModule = unknown & {
|
||||
__joinerConfig: JoinerServiceConfig
|
||||
__definition: ModuleDefinition
|
||||
}
|
||||
|
||||
export type LoaderOptions<TOptions = Record<string, unknown>> = {
|
||||
container: MedusaContainer
|
||||
options?: TOptions
|
||||
|
||||
@@ -8,4 +8,5 @@ export type Context<TManager = unknown> = {
|
||||
transactionManager?: TManager
|
||||
isolationLevel?: string
|
||||
enableNestedTransactions?: boolean
|
||||
transactionId?: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user