plane/apps/space/store/root.ts
guru_sainath cd5e5b96da
feat: Mobx integration, List and Kanban boards implementation in plane space (#1844)
* feat: init mobx and issue filter

* feat: Implemented list and kanban views in plane space and integrated mobx.

* feat: updated store type check
2023-08-11 17:18:33 +05:30

26 lines
667 B
TypeScript

// mobx lite
import { enableStaticRendering } from "mobx-react-lite";
// store imports
import UserStore from "./user";
import ThemeStore from "./theme";
import IssueStore from "./issue";
import ProjectStore from "./project";
// types
import { IIssueStore, IProjectStore, IThemeStore, IUserStore } from "./types";
enableStaticRendering(typeof window === "undefined");
export class RootStore {
user: IUserStore;
theme: IThemeStore;
issue: IIssueStore;
project: IProjectStore;
constructor() {
this.user = new UserStore(this);
this.theme = new ThemeStore(this);
this.issue = new IssueStore(this);
this.project = new ProjectStore(this);
}
}