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.

actions.ts 533B

12345678910111213141516171819
  1. import { SET_NO_AUDIO_SIGNAL_NOTIFICATION_UID } from './actionTypes';
  2. /**
  3. * Sets UID of the the pending notification to use it when hiding
  4. * the notification is necessary, or unset it when undefined (or no param) is
  5. * passed.
  6. *
  7. * @param {?number} uid - The UID of the notification.
  8. * @returns {{
  9. * type: SET_NO_AUDIO_SIGNAL_NOTIFICATION_UID,
  10. * uid: number
  11. * }}
  12. */
  13. export function setNoAudioSignalNotificationUid(uid?: string) {
  14. return {
  15. type: SET_NO_AUDIO_SIGNAL_NOTIFICATION_UID,
  16. uid
  17. };
  18. }