chore(docs): Generated References (automated) (#7961)

Co-authored-by: kodiakhq <kodiakhq@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-07-05 09:55:39 +02:00
committed by GitHub
parent 8c30f0a54d
commit ca9ba9e688
128 changed files with 1221 additions and 133 deletions

View File

@@ -120,10 +120,11 @@ 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 {
export default Module("my-notification", {
service: MyNotificationProviderService,
}
})
```
This exports the module's definition, indicating that the `MyNotificationProviderService` is the main service of the module.
@@ -154,13 +155,10 @@ module.exports = defineConfig({
providers: [
{
resolve: "./modules/my-notification",
id: "my-notification",
options: {
config: {
"my-notification": {
channels: ["email"],
// provider options...
},
},
channels: ["email"],
// provider options...
},
},
],