From dea41ea59c558068078c98dd1758cdba2beceda8 Mon Sep 17 00:00:00 2001
From: Wolfboy248 <121288977+Wolfboy248@users.noreply.github.com>
Date: Thu, 5 Sep 2024 16:48:01 +0200
Subject: refactor: maplist page

---
 frontend/src/types/Chapters.tsx | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 frontend/src/types/Chapters.tsx

(limited to 'frontend/src/types/Chapters.tsx')

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 @@
+import { Game } from "./Game";
+import { Map } from "./Map";
+
+interface Chapter {
+    id: number;
+    name: string;
+    image: string;
+    is_disabled: boolean;
+}
+
+export interface GameChapter {
+    chapter: Chapter;
+    maps: Map[];
+}
+
+export interface GamesChapters {
+    game: Game;
+    chapters: Chapter[];
+}
\ No newline at end of file
-- 
cgit v1.2.3

