mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
24 lines
956 B
TypeScript
24 lines
956 B
TypeScript
// services
|
|
import { WorkspaceViewService } from "services/view/workspace.service";
|
|
import { WorkspaceMeViewService } from "services/view/workspace_me.service";
|
|
import { ProjectViewService } from "services/view/project.service";
|
|
import { ProjectViewMeService } from "services/view/project_me.service";
|
|
// stores
|
|
import { ViewRoot } from "./view-root.store";
|
|
// types
|
|
import { RootStore } from "store/root.store";
|
|
|
|
export class ViewRootStore {
|
|
workspaceViewStore: ViewRoot;
|
|
workspaceViewMeStore: ViewRoot;
|
|
projectViewStore: ViewRoot;
|
|
projectViewMeStore: ViewRoot;
|
|
|
|
constructor(private store: RootStore) {
|
|
this.workspaceViewStore = new ViewRoot(this.store, new WorkspaceViewService());
|
|
this.workspaceViewMeStore = new ViewRoot(this.store, new WorkspaceMeViewService());
|
|
this.projectViewStore = new ViewRoot(this.store, new ProjectViewService());
|
|
this.projectViewMeStore = new ViewRoot(this.store, new ProjectViewMeService());
|
|
}
|
|
}
|