This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
95 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
packages/wargaming/world-of-tanks/src/interfaces/user/result.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { WOTUserResolve } from './user-return' | ||
|
||
interface QueryResult { | ||
status: string, | ||
meta: { | ||
count: number | ||
}, | ||
data: WOTUserResolve[] | ||
} | ||
|
||
export { QueryResult } |
84 changes: 84 additions & 0 deletions
84
packages/wargaming/world-of-tanks/src/interfaces/user/user-return.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
interface WOTUserResolve { | ||
|
||
last_battle_time: number | null, | ||
account_id: number | null, | ||
created_at: number | null, | ||
global_rating: number | null, | ||
clan_id: number | null, | ||
statistics: { | ||
clan: { | ||
spotted: number | null, | ||
battles_on_stunning_vehicles: number | null, | ||
avg_damage_blocked: number | null, | ||
direct_hits_received: number | null, | ||
explosion_hits: number | null, | ||
piercings_received: number | null, | ||
piercings: number | null, | ||
xp: number | null, | ||
survived_battles: number | null, | ||
dropped_capture_points: number | null, | ||
hits_percents: number | null, | ||
draws: number | null, | ||
battles: number | null, | ||
damage_received: number | null, | ||
avg_damage_assisted: number | null, | ||
avg_damage_assisted_track: number | null, | ||
frags: number | null, | ||
stun_number: number | null, | ||
avg_damage_assisted_radio: number | null, | ||
capture_points: number | null, | ||
stun_assisted_damage: number | null, | ||
hits: number | null, | ||
battle_avg_xp: number | null, | ||
wins: number | null, | ||
losses: number | null, | ||
damage_dealt: number | null, | ||
no_damage_direct_hits_received: number | null, | ||
shots: number | null, | ||
explosion_hits_received: number | null, | ||
tanking_factor: number | null | ||
}, | ||
all: { | ||
spotted: number | null, | ||
battles_on_stunning_vehicles: number | null, | ||
max_xp: number | null, | ||
avg_damage_blocked: number | null, | ||
direct_hits_received: number | null, | ||
explosion_hits: number | null, | ||
piercings_received: number | null, | ||
piercings: number | null, | ||
max_damage_tank_id: number | null, | ||
xp: number | null, | ||
survived_battles: number | null, | ||
dropped_capture_points: number | null, | ||
hits_percents: number | null, | ||
draws: number | null, | ||
max_xp_tank_id: number | null, | ||
battles: number | null, | ||
damage_received: number | null, | ||
avg_damage_assisted: number | null, | ||
max_frags_tank_id: number | null, | ||
avg_damage_assisted_track: number | null, | ||
frags: number | null, | ||
stun_number: number | null, | ||
avg_damage_assisted_radio: number | null, | ||
capture_points: number | null, | ||
stun_assisted_damage: number | null, | ||
max_damage: number | null, | ||
hits: number | null, | ||
battle_avg_xp: number | null, | ||
wins: number | null, | ||
losses: number | null, | ||
damage_dealt: number | null, | ||
no_damage_direct_hits_received: number | null, | ||
max_frags: number | null, | ||
shots: number | null, | ||
explosion_hits_received: number | null, | ||
tanking_factor: number | null | ||
}, | ||
trees_cut: number | null | ||
}, | ||
nickname: string | null | ||
} | ||
|
||
export { WOTUserResolve } |