aboutsummaryrefslogtreecommitdiff
path: root/src/constants
diff options
context:
space:
mode:
authorAshm Walia <40498934+ashmgarv@users.noreply.github.com>2020-11-10 16:28:15 -0800
committerGitHub <noreply@github.com>2020-11-10 19:28:15 -0500
commit3362da273a4ffcc7d6362278bcb9fd919deda2b9 (patch)
tree6df5f6a0585fc327b0f378851f770b6d31aefebe /src/constants
parent9f048868f560dbd1672c1a504deb383ec601589e (diff)
[TMA - 388] Block Users (Frontend) (#115)
* initial * Final * sc * sc * sall change * Remove follow button when blocked * Small change * small changes again
Diffstat (limited to 'src/constants')
-rw-r--r--src/constants/api.ts1
-rw-r--r--src/constants/constants.ts5
2 files changed, 6 insertions, 0 deletions
diff --git a/src/constants/api.ts b/src/constants/api.ts
index 4effc1d3..f69ef943 100644
--- a/src/constants/api.ts
+++ b/src/constants/api.ts
@@ -21,6 +21,7 @@ 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 BLOCK_USER_ENDPOINT: string = API_URL + 'block/';
// Register Social Link (Non-integrated)
export const LINK_SNAPCHAT_ENDPOINT: string = API_URL + 'link-sc/';
diff --git a/src/constants/constants.ts b/src/constants/constants.ts
index 123d0617..dbd79b45 100644
--- a/src/constants/constants.ts
+++ b/src/constants/constants.ts
@@ -69,6 +69,11 @@ export const SOCIAL_FONT_COLORS = {
YOUTUBE: YOUTUBE_FONT_COLOR,
};
+export const TOGGLE_BUTTON_TYPE = {
+ FOLLOW_UNFOLLOW: 'Follow',
+ BLOCK_UNBLOCK: 'Block',
+};
+
// Profile Moments
export const defaultMoments: Array<string> = [
'Early Life',