chore(docs): Generated References (automated) (#9567)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
f8e8b276bd
commit
f2d662efca
+6
-6
@@ -150,7 +150,7 @@ This exports the module's definition, indicating that the `MyNotificationProvide
|
||||
|
||||
## 4. Use Module
|
||||
|
||||
To use your Notification Module Provider, add it to the `providers` array of the Notification Module:
|
||||
To use your Notification Module Provider, add it to the `providers` array of the Notification Module in `medusa-config.ts`:
|
||||
|
||||
<Note>
|
||||
|
||||
@@ -158,15 +158,15 @@ The Notification Module accepts one provider per channel.
|
||||
|
||||
</Note>
|
||||
|
||||
```js title="medusa-config.js"
|
||||
const { Modules } = require("@medusajs/framework/utils")
|
||||
```ts title="medusa-config.ts"
|
||||
import { Modules } from "@medusajs/framework/utils"
|
||||
|
||||
// ...
|
||||
|
||||
module.exports = defineConfig({
|
||||
// ...
|
||||
modules: {
|
||||
[Modules.NOTIFICATION]: {
|
||||
modules: [
|
||||
{
|
||||
resolve: "@medusajs/framework/notification",
|
||||
options: {
|
||||
providers: [
|
||||
@@ -181,7 +181,7 @@ module.exports = defineConfig({
|
||||
],
|
||||
},
|
||||
},
|
||||
}
|
||||
]
|
||||
})
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user