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

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
github-actions[bot]andolivermrbl authored and GitHub committed 2024-10-14 19:59:14 +02:00
1 parent f8e8b276bd
commit f2d662efca
61 files changed
+1345553 -1345196

No files matched your search

@@ -197,7 +197,7 @@ This exports the module's definition, indicating that the `MyFileProviderService
## 4. Use Module
To use your File Module Provider, add it to the `providers` array of the File Module:
To use your File Module Provider, add it to the `providers` array of the File Module in `medusa-config.ts`:
<Note>
@@ -205,15 +205,15 @@ The File Module accepts one provider only.
</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.FILE]: {
modules: [
{
resolve: "@medusajs/framework/file",
options: {
providers: [
@@ -227,7 +227,7 @@ module.exports = defineConfig({
],
},
},
}
]
})
```