diff options
Diffstat (limited to 'frontend/src/types')
| -rw-r--r-- | frontend/src/types/Chapters.ts | 4 | ||||
| -rw-r--r-- | frontend/src/types/Game.ts | 2 | ||||
| -rw-r--r-- | frontend/src/types/Map.ts | 10 | ||||
| -rw-r--r-- | frontend/src/types/Profile.ts | 2 | ||||
| -rw-r--r-- | frontend/src/types/Ranking.ts | 2 | ||||
| -rw-r--r-- | frontend/src/types/Search.ts | 2 |
6 files changed, 11 insertions, 11 deletions
diff --git a/frontend/src/types/Chapters.ts b/frontend/src/types/Chapters.ts index 8924b97..5b494ca 100644 --- a/frontend/src/types/Chapters.ts +++ b/frontend/src/types/Chapters.ts | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | import type { Game } from '@customTypes/Game'; | 1 | import type { Game } from "@customTypes/Game"; |
| 2 | import type { Map } from '@customTypes/Map'; | 2 | import type { Map } from "@customTypes/Map"; |
| 3 | 3 | ||
| 4 | interface Chapter { | 4 | interface Chapter { |
| 5 | id: number; | 5 | id: number; |
diff --git a/frontend/src/types/Game.ts b/frontend/src/types/Game.ts index be2cd73..0e7dc80 100644 --- a/frontend/src/types/Game.ts +++ b/frontend/src/types/Game.ts | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | import type { Map } from '@customTypes/Map'; | 1 | import type { Map } from "@customTypes/Map"; |
| 2 | 2 | ||
| 3 | export interface Game { | 3 | export interface Game { |
| 4 | id: number; | 4 | id: number; |
diff --git a/frontend/src/types/Map.ts b/frontend/src/types/Map.ts index 6bc6369..6a42c2a 100644 --- a/frontend/src/types/Map.ts +++ b/frontend/src/types/Map.ts | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | import type { Category, GameCategoryPortals } from '@customTypes/Game'; | 1 | import type { Category, GameCategoryPortals } from "@customTypes/Game"; |
| 2 | import type { Pagination } from '@customTypes/Pagination'; | 2 | import type { Pagination } from "@customTypes/Pagination"; |
| 3 | import type { UserShort } from '@customTypes/Profile'; | 3 | import type { UserShort } from "@customTypes/Profile"; |
| 4 | 4 | ||
| 5 | export interface Map { | 5 | export interface Map { |
| 6 | id: number; | 6 | id: number; |
| @@ -44,7 +44,7 @@ export interface MapLeaderboard { | |||
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | export interface MapLeaderboardRecordSingleplayer { | 46 | export interface MapLeaderboardRecordSingleplayer { |
| 47 | kind: 'singleplayer'; | 47 | kind: "singleplayer"; |
| 48 | placement: number; | 48 | placement: number; |
| 49 | record_id: number; | 49 | record_id: number; |
| 50 | score_count: number; | 50 | score_count: number; |
| @@ -55,7 +55,7 @@ export interface MapLeaderboardRecordSingleplayer { | |||
| 55 | } | 55 | } |
| 56 | 56 | ||
| 57 | export interface MapLeaderboardRecordMultiplayer { | 57 | export interface MapLeaderboardRecordMultiplayer { |
| 58 | kind: 'multiplayer'; | 58 | kind: "multiplayer"; |
| 59 | placement: number; | 59 | placement: number; |
| 60 | record_id: number; | 60 | record_id: number; |
| 61 | score_count: number; | 61 | score_count: number; |
diff --git a/frontend/src/types/Profile.ts b/frontend/src/types/Profile.ts index 8051ae5..3c83d29 100644 --- a/frontend/src/types/Profile.ts +++ b/frontend/src/types/Profile.ts | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | import type { Pagination } from '@customTypes/Pagination'; | 1 | import type { Pagination } from "@customTypes/Pagination"; |
| 2 | 2 | ||
| 3 | export interface UserShort { | 3 | export interface UserShort { |
| 4 | steam_id: string; | 4 | steam_id: string; |
diff --git a/frontend/src/types/Ranking.ts b/frontend/src/types/Ranking.ts index 06a5ca4..800f4be 100644 --- a/frontend/src/types/Ranking.ts +++ b/frontend/src/types/Ranking.ts | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | import type { UserShort } from '@customTypes/Profile'; | 1 | import type { UserShort } from "@customTypes/Profile"; |
| 2 | 2 | ||
| 3 | export interface RankingType { | 3 | export interface RankingType { |
| 4 | placement: number; | 4 | placement: number; |
diff --git a/frontend/src/types/Search.ts b/frontend/src/types/Search.ts index 48b9169..b258ee3 100644 --- a/frontend/src/types/Search.ts +++ b/frontend/src/types/Search.ts | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | import type { UserShort } from '@customTypes/Profile'; | 1 | import type { UserShort } from "@customTypes/Profile"; |
| 2 | 2 | ||
| 3 | export interface Search { | 3 | export interface Search { |
| 4 | players: UserShort[]; | 4 | players: UserShort[]; |