aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/types/Game.ts
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/types/Game.ts')
-rw-r--r--frontend/src/types/Game.ts13
1 files changed, 6 insertions, 7 deletions
diff --git a/frontend/src/types/Game.ts b/frontend/src/types/Game.ts
index 1a80341..be2cd73 100644
--- a/frontend/src/types/Game.ts
+++ b/frontend/src/types/Game.ts
@@ -1,37 +1,36 @@
1import type { Map } from '@customTypes/Map'; 1import type { Map } from '@customTypes/Map';
2 2
3
4export interface Game { 3export interface Game {
5 id: number; 4 id: number;
6 name: string; 5 name: string;
7 image: string; 6 image: string;
8 is_coop: boolean; 7 is_coop: boolean;
9 category_portals: GameCategoryPortals[]; 8 category_portals: GameCategoryPortals[];
10}; 9}
11 10
12export interface GameChapters { 11export interface GameChapters {
13 game: Game; 12 game: Game;
14 chapters: Chapter[]; 13 chapters: Chapter[];
15}; 14}
16 15
17export interface GameMaps { 16export interface GameMaps {
18 game: Game; 17 game: Game;
19 maps: Map[]; 18 maps: Map[];
20}; 19}
21 20
22export interface Category { 21export interface Category {
23 id: number; 22 id: number;
24 name: string; 23 name: string;
25}; 24}
26 25
27interface Chapter { 26interface Chapter {
28 id: number; 27 id: number;
29 name: string; 28 name: string;
30 image: string; 29 image: string;
31 is_disabled: boolean; 30 is_disabled: boolean;
32}; 31}
33 32
34export interface GameCategoryPortals { 33export interface GameCategoryPortals {
35 category: Category; 34 category: Category;
36 portal_count: number; 35 portal_count: number;
37}; 36}