mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: making changes
This commit is contained in:
parent
d0688e5287
commit
2c043b24de
@ -1,6 +1,6 @@
|
||||
import { observable, action, makeObservable, runInAction } from "mobx";
|
||||
// types
|
||||
import { RootStore } from "./root";
|
||||
import { RootStore } from "../root.store";
|
||||
import { IAppConfig } from "types/app";
|
||||
// services
|
||||
import { AppConfigService } from "services/app_config.service";
|
||||
|
@ -1,3 +1,5 @@
|
||||
import { RootStore } from "../root.store";
|
||||
|
||||
export class AppRootStore {
|
||||
config;
|
||||
commandPalette;
|
||||
@ -5,11 +7,11 @@ export class AppRootStore {
|
||||
instance;
|
||||
theme;
|
||||
|
||||
constructor() {
|
||||
this.config = new ConfigStore();
|
||||
this.commandPalette = new CommandPaletteStore();
|
||||
this.eventTracker = new EventTrackerStore();
|
||||
this.instance = new InstanceStore();
|
||||
this.theme = new ThemeStore();
|
||||
constructor(rootStore: RootStore) {
|
||||
this.config = new ConfigStore(rootStore);
|
||||
this.commandPalette = new CommandPaletteStore(rootStore);
|
||||
this.eventTracker = new EventTrackerStore(rootStore);
|
||||
this.instance = new InstanceStore(rootStore);
|
||||
this.theme = new ThemeStore(rootStore);
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ import { AppRootStore } from "./application";
|
||||
enableStaticRendering(typeof window === "undefined");
|
||||
|
||||
export class RootStore {
|
||||
app;
|
||||
app: AppRootStore;
|
||||
user;
|
||||
workspace;
|
||||
project;
|
||||
|
Loading…
Reference in New Issue
Block a user