1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00
metamask-extension/ui/pages/swaps
Elliot Winkler 1304ec7af5
Convert shared/constants/metametrics to TS (#18353)
We want to convert NetworkController to TypeScript in order to be able
to compare differences in the controller between in this repo and the
core repo. To do this, however, we need to convert the dependencies of
the controller to TypeScript.

As a part of this effort, this commit converts
`shared/constants/metametrics` to TypeScript. Note that simple objects
have been largely replaced with enums. There are some cases where I even
split up some of these objects into multiple enums.

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2023-04-03 09:31:04 -06:00
..
__snapshots__
awaiting-signatures Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
awaiting-swap Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
build-quote Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
countdown-timer
create-new-swap Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
dropdown-input-pair
dropdown-search-list Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
exchange-rate-display
fee-card Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
import-token
loading-swaps-quotes Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
main-quote-summary
searchable-item-list Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
select-quote-popover
slippage-buttons
smart-transaction-status Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
swaps-footer
view-on-block-explorer Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
view-quote Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
index.js Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
index.scss
index.test.js
swaps-util-test-constants.js
swaps.util.test.js
swaps.util.ts