aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/types/Content.ts
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2024-11-04 13:47:50 +0300
committerGitHub <noreply@github.com>2024-11-04 13:47:50 +0300
commiteae19bb1b047b3568e7a9a624b50e80886e56331 (patch)
treeaa3215377fd1a7714e4c5763f9abf9d7dc7def2b /frontend/src/types/Content.ts
parentfix: remove insert trigger on users, check insert user on login err (#224) (diff)
downloadlphub-eae19bb1b047b3568e7a9a624b50e80886e56331.tar.gz
lphub-eae19bb1b047b3568e7a9a624b50e80886e56331.tar.bz2
lphub-eae19bb1b047b3568e7a9a624b50e80886e56331.zip
feat/frontend: optimizing imports, file extensions (#230)
Co-authored-by: FifthWit <fifthwitbusiness@gmail.com>
Diffstat (limited to 'frontend/src/types/Content.ts')
-rw-r--r--frontend/src/types/Content.ts24
1 files changed, 24 insertions, 0 deletions
diff --git a/frontend/src/types/Content.ts b/frontend/src/types/Content.ts
new file mode 100644
index 0000000..42a6917
--- /dev/null
+++ b/frontend/src/types/Content.ts
@@ -0,0 +1,24 @@
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};
19
20export interface UploadRunContent {
21 map_id: number;
22 host_demo: File | null;
23 partner_demo: File | null;
24};