aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/basicAuth/store.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/basicAuth/store.ts')
-rw-r--r--src/features/basicAuth/store.ts12
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
4const debug = require('../../preload-safe-debug')('Ferdium:feature:basicAuth'); 4const debug = require('../../preload-safe-debug')('Ferdium:feature:basicAuth');
5 5
6const defaultState = { 6interface IAuthInfo {
7 host: string;
8 port: number;
9}
10interface IDefaultState {
11 isModalVisible: boolean;
12 service: null;
13 authInfo: IAuthInfo | null;
14}
15
16const defaultState: IDefaultState = {
7 isModalVisible: true, 17 isModalVisible: true,
8 service: null, 18 service: null,
9 authInfo: null, 19 authInfo: null,