diff options
Diffstat (limited to 'src')
-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; +}; |