aboutsummaryrefslogtreecommitdiffstats
path: root/src/actions/app.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/app.ts')
-rw-r--r--src/actions/app.ts29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/actions/app.ts b/src/actions/app.ts
new file mode 100644
index 000000000..e6f7f22ba
--- /dev/null
+++ b/src/actions/app.ts
@@ -0,0 +1,29 @@
1import PropTypes from 'prop-types';
2
3export 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 muteApp: {
24 isMuted: PropTypes.bool.isRequired,
25 overrideSystemMute: PropTypes.bool,
26 },
27 toggleMuteApp: {},
28 clearAllCache: {},
29};