All files / src/features/GiveConversation constants.ts

100% Statements 6/6
100% Branches 0/0
100% Functions 0/0
100% Lines 6/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23                  27x   27x   27x     27x   27x     27x  
export enum GiveConversationSections {
  MESSAGE_CHATS = "message_chats",
  MESSAGE_LIST = "message_lists",
  MESSAGE_NEW = "message_new",
}
 
export type GiveConversationSectionType = `${GiveConversationSections}`;
 
export const NO_PRIMARY_ACCOUNT_HOLDER_TOOLTIP_TEXT =
  "This merchant doesn’t have a Primary Account Holder";
export const NO_PRIMARY_ACCOUNT_HOLDER_TOOLTIP_TEXT_PROVIDER =
  "This provider doesn’t have a Primary Account Holder";
export const MERCHANT_IN_ONBOARDING_TOOLTIP_TEXT =
  "Messaging is unavailable while the merchant is onboarding";
 
export const PROVIDER_IN_ONBOARDING_TOOLTIP_TEXT =
  "Messaging is unavailable while the provider is onboarding";
export const GENERAL_CONVERSATION_ERROR =
  "Something went wrong while posting in conversations.";
 
export const mentionOrEmailRegex =
  /(?:^|\s)@([^\s@]*@[^\s@]+\.[^\s@]+|[^\s@]*)/;