aboutsummaryrefslogtreecommitdiffstats
path: root/packages/shared/src/stores/SharedStore.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/shared/src/stores/SharedStore.ts')
-rw-r--r--packages/shared/src/stores/SharedStore.ts19
1 files changed, 10 insertions, 9 deletions
diff --git a/packages/shared/src/stores/SharedStore.ts b/packages/shared/src/stores/SharedStore.ts
index 0cac3a5..4e064c6 100644
--- a/packages/shared/src/stores/SharedStore.ts
+++ b/packages/shared/src/stores/SharedStore.ts
@@ -30,15 +30,16 @@ import GlobalSettings from './GlobalSettings';
30import Profile from './Profile'; 30import Profile from './Profile';
31import Service from './Service'; 31import Service from './Service';
32 32
33const SharedStore = types.model('SharedStore', { 33const SharedStore = /* @__PURE__ */ (() =>
34 settings: types.optional(GlobalSettings, {}), 34 types.model('SharedStore', {
35 profilesById: types.map(Profile), 35 settings: types.optional(GlobalSettings, {}),
36 profiles: types.array(types.reference(Profile)), 36 profilesById: types.map(Profile),
37 servicesById: types.map(Service), 37 profiles: types.array(types.reference(Profile)),
38 services: types.array(types.reference(Service)), 38 servicesById: types.map(Service),
39 selectedService: types.safeReference(Service), 39 services: types.array(types.reference(Service)),
40 shouldUseDarkColors: false, 40 selectedService: types.safeReference(Service),
41}); 41 shouldUseDarkColors: false,
42 }))();
42 43
43/* 44/*
44 eslint-disable-next-line @typescript-eslint/no-redeclare -- 45 eslint-disable-next-line @typescript-eslint/no-redeclare --