48963f55ef
**What** Update the `MedusaService` class, factory and types to remove the concept of main modules. The idea being that all method will be explicitly named and suffixes to represent the object you are trying to manipulate. This pr also includes various fixes in different modules Co-authored-by: Stevche Radevski <4820812+sradevski@users.noreply.github.com> Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
16 lines
405 B
TypeScript
16 lines
405 B
TypeScript
import { ModuleExports } from "@medusajs/types"
|
|
import { FulfillmentModuleService } from "@services"
|
|
import loadProviders from "./loaders/providers"
|
|
|
|
const service = FulfillmentModuleService
|
|
const loaders = [loadProviders]
|
|
|
|
export const moduleDefinition: ModuleExports = {
|
|
service,
|
|
loaders,
|
|
}
|
|
export default moduleDefinition
|
|
|
|
// Module options types
|
|
export { FulfillmentModuleOptions } from "./types"
|