Commit Graph

3 Commits

Author SHA1 Message Date
Jiří Čermák
28e951aaa7 refactor: extend coin image sizes
- Currently, it was possible to generate coin images from Coingecko only in single size (24x24) in two image qualities (1x, 2x).
- Now it's possible to easily add additionally sizes to the `COIN_IMAGE_SIZES` or qualities to `COIN_IMAGE_QUALITIES`.
- This required to change the generated image name. I made sure to update all existing occurances, mainly the `getAssetLogoUrl` util to stay backwards compatible.

Coin image name:
```
 type OldCoinImageName = `${string}--{'' | '2x'}.webp`
 type NewCoinImageName = `${string}--${24 | 40}{'' | '2x'}.webp`
```
2025-11-07 07:30:42 +01:00
Peter Sanderson
abb41f8033 chore: remove glboal nx/workspace link scripts (it shall be run only globally) + resolve ugly igonores for devDependencies in import/no-extraneous-dependencies 2024-11-13 10:36:38 +01:00
Martin Vytick Vytrhlík
dc58bc5b65 feat(components): move getAssetLogoUrl to asset-utils 2024-11-01 13:16:12 +01:00