π₯π₯π₯ 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
fix: core store import fixes
sriram veeraghanta9145234a6ce0
diff --git a/web/core/store/estimates/estimate-point.ts b/web/core/store/estimates/estimate-point.tsindex 58b70d9435..495a1e7be6 100644--- a/web/core/store/estimates/estimate-point.ts+++ b/web/core/store/estimates/estimate-point.ts@@ -2,10 +2,10 @@ 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 { CoreRootStore } from "@/store/root.store";type TErrorCodes = {status: string;@@ -44,7 +44,7 @@ export class EstimatePoint implements IEstimatePoint {error: TErrorCodes | undefined = undefined;constructor(- private store: RootStore,+ private store: CoreRootStore,private projectEstimate: IEstimate,private data: IEstimatePointType) {diff --git a/web/core/store/estimates/estimate.ts b/web/core/store/estimates/estimate.tsindex eb130d39ba..1c7693363b 100644--- a/web/core/store/estimates/estimate.ts+++ b/web/core/store/estimates/estimate.ts@@ -11,12 +11,11 @@ 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 { CoreRootStore } from "@/store/root.store";type TErrorCodes = {status: string;@@ -73,7 +72,7 @@ export class Estimate implements IEstimate {estimatePoints: Record<string, IEstimatePoint> = {};constructor(- private store: RootStore,+ private store: CoreRootStore,private data: IEstimateType) {makeObservable(this, {diff --git a/web/core/store/inbox/inbox-issue.store.ts b/web/core/store/inbox/inbox-issue.store.tsindex 4671aa967e..4e442b36d1 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";+// store+import { CoreRootStore } from "../root.store";export interface IInboxIssueStore {isLoading: boolean;@@ -48,7 +48,7 @@ export class InboxIssueStore implements IInboxIssueStore {workspaceSlug: string,projectId: string,data: TInboxIssue,- private store: RootStore+ private store: CoreRootStore) {this.id = data.id;this.status = data.status;diff --git a/web/core/store/member/project-member.store.ts b/web/core/store/member/project-member.store.tsindex 0efe9f7689..dff9435dcb 100644--- a/web/core/store/member/project-member.store.ts+++ b/web/core/store/member/project-member.store.ts@@ -6,13 +6,13 @@ 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";// storeimport { IRouterStore } from "@/store/router.store";import { IUserStore } from "@/store/user";+// store+import { CoreRootStore } from "../root.store";import { IMemberRootStore } from ".";interface IProjectMemberDetails {@@ -61,7 +61,7 @@ export class ProjectMemberStore implements IProjectMemberStore {// servicesprojectMemberService;- constructor(_memberRoot: IMemberRootStore, _rootStore: RootStore) {+ constructor(_memberRoot: IMemberRootStore, _rootStore: CoreRootStore) {makeObservable(this, {// observablesprojectMemberMap: observable,diff --git a/web/core/store/member/workspace-member.store.ts b/web/core/store/member/workspace-member.store.tsindex 03ca5e66a2..444c1d1a3a 100644--- a/web/core/store/member/workspace-member.store.ts+++ b/web/core/store/member/workspace-member.store.ts@@ -6,13 +6,13 @@ 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";// typesimport { IRouterStore } from "@/store/router.store";import { IUserStore } from "@/store/user";+// store+import { CoreRootStore } from "../root.store";import { IMemberRootStore } from ".";export interface IWorkspaceMembership {@@ -63,7 +63,7 @@ export class WorkspaceMemberStore implements IWorkspaceMemberStore {// servicesworkspaceService;- constructor(_memberRoot: IMemberRootStore, _rootStore: RootStore) {+ constructor(_memberRoot: IMemberRootStore, _rootStore: CoreRootStore) {makeObservable(this, {// observablesworkspaceMemberMap: observable,diff --git a/web/core/store/pages/page.ts b/web/core/store/pages/page.tsindex d6e559ca5d..11e58029c3 100644--- a/web/core/store/pages/page.ts+++ b/web/core/store/pages/page.ts@@ -5,10 +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";+// store+import { CoreRootStore } from "../root.store";export type TLoader = "submitting" | "submitted" | "saved";@@ -73,7 +73,7 @@ export class Page implements IPage {pageService: ProjectPageService;constructor(- private store: RootStore,+ private store: CoreRootStore,page: TPage) {this.id = page?.id || undefined;diff --git a/web/core/store/project/project.store.ts b/web/core/store/project/project.store.tsindex 6fb7c306ac..64dbdec1b0 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 { CoreRootStore } from "../root.store";export interface IProjectStore {// observables@@ -53,7 +53,7 @@ export class ProjectStore implements IProjectStore {[projectId: string]: IProject; // projectId: project Info} = {};// root store- rootStore: RootStore;+ rootStore: CoreRootStore;// serviceprojectService;projectArchiveService;@@ -61,7 +61,7 @@ export class ProjectStore implements IProjectStore {issueService;stateService;- constructor(_rootStore: RootStore) {+ constructor(_rootStore: CoreRootStore) {makeObservable(this, {// observablesloader: observable.ref,diff --git a/web/core/store/project/project_filter.store.ts b/web/core/store/project/project_filter.store.tsindex 6e909652ee..968805ba2b 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";-// plane web store-import { RootStore } from "@/plane-web/store/root.store";+// store+import { CoreRootStore } from "../root.store";export interface IProjectFilterStore {// observables@@ -32,9 +32,9 @@ export class ProjectFilterStore implements IProjectFilterStore {filters: Record<string, TProjectFilters> = {};searchQuery: string = "";// root store- rootStore: RootStore;+ rootStore: CoreRootStore;- constructor(_rootStore: RootStore) {+ constructor(_rootStore: CoreRootStore) {makeObservable(this, {// observablesdisplayFilters: observable,diff --git a/web/core/store/theme.store.ts b/web/core/store/theme.store.tsindex 1d0e63eaa3..185f47f173 100644--- a/web/core/store/theme.store.ts+++ b/web/core/store/theme.store.ts@@ -1,6 +1,4 @@import { action, observable, makeObservable } from "mobx";-// 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 3a2a3944eb..f9ce786839 100644--- a/web/core/store/user/account.store.ts+++ b/web/core/store/user/account.store.ts@@ -2,10 +2,10 @@ 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";+// store+import { CoreRootStore } from "../root.store";export interface IAccountStore {// observables@@ -25,7 +25,7 @@ export class AccountStore implements IAccountStore {// serviceuserService: UserService;constructor(- private store: RootStore,+ private store: CoreRootStore,private _account: IUserAccount) {makeObservable(this, {diff --git a/web/core/store/user/profile.store.ts b/web/core/store/user/profile.store.tsindex 666b2cad68..79541469f1 100644--- a/web/core/store/user/profile.store.ts+++ b/web/core/store/user/profile.store.ts@@ -3,10 +3,10 @@ import set from "lodash/set";import { action, makeObservable, observable, runInAction } from "mobx";// typesimport { IUserTheme, TUserProfile } from "@plane/types";-// plane web store-import { RootStore } from "@/plane-web/store/root.store";// servicesimport { UserService } from "@/services/user.service";+// store+import { CoreRootStore } from "../root.store";type TError = {status: string;@@ -63,7 +63,7 @@ export class ProfileStore implements IUserProfileStore {// servicesuserService: UserService;- constructor(public store: RootStore) {+ constructor(public store: CoreRootStore) {makeObservable(this, {// observablesisLoading: observable.ref,diff --git a/web/core/store/user/user-membership.store.ts b/web/core/store/user/user-membership.store.tsindex c67d334e69..e4675b7583 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";+// plane web store+import { CoreRootStore } from "../root.store";export interface IUserMembershipStore {// observables@@ -68,7 +68,7 @@ export class UserMembershipStore implements IUserMembershipStore {workspaceService;projectMemberService;- constructor(_rootStore: RootStore) {+ constructor(_rootStore: CoreRootStore) {makeObservable(this, {// observablesworkspaceMemberInfo: observable,diff --git a/web/core/store/workspace/api-token.store.ts b/web/core/store/workspace/api-token.store.tsindex e8d03850ba..c6cf6e82a1 100644--- a/web/core/store/workspace/api-token.store.ts+++ b/web/core/store/workspace/api-token.store.ts@@ -2,10 +2,10 @@ import { action, observable, makeObservable, runInAction } from "mobx";import { computedFn } from "mobx-utils";// typesimport { IApiToken } from "@plane/types";-// plane web store-import { RootStore } from "@/plane-web/store/root.store";// servicesimport { APITokenService } from "@/services/api_token.service";+// store+import { CoreRootStore } from "../root.store";export interface IApiTokenStore {// observables@@ -28,7 +28,7 @@ export class ApiTokenStore implements IApiTokenStore {// root storerootStore;- constructor(_rootStore: RootStore) {+ constructor(_rootStore: CoreRootStore) {makeObservable(this, {// observablesapiTokens: observable,diff --git a/web/core/store/workspace/webhook.store.ts b/web/core/store/workspace/webhook.store.tsindex 0f2d8fd128..8b47bc74c2 100644--- a/web/core/store/workspace/webhook.store.ts+++ b/web/core/store/workspace/webhook.store.ts@@ -3,10 +3,10 @@ import { 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";+// store+import { CoreRootStore } from "../root.store";export interface IWebhookStore {// observables@@ -43,7 +43,7 @@ export class WebhookStore implements IWebhookStore {// root storerootStore;- constructor(_rootStore: RootStore) {+ constructor(_rootStore: CoreRootStore) {makeObservable(this, {// observableswebhooks: observable,