mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
23 lines
739 B
TypeScript
23 lines
739 B
TypeScript
import { CoreRootStore } from "../root.store";
|
|
import { IProjectPublishStore, ProjectPublishStore } from "./project-publish.store";
|
|
import { IProjectStore, ProjectStore } from "./project.store";
|
|
import { IProjectFilterStore, ProjectFilterStore } from "./project_filter.store";
|
|
|
|
export interface IProjectRootStore {
|
|
project: IProjectStore;
|
|
projectFilter: IProjectFilterStore;
|
|
publish: IProjectPublishStore;
|
|
}
|
|
|
|
export class ProjectRootStore {
|
|
project: IProjectStore;
|
|
projectFilter: IProjectFilterStore;
|
|
publish: IProjectPublishStore;
|
|
|
|
constructor(_root: CoreRootStore) {
|
|
this.project = new ProjectStore(_root);
|
|
this.projectFilter = new ProjectFilterStore(_root);
|
|
this.publish = new ProjectPublishStore(this);
|
|
}
|
|
}
|