mirror of
https://github.com/makeplane/plane.git
synced 2025-12-21 14:19:38 +01:00
21 lines
528 B
TypeScript
21 lines
528 B
TypeScript
// mobx lite
|
|
import { enableStaticRendering } from "mobx-react-lite";
|
|
// store imports
|
|
import UserStore from "./user";
|
|
import ThemeStore from "./theme";
|
|
import ProjectPublishStore, { IProjectPublishStore } from "./project-publish";
|
|
|
|
enableStaticRendering(typeof window === "undefined");
|
|
|
|
export class RootStore {
|
|
user;
|
|
theme;
|
|
projectPublish: IProjectPublishStore;
|
|
|
|
constructor() {
|
|
this.user = new UserStore(this);
|
|
this.theme = new ThemeStore(this);
|
|
this.projectPublish = new ProjectPublishStore(this);
|
|
}
|
|
}
|