diff options
Diffstat (limited to 'packages/shared/src/stores/SharedStore.ts')
-rw-r--r-- | packages/shared/src/stores/SharedStore.ts | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/packages/shared/src/stores/SharedStore.ts b/packages/shared/src/stores/SharedStore.ts index e6e2cad..a04f4bf 100644 --- a/packages/shared/src/stores/SharedStore.ts +++ b/packages/shared/src/stores/SharedStore.ts | |||
@@ -26,13 +26,14 @@ import { | |||
26 | SnapshotOut, | 26 | SnapshotOut, |
27 | } from 'mobx-state-tree'; | 27 | } from 'mobx-state-tree'; |
28 | 28 | ||
29 | import { config } from './Config'; | 29 | import { globalSettings } from './GlobalSettings'; |
30 | import { runtimeService } from './RuntimeService'; | 30 | import { profile } from './Profile'; |
31 | import { service } from './Service'; | 31 | import { service } from './Service'; |
32 | 32 | ||
33 | export const sharedStore = types.model('SharedStore', { | 33 | export const sharedStore = types.model('SharedStore', { |
34 | config: types.optional(config, {}), | 34 | settings: types.optional(globalSettings, {}), |
35 | runtimeServices: types.map(runtimeService), | 35 | profiles: types.array(profile), |
36 | services: types.array(service), | ||
36 | selectedService: types.safeReference(service), | 37 | selectedService: types.safeReference(service), |
37 | shouldUseDarkColors: false, | 38 | shouldUseDarkColors: false, |
38 | }); | 39 | }); |