chore(types, utils): update the TSDocs of AbstractFulfillmentProviderService (#9349)

Updates the `AbstractFulfillmentProviderService` with TSDocs for more useful information and examples

Closes DOCS-950
This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-10-02 09:01:01 +00:00
1 parent 86badc6804
commit 7ce9121095
3 files changed
+370 -22

No files matched your search

@@ -1,4 +1,5 @@
import { AbstractFulfillmentProviderService } from "@medusajs/framework/utils"
import { FulfillmentOption } from "@medusajs/types"
// TODO rework type and DTO's
@@ -9,7 +10,7 @@ export class ManualFulfillmentService extends AbstractFulfillmentProviderService
super()
}
async getFulfillmentOptions(): Promise<Record<string, unknown>[]> {
async getFulfillmentOptions(): Promise<FulfillmentOption[]> {
return [
{
id: "manual-fulfillment",