aboutsummaryrefslogtreecommitdiff
path: root/src/models
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2022-08-26 23:54:17 +0300
committerkartofen <mladenovnasko0@gmail.com>2022-08-26 23:54:17 +0300
commit8f5278eb443864910dd9c2131c992d71e3af2d20 (patch)
treed56d805fa010e4b10af7dec0ed359f218e859667 /src/models
Big bang
Diffstat (limited to 'src/models')
-rw-r--r--src/models/Thread.ts19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/models/Thread.ts b/src/models/Thread.ts
new file mode 100644
index 0000000..e5d9f66
--- /dev/null
+++ b/src/models/Thread.ts
@@ -0,0 +1,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
+};