aboutsummaryrefslogtreecommitdiffstats
path: root/packages/shared/src
diff options
context:
space:
mode:
Diffstat (limited to 'packages/shared/src')
-rw-r--r--packages/shared/src/index.ts18
-rw-r--r--packages/shared/src/stores/Config.ts7
-rw-r--r--packages/shared/src/stores/SharedStore.ts3
3 files changed, 10 insertions, 18 deletions
diff --git a/packages/shared/src/index.ts b/packages/shared/src/index.ts
index 9828ec4..6383f63 100644
--- a/packages/shared/src/index.ts
+++ b/packages/shared/src/index.ts
@@ -22,18 +22,14 @@ export type { SophieRenderer } from './contextBridge/SophieRenderer';
22 22
23export { MainToRendererIpcMessage, RendererToMainIpcMessage } from './ipc'; 23export { MainToRendererIpcMessage, RendererToMainIpcMessage } from './ipc';
24 24
25export type { 25export type { Action, BrowserViewBounds, ThemeSource } from './schemas';
26 Action, 26export { action, browserViewBounds, themeSource } from './schemas';
27 BrowserViewBounds,
28 ThemeSource,
29} from './schemas';
30export {
31 action,
32 browserViewBounds,
33 themeSource,
34} from './schemas';
35 27
36export type { Config, ConfigSnapshotIn, ConfigSnapshotOut } from './stores/Config'; 28export type {
29 Config,
30 ConfigSnapshotIn,
31 ConfigSnapshotOut,
32} from './stores/Config';
37export { config } from './stores/Config'; 33export { config } from './stores/Config';
38 34
39export type { 35export type {
diff --git a/packages/shared/src/stores/Config.ts b/packages/shared/src/stores/Config.ts
index 432945c..1d98a33 100644
--- a/packages/shared/src/stores/Config.ts
+++ b/packages/shared/src/stores/Config.ts
@@ -18,12 +18,7 @@
18 * SPDX-License-Identifier: AGPL-3.0-only 18 * SPDX-License-Identifier: AGPL-3.0-only
19 */ 19 */
20 20
21import { 21import { Instance, types, SnapshotIn, SnapshotOut } from 'mobx-state-tree';
22 Instance,
23 types,
24 SnapshotIn,
25 SnapshotOut,
26} from 'mobx-state-tree';
27 22
28import { themeSource } from '../schemas'; 23import { themeSource } from '../schemas';
29 24
diff --git a/packages/shared/src/stores/SharedStore.ts b/packages/shared/src/stores/SharedStore.ts
index c6c3ddc..cb14394 100644
--- a/packages/shared/src/stores/SharedStore.ts
+++ b/packages/shared/src/stores/SharedStore.ts
@@ -37,7 +37,8 @@ export interface SharedStore extends Instance<typeof sharedStore> {}
37 37
38export interface SharedStoreSnapshotIn extends SnapshotIn<typeof sharedStore> {} 38export interface SharedStoreSnapshotIn extends SnapshotIn<typeof sharedStore> {}
39 39
40export interface SharedStoreSnapshotOut extends SnapshotOut<typeof sharedStore> {} 40export interface SharedStoreSnapshotOut
41 extends SnapshotOut<typeof sharedStore> {}
41 42
42export interface SharedStoreListener { 43export interface SharedStoreListener {
43 onSnapshot(snapshot: SharedStoreSnapshotIn): void; 44 onSnapshot(snapshot: SharedStoreSnapshotIn): void;