From 0c1b1831392825556d9731f95561da2ef413dd4b Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Mon, 15 Feb 2021 14:51:32 -0500 Subject: added types --- src/types/types.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src') diff --git a/src/types/types.ts b/src/types/types.ts index 3c17cfa4..97471171 100644 --- a/src/types/types.ts +++ b/src/types/types.ts @@ -207,6 +207,7 @@ export type NotificationType = { }; export type TypeOfComment = 'Comment' | 'Thread'; + export type TypeOfNotification = // notification_object is undefined | 'DFT' @@ -222,3 +223,18 @@ export type TypeOfNotification = | 'MOM_3+' // notification_object is MomentType | 'MOM_FRIEND'; + +export type UniversityBadge = { + id: string; + name: string; + university: string; + category: string; +}; + +export type SuggestedPeopleDataType = { + user: ProfilePreviewType; + mutual_friends: ProfilePreviewType[]; + badges: UniversityBadge[]; + social_links: string[]; + suggested_people_url: string; +}; -- cgit v1.2.3-70-g09d2