diff --git a/www/utils/packages/typedoc-generate-references/src/constants/merger-custom-options/auth-provider.ts b/www/utils/packages/typedoc-generate-references/src/constants/merger-custom-options/auth-provider.ts index eb17ab70e6..b636b5da9c 100644 --- a/www/utils/packages/typedoc-generate-references/src/constants/merger-custom-options/auth-provider.ts +++ b/www/utils/packages/typedoc-generate-references/src/constants/merger-custom-options/auth-provider.ts @@ -74,7 +74,13 @@ export default ModuleProvider(Modules.AUTH, { }) \`\`\` -This exports the module provider's definition, indicating that the \`MyAuthProviderService\` is the module provider's service.`, +This exports the module provider's definition, indicating that the \`MyAuthProviderService\` is the module provider's service. + + + +A fulfillment module provider can have export multiple provider services, where each are registered as a separate fulfillment provider. + +`, `## 4. Use Module Provider To use your Fulfillment Module Provider, add it to the \`providers\` array of the Fulfillment Module in \`medusa-config.ts\`: diff --git a/www/utils/packages/typedoc-generate-references/src/constants/merger-custom-options/notification.ts b/www/utils/packages/typedoc-generate-references/src/constants/merger-custom-options/notification.ts index 5a777a8474..30f057216a 100644 --- a/www/utils/packages/typedoc-generate-references/src/constants/merger-custom-options/notification.ts +++ b/www/utils/packages/typedoc-generate-references/src/constants/merger-custom-options/notification.ts @@ -77,7 +77,13 @@ export default ModuleProvider(Modules.NOTIFICATION, { }) \`\`\` -This exports the module provider's definition, indicating that the \`MyNotificationProviderService\` is the module provider's service.`, +This exports the module provider's definition, indicating that the \`MyNotificationProviderService\` is the module provider's service. + + + +A payment module provider can have export multiple provider services, where each are registered as a separate payment provider. + +`, `## 4. Use Module Provider To use your Payment Module Provider, add it to the \`providers\` array of the Payment Module in \`medusa-config.ts\`: diff --git a/www/utils/packages/typedoc-generate-references/src/constants/merger-custom-options/tax-provider.ts b/www/utils/packages/typedoc-generate-references/src/constants/merger-custom-options/tax-provider.ts index 3531407b9c..46a259a797 100644 --- a/www/utils/packages/typedoc-generate-references/src/constants/merger-custom-options/tax-provider.ts +++ b/www/utils/packages/typedoc-generate-references/src/constants/merger-custom-options/tax-provider.ts @@ -42,7 +42,7 @@ The rest of this guide always uses the \`src/modules/my-tax\` directory as an ex `, `## 2. Create the Tax Module Provider's Service -Create the file \`src/modules/my-tax/service.ts\` that holds the module provider's main service. It must extend the \`ITaxProvider\` class imported from \`@medusajs/framework/types\`: +Create the file \`src/modules/my-tax/service.ts\` that holds the module provider's main service. It must implement the \`ITaxProvider\` interface imported from \`@medusajs/framework/types\`: \`\`\`ts title="src/modules/my-tax/service.ts" import { ITaxProvider } from "@medusajs/framework/types" @@ -69,7 +69,13 @@ export default ModuleProvider(Modules.TAX, { }) \`\`\` -This exports the module provider's definition, indicating that the \`MyTaxProvider\` is the module provider's service.`, +This exports the module provider's definition, indicating that the \`MyTaxProvider\` is the module provider's service. + +