From 8f5278eb443864910dd9c2131c992d71e3af2d20 Mon Sep 17 00:00:00 2001 From: kartofen Date: Fri, 26 Aug 2022 23:54:17 +0300 Subject: Big bang --- src/models/Thread.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/models/Thread.ts (limited to 'src/models') 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 +}; -- cgit v1.2.3