diff options
Diffstat (limited to 'src/features/basicAuth/store.ts')
-rw-r--r-- | src/features/basicAuth/store.ts | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/features/basicAuth/store.ts b/src/features/basicAuth/store.ts index e0ae8ba17..0fc289916 100644 --- a/src/features/basicAuth/store.ts +++ b/src/features/basicAuth/store.ts | |||
@@ -3,7 +3,17 @@ import { ipcRenderer } from 'electron'; | |||
3 | 3 | ||
4 | const debug = require('../../preload-safe-debug')('Ferdium:feature:basicAuth'); | 4 | const debug = require('../../preload-safe-debug')('Ferdium:feature:basicAuth'); |
5 | 5 | ||
6 | const defaultState = { | 6 | interface IAuthInfo { |
7 | host: string; | ||
8 | port: number; | ||
9 | } | ||
10 | interface IDefaultState { | ||
11 | isModalVisible: boolean; | ||
12 | service: null; | ||
13 | authInfo: IAuthInfo | null; | ||
14 | } | ||
15 | |||
16 | const defaultState: IDefaultState = { | ||
7 | isModalVisible: true, | 17 | isModalVisible: true, |
8 | service: null, | 18 | service: null, |
9 | authInfo: null, | 19 | authInfo: null, |