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/Chapters.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/Chapters.ts')
| -rw-r--r-- | frontend/src/types/Chapters.ts | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/frontend/src/types/Chapters.ts b/frontend/src/types/Chapters.ts index 1d48306..8924b97 100644 --- a/frontend/src/types/Chapters.ts +++ b/frontend/src/types/Chapters.ts | |||
| @@ -1,19 +1,19 @@ | |||
| 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; |
| 6 | name: string; | 6 | name: string; |
| 7 | image: string; | 7 | image: string; |
| 8 | is_disabled: boolean; | 8 | is_disabled: boolean; |
| 9 | } | 9 | } |
| 10 | 10 | ||
| 11 | export interface GameChapter { | 11 | export interface GameChapter { |
| 12 | chapter: Chapter; | 12 | chapter: Chapter; |
| 13 | maps: Map[]; | 13 | maps: Map[]; |
| 14 | } | 14 | } |
| 15 | 15 | ||
| 16 | export interface GamesChapters { | 16 | export interface GamesChapters { |
| 17 | game: Game; | 17 | game: Game; |
| 18 | chapters: Chapter[]; | 18 | chapters: Chapter[]; |
| 19 | } \ No newline at end of file | 19 | } |