Co-authored-by: Bavisetti Narayan <[email protected]> Co-authored-by: NarayanBavisetti <[email protected]> Co-authored-by: Bavisetti Narayan <[email protected]> Co-authored-by: Nikhil <[email protected]> Co-authored-by: M. Palanikannan <[email protected]> Co-authored-by: Lakhan Baheti <[email protected]> Co-authored-by: Dakshesh Jain <[email protected]> Co-authored-by: Aaryan Khandelwal <[email protected]>
24 lines
677 B
TypeScript
24 lines
677 B
TypeScript
// mobx lite
|
|
import { enableStaticRendering } from "mobx-react-lite";
|
|
// store imports
|
|
import UserStore from "./user";
|
|
import IssueStore, { IIssueStore } from "./issue";
|
|
import ProjectStore, { IProjectStore } from "./project";
|
|
import IssueDetailStore, { IIssueDetailStore } from "./issue_details";
|
|
|
|
enableStaticRendering(typeof window === "undefined");
|
|
|
|
export class RootStore {
|
|
user: UserStore;
|
|
issue: IIssueStore;
|
|
issueDetails: IIssueDetailStore;
|
|
project: IProjectStore;
|
|
|
|
constructor() {
|
|
this.user = new UserStore(this);
|
|
this.issue = new IssueStore(this);
|
|
this.project = new ProjectStore(this);
|
|
this.issueDetails = new IssueDetailStore(this);
|
|
}
|
|
}
|