aboutsummaryrefslogtreecommitdiff
path: root/src/models
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2022-08-28 23:22:15 +0300
committerkartofen <mladenovnasko0@gmail.com>2022-08-28 23:22:15 +0300
commit9d952483f250a97cbeab4061fa1c4e68341b330f (patch)
tree9d094911dc5178db9375eaa661e7f4bf0d5bf2cc /src/models
parent35b06b4fc851192916e000ad5e7e2f458846448c (diff)
posting thread and image works
Diffstat (limited to 'src/models')
-rw-r--r--src/models/Thread.ts28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/models/Thread.ts b/src/models/Thread.ts
index e5d9f66..c31404f 100644
--- a/src/models/Thread.ts
+++ b/src/models/Thread.ts
@@ -1,19 +1,19 @@
export type Comment = {
- id: string;
- commentCreator: string;
- commentText: string;
- creationDate: number;
- imageId: string;
- fileType: string //image or video
+ 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
+ id: string;
+ threadName: string;
+ threadCreator: string;
+ threadText: string;
+ comments: Comment[];
+ creationDate: number;
+ imageId: string;
+ fileType: string; //image or video
};