config.messagesId.js 513 B

123456789101112131415161718192021222324
  1. 'use strict'
  2. // List of IDs for messages sent using WebSockets
  3. // Message ID for data collection
  4. export const COLLECT_DATA = 'COLLECT_DATA'
  5. // newsletter has been asked
  6. export const NEWS = 'NEWSLETTER'
  7. // Message IDs for experiments events
  8. export const EXPERIMENT = {
  9. // An experiment was started
  10. STARTED: 'EXPERIMENT_STARTED',
  11. // An experiment was started
  12. DATA: 'EXPERIMENT_DATA',
  13. // An experiment was validated
  14. VALIDATED: 'EXPERIMENT_VALIDATED'
  15. }
  16. export default { COLLECT_DATA, EXPERIMENT }