config.messagesId.js 449 B

1234567891011121314151617181920
  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. // Message IDs for experiments events
  6. export const EXPERIMENT = {
  7. // An experiment was started
  8. STARTED: 'EXPERIMENT_STARTED',
  9. // An experiment was started
  10. DATA: 'EXPERIMENT_DATA',
  11. // An experiment was validated
  12. VALIDATED: 'EXPERIMENT_VALIDATED'
  13. }
  14. export default { COLLECT_DATA, EXPERIMENT }