aboutsummaryrefslogtreecommitdiff
path: root/src/models/Thread.ts
blob: 5960e11ee06b811242e26a8e16c744cc1584b474 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
export type Comment = {
    id: string;
    timestamp: number;
    content: string;
    image: string;
    imagetype: string //image or video
};

export type Thread = {
    id: string;
    timestamp: number;
    title: string;
    content: string;
    comments: Comment[];
    image: string;
    imagetype: string; //image or video
};