aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/types/Ranking.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/types/Ranking.ts')
-rw-r--r--frontend/src/types/Ranking.ts40
1 files changed, 20 insertions, 20 deletions
diff --git a/frontend/src/types/Ranking.ts b/frontend/src/types/Ranking.ts
index a143355..06a5ca4 100644
--- a/frontend/src/types/Ranking.ts
+++ b/frontend/src/types/Ranking.ts
@@ -1,31 +1,31 @@
1import type { UserShort } from "@customTypes/Profile"; 1import type { UserShort } from '@customTypes/Profile';
2 2
3export interface RankingType { 3export interface RankingType {
4 placement: number; 4 placement: number;
5 user: UserShort; 5 user: UserShort;
6 total_score: number; 6 total_score: number;
7} 7}
8 8
9export interface SteamRankingType { 9export interface SteamRankingType {
10 user_name: string; 10 user_name: string;
11 avatar_link: string; 11 avatar_link: string;
12 steam_id: string; 12 steam_id: string;
13 sp_score: number; 13 sp_score: number;
14 mp_score: number; 14 mp_score: number;
15 overall_score: number; 15 overall_score: number;
16 sp_rank: number; 16 sp_rank: number;
17 mp_rank: number; 17 mp_rank: number;
18 overall_rank: number; 18 overall_rank: number;
19} 19}
20 20
21export interface Ranking { 21export interface Ranking {
22 rankings_overall: RankingType[]; 22 rankings_overall: RankingType[];
23 rankings_singleplayer: RankingType[]; 23 rankings_singleplayer: RankingType[];
24 rankings_multiplayer: RankingType[]; 24 rankings_multiplayer: RankingType[];
25} 25}
26 26
27export interface SteamRanking { 27export interface SteamRanking {
28 rankings_overall: SteamRankingType[]; 28 rankings_overall: SteamRankingType[];
29 rankings_singleplayer: SteamRankingType[]; 29 rankings_singleplayer: SteamRankingType[];
30 rankings_multiplayer: SteamRankingType[]; 30 rankings_multiplayer: SteamRankingType[];
31} \ No newline at end of file 31}