plane/web/store_legacy/project/index.ts
2024-03-04 20:28:25 +05:30

19 lines
527 B
TypeScript

import { IProjectStore, ProjectStore } from "./project.store";
import { IProjectPublishStore, ProjectPublishStore } from "./project-publish.store";
import { RootStore } from "store_legacy/root.store";
export interface IProjectRootStore {
project: IProjectStore;
publish: IProjectPublishStore;
}
export class ProjectRootStore {
project: IProjectStore;
publish: IProjectPublishStore;
constructor(_root: RootStore) {
this.project = new ProjectStore(_root);
this.publish = new ProjectPublishStore(this);
}
}