-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(fiatExchanges): cleanup types #6293
Conversation
export enum FiatExchangeFlow { | ||
CashIn = 'CashIn', | ||
CashOut = 'CashOut', | ||
Spend = 'Spend', | ||
} | ||
|
||
export enum CICOFlow { | ||
CashIn = 'CashIn', | ||
CashOut = 'CashOut', | ||
} | ||
|
||
export enum PaymentMethod { | ||
Bank = 'Bank', | ||
Card = 'Card', | ||
Coinbase = 'Coinbase', | ||
MobileMoney = 'MobileMoney', // legacy mobile money | ||
FiatConnectMobileMoney = 'FiatConnectMobileMoney', | ||
Airtime = 'Airtime', | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved to ./types
url: string | ||
} | ||
|
||
export type SimplexQuote = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved to ./types
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6293 +/- ##
==========================================
- Coverage 89.02% 89.01% -0.01%
==========================================
Files 739 739
Lines 31610 31607 -3
Branches 5571 5879 +308
==========================================
- Hits 28140 28135 -5
- Misses 3425 3427 +2
Partials 45 45
... and 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Description
Moved types from fiatExchanges/utils to fiatExchanges/types and removed unused types. Left some legacy types that will be removed soon in utils
Test plan
CI
Related issues
Backwards compatibility
Yes
Network scalability
N/A