From edff87fdf77b32fd03ee26892226068a53fbfaa6 Mon Sep 17 00:00:00 2001
From: Wolfboy248 <121288977+Wolfboy248@users.noreply.github.com>
Date: Fri, 6 Sep 2024 13:05:39 +0200
Subject: refactor: rankings page

---
 frontend/src/types/Ranking.tsx | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 frontend/src/types/Ranking.tsx

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

diff --git a/frontend/src/types/Ranking.tsx b/frontend/src/types/Ranking.tsx
new file mode 100644
index 0000000..ad4d8ae
--- /dev/null
+++ b/frontend/src/types/Ranking.tsx
@@ -0,0 +1,13 @@
+import { UserShort } from "./Profile";
+
+export interface RankingType {
+    placement: number;
+    user: UserShort;
+    total_score: number;
+}
+
+export interface Ranking {
+    rankings_overall: RankingType[];
+    rankings_singleplayer: RankingType[];
+    rankings_multiplayer: RankingType[];
+}
\ No newline at end of file
-- 
cgit v1.2.3

