plane/web/store/project/index.ts

19 lines
529 B
TypeScript
Raw Normal View History

2023-12-12 10:20:14 +00:00
import { IProjectsStore, ProjectsStore } from "./projects.store";
import { IProjectPublishStore, ProjectPublishStore } from "./project-publish.store";
import { RootStore } from "store/root.store";
2023-12-12 10:20:14 +00:00
export interface IProjectRootStore {
projects: IProjectsStore;
publish: IProjectPublishStore;
}
export class ProjectRootStore {
2023-12-12 10:20:14 +00:00
projects: IProjectsStore;
publish: IProjectPublishStore;
constructor(_root: RootStore) {
this.projects = new ProjectsStore(_root);
this.publish = new ProjectPublishStore(this);
}
}