You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

constants.js 685B

123456789101112131415161718192021222324252627282930313233
  1. // @flow
  2. export const CHAT_VIEW_MODAL_ID = 'chatView';
  3. /**
  4. * The size of the chat.
  5. */
  6. export const CHAT_SIZE = 315;
  7. /**
  8. * The audio ID of the audio element for which the {@link playAudio} action is
  9. * triggered when new chat message is received.
  10. *
  11. * @type {string}
  12. */
  13. export const INCOMING_MSG_SOUND_ID = 'INCOMING_MSG_SOUND';
  14. /**
  15. * The {@code messageType} of error (system) messages.
  16. */
  17. export const MESSAGE_TYPE_ERROR = 'error';
  18. /**
  19. * The {@code messageType} of local messages.
  20. */
  21. export const MESSAGE_TYPE_LOCAL = 'local';
  22. /**
  23. * The {@code messageType} of remote messages.
  24. */
  25. export const MESSAGE_TYPE_REMOTE = 'remote';
  26. export const SMALL_WIDTH_THRESHOLD = 580;