aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/types/Content.tsx
blob: e6e0cb1927ce29aa6f4184c4ab4e5cd1c8ea9da5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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;
};

export interface UploadRunContent {
  map_id: number;
  host_demo: File | null;
  partner_demo: File | null;
  partner_id?: string;
};