mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
feat: start on final design
This commit is contained in:
1 parent
298b89b227
commit
afa0cfaeef
21 files changed
+178
-116
No files matched your search
@@ -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;
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
export function normalizeLeagueIcon(url: string) {
|
||||
return url.startsWith('http') ? url : `https:${url}`;
|
||||
}
|
||||
Reference in new issue
Block a user