2024-01-24 15:03:54 +00:00
|
|
|
// types
|
2024-03-19 14:38:35 +00:00
|
|
|
import { RootStore } from "@/store/root.store";
|
2024-01-24 15:03:54 +00:00
|
|
|
import { IInbox, Inbox } from "./inbox.store";
|
|
|
|
import { IInboxFilter, InboxFilter } from "./inbox_filter.store";
|
2024-03-06 13:09:14 +00:00
|
|
|
import { IInboxIssue, InboxIssue } from "./inbox_issue.store";
|
2024-01-24 15:03:54 +00:00
|
|
|
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
}
|