diff options
Diffstat (limited to 'subprojects/frontend/src/RootStore.ts')
-rw-r--r-- | subprojects/frontend/src/RootStore.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/subprojects/frontend/src/RootStore.ts b/subprojects/frontend/src/RootStore.ts index e277c808..27bff0de 100644 --- a/subprojects/frontend/src/RootStore.ts +++ b/subprojects/frontend/src/RootStore.ts | |||
@@ -9,6 +9,7 @@ import { makeAutoObservable, runInAction } from 'mobx'; | |||
9 | 9 | ||
10 | import PWAStore from './PWAStore'; | 10 | import PWAStore from './PWAStore'; |
11 | import type EditorStore from './editor/EditorStore'; | 11 | import type EditorStore from './editor/EditorStore'; |
12 | import ExportSettingsScotre from './graph/ExportSettingsStore'; | ||
12 | import Compressor from './persistence/Compressor'; | 13 | import Compressor from './persistence/Compressor'; |
13 | import ThemeStore from './theme/ThemeStore'; | 14 | import ThemeStore from './theme/ThemeStore'; |
14 | 15 | ||
@@ -29,16 +30,20 @@ export default class RootStore { | |||
29 | 30 | ||
30 | readonly themeStore: ThemeStore; | 31 | readonly themeStore: ThemeStore; |
31 | 32 | ||
33 | readonly exportSettingsStore: ExportSettingsScotre; | ||
34 | |||
32 | disposed = false; | 35 | disposed = false; |
33 | 36 | ||
34 | constructor() { | 37 | constructor() { |
35 | this.pwaStore = new PWAStore(); | 38 | this.pwaStore = new PWAStore(); |
36 | this.themeStore = new ThemeStore(); | 39 | this.themeStore = new ThemeStore(); |
40 | this.exportSettingsStore = new ExportSettingsScotre(); | ||
37 | makeAutoObservable<RootStore, 'compressor' | 'editorStoreClass'>(this, { | 41 | makeAutoObservable<RootStore, 'compressor' | 'editorStoreClass'>(this, { |
38 | compressor: false, | 42 | compressor: false, |
39 | editorStoreClass: false, | 43 | editorStoreClass: false, |
40 | pwaStore: false, | 44 | pwaStore: false, |
41 | themeStore: false, | 45 | themeStore: false, |
46 | exportSettingsStore: false, | ||
42 | }); | 47 | }); |
43 | (async () => { | 48 | (async () => { |
44 | const { default: EditorStore } = await import('./editor/EditorStore'); | 49 | const { default: EditorStore } = await import('./editor/EditorStore'); |