docs: edits and fixes to commerce module docs (#7468)
Apply edits and fixes to the commerce modules docs
This commit is contained in:
@@ -6,7 +6,7 @@ import { TypeList } from "docs-ui"
|
||||
|
||||
# How to Create a File Provider Module
|
||||
|
||||
In this document, you’ll learn how to create a file provider module and the methods you must implement in it.
|
||||
In this document, you’ll learn how to create a file provider module and the methods you must implement in its main service.
|
||||
|
||||
---
|
||||
|
||||
@@ -18,9 +18,7 @@ Start by creating a new directory for your module. For example, `src/modules/my-
|
||||
|
||||
## 2. Create the File Provider Service
|
||||
|
||||
Create the file `src/modules/my-file/service.ts` that holds the implementation of the file service.
|
||||
|
||||
The File Provider Module's main service must extend the `AbstractFileProviderService` class imported from `@medusajs/utils`:
|
||||
Create the file `src/modules/my-file/service.ts` that holds the implementation of the module's main service. It must extend the `AbstractFileProviderService` class imported from `@medusajs/utils`:
|
||||
|
||||
```ts title="src/modules/my-file/service.ts"
|
||||
import { AbstractFileProviderService } from "@medusajs/utils"
|
||||
|
||||
Reference in New Issue
Block a user