diff options
Diffstat (limited to 'src/actions/app.js')
-rw-r--r-- | src/actions/app.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/actions/app.js b/src/actions/app.js new file mode 100644 index 000000000..5db4b739e --- /dev/null +++ b/src/actions/app.js | |||
@@ -0,0 +1,23 @@ | |||
1 | import PropTypes from 'prop-types'; | ||
2 | |||
3 | export default { | ||
4 | setBadge: { | ||
5 | unreadDirectMessageCount: PropTypes.number.isRequired, | ||
6 | unreadIndirectMessageCount: PropTypes.number, | ||
7 | }, | ||
8 | notify: { | ||
9 | title: PropTypes.string.isRequired, | ||
10 | options: PropTypes.object.isRequired, | ||
11 | serviceId: PropTypes.string, | ||
12 | }, | ||
13 | launchOnStartup: { | ||
14 | enable: PropTypes.bool.isRequired, | ||
15 | }, | ||
16 | openExternalUrl: { | ||
17 | url: PropTypes.string.isRequired, | ||
18 | }, | ||
19 | checkForUpdates: {}, | ||
20 | resetUpdateStatus: {}, | ||
21 | installUpdate: {}, | ||
22 | healthCheck: {}, | ||
23 | }; | ||