aboutsummaryrefslogtreecommitdiff
path: root/src/models/Thread.ts
blob: e5d9f66b62a9d0e8faee834edad7e68d5482b2d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
export type Comment = {
    id: string;
    commentCreator: string;
    commentText: string;
    creationDate: number;
    imageId: string;
    fileType: string //image or video
};

export type Thread = {
    id: string;
    threadName: string;
    threadCreator: string;
    threadText: string;
    comments: Comment[];
    creationDate: number;
    imageId: string;
    fileType: string; //image or video
};