diff options
author | kartofen <mladenovnasko0@gmail.com> | 2022-10-23 21:34:48 +0300 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2022-10-23 21:34:48 +0300 |
commit | 747097af03e422c72c2fe0065637e59a1685d219 (patch) | |
tree | 6b965e4c5d4ee812d104c3537866f2e3b5e27376 /src/models/Thread.ts |
nearly completed, forgot to make a repo
Diffstat (limited to 'src/models/Thread.ts')
-rw-r--r-- | src/models/Thread.ts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/models/Thread.ts b/src/models/Thread.ts new file mode 100644 index 0000000..5960e11 --- /dev/null +++ b/src/models/Thread.ts @@ -0,0 +1,17 @@ +export type Comment = { + id: string; + timestamp: number; + content: string; + image: string; + imagetype: string //image or video +}; + +export type Thread = { + id: string; + timestamp: number; + title: string; + content: string; + comments: Comment[]; + image: string; + imagetype: string; //image or video +}; |