Initial commit

This commit is contained in:
ox42
2026-09-17 00:38:09 +02:00
commit 8d52481b65
29 changed files with 5232 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
export type SimpleCryptoCurrency = {
id: string;
name: string;
symbol: string;
slug: string;
logo: string;
description: string;
market_cap: number;
fully_diluted_market_cap: number;
circulating_supply: number;
total_supply: number;
max_supply: number;
infinite_supply: boolean;
price: number;
volume_24h: number;
percent_change_1h: number;
percent_change_24h: number;
percent_change_7d: number;
}
export type CryptoCurrencyHistory = {
history: Array<[price: number]>;
}
export type CryptocurrenciesListResponse = {
currencies: Array<SimpleCryptoCurrency>;
}
export type CryptocurrencyDetailsResponse = {
currency: SimpleCryptoCurrency & CryptoCurrencyHistory;
}