feat(medusa): Convert SwapService to TypeScript (#2000)

**What**
- refactor swap service to typescript
- reimplement legacy methods
- use enums instead of magic strings

RESOLVES CORE-396

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
Frane Polić
2022-09-05 15:37:47 +02:00
committed by GitHub
parent 546a963f7b
commit ba6416f095
14 changed files with 609 additions and 599 deletions

View File

@@ -178,7 +178,6 @@ describe("medusa-plugin-sendgrid", () => {
order: {
display_id: expect.any(Number),
id: expect.any(String),
display_id: expect.any(Number),
created_at: expect.any(Date),
updated_at: expect.any(Date),
customer_id: expect.any(String),