diff options
author | 2022-01-27 01:02:02 +0100 | |
---|---|---|
committer | 2022-02-08 21:43:17 +0100 | |
commit | da610a51f49807d1409f36b98e06e89447a4202b (patch) | |
tree | a4f7911f45ca52626ef02f370c3f260d33f8272e /packages/main/src/reactions/synchronizeConfig.ts | |
parent | refactor: Coding conventions (diff) | |
download | sophie-da610a51f49807d1409f36b98e06e89447a4202b.tar.gz sophie-da610a51f49807d1409f36b98e06e89447a4202b.tar.zst sophie-da610a51f49807d1409f36b98e06e89447a4202b.zip |
refactor: Extract config handling
Move the handling of the contents of the config file out of the stores
and into dedicated files to simplify the code of the stores.
Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'packages/main/src/reactions/synchronizeConfig.ts')
-rw-r--r-- | packages/main/src/reactions/synchronizeConfig.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/main/src/reactions/synchronizeConfig.ts b/packages/main/src/reactions/synchronizeConfig.ts index 480cc1a..4a9c24b 100644 --- a/packages/main/src/reactions/synchronizeConfig.ts +++ b/packages/main/src/reactions/synchronizeConfig.ts | |||
@@ -25,7 +25,7 @@ import ms from 'ms'; | |||
25 | 25 | ||
26 | import type ConfigRepository from '../infrastructure/config/ConfigRepository'; | 26 | import type ConfigRepository from '../infrastructure/config/ConfigRepository'; |
27 | import type SharedStore from '../stores/SharedStore'; | 27 | import type SharedStore from '../stores/SharedStore'; |
28 | import type { Config } from '../stores/SharedStore'; | 28 | import type Config from '../stores/config/Config'; |
29 | import type Disposer from '../utils/Disposer'; | 29 | import type Disposer from '../utils/Disposer'; |
30 | import { getLogger } from '../utils/log'; | 30 | import { getLogger } from '../utils/log'; |
31 | 31 | ||