From 5f7e1a301876742bda52d5a5ec3f3fa839558ce6 Mon Sep 17 00:00:00 2001 From: Matt Kirby <MattJKirby@outlook.com> Date: Tue, 14 Mar 2023 21:37:45 +0000 Subject: [PATCH] Added Post type --- daily-thought-frontend/src/types/post.ts | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 daily-thought-frontend/src/types/post.ts diff --git a/daily-thought-frontend/src/types/post.ts b/daily-thought-frontend/src/types/post.ts new file mode 100644 index 00000000..3c32f436 --- /dev/null +++ b/daily-thought-frontend/src/types/post.ts @@ -0,0 +1,8 @@ +import { User } from "./user" + +export type Post = { + User: User; + Content: string; + Timestamp: string; + Likes: User[]; +} \ No newline at end of file -- GitLab