mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 11:17:05 +02:00
feat: session persistance
This commit is contained in:
1 parent
57f6e928b7
commit
018783bb47
12 files changed
+121
-29
No files matched your search
+11
-13
@@ -46,18 +46,16 @@ export interface ClanStats {
|
||||
dropped_capture_points: number;
|
||||
}
|
||||
|
||||
export type AccountInfo = {
|
||||
export interface AccountInfo {
|
||||
[accountId: number]: {
|
||||
statistics: {
|
||||
clan: ClanStats;
|
||||
all: AllStats;
|
||||
frags: null;
|
||||
};
|
||||
account_id: number;
|
||||
created_at: number;
|
||||
updated_at: number;
|
||||
private: null;
|
||||
last_battle_time: number;
|
||||
nickname: string;
|
||||
clan: ClanStats;
|
||||
all: AllStats;
|
||||
frags: null;
|
||||
};
|
||||
};
|
||||
account_id: number;
|
||||
created_at: number;
|
||||
updated_at: number;
|
||||
private: null;
|
||||
last_battle_time: number;
|
||||
nickname: string;
|
||||
}
|
||||
@@ -14,6 +14,10 @@ export interface IndividualTankStats {
|
||||
tank_id: number;
|
||||
}
|
||||
|
||||
export type TanksStats = {
|
||||
export interface TankStats {
|
||||
[accountId: number]: IndividualTankStats[];
|
||||
};
|
||||
}
|
||||
|
||||
export interface NormalizedTankStats {
|
||||
[tankId: number]: IndividualTankStats;
|
||||
}
|
||||
Reference in new issue
Block a user