forked from github/plane
daa8f7d79b
* Feat: Implemented project publish settings * dev: updated the env dependancy in turbo and enabling the publish access to admin
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);
|
|
}
|
|
}
|