diff options
author | 2021-09-14 11:03:28 +0200 | |
---|---|---|
committer | 2021-09-14 11:03:28 +0200 | |
commit | 087113d8a1214ba4c7df03bfe66747d8d944280c (patch) | |
tree | 4d853a03057138dfa845cd6a7d91ccf63565a1a6 /src/electron/ipc-api/index.ts | |
parent | chore: codebase improvements (#1930) (diff) | |
download | ferdium-app-087113d8a1214ba4c7df03bfe66747d8d944280c.tar.gz ferdium-app-087113d8a1214ba4c7df03bfe66747d8d944280c.tar.zst ferdium-app-087113d8a1214ba4c7df03bfe66747d8d944280c.zip |
chore: convert JS to TS (#1934)
Diffstat (limited to 'src/electron/ipc-api/index.ts')
-rw-r--r-- | src/electron/ipc-api/index.ts | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/electron/ipc-api/index.ts b/src/electron/ipc-api/index.ts new file mode 100644 index 000000000..06c50be10 --- /dev/null +++ b/src/electron/ipc-api/index.ts | |||
@@ -0,0 +1,24 @@ | |||
1 | import { BrowserWindow, Tray } from 'electron'; | ||
2 | import autoUpdate from './autoUpdate'; | ||
3 | import settings from './settings'; | ||
4 | import appIndicator from './appIndicator'; | ||
5 | import download from './download'; | ||
6 | import localServer from './localServer'; | ||
7 | import cld from './cld'; | ||
8 | import dnd from './dnd'; | ||
9 | import focusState from './focusState'; | ||
10 | |||
11 | export default (params: { | ||
12 | mainWindow: BrowserWindow; | ||
13 | settings: any; | ||
14 | tray: Tray; | ||
15 | }) => { | ||
16 | settings(params); | ||
17 | autoUpdate(params); | ||
18 | appIndicator(params); | ||
19 | download(params); | ||
20 | localServer(params); | ||
21 | cld(); | ||
22 | dnd(); | ||
23 | focusState(params); | ||
24 | }; | ||