aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/types/Game.tsx
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2024-11-04 13:47:50 +0300
committerGitHub <noreply@github.com>2024-11-04 13:47:50 +0300
commiteae19bb1b047b3568e7a9a624b50e80886e56331 (patch)
treeaa3215377fd1a7714e4c5763f9abf9d7dc7def2b /frontend/src/types/Game.tsx
parentfix: remove insert trigger on users, check insert user on login err (#224) (diff)
downloadlphub-eae19bb1b047b3568e7a9a624b50e80886e56331.tar.gz
lphub-eae19bb1b047b3568e7a9a624b50e80886e56331.tar.bz2
lphub-eae19bb1b047b3568e7a9a624b50e80886e56331.zip
feat/frontend: optimizing imports, file extensions (#230)
Co-authored-by: FifthWit <fifthwitbusiness@gmail.com>
Diffstat (limited to 'frontend/src/types/Game.tsx')
-rw-r--r--frontend/src/types/Game.tsx37
1 files changed, 0 insertions, 37 deletions
diff --git a/frontend/src/types/Game.tsx b/frontend/src/types/Game.tsx
deleted file mode 100644
index eb435f6..0000000
--- a/frontend/src/types/Game.tsx
+++ /dev/null
@@ -1,37 +0,0 @@
1import { Map } from './Map';
2
3
4export interface Game {
5 id: number;
6 name: string;
7 image: string;
8 is_coop: boolean;
9 category_portals: GameCategoryPortals[];
10};
11
12export interface GameChapters {
13 game: Game;
14 chapters: Chapter[];
15};
16
17export interface GameMaps {
18 game: Game;
19 maps: Map[];
20};
21
22export interface Category {
23 id: number;
24 name: string;
25};
26
27interface Chapter {
28 id: number;
29 name: string;
30 image: string;
31 is_disabled: boolean;
32};
33
34export interface GameCategoryPortals {
35 category: Category;
36 portal_count: number;
37};