From 9d952483f250a97cbeab4061fa1c4e68341b330f Mon Sep 17 00:00:00 2001 From: kartofen Date: Sun, 28 Aug 2022 23:22:15 +0300 Subject: posting thread and image works --- src/models/Thread.ts | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/models') 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 }; -- cgit v1.2.3