mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
3d09a69d58
* fix: eslint fixes --------- Co-authored-by: gurusainath <gurusainath007@gmail.com>
27 lines
742 B
TypeScript
27 lines
742 B
TypeScript
// types
|
|
import { RootStore } from "store/root.store";
|
|
import { IInbox, Inbox } from "./inbox.store";
|
|
import { IInboxFilter, InboxFilter } from "./inbox_filter.store";
|
|
import { IInboxIssue, InboxIssue } from "./inbox_issue.store";
|
|
|
|
export interface IInboxRootStore {
|
|
rootStore: RootStore;
|
|
inbox: IInbox;
|
|
inboxIssue: IInboxIssue;
|
|
inboxFilter: IInboxFilter;
|
|
}
|
|
|
|
export class InboxRootStore implements IInboxRootStore {
|
|
rootStore: RootStore;
|
|
inbox: IInbox;
|
|
inboxIssue: IInboxIssue;
|
|
inboxFilter: IInboxFilter;
|
|
|
|
constructor(_rootStore: RootStore) {
|
|
this.rootStore = _rootStore;
|
|
this.inbox = new Inbox(_rootStore);
|
|
this.inboxIssue = new InboxIssue(_rootStore);
|
|
this.inboxFilter = new InboxFilter(_rootStore);
|
|
}
|
|
}
|