feat: start on final design

This commit is contained in:
TrèsAbhi committed 2024-03-24 22:06:48 -05:00
1 parent 298b89b227
commit afa0cfaeef
21 files changed
+178 -116

No files matched your search

+1 -12
View File
@@ -23,22 +23,11 @@ export interface AllStats {
dropped_capture_points: number;
}
export interface SupplementaryStatsRandom {
type: 'random';
export interface SupplementaryStats {
WN8?: number;
tier?: number;
}
export interface SupplementaryStatsRating {
type: 'rating';
score: number;
delta: number;
}
export type SupplementaryStats =
| SupplementaryStatsRandom
| SupplementaryStatsRating;
export interface ClanStats {
spotted: number;
max_frags_tank_id: number;
+3
View File
@@ -0,0 +1,3 @@
export function normalizeLeagueIcon(url: string) {
return url.startsWith('http') ? url : `https:${url}`;
}