diff options
| author | FifthWit <fifthwitbusiness@gmail.com> | 2025-01-30 10:44:30 -0600 |
|---|---|---|
| committer | FifthWit <fifthwitbusiness@gmail.com> | 2025-01-30 10:44:30 -0600 |
| commit | e40f07211f5f15dcb138e2520a76d13afd3c0cfd (patch) | |
| tree | 46bad6a17e66d55a4a65088c0b6eb8c48641615a /frontend/src/types/Game.ts | |
| parent | added prettier for more consistency (diff) | |
| download | lphub-e40f07211f5f15dcb138e2520a76d13afd3c0cfd.tar.gz lphub-e40f07211f5f15dcb138e2520a76d13afd3c0cfd.tar.bz2 lphub-e40f07211f5f15dcb138e2520a76d13afd3c0cfd.zip | |
formatted with prettier
Diffstat (limited to 'frontend/src/types/Game.ts')
| -rw-r--r-- | frontend/src/types/Game.ts | 13 |
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 @@ | |||
| 1 | import type { Map } from '@customTypes/Map'; | 1 | import type { Map } from '@customTypes/Map'; |
| 2 | 2 | ||
| 3 | |||
| 4 | export interface Game { | 3 | export 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 | ||
| 12 | export interface GameChapters { | 11 | export interface GameChapters { |
| 13 | game: Game; | 12 | game: Game; |
| 14 | chapters: Chapter[]; | 13 | chapters: Chapter[]; |
| 15 | }; | 14 | } |
| 16 | 15 | ||
| 17 | export interface GameMaps { | 16 | export interface GameMaps { |
| 18 | game: Game; | 17 | game: Game; |
| 19 | maps: Map[]; | 18 | maps: Map[]; |
| 20 | }; | 19 | } |
| 21 | 20 | ||
| 22 | export interface Category { | 21 | export interface Category { |
| 23 | id: number; | 22 | id: number; |
| 24 | name: string; | 23 | name: string; |
| 25 | }; | 24 | } |
| 26 | 25 | ||
| 27 | interface Chapter { | 26 | interface 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 | ||
| 34 | export interface GameCategoryPortals { | 33 | export interface GameCategoryPortals { |
| 35 | category: Category; | 34 | category: Category; |
| 36 | portal_count: number; | 35 | portal_count: number; |
| 37 | }; | 36 | } |