chore(docs): Generated References (automated) (#8207)
Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
5def252e4b
commit
9173dd4f5d
@@ -120,14 +120,13 @@ Create the file `src/modules/my-notification/index.ts` with the following conten
|
||||
|
||||
```ts title="src/modules/my-notification/index.ts"
|
||||
import MyNotificationProviderService from "./service"
|
||||
import { Module } from "@medusajs/utils"
|
||||
|
||||
export default Module("my-notification", {
|
||||
service: MyNotificationProviderService,
|
||||
})
|
||||
export default {
|
||||
services: [MyNotificationProviderService],
|
||||
}
|
||||
```
|
||||
|
||||
This exports the module's definition, indicating that the `MyNotificationProviderService` is the main service of the module.
|
||||
This exports the module's definition, indicating that the `MyNotificationProviderService` is the module's service.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user