aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/types/Chapters.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/types/Chapters.tsx')
-rw-r--r--frontend/src/types/Chapters.tsx19
1 files changed, 19 insertions, 0 deletions
diff --git a/frontend/src/types/Chapters.tsx b/frontend/src/types/Chapters.tsx
new file mode 100644
index 0000000..2c0afdd
--- /dev/null
+++ b/frontend/src/types/Chapters.tsx
@@ -0,0 +1,19 @@
1import { Game } from "./Game";
2import { Map } from "./Map";
3
4interface Chapter {
5 id: number;
6 name: string;
7 image: string;
8 is_disabled: boolean;
9}
10
11export interface GameChapter {
12 chapter: Chapter;
13 maps: Map[];
14}
15
16export interface GamesChapters {
17 game: Game;
18 chapters: Chapter[];
19} \ No newline at end of file