From fa0856cedd846d82bcbd3f54dd491419b2c41910 Mon Sep 17 00:00:00 2001
From: Wolfboy248 <georgejvindkarlsen@gmail.com>
Date: Mon, 16 Sep 2024 18:13:12 +0200
Subject: refactor: rankings page

---
 frontend/src/types/Ranking.tsx | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

(limited to 'frontend/src/types/Ranking.tsx')

diff --git a/frontend/src/types/Ranking.tsx b/frontend/src/types/Ranking.tsx
index ad4d8ae..b3b26c6 100644
--- a/frontend/src/types/Ranking.tsx
+++ b/frontend/src/types/Ranking.tsx
@@ -6,8 +6,26 @@ export interface RankingType {
     total_score: number;
 }
 
+export interface SteamRankingType {
+    user_name: string;
+    avatar_link: string;
+    steam_id: string;
+    sp_score: number;
+    mp_score: number;
+    overall_score: number;
+    sp_rank: number;
+    mp_rank: number;
+    overall_rank: number;
+}
+
 export interface Ranking {
     rankings_overall: RankingType[];
     rankings_singleplayer: RankingType[];
     rankings_multiplayer: RankingType[];
+}
+
+export interface SteamRanking {
+    rankings_overall: SteamRankingType[];
+    rankings_singleplayer: SteamRankingType[];
+    rankings_multiplayer: SteamRankingType[];
 }
\ No newline at end of file
-- 
cgit v1.2.3

