diff options
Diffstat (limited to 'src/constants')
| -rw-r--r-- | src/constants/api.ts | 5 | ||||
| -rw-r--r-- | src/constants/constants.ts | 14 |
2 files changed, 14 insertions, 5 deletions
diff --git a/src/constants/api.ts b/src/constants/api.ts index 2118492d..3b2289fd 100644 --- a/src/constants/api.ts +++ b/src/constants/api.ts @@ -20,10 +20,7 @@ export const SEARCH_ENDPOINT: string = API_URL + 'search/'; export const MOMENTS_ENDPOINT: string = API_URL + 'moments/'; export const VERIFY_INVITATION_CODE_ENDPOUNT: string = API_URL + 'verify-code/'; export const COMMENTS_ENDPOINT: string = API_URL + 'comments/'; -export const FOLLOW_USER_ENDPOINT: string = API_URL + 'follow/'; -export const UNFOLLOW_USER_ENDPOINT: string = API_URL + 'unfollow/'; -export const FOLLOWERS_ENDPOINT: string = API_URL + 'followers/'; -export const FOLLOWING_ENDPOINT: string = API_URL + 'following/'; +export const FRIENDS_ENDPOINT: string = API_URL + 'friends/'; export const ALL_USERS_ENDPOINT: string = API_URL + 'users/'; export const REPORT_ISSUE_ENDPOINT: string = API_URL + 'report/'; export const BLOCK_USER_ENDPOINT: string = API_URL + 'block/'; diff --git a/src/constants/constants.ts b/src/constants/constants.ts index 52a52de6..a85af7cd 100644 --- a/src/constants/constants.ts +++ b/src/constants/constants.ts @@ -87,7 +87,7 @@ export const SOCIAL_FONT_COLORS = { }; export const TOGGLE_BUTTON_TYPE = { - FOLLOW_UNFOLLOW: 'Follow', + FRIEND_UNFRIEND: 'Friend', BLOCK_UNBLOCK: 'Block', }; @@ -130,3 +130,15 @@ export const BACKGROUND_GRADIENT_MAP: Record< [BackgroundGradientType.Light]: ['#9F00FF', '#27EAE9'], [BackgroundGradientType.Dark]: ['#421566', '#385D5E'], }; + +export const CLASS_YEAR_LIST: Array<string> = [ + '2018', + '2019', + '2020', + '2021', + '2022', + '2023', + '2024', + '2025', + '2026', +]; |
