diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/constants/api.ts | 4 | ||||
-rw-r--r-- | src/constants/strings.ts | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/constants/api.ts b/src/constants/api.ts index ffe47687..15ca6abc 100644 --- a/src/constants/api.ts +++ b/src/constants/api.ts @@ -55,6 +55,10 @@ export const UPDATE_BADGES_ENDPOINT: string = SP_USERS_ENDPOINT + 'update_badges // Register as FCM device export const FCM_ENDPOINT: string = API_URL + 'fcm/'; +// Retrieve Stream Chat token +export const CHAT_ENDPOINT: string = API_URL + 'chat/'; +export const CHAT_TOKEN_ENDPOINT: string = CHAT_ENDPOINT + 'get_token/'; + // 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/'; diff --git a/src/constants/strings.ts b/src/constants/strings.ts index 4f792dcc..106032b0 100644 --- a/src/constants/strings.ts +++ b/src/constants/strings.ts @@ -34,6 +34,7 @@ export const ERROR_PROFILE_CREATION_SHORT = 'Profile creation failed 😓'; export const ERROR_PROFILE_UPDATE_SHORT = 'Profile update failed. 😔'; export const ERROR_PWD_ACCOUNT = (str: string) => `Please make sure that the email / username entered is registered with us. You may contact our customer support at ${str}`; export const ERROR_REGISTRATION = (str: string) => `Registration failed 😔, ${str}`; +export const ERROR_CHAT_CONNECTION = `Unable to establish chat connection`; export const ERROR_SELECT_BIRTHDAY = 'Please select your birthday'; export const ERROR_SELECT_CLASS_YEAR = 'Please select your Class Year'; export const ERROR_SELECT_GENDER = 'Please select your gender'; |