Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

actions.js 837B

1234567891011121314151617181920212223242526272829303132333435363738
  1. // @flow
  2. import {
  3. STORE_CURRENT_CONFERENCE,
  4. UPDATE_CONFERENCE_DURATION
  5. } from './actionTypes';
  6. /**
  7. * Action to initiate a new addition to the list.
  8. *
  9. * @param {Object} locationURL - The current location URL.
  10. * @returns {{
  11. * type: STORE_CURRENT_CONFERENCE,
  12. * locationURL: Object
  13. * }}
  14. */
  15. export function storeCurrentConference(locationURL: Object) {
  16. return {
  17. type: STORE_CURRENT_CONFERENCE,
  18. locationURL
  19. };
  20. }
  21. /**
  22. * Action to initiate the update of the duration of the last conference.
  23. *
  24. * @param {Object} locationURL - The current location URL.
  25. * @returns {{
  26. * type: UPDATE_CONFERENCE_DURATION,
  27. * locationURL: Object
  28. * }}
  29. */
  30. export function updateConferenceDuration(locationURL: Object) {
  31. return {
  32. type: UPDATE_CONFERENCE_DURATION,
  33. locationURL
  34. };
  35. }