docs: edits and fixes to commerce module docs (#7468)

Apply edits and fixes to the commerce modules docs
This commit is contained in:
Shahed Nasser
2024-05-29 14:08:06 +03:00
committed by GitHub
parent 130de74d6d
commit 2c5ba408d4
160 changed files with 6400 additions and 3790 deletions

View File

@@ -6,7 +6,7 @@ import { TypeList } from "docs-ui"
# How to Create a File Provider Module
In this document, youll learn how to create a file provider module and the methods you must implement in it.
In this document, youll 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"