chore: Refactor and improve abstract module service factory (#7688)
* chore: Refactor and improve abstract module service factory * align naming * clean up some template args and tests * partially migrate modules * partially migrate modules * migrate more modules * migrate last modules * fix typings * rename interface * rename interface * fixes * fixes * rm local plain tests
This commit is contained in:
@@ -6,7 +6,7 @@ export default async ({ container }: LoaderOptions): Promise<void> => {
|
||||
// TODO: Add default logger to the container when running tests
|
||||
const logger =
|
||||
container.resolve<Logger>(ContainerRegistrationKeys.LOGGER) ?? console
|
||||
const countryService_: ModulesSdkTypes.InternalModuleService<Country> =
|
||||
const countryService_: ModulesSdkTypes.IMedusaInternalService<Country> =
|
||||
container.resolve("countryService")
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user