aboutsummaryrefslogtreecommitdiff
path: root/src/constants/api.ts
diff options
context:
space:
mode:
authorGeorge Rusu <56009869+grusu6928@users.noreply.github.com>2020-10-25 15:21:38 -0700
committerGitHub <noreply@github.com>2020-10-25 18:21:38 -0400
commit9da19cdcb6c7596d60afde6d0d559f06a24a0627 (patch)
tree8f11b6e0a5fcdc2eb983d498fa7b016d4daf44ba /src/constants/api.ts
parent44a25bfabd356f5eee5ec4f580452407a7e40246 (diff)
[TMA-237] Added modal for user registration and redirect (#61)
* move async-storage * removed lock files * added lock files to gitignore * added the wrong file to gitignore * added modal for user registration and redirect * api call to get list of linked socials for each user to display appropriate icon * fixed indentation and linting * refactored modal and browser sign-in * now dynamically adding linked and unlinked taggs, added a bunch of TODOs for tomorrow * added svg icons * done? finished taggs bar UI and all the navigations including modal * fixed some bugs and added more TODOs * fixed some bugs and refactored posts fetching logic * fixed taggs bar bug * done, it will update everything correctly * added comments * added tiktok Co-authored-by: hsalhab <husam_salhab@brown.edu> Co-authored-by: george <grus6928@gmail.com> Co-authored-by: Ivan Chen <ivan@thetaggid.com>
Diffstat (limited to 'src/constants/api.ts')
-rw-r--r--src/constants/api.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/constants/api.ts b/src/constants/api.ts
index d9e199d2..ce9b24f4 100644
--- a/src/constants/api.ts
+++ b/src/constants/api.ts
@@ -21,7 +21,12 @@ 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/';
-// Social Link
+// Register Social Link (Non-integrated)
+export const LINK_SNAPCHAT_ENDPOINT: string = API_URL + 'link-sc/';
+export const LINK_TIKTOK_ENDPOINT: string = API_URL + 'link-tt/';
+
+// Register Social Link (Integrated)
+export const LINKED_SOCIALS_ENDPOINT: string = API_URL + 'linked-socials/';
export const LINK_IG_ENDPOINT: string = API_URL + 'link-ig/';
export const LINK_FB_ENDPOINT: string = API_URL + 'link-fb/';
export const LINK_TWITTER_ENDPOINT: string = API_URL + 'link-twitter/';