mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
96399c7112
* feat: filters in plane deploy implemented multi-level dropdown for plane deploy * style: spacing and fonts * feat: plane deploy implemented authentication/theming, created/modified all the required store & services * devL reactions, voting, comments and theme
26 lines
653 B
TypeScript
26 lines
653 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 } from "./types";
|
|
|
|
enableStaticRendering(typeof window === "undefined");
|
|
|
|
export class RootStore {
|
|
user: UserStore;
|
|
theme: IThemeStore;
|
|
issue: IssueStore;
|
|
project: IProjectStore;
|
|
|
|
constructor() {
|
|
this.user = new UserStore(this);
|
|
this.theme = new ThemeStore(this);
|
|
this.issue = new IssueStore(this);
|
|
this.project = new ProjectStore(this);
|
|
}
|
|
}
|