π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
chore: create extended root store (#4796)
Aaryan Khandelwal703aac597cc9
diff --git a/web/ce/store/root.store.ts b/web/ce/store/root.store.tsnew file mode 100644index 0000000000..710462e13a--- /dev/null+++ b/web/ce/store/root.store.ts@@ -0,0 +1,8 @@+// store+import { CoreRootStore } from "@/store/root.store";++export class RootStore extends CoreRootStore {+ constructor() {+ super();+ }+}diff --git a/web/core/lib/store-context.tsx b/web/core/lib/store-context.tsxindex 8b523455f7..cbee8b2dac 100644--- a/web/core/lib/store-context.tsx+++ b/web/core/lib/store-context.tsx@@ -1,8 +1,8 @@"use client";import { ReactElement, createContext } from "react";-// mobx store-import { RootStore } from "@/store/root.store";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";export let rootStore = new RootStore();diff --git a/web/core/store/cycle.store.ts b/web/core/store/cycle.store.tsindex 1c72170a93..c781fbc406 100644--- a/web/core/store/cycle.store.ts+++ b/web/core/store/cycle.store.ts@@ -8,13 +8,13 @@ import { ICycle, CycleDateCheckData, TCyclePlotType } from "@plane/types";// helpersimport { orderCycles, shouldFilterCycle } from "@/helpers/cycle.helper";import { getDate } from "@/helpers/date-time.helper";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";// servicesimport { CycleService } from "@/services/cycle.service";import { CycleArchiveService } from "@/services/cycle_archive.service";import { IssueService } from "@/services/issue";import { ProjectService } from "@/services/project";-// store-import { RootStore } from "@/store/root.store";export interface ICycleStore {// loadersdiff --git a/web/core/store/cycle_filter.store.ts b/web/core/store/cycle_filter.store.tsindex 12b06c4cf8..675027a4f1 100644--- a/web/core/store/cycle_filter.store.ts+++ b/web/core/store/cycle_filter.store.ts@@ -3,8 +3,8 @@ import { action, computed, observable, makeObservable, runInAction, reaction } fimport { computedFn } from "mobx-utils";// typesimport { TCycleDisplayFilters, TCycleFilters, TCycleFiltersByState } from "@plane/types";-// store-import { RootStore } from "@/store/root.store";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";export interface ICycleFilterStore {// observablesdiff --git a/web/core/store/dashboard.store.ts b/web/core/store/dashboard.store.tsindex 36d2a303b6..46c376e48c 100644--- a/web/core/store/dashboard.store.ts+++ b/web/core/store/dashboard.store.ts@@ -10,10 +10,10 @@ import {TWidgetKeys,TWidgetStatsRequestParams,} from "@plane/types";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";// servicesimport { DashboardService } from "@/services/dashboard.service";-// stores-import { RootStore } from "@/store/root.store";export interface IDashboardStore {// error statesdiff --git a/web/core/store/estimates/estimate-point.ts b/web/core/store/estimates/estimate-point.tsindex 3b4bf48b79..58b70d9435 100644--- a/web/core/store/estimates/estimate-point.ts+++ b/web/core/store/estimates/estimate-point.ts@@ -1,10 +1,11 @@import set from "lodash/set";import { action, computed, makeObservable, observable, runInAction } from "mobx";+// typesimport { IEstimate, IEstimatePoint as IEstimatePointType } from "@plane/types";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";// servicesimport estimateService from "@/services/project/estimate.service";-// store-import { RootStore } from "@/store/root.store";type TErrorCodes = {status: string;diff --git a/web/core/store/estimates/estimate.ts b/web/core/store/estimates/estimate.tsindex 8417386c99..eb130d39ba 100644--- a/web/core/store/estimates/estimate.ts+++ b/web/core/store/estimates/estimate.ts@@ -3,6 +3,7 @@ import set from "lodash/set";import unset from "lodash/unset";import { action, computed, makeObservable, observable, runInAction } from "mobx";import { computedFn } from "mobx-utils";+// typesimport {IEstimate as IEstimateType,IEstimatePoint as IEstimatePointType,@@ -10,11 +11,12 @@ import {IEstimateFormData,TEstimatePointsObject,} from "@plane/types";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";// servicesimport estimateService from "@/services/project/estimate.service";// storeimport { IEstimatePoint, EstimatePoint } from "@/store/estimates/estimate-point";-import { RootStore } from "@/store/root.store";type TErrorCodes = {status: string;diff --git a/web/core/store/estimates/project-estimate.store.ts b/web/core/store/estimates/project-estimate.store.tsindex 1ac77dce32..8626abead8 100644--- a/web/core/store/estimates/project-estimate.store.ts+++ b/web/core/store/estimates/project-estimate.store.ts@@ -4,12 +4,14 @@ import unset from "lodash/unset";import update from "lodash/update";import { action, computed, makeObservable, observable, runInAction } from "mobx";import { computedFn } from "mobx-utils";+// typesimport { IEstimate as IEstimateType, IEstimateFormData } from "@plane/types";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";// servicesimport estimateService from "@/services/project/estimate.service";// storeimport { IEstimate, Estimate } from "@/store/estimates/estimate";-import { RootStore } from "@/store/root.store";type TEstimateLoader = "init-loader" | "mutation-loader" | undefined;type TErrorCodes = {diff --git a/web/core/store/event-tracker.store.ts b/web/core/store/event-tracker.store.tsindex 3b26220780..e9c4b0e412 100644--- a/web/core/store/event-tracker.store.ts+++ b/web/core/store/event-tracker.store.ts@@ -14,7 +14,8 @@ import {getWorkspaceEventPayload,getPageEventPayload,} from "@/constants/event-tracker";-import { RootStore } from "./root.store";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";export interface IEventTrackerStore {// propertiesdiff --git a/web/core/store/global-view.store.ts b/web/core/store/global-view.store.tsindex d5a7f6204e..bc1574f05d 100644--- a/web/core/store/global-view.store.ts+++ b/web/core/store/global-view.store.ts@@ -7,10 +7,10 @@ import { computedFn } from "mobx-utils";import { IIssueFilterOptions, IWorkspaceView } from "@plane/types";// constantsimport { EIssueFilterType } from "@/constants/issue";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";// servicesimport { WorkspaceService } from "@/services/workspace.service";-// types-import { RootStore } from "@/store/root.store";export interface IGlobalViewStore {// observablesdiff --git a/web/core/store/inbox/inbox-issue.store.ts b/web/core/store/inbox/inbox-issue.store.tsindex a76e58ab60..4671aa967e 100644--- a/web/core/store/inbox/inbox-issue.store.ts+++ b/web/core/store/inbox/inbox-issue.store.ts@@ -4,11 +4,11 @@ import { makeObservable, observable, runInAction, action } from "mobx";import { TIssue, TInboxIssue, TInboxIssueStatus, TInboxDuplicateIssueDetails } from "@plane/types";// helpersimport { EInboxIssueStatus } from "@/helpers/inbox.helper";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";// servicesimport { InboxIssueService } from "@/services/inbox";import { IssueService } from "@/services/issue";-// root store-import { RootStore } from "@/store/root.store";export interface IInboxIssueStore {isLoading: boolean;@@ -44,7 +44,12 @@ export class InboxIssueStore implements IInboxIssueStore {inboxIssueService;issueService;- constructor(workspaceSlug: string, projectId: string, data: TInboxIssue, private store: RootStore) {+ constructor(+ workspaceSlug: string,+ projectId: string,+ data: TInboxIssue,+ private store: RootStore+ ) {this.id = data.id;this.status = data.status;this.issue = data?.issue;diff --git a/web/core/store/inbox/project-inbox.store.ts b/web/core/store/inbox/project-inbox.store.tsindex 0e80143d59..163f59dd1f 100644--- a/web/core/store/inbox/project-inbox.store.ts+++ b/web/core/store/inbox/project-inbox.store.ts@@ -15,11 +15,12 @@ import {} from "@plane/types";// helpersimport { EInboxIssueCurrentTab, EInboxIssueStatus, EPastDurationFilters, getCustomDates } from "@/helpers/inbox.helper";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";// servicesimport { InboxIssueService } from "@/services/inbox";// root storeimport { IInboxIssueStore, InboxIssueStore } from "@/store/inbox/inbox-issue.store";-import { RootStore } from "@/store/root.store";type TLoader =| "init-loading"diff --git a/web/core/store/issue/issue_kanban_view.store.ts b/web/core/store/issue/issue_kanban_view.store.tsindex 5331f911ba..79f88f8178 100644--- a/web/core/store/issue/issue_kanban_view.store.ts+++ b/web/core/store/issue/issue_kanban_view.store.ts@@ -1,9 +1,11 @@import { action, computed, makeObservable, observable } from "mobx";import { computedFn } from "mobx-utils";-import { IssueRootStore } from "./root.store";+// typesimport { TIssueGroupByOptions } from "@plane/types";+// constantsimport { DRAG_ALLOWED_GROUPS } from "@/constants/issue";-// types+// store+import { IssueRootStore } from "./root.store";export interface IIssueKanBanViewStore {kanBanToggle: {diff --git a/web/core/store/issue/root.store.ts b/web/core/store/issue/root.store.tsindex 08faff7213..ae1a241541 100644--- a/web/core/store/issue/root.store.ts+++ b/web/core/store/issue/root.store.ts@@ -1,9 +1,10 @@import isEmpty from "lodash/isEmpty";import { autorun, makeObservable, observable } from "mobx";import { ICycle, IIssueLabel, IModule, IProject, IState, IUserLite } from "@plane/types";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";// root storeimport { IWorkspaceMembership } from "@/store/member/workspace-member.store";-import { RootStore } from "../root.store";import { IStateStore, StateStore } from "../state.store";// issues data storeimport { IArchivedIssuesFilter, ArchivedIssuesFilter, IArchivedIssues, ArchivedIssues } from "./archived";diff --git a/web/core/store/label.store.ts b/web/core/store/label.store.tsindex 474feab23e..0a1c71d21d 100644--- a/web/core/store/label.store.ts+++ b/web/core/store/label.store.ts@@ -6,10 +6,10 @@ import { computedFn } from "mobx-utils";import { IIssueLabel, IIssueLabelTree } from "@plane/types";// helpersimport { buildTree } from "@/helpers/array.helper";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";// servicesimport { IssueLabelService } from "@/services/issue";-// store-import { RootStore } from "@/store/root.store";export interface ILabelStore {//Loadersdiff --git a/web/core/store/member/index.ts b/web/core/store/member/index.tsindex 958fb7eada..db4b80a19f 100644--- a/web/core/store/member/index.ts+++ b/web/core/store/member/index.ts@@ -1,7 +1,8 @@import { action, makeObservable, observable } from "mobx";// typesimport { IUserLite } from "@plane/types";-import { RootStore } from "@/store/root.store";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";import { IProjectMemberStore, ProjectMemberStore } from "./project-member.store";import { IWorkspaceMemberStore, WorkspaceMemberStore } from "./workspace-member.store";diff --git a/web/core/store/member/project-member.store.ts b/web/core/store/member/project-member.store.tsindex d18964c9b1..0efe9f7689 100644--- a/web/core/store/member/project-member.store.ts+++ b/web/core/store/member/project-member.store.ts@@ -6,10 +6,11 @@ import { computedFn } from "mobx-utils";import { IProjectBulkAddFormData, IProjectMember, IProjectMembership, IUserLite } from "@plane/types";// constantsimport { EUserProjectRoles } from "@/constants/project";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";// servicesimport { ProjectMemberService } from "@/services/project";// store-import { RootStore } from "@/store/root.store";import { IRouterStore } from "@/store/router.store";import { IUserStore } from "@/store/user";import { IMemberRootStore } from ".";diff --git a/web/core/store/member/workspace-member.store.ts b/web/core/store/member/workspace-member.store.tsindex cb24aae527..03ca5e66a2 100644--- a/web/core/store/member/workspace-member.store.ts+++ b/web/core/store/member/workspace-member.store.ts@@ -6,10 +6,11 @@ import { computedFn } from "mobx-utils";import { IWorkspaceBulkInviteFormData, IWorkspaceMember, IWorkspaceMemberInvitation } from "@plane/types";// constantsimport { EUserWorkspaceRoles } from "@/constants/workspace";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";// servicesimport { WorkspaceService } from "@/services/workspace.service";// types-import { RootStore } from "@/store/root.store";import { IRouterStore } from "@/store/router.store";import { IUserStore } from "@/store/user";import { IMemberRootStore } from ".";diff --git a/web/core/store/module.store.ts b/web/core/store/module.store.tsindex 845b7edf20..81e734dbc9 100644--- a/web/core/store/module.store.ts+++ b/web/core/store/module.store.ts@@ -8,12 +8,12 @@ import { computedFn } from "mobx-utils";import { IModule, ILinkDetails, TModulePlotType } from "@plane/types";// helpersimport { orderModules, shouldFilterModule } from "@/helpers/module.helper";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";// servicesimport { ModuleService } from "@/services/module.service";import { ModuleArchiveService } from "@/services/module_archive.service";import { ProjectService } from "@/services/project";-// store-import { RootStore } from "@/store/root.store";export interface IModuleStore {//Loadersdiff --git a/web/core/store/module_filter.store.ts b/web/core/store/module_filter.store.tsindex 44f53821d5..9812ef9b1a 100644--- a/web/core/store/module_filter.store.ts+++ b/web/core/store/module_filter.store.ts@@ -3,8 +3,8 @@ import { action, computed, observable, makeObservable, runInAction, reaction } fimport { computedFn } from "mobx-utils";// typesimport { TModuleDisplayFilters, TModuleFilters, TModuleFiltersByState } from "@plane/types";-// store-import { RootStore } from "@/store/root.store";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";export interface IModuleFilterStore {// observablesdiff --git a/web/core/store/pages/page.store.ts b/web/core/store/pages/page.store.tsindex 7878ce83db..ed52a18250 100644--- a/web/core/store/pages/page.store.ts+++ b/web/core/store/pages/page.store.ts@@ -5,9 +5,10 @@ import { TLogoProps, TPage } from "@plane/types";// constantsimport { EPageAccess } from "@/constants/page";import { EUserProjectRoles } from "@/constants/project";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";// servicesimport { ProjectPageService } from "@/services/page";-import { RootStore } from "../root.store";export type TLoader = "submitting" | "submitted" | "saved";diff --git a/web/core/store/pages/project-page.store.ts b/web/core/store/pages/project-page.store.tsindex 46369dcd42..e7b96ca756 100644--- a/web/core/store/pages/project-page.store.ts+++ b/web/core/store/pages/project-page.store.ts@@ -6,11 +6,12 @@ import { computedFn } from "mobx-utils";import { TPage, TPageFilters, TPageNavigationTabs } from "@plane/types";// helpersimport { filterPagesByPageType, getPageName, orderPages, shouldFilterPage } from "@/helpers/page.helper";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";// servicesimport { ProjectPageService } from "@/services/page";// storeimport { IPageStore, PageStore } from "@/store/pages/page.store";-import { RootStore } from "../root.store";type TLoader = "init-loader" | "mutation-loader" | undefined;diff --git a/web/core/store/project-view.store.ts b/web/core/store/project-view.store.tsindex 92b8719c14..073032a970 100644--- a/web/core/store/project-view.store.ts+++ b/web/core/store/project-view.store.ts@@ -3,9 +3,10 @@ import { observable, action, makeObservable, runInAction, computed } from "mobx"import { computedFn } from "mobx-utils";// typesimport { IProjectView } from "@plane/types";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";// servicesimport { ViewService } from "@/services/view.service";-import { RootStore } from "@/store/root.store";export interface IProjectViewStore {//Loadersdiff --git a/web/core/store/project/index.ts b/web/core/store/project/index.tsindex 77102b1156..fe5683b7d7 100644--- a/web/core/store/project/index.ts+++ b/web/core/store/project/index.ts@@ -1,4 +1,5 @@-import { RootStore } from "@/store/root.store";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";import { IProjectPublishStore, ProjectPublishStore } from "./project-publish.store";import { IProjectStore, ProjectStore } from "./project.store";import { IProjectFilterStore, ProjectFilterStore } from "./project_filter.store";diff --git a/web/core/store/project/project.store.ts b/web/core/store/project/project.store.tsindex 0f09bfdb1c..6fb7c306ac 100644--- a/web/core/store/project/project.store.ts+++ b/web/core/store/project/project.store.ts@@ -6,11 +6,11 @@ import { computedFn } from "mobx-utils";import { IProject } from "@plane/types";// helpersimport { orderProjects, shouldFilterProject } from "@/helpers/project.helper";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";// servicesimport { IssueLabelService, IssueService } from "@/services/issue";import { ProjectService, ProjectStateService, ProjectArchiveService } from "@/services/project";-// store-import { RootStore } from "../root.store";export interface IProjectStore {// observablesdiff --git a/web/core/store/project/project_filter.store.ts b/web/core/store/project/project_filter.store.tsindex 1ffd336a47..6e909652ee 100644--- a/web/core/store/project/project_filter.store.ts+++ b/web/core/store/project/project_filter.store.ts@@ -3,8 +3,8 @@ import { action, computed, observable, makeObservable, runInAction, reaction } fimport { computedFn } from "mobx-utils";// typesimport { TProjectDisplayFilters, TProjectFilters, TProjectAppliedDisplayFilterKeys } from "@plane/types";-// store-import { RootStore } from "@/store/root.store";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";export interface IProjectFilterStore {// observablesdiff --git a/web/core/store/root.store.ts b/web/core/store/root.store.tsindex 9a7f5f2447..c24ed1d620 100644--- a/web/core/store/root.store.ts+++ b/web/core/store/root.store.ts@@ -26,7 +26,7 @@ import { IWorkspaceRootStore, WorkspaceRootStore } from "./workspace";enableStaticRendering(typeof window === "undefined");-export class RootStore {+export class CoreRootStore {workspaceRoot: IWorkspaceRootStore;projectRoot: IProjectRootStore;memberRoot: IMemberRootStore;diff --git a/web/core/store/state.store.ts b/web/core/store/state.store.tsindex 7a4e20ad4c..985a43fd2d 100644--- a/web/core/store/state.store.ts+++ b/web/core/store/state.store.ts@@ -2,14 +2,14 @@ import groupBy from "lodash/groupBy";import set from "lodash/set";import { makeObservable, observable, computed, action, runInAction } from "mobx";import { computedFn } from "mobx-utils";+// typesimport { IState } from "@plane/types";-// store+// helpersimport { sortStates } from "@/helpers/state.helper";-import { ProjectStateService } from "@/services/project";-import { RootStore } from "./root.store";-// types+// plane web store+import { RootStore } from "@/plane-web/store/root.store";// services-// helpers+import { ProjectStateService } from "@/services/project";export interface IStateStore {//Loadersdiff --git a/web/core/store/theme.store.ts b/web/core/store/theme.store.tsindex 33537fe791..637a179f92 100644--- a/web/core/store/theme.store.ts+++ b/web/core/store/theme.store.ts@@ -1,6 +1,6 @@import { action, observable, makeObservable } from "mobx";-// store types-import { RootStore } from "@/store/root.store";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";export interface IThemeStore {// observablesdiff --git a/web/core/store/user/account.store.ts b/web/core/store/user/account.store.tsindex af42b90e39..3a2a3944eb 100644--- a/web/core/store/user/account.store.ts+++ b/web/core/store/user/account.store.ts@@ -1,10 +1,11 @@import set from "lodash/set";import { makeObservable, observable } from "mobx";+// typesimport { IUserAccount } from "@plane/types";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";// servicesimport { UserService } from "@/services/user.service";-// stores-import { RootStore } from "@/store/root.store";export interface IAccountStore {// observablesdiff --git a/web/core/store/user/index.ts b/web/core/store/user/index.tsindex 82839805ef..f973f8e64d 100644--- a/web/core/store/user/index.ts+++ b/web/core/store/user/index.ts@@ -5,11 +5,12 @@ import { action, makeObservable, observable, runInAction } from "mobx";import { IUser } from "@plane/types";// helpersimport { API_BASE_URL } from "@/helpers/common.helper";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";// servicesimport { AuthService } from "@/services/auth.service";import { UserService } from "@/services/user.service";// stores-import { RootStore } from "@/store/root.store";import { IAccountStore } from "@/store/user/account.store";import { ProfileStore, IUserProfileStore } from "@/store/user/profile.store";import { IUserMembershipStore, UserMembershipStore } from "@/store/user/user-membership.store";diff --git a/web/core/store/user/profile.store.ts b/web/core/store/user/profile.store.tsindex d3669399e6..666b2cad68 100644--- a/web/core/store/user/profile.store.ts+++ b/web/core/store/user/profile.store.ts@@ -1,11 +1,12 @@import cloneDeep from "lodash/cloneDeep";import set from "lodash/set";import { action, makeObservable, observable, runInAction } from "mobx";-// services-import { UserService } from "@/services/user.service";// typesimport { IUserTheme, TUserProfile } from "@plane/types";-import { RootStore } from "@/store/root.store";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";+// services+import { UserService } from "@/services/user.service";type TError = {status: string;diff --git a/web/core/store/user/user-membership.store.ts b/web/core/store/user/user-membership.store.tsindex 2989762f34..c67d334e69 100644--- a/web/core/store/user/user-membership.store.ts+++ b/web/core/store/user/user-membership.store.ts@@ -5,12 +5,12 @@ import { IWorkspaceMemberMe, IProjectMember, IUserProjectsRole } from "@plane/ty// constantsimport { EUserProjectRoles } from "@/constants/project";import { EUserWorkspaceRoles } from "@/constants/workspace";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";// servicesimport { ProjectMemberService } from "@/services/project";import { UserService } from "@/services/user.service";import { WorkspaceService } from "@/services/workspace.service";-// store-import { RootStore } from "../root.store";export interface IUserMembershipStore {// observablesdiff --git a/web/core/store/workspace/api-token.store.ts b/web/core/store/workspace/api-token.store.tsindex 8cc25034e6..e8d03850ba 100644--- a/web/core/store/workspace/api-token.store.ts+++ b/web/core/store/workspace/api-token.store.ts@@ -1,10 +1,11 @@-// mobximport { action, observable, makeObservable, runInAction } from "mobx";import { computedFn } from "mobx-utils";-import { APITokenService } from "@/services/api_token.service";-import { IApiToken } from "@plane/types";-import { RootStore } from "../root.store";// types+import { IApiToken } from "@plane/types";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";+// services+import { APITokenService } from "@/services/api_token.service";export interface IApiTokenStore {// observablesdiff --git a/web/core/store/workspace/index.ts b/web/core/store/workspace/index.tsindex 9ce4b8e873..87d61baba8 100644--- a/web/core/store/workspace/index.ts+++ b/web/core/store/workspace/index.ts@@ -1,10 +1,11 @@import set from "lodash/set";import { action, computed, observable, makeObservable, runInAction } from "mobx";-import { IWorkspace } from "@plane/types";-import { WorkspaceService } from "@/services/workspace.service";-import { RootStore } from "../root.store";// types+import { IWorkspace } from "@plane/types";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";// services+import { WorkspaceService } from "@/services/workspace.service";// sub-storesimport { ApiTokenStore, IApiTokenStore } from "./api-token.store";import { IWebhookStore, WebhookStore } from "./webhook.store";diff --git a/web/core/store/workspace/webhook.store.ts b/web/core/store/workspace/webhook.store.tsindex 4e6db9f747..0f2d8fd128 100644--- a/web/core/store/workspace/webhook.store.ts+++ b/web/core/store/workspace/webhook.store.ts@@ -1,9 +1,12 @@// mobximport { action, observable, makeObservable, computed, runInAction } from "mobx";import { computedFn } from "mobx-utils";+// typesimport { IWebhook } from "@plane/types";+// plane web store+import { RootStore } from "@/plane-web/store/root.store";+// servicesimport { WebhookService } from "@/services/webhook.service";-import { RootStore } from "../root.store";export interface IWebhookStore {// observables