From eae19bb1b047b3568e7a9a624b50e80886e56331 Mon Sep 17 00:00:00 2001
From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>
Date: Mon, 4 Nov 2024 13:47:50 +0300
Subject: feat/frontend: optimizing imports, file extensions (#230)

Co-authored-by: FifthWit <fifthwitbusiness@gmail.com>
---
 frontend/src/types/Profile.tsx | 63 ------------------------------------------
 1 file changed, 63 deletions(-)
 delete mode 100644 frontend/src/types/Profile.tsx

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

diff --git a/frontend/src/types/Profile.tsx b/frontend/src/types/Profile.tsx
deleted file mode 100644
index 2bb037c..0000000
--- a/frontend/src/types/Profile.tsx
+++ /dev/null
@@ -1,63 +0,0 @@
-import { Pagination } from "./Pagination";
-
-export interface UserShort {
-  steam_id: string;
-  user_name: string;
-  avatar_link: string;
-};
-
-export interface UserProfile {
-  profile: boolean;
-  steam_id: string;
-  user_name: string;
-  avatar_link: string;
-  country_code: string;
-  titles: UserProfileTitles[];
-  links: UserProfileLinks;
-  rankings: UserProfileRankings;
-  records: UserProfileRecords[];
-  pagination: Pagination;
-};
-
-interface UserProfileTitles {
-  name: string;
-  color: string;
-};
-
-interface UserProfileLinks {
-  p2sr: string;
-  steam: string;
-  youtube: string;
-  twitch: string;
-};
-
-interface UserProfileRankings {
-  overall: UserProfileRankingsDetail;
-  singleplayer: UserProfileRankingsDetail;
-  cooperative: UserProfileRankingsDetail;
-};
-
-interface UserProfileRecords {
-  game_id: number;
-  category_id: number;
-  map_id: number;
-  map_name: string;
-  map_wr_count: number;
-  placement: number;
-  scores: UserProfileRecordsScores[]
-};
-
-interface UserProfileRecordsScores {
-  record_id: number;
-  demo_id: string;
-  score_count: number;
-  score_time: number;
-  date: string;
-};
-
-interface UserProfileRankingsDetail {
-  rank: number;
-  completion_count: number;
-  completion_total: number;
-};
-
-- 
cgit v1.2.3

