aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/types/Content.tsx
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2024-09-03 00:08:53 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2024-09-03 00:08:53 +0300
commita65d6d9127c3fa7f6a8ecaec5d1ffd1f47c2bc98 (patch)
treeedf8630e9d6426124dd49854af0cb703ebc5b710 /frontend/src/types/Content.tsx
parentfix: revert to static homepage (#195) (diff)
downloadlphub-a65d6d9127c3fa7f6a8ecaec5d1ffd1f47c2bc98.tar.gz
lphub-a65d6d9127c3fa7f6a8ecaec5d1ffd1f47c2bc98.tar.bz2
lphub-a65d6d9127c3fa7f6a8ecaec5d1ffd1f47c2bc98.zip
refactor: port to typescript
Diffstat (limited to 'frontend/src/types/Content.tsx')
-rw-r--r--frontend/src/types/Content.tsx18
1 files changed, 18 insertions, 0 deletions
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 @@
1export interface ModMenuContent {
2 id: number;
3 name: string;
4 score: number;
5 date: string;
6 showcase: string;
7 description: string;
8 category_id: number;
9};
10
11export interface MapDiscussionContent {
12 title: string;
13 content: string;
14};
15
16export interface MapDiscussionCommentContent {
17 comment: string;
18};