diff options
Diffstat (limited to 'frontend/src/types')
| -rw-r--r-- | frontend/src/types/Chapters.ts (renamed from frontend/src/types/Chapters.tsx) | 4 | ||||
| -rw-r--r-- | frontend/src/types/Content.ts (renamed from frontend/src/types/Content.tsx) | 0 | ||||
| -rw-r--r-- | frontend/src/types/Game.ts (renamed from frontend/src/types/Game.tsx) | 2 | ||||
| -rw-r--r-- | frontend/src/types/Map.ts (renamed from frontend/src/types/Map.tsx) | 6 | ||||
| -rw-r--r-- | frontend/src/types/Pagination.ts (renamed from frontend/src/types/Pagination.tsx) | 0 | ||||
| -rw-r--r-- | frontend/src/types/Profile.ts (renamed from frontend/src/types/Profile.tsx) | 2 | ||||
| -rw-r--r-- | frontend/src/types/Ranking.ts (renamed from frontend/src/types/Ranking.tsx) | 2 | ||||
| -rw-r--r-- | frontend/src/types/Search.ts (renamed from frontend/src/types/Search.tsx) | 2 |
8 files changed, 9 insertions, 9 deletions
diff --git a/frontend/src/types/Chapters.tsx b/frontend/src/types/Chapters.ts index 2c0afdd..1d48306 100644 --- a/frontend/src/types/Chapters.tsx +++ b/frontend/src/types/Chapters.ts | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | import { Game } from "./Game"; | 1 | import type { Game } from "@customTypes/Game"; |
| 2 | import { Map } from "./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/Content.tsx b/frontend/src/types/Content.ts index 42a6917..42a6917 100644 --- a/frontend/src/types/Content.tsx +++ b/frontend/src/types/Content.ts | |||
diff --git a/frontend/src/types/Game.tsx b/frontend/src/types/Game.ts index eb435f6..1a80341 100644 --- a/frontend/src/types/Game.tsx +++ b/frontend/src/types/Game.ts | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | import { Map } from './Map'; | 1 | import type { Map } from '@customTypes/Map'; |
| 2 | 2 | ||
| 3 | 3 | ||
| 4 | export interface Game { | 4 | export interface Game { |
diff --git a/frontend/src/types/Map.tsx b/frontend/src/types/Map.ts index 4669e8b..89c66d5 100644 --- a/frontend/src/types/Map.tsx +++ b/frontend/src/types/Map.ts | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | import { Category, GameCategoryPortals } from './Game'; | 1 | import type { Category, GameCategoryPortals } from '@customTypes/Game'; |
| 2 | import { Pagination } from './Pagination'; | 2 | import type { Pagination } from '@customTypes/Pagination'; |
| 3 | import { UserShort } from './Profile'; | 3 | import type { UserShort } from '@customTypes/Profile'; |
| 4 | 4 | ||
| 5 | export interface Map { | 5 | export interface Map { |
| 6 | id: number; | 6 | id: number; |
diff --git a/frontend/src/types/Pagination.tsx b/frontend/src/types/Pagination.ts index ccff04b..ccff04b 100644 --- a/frontend/src/types/Pagination.tsx +++ b/frontend/src/types/Pagination.ts | |||
diff --git a/frontend/src/types/Profile.tsx b/frontend/src/types/Profile.ts index 2bb037c..42e5c3e 100644 --- a/frontend/src/types/Profile.tsx +++ b/frontend/src/types/Profile.ts | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | import { Pagination } from "./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.tsx b/frontend/src/types/Ranking.ts index b3b26c6..a143355 100644 --- a/frontend/src/types/Ranking.tsx +++ b/frontend/src/types/Ranking.ts | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | import { UserShort } from "./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.tsx b/frontend/src/types/Search.ts index 766311a..d218806 100644 --- a/frontend/src/types/Search.tsx +++ b/frontend/src/types/Search.ts | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | import { UserShort } from "./Profile"; | 1 | import type { UserShort } from "@customTypes/Profile"; |
| 2 | 2 | ||
| 3 | export interface Search { | 3 | export interface Search { |
| 4 | players: UserShort[]; | 4 | players: UserShort[]; |