docs: rename provider module to module provider (#7869)

* docs: rename provider module to module provider

* fix vale rule

* vale fixes
This commit is contained in:
Shahed Nasser
2024-07-01 10:21:19 +03:00
committed by GitHub
parent 2833e3c4d0
commit 1842cd33cf
28 changed files with 117 additions and 117 deletions
@@ -1,16 +1,16 @@
export const metadata = {
title: `Fulfillment Provider Module`,
title: `Fulfillment Module Provider`,
}
# {metadata.title}
In this document, youll learn what a fulfillment provider module is.
In this document, youll learn what a fulfillment module provider is.
## Whats a Fulfillment Provider Module?
## Whats a Fulfillment Module Provider?
A fulfillment provider module handles fulfilling items, typically using a third-party integration.
A fulfillment module provider handles fulfilling items, typically using a third-party integration.
Fulfillment provider modules are stored and represented by the [FulfillmentProvider data model](/references/fulfillment/models/FulfillmentProvider).
Fulfillment module providers are stored and represented by the [FulfillmentProvider data model](/references/fulfillment/models/FulfillmentProvider).
---
@@ -24,4 +24,4 @@ Learn more about the `providers` option in [this documentation](../module-option
## How to Create a Fulfillment Provider?
Refer to [this guide](/references/fulfillment/provider) to learn how to create a fulfillment provider module.
Refer to [this guide](/references/fulfillment/provider) to learn how to create a fulfillment module provider.
@@ -14,7 +14,7 @@ In this document, you'll learn about the options of the Fulfillment Module.
## providers
The `providers` option is an array of fulfillment provider modules.
The `providers` option is an array of fulfillment module providers.
When the Medusa application starts, these providers are registered and can be used to process fulfillments.
@@ -51,6 +51,6 @@ module.exports = defineConfig({
The `providers` option is an array of objects that accept the following properties:
- `resolve`: A string indicating either the package name of the fulfillment provider module or the path to it relative to the `src` directory.
- `options`: An optional object of the fulfillment provider module's options. The object must have the following property:
- `config`: An object whose key is the ID of the fulfillment provider, and its value is an object of options to pass to the provider module.
- `resolve`: A string indicating either the package name of the module provider or the path to it relative to the `src` directory.
- `options`: An optional object of the module provider's options. The object must have the following property:
- `config`: An object whose key is the ID of the module provider, and its value is an object of options to pass to the module provider.