aboutsummaryrefslogtreecommitdiffstats
path: root/src/actions/app.js
blob: e4f648fc95825d5b2f143fab7c1c2302ec3be872 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import PropTypes from 'prop-types';

export default {
  setBadge: {
    unreadDirectMessageCount: PropTypes.number.isRequired,
    unreadIndirectMessageCount: PropTypes.number,
  },
  notify: {
    title: PropTypes.string.isRequired,
    options: PropTypes.object.isRequired,
    serviceId: PropTypes.string,
  },
  launchOnStartup: {
    enable: PropTypes.bool.isRequired,
  },
  openExternalUrl: {
    url: PropTypes.string.isRequired,
  },
  checkForUpdates: {},
  resetUpdateStatus: {},
  installUpdate: {},
  healthCheck: {},
  muteApp: {
    isMuted: PropTypes.bool.isRequired,
    overrideSystemMute: PropTypes.bool,
  },
  toggleMuteApp: {},
};