feat(core-flows,fulfillment, fulfillment-manual, types): make fulfillment typings more specific (#10677)

**What**
- attempt to add more specific type definitions around fulfillment provider APIs

---

CLOSES CMRC-814
CLOSES CMRC-816
CLOSES CMRC-817
This commit is contained in:
Frane Polić authored and GitHub committed 2025-01-07 08:08:45 +00:00
1 parent 333ed538f5
commit 16b0672f8a
12 files changed
+1358 -68

No files matched your search

@@ -41,7 +41,10 @@ export class ManualFulfillmentService extends AbstractFulfillmentProviderService
async createFulfillment() {
// No data is being sent anywhere
return {}
return {
data: {},
labels: [],
}
}
async cancelFulfillment() {
@@ -49,6 +52,6 @@ export class ManualFulfillmentService extends AbstractFulfillmentProviderService
}
async createReturnFulfillment() {
return {}
return { data: {}, labels: [] }
}
}