forked from github/plane
b66f07845a
* chore: inbox-issues store and type updates * chore: issue inbox payload change for GET and POST * chore: issue inbox payload change for PATCH * chore: inbox-issue new hooks and store updates * chore: update inbox issue template. * chore: UI root * chore: sidebar issues render * chore: inbox issue details page layout. * chore: inbox issue filters * chore: inbox issue status card. * chore: add loader. * chore: active inbox issue styles. * chore: inbox filters * chore: inbox applied filters UI * chore: inbox issue approval header * chore: inbox issue approval header operations * chore: issue reaction and activity fetch in issue_inbox store * chore: posthog enabled --------- Co-authored-by: NarayanBavisetti <narayan3119@gmail.com> Co-authored-by: Prateek Shourya <prateekshourya29@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 { IInboxIssue, InboxIssue } from "./inbox_issue.store";
|
|
import { IInboxFilter, InboxFilter } from "./inbox_filter.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);
|
|
}
|
|
}
|