1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 20:39:08 +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 feature: migrate design-system.ts (#17518) 2023-02-02 20:15:26 +00:00
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 feature: migrate design-system.ts (#17518) 2023-02-02 20:15:26 +00:00
smart-transaction-status Convert shared/constants/metametrics to TS (#18353) 2023-04-03 09:31:04 -06:00
swaps-footer Add hardcoded list of human-readable snap names (#17595) 2023-02-06 11:05:57 +01:00
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 Use tokenList to get token details, when available, in getTokenStanda… (#17891) 2023-03-08 14:05:45 -03:30