From a65d6d9127c3fa7f6a8ecaec5d1ffd1f47c2bc98 Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Tue, 3 Sep 2024 00:08:53 +0300 Subject: refactor: port to typescript --- frontend/src/types/Content.tsx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 frontend/src/types/Content.tsx (limited to 'frontend/src/types/Content.tsx') diff --git a/frontend/src/types/Content.tsx b/frontend/src/types/Content.tsx new file mode 100644 index 0000000..e593505 --- /dev/null +++ b/frontend/src/types/Content.tsx @@ -0,0 +1,18 @@ +export interface ModMenuContent { + id: number; + name: string; + score: number; + date: string; + showcase: string; + description: string; + category_id: number; +}; + +export interface MapDiscussionContent { + title: string; + content: string; +}; + +export interface MapDiscussionCommentContent { + comment: string; +}; -- cgit v1.2.3