mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
19 lines
529 B
TypeScript
19 lines
529 B
TypeScript
import { IProjectsStore, ProjectsStore } from "./projects.store";
|
|
import { IProjectPublishStore, ProjectPublishStore } from "./project-publish.store";
|
|
import { RootStore } from "store/root.store";
|
|
|
|
export interface IProjectRootStore {
|
|
projects: IProjectsStore;
|
|
publish: IProjectPublishStore;
|
|
}
|
|
|
|
export class ProjectRootStore {
|
|
projects: IProjectsStore;
|
|
publish: IProjectPublishStore;
|
|
|
|
constructor(_root: RootStore) {
|
|
this.projects = new ProjectsStore(_root);
|
|
this.publish = new ProjectPublishStore(this);
|
|
}
|
|
}
|