aboutsummaryrefslogtreecommitdiffstats
path: root/src/actions/app.js
blob: e6f7f22ba237d946dcd68952ef1bd5b067796540 (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
29
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: {},
  clearAllCache: {},
};