diff options
author | Ivan Chen <ivan@tagg.id> | 2021-02-15 14:51:32 -0500 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-02-18 14:28:09 -0500 |
commit | 0c1b1831392825556d9731f95561da2ef413dd4b (patch) | |
tree | 1b9558b2c7d9e7084872224a3e90fd94956782e8 | |
parent | 2bb7b351a0e509beb9e6d87364471599af402db2 (diff) |
added types
-rw-r--r-- | src/types/types.ts | 16 |
1 files changed, 16 insertions, 0 deletions
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; +}; |