From e40f07211f5f15dcb138e2520a76d13afd3c0cfd Mon Sep 17 00:00:00 2001 From: FifthWit Date: Thu, 30 Jan 2025 10:44:30 -0600 Subject: formatted with prettier --- frontend/src/types/Profile.ts | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'frontend/src/types/Profile.ts') diff --git a/frontend/src/types/Profile.ts b/frontend/src/types/Profile.ts index 42e5c3e..8051ae5 100644 --- a/frontend/src/types/Profile.ts +++ b/frontend/src/types/Profile.ts @@ -1,10 +1,10 @@ -import type { Pagination } from "@customTypes/Pagination"; +import type { Pagination } from '@customTypes/Pagination'; export interface UserShort { steam_id: string; user_name: string; avatar_link: string; -}; +} export interface UserProfile { profile: boolean; @@ -17,25 +17,25 @@ export interface UserProfile { 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; @@ -44,8 +44,8 @@ interface UserProfileRecords { map_name: string; map_wr_count: number; placement: number; - scores: UserProfileRecordsScores[] -}; + scores: UserProfileRecordsScores[]; +} interface UserProfileRecordsScores { record_id: number; @@ -53,11 +53,10 @@ interface UserProfileRecordsScores { score_count: number; score_time: number; date: string; -}; +} interface UserProfileRankingsDetail { rank: number; completion_count: number; completion_total: number; -}; - +} -- cgit v1.2.3