diff options
author | kartofen <mladenovnasko0@gmail.com> | 2022-08-26 23:54:17 +0300 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2022-08-26 23:54:17 +0300 |
commit | 8f5278eb443864910dd9c2131c992d71e3af2d20 (patch) | |
tree | d56d805fa010e4b10af7dec0ed359f218e859667 /src/models/Thread.ts |
Big bang
Diffstat (limited to 'src/models/Thread.ts')
-rw-r--r-- | src/models/Thread.ts | 19 |
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 +}; |