aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/RootStore.ts
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2024-02-23 19:03:03 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2024-02-23 19:13:23 +0100
commitcf07f20847642aec1eafe6234c2ce35264bbaabb (patch)
tree3d89fbd37db49f815eba4215dfc3d3800ff93970 /subprojects/frontend/src/RootStore.ts
parentfeat(frontend): add top bar logo (diff)
downloadrefinery-cf07f20847642aec1eafe6234c2ce35264bbaabb.tar.gz
refinery-cf07f20847642aec1eafe6234c2ce35264bbaabb.tar.zst
refinery-cf07f20847642aec1eafe6234c2ce35264bbaabb.zip
feat(frontend): graph export formal selector
Diffstat (limited to 'subprojects/frontend/src/RootStore.ts')
-rw-r--r--subprojects/frontend/src/RootStore.ts5
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
10import PWAStore from './PWAStore'; 10import PWAStore from './PWAStore';
11import type EditorStore from './editor/EditorStore'; 11import type EditorStore from './editor/EditorStore';
12import ExportSettingsScotre from './graph/ExportSettingsStore';
12import Compressor from './persistence/Compressor'; 13import Compressor from './persistence/Compressor';
13import ThemeStore from './theme/ThemeStore'; 14import 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');