aboutsummaryrefslogtreecommitdiff
path: root/src/models/Thread.ts
blob: c31404f6acbb3273759092881499d06bc425225d (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
};