From a2ba3691142fbdf3cc8987dc48b353ab050b0501 Mon Sep 17 00:00:00 2001 From: rahulramesha Date: Mon, 4 Mar 2024 20:28:25 +0530 Subject: [PATCH] rename old store --- web/components/gantt-chart/contexts/index.tsx | 2 +- .../gantt-chart/hooks/use-gantt-chart.ts | 2 +- .../calendar/base-calendar-root.tsx | 8 ++++---- .../issues/issue-layouts/calendar/calendar.tsx | 8 ++++---- .../issues/issue-layouts/calendar/day-tile.tsx | 8 ++++---- .../calendar/dropdowns/months-dropdown.tsx | 8 ++++---- .../calendar/dropdowns/options-dropdown.tsx | 8 ++++---- .../issues/issue-layouts/calendar/header.tsx | 8 ++++---- .../issues/issue-layouts/calendar/utils.ts | 8 ++++---- .../issues/issue-layouts/calendar/week-days.tsx | 8 ++++---- .../issue-layouts/gantt/base-gantt-root.tsx | 8 ++++---- .../issue-layouts/kanban/base-kanban-root.tsx | 12 ++++++------ .../issues/issue-layouts/kanban/utils.ts | 14 +++++++------- .../issues/issue-layouts/list/base-list-root.tsx | 14 +++++++------- .../spreadsheet/base-spreadsheet-root.tsx | 8 ++++---- web/components/issues/issue-layouts/utils.tsx | 12 ++++++------ .../pages/create-update-page-modal.tsx | 2 +- web/components/pages/page-form.tsx | 2 +- web/components/project/publish-project/modal.tsx | 2 +- web/contexts/store-context.tsx | 2 +- web/hooks/store/use-application.ts | 2 +- web/hooks/store/use-calendar-view.ts | 2 +- web/hooks/store/use-cycle.ts | 2 +- web/hooks/store/use-dashboard.ts | 2 +- web/hooks/store/use-estimate.ts | 2 +- web/hooks/store/use-event-tracker.ts | 2 +- web/hooks/store/use-global-view.ts | 2 +- web/hooks/store/use-inbox-issues.ts | 4 ++-- web/hooks/store/use-inbox.ts | 2 +- web/hooks/store/use-issue-detail.ts | 2 +- web/hooks/store/use-issues.ts | 16 ++++++++-------- web/hooks/store/use-kanban-view.ts | 2 +- web/hooks/store/use-label.ts | 2 +- web/hooks/store/use-member.ts | 2 +- web/hooks/store/use-mention.ts | 2 +- web/hooks/store/use-module.ts | 2 +- web/hooks/store/use-project-page.ts | 2 +- web/hooks/store/use-project-publish.ts | 2 +- web/hooks/store/use-project-specific-pages.ts | 2 +- web/hooks/store/use-project-state.ts | 2 +- web/hooks/store/use-project-view.ts | 2 +- web/hooks/store/use-project.ts | 2 +- web/hooks/store/use-user.ts | 2 +- web/hooks/store/use-webhook.ts | 2 +- web/hooks/store/use-workspace.ts | 2 +- web/services/project/project-publish.service.ts | 2 +- .../application/app-config.store.ts | 0 .../application/command-palette.store.ts | 0 .../application/index.ts | 2 +- .../application/instance.store.ts | 0 .../application/router.store.ts | 0 .../application/theme.store.ts | 0 web/{oldStore => store_legacy}/cycle.store.ts | 2 +- .../dashboard.store.ts | 2 +- web/{oldStore => store_legacy}/estimate.store.ts | 2 +- .../event-tracker.store.ts | 0 .../global-view.store.ts | 2 +- .../inbox/inbox.store.ts | 2 +- .../inbox/inbox_filter.store.ts | 2 +- .../inbox/inbox_issue.store.ts | 2 +- .../inbox/root.store.ts | 2 +- .../issue/archived/filter.store.ts | 0 .../issue/archived/index.ts | 0 .../issue/archived/issue.store.ts | 0 .../issue/cycle/filter.store.ts | 0 .../issue/cycle/index.ts | 0 .../issue/cycle/issue.store.ts | 0 .../issue/draft/filter.store.ts | 0 .../issue/draft/index.ts | 0 .../issue/draft/issue.store.ts | 0 .../issue/helpers/issue-filter-helper.store.ts | 0 .../issue/helpers/issue-helper.store.ts | 0 .../issue/issue-details/activity.store.ts | 0 .../issue/issue-details/attachment.store.ts | 0 .../issue/issue-details/comment.store.ts | 0 .../issue-details/comment_reaction.store.ts | 0 .../issue/issue-details/issue.store.ts | 0 .../issue/issue-details/link.store.ts | 0 .../issue/issue-details/reaction.store.ts | 0 .../issue/issue-details/relation.store.ts | 0 .../issue/issue-details/root.store.ts | 0 .../issue/issue-details/sub_issues.store.ts | 0 .../issue/issue-details/subscription.store.ts | 0 .../issue/issue.store.ts | 0 .../issue/issue_calendar_view.store.ts | 0 .../issue/issue_gantt_view.store.ts | 0 .../issue/issue_kanban_view.store.ts | 0 .../issue/module/filter.store.ts | 0 .../issue/module/index.ts | 0 .../issue/module/issue.store.ts | 0 .../issue/profile/filter.store.ts | 0 .../issue/profile/index.ts | 0 .../issue/profile/issue.store.ts | 0 .../issue/project-views/filter.store.ts | 0 .../issue/project-views/index.ts | 0 .../issue/project-views/issue.store.ts | 0 .../issue/project/filter.store.ts | 0 .../issue/project/index.ts | 0 .../issue/project/issue.store.ts | 0 .../issue/root.store.ts | 2 +- .../issue/workspace/filter.store.ts | 0 .../issue/workspace/index.ts | 0 .../issue/workspace/issue.store.ts | 0 web/{oldStore => store_legacy}/label.store.ts | 2 +- web/{oldStore => store_legacy}/member/index.ts | 2 +- .../member/project-member.store.ts | 6 +++--- .../member/workspace-member.store.ts | 6 +++--- web/{oldStore => store_legacy}/mention.store.ts | 2 +- web/{oldStore => store_legacy}/module.store.ts | 2 +- web/{oldStore => store_legacy}/page.store.ts | 0 .../project-page.store.ts | 2 +- .../project-view.store.ts | 2 +- web/{oldStore => store_legacy}/project/index.ts | 2 +- .../project/project-publish.store.ts | 0 .../project/project.store.ts | 0 web/{oldStore => store_legacy}/root.store.ts | 0 web/{oldStore => store_legacy}/state.store.ts | 0 web/{oldStore => store_legacy}/user/index.ts | 0 .../user/user-membership.store.ts | 0 .../workspace/api-token.store.ts | 0 .../workspace/index.ts | 0 .../workspace/webhook.store.ts | 0 122 files changed, 129 insertions(+), 129 deletions(-) rename web/{oldStore => store_legacy}/application/app-config.store.ts (100%) rename web/{oldStore => store_legacy}/application/command-palette.store.ts (100%) rename web/{oldStore => store_legacy}/application/index.ts (95%) rename web/{oldStore => store_legacy}/application/instance.store.ts (100%) rename web/{oldStore => store_legacy}/application/router.store.ts (100%) rename web/{oldStore => store_legacy}/application/theme.store.ts (100%) rename web/{oldStore => store_legacy}/cycle.store.ts (99%) rename web/{oldStore => store_legacy}/dashboard.store.ts (99%) rename web/{oldStore => store_legacy}/estimate.store.ts (99%) rename web/{oldStore => store_legacy}/event-tracker.store.ts (100%) rename web/{oldStore => store_legacy}/global-view.store.ts (98%) rename web/{oldStore => store_legacy}/inbox/inbox.store.ts (98%) rename web/{oldStore => store_legacy}/inbox/inbox_filter.store.ts (98%) rename web/{oldStore => store_legacy}/inbox/inbox_issue.store.ts (99%) rename web/{oldStore => store_legacy}/inbox/root.store.ts (92%) rename web/{oldStore => store_legacy}/issue/archived/filter.store.ts (100%) rename web/{oldStore => store_legacy}/issue/archived/index.ts (100%) rename web/{oldStore => store_legacy}/issue/archived/issue.store.ts (100%) rename web/{oldStore => store_legacy}/issue/cycle/filter.store.ts (100%) rename web/{oldStore => store_legacy}/issue/cycle/index.ts (100%) rename web/{oldStore => store_legacy}/issue/cycle/issue.store.ts (100%) rename web/{oldStore => store_legacy}/issue/draft/filter.store.ts (100%) rename web/{oldStore => store_legacy}/issue/draft/index.ts (100%) rename web/{oldStore => store_legacy}/issue/draft/issue.store.ts (100%) rename web/{oldStore => store_legacy}/issue/helpers/issue-filter-helper.store.ts (100%) rename web/{oldStore => store_legacy}/issue/helpers/issue-helper.store.ts (100%) rename web/{oldStore => store_legacy}/issue/issue-details/activity.store.ts (100%) rename web/{oldStore => store_legacy}/issue/issue-details/attachment.store.ts (100%) rename web/{oldStore => store_legacy}/issue/issue-details/comment.store.ts (100%) rename web/{oldStore => store_legacy}/issue/issue-details/comment_reaction.store.ts (100%) rename web/{oldStore => store_legacy}/issue/issue-details/issue.store.ts (100%) rename web/{oldStore => store_legacy}/issue/issue-details/link.store.ts (100%) rename web/{oldStore => store_legacy}/issue/issue-details/reaction.store.ts (100%) rename web/{oldStore => store_legacy}/issue/issue-details/relation.store.ts (100%) rename web/{oldStore => store_legacy}/issue/issue-details/root.store.ts (100%) rename web/{oldStore => store_legacy}/issue/issue-details/sub_issues.store.ts (100%) rename web/{oldStore => store_legacy}/issue/issue-details/subscription.store.ts (100%) rename web/{oldStore => store_legacy}/issue/issue.store.ts (100%) rename web/{oldStore => store_legacy}/issue/issue_calendar_view.store.ts (100%) rename web/{oldStore => store_legacy}/issue/issue_gantt_view.store.ts (100%) rename web/{oldStore => store_legacy}/issue/issue_kanban_view.store.ts (100%) rename web/{oldStore => store_legacy}/issue/module/filter.store.ts (100%) rename web/{oldStore => store_legacy}/issue/module/index.ts (100%) rename web/{oldStore => store_legacy}/issue/module/issue.store.ts (100%) rename web/{oldStore => store_legacy}/issue/profile/filter.store.ts (100%) rename web/{oldStore => store_legacy}/issue/profile/index.ts (100%) rename web/{oldStore => store_legacy}/issue/profile/issue.store.ts (100%) rename web/{oldStore => store_legacy}/issue/project-views/filter.store.ts (100%) rename web/{oldStore => store_legacy}/issue/project-views/index.ts (100%) rename web/{oldStore => store_legacy}/issue/project-views/issue.store.ts (100%) rename web/{oldStore => store_legacy}/issue/project/filter.store.ts (100%) rename web/{oldStore => store_legacy}/issue/project/index.ts (100%) rename web/{oldStore => store_legacy}/issue/project/issue.store.ts (100%) rename web/{oldStore => store_legacy}/issue/root.store.ts (98%) rename web/{oldStore => store_legacy}/issue/workspace/filter.store.ts (100%) rename web/{oldStore => store_legacy}/issue/workspace/index.ts (100%) rename web/{oldStore => store_legacy}/issue/workspace/issue.store.ts (100%) rename web/{oldStore => store_legacy}/label.store.ts (99%) rename web/{oldStore => store_legacy}/member/index.ts (95%) rename web/{oldStore => store_legacy}/member/project-member.store.ts (97%) rename web/{oldStore => store_legacy}/member/workspace-member.store.ts (98%) rename web/{oldStore => store_legacy}/mention.store.ts (96%) rename web/{oldStore => store_legacy}/module.store.ts (99%) rename web/{oldStore => store_legacy}/page.store.ts (100%) rename web/{oldStore => store_legacy}/project-page.store.ts (99%) rename web/{oldStore => store_legacy}/project-view.store.ts (99%) rename web/{oldStore => store_legacy}/project/index.ts (89%) rename web/{oldStore => store_legacy}/project/project-publish.store.ts (100%) rename web/{oldStore => store_legacy}/project/project.store.ts (100%) rename web/{oldStore => store_legacy}/root.store.ts (100%) rename web/{oldStore => store_legacy}/state.store.ts (100%) rename web/{oldStore => store_legacy}/user/index.ts (100%) rename web/{oldStore => store_legacy}/user/user-membership.store.ts (100%) rename web/{oldStore => store_legacy}/workspace/api-token.store.ts (100%) rename web/{oldStore => store_legacy}/workspace/index.ts (100%) rename web/{oldStore => store_legacy}/workspace/webhook.store.ts (100%) diff --git a/web/components/gantt-chart/contexts/index.tsx b/web/components/gantt-chart/contexts/index.tsx index 07bfcf15c..23af50114 100644 --- a/web/components/gantt-chart/contexts/index.tsx +++ b/web/components/gantt-chart/contexts/index.tsx @@ -1,6 +1,6 @@ import { createContext } from "react"; // mobx store -import { GanttStore } from "oldStore/issue/issue_gantt_view.store"; +import { GanttStore } from "store_legacy/issue/issue_gantt_view.store"; let ganttViewStore = new GanttStore(); diff --git a/web/components/gantt-chart/hooks/use-gantt-chart.ts b/web/components/gantt-chart/hooks/use-gantt-chart.ts index 576407c5d..c4f8dcc45 100644 --- a/web/components/gantt-chart/hooks/use-gantt-chart.ts +++ b/web/components/gantt-chart/hooks/use-gantt-chart.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { GanttStoreContext } from "components/gantt-chart/contexts"; // types -import { IGanttStore } from "oldStore/issue/issue_gantt_view.store"; +import { IGanttStore } from "store_legacy/issue/issue_gantt_view.store"; export const useGanttChart = (): IGanttStore => { const context = useContext(GanttStoreContext); diff --git a/web/components/issues/issue-layouts/calendar/base-calendar-root.tsx b/web/components/issues/issue-layouts/calendar/base-calendar-root.tsx index e3ee854cd..d0cfa76f8 100644 --- a/web/components/issues/issue-layouts/calendar/base-calendar-root.tsx +++ b/web/components/issues/issue-layouts/calendar/base-calendar-root.tsx @@ -12,10 +12,10 @@ import { IQuickActionProps } from "../list/list-view-types"; import { EIssueActions } from "../types"; import { handleDragDrop } from "./utils"; import { useIssues, useUser } from "hooks/store"; -import { ICycleIssues, ICycleIssuesFilter } from "oldStore/issue/cycle"; -import { IModuleIssues, IModuleIssuesFilter } from "oldStore/issue/module"; -import { IProjectIssues, IProjectIssuesFilter } from "oldStore/issue/project"; -import { IProjectViewIssues, IProjectViewIssuesFilter } from "oldStore/issue/project-views"; +import { ICycleIssues, ICycleIssuesFilter } from "store_legacy/issue/cycle"; +import { IModuleIssues, IModuleIssuesFilter } from "store_legacy/issue/module"; +import { IProjectIssues, IProjectIssuesFilter } from "store_legacy/issue/project"; +import { IProjectViewIssues, IProjectViewIssuesFilter } from "store_legacy/issue/project-views"; import { EUserProjectRoles } from "constants/project"; interface IBaseCalendarRoot { diff --git a/web/components/issues/issue-layouts/calendar/calendar.tsx b/web/components/issues/issue-layouts/calendar/calendar.tsx index 2e8a15142..13465b526 100644 --- a/web/components/issues/issue-layouts/calendar/calendar.tsx +++ b/web/components/issues/issue-layouts/calendar/calendar.tsx @@ -12,10 +12,10 @@ import { TGroupedIssues, TIssue, TIssueMap } from "@plane/types"; import { EUserProjectRoles } from "constants/project"; import { useCalendarView } from "hooks/store/use-calendar-view"; import { EIssuesStoreType } from "constants/issue"; -import { ICycleIssuesFilter } from "oldStore/issue/cycle"; -import { IModuleIssuesFilter } from "oldStore/issue/module"; -import { IProjectIssuesFilter } from "oldStore/issue/project"; -import { IProjectViewIssuesFilter } from "oldStore/issue/project-views"; +import { ICycleIssuesFilter } from "store_legacy/issue/cycle"; +import { IModuleIssuesFilter } from "store_legacy/issue/module"; +import { IProjectIssuesFilter } from "store_legacy/issue/project"; +import { IProjectViewIssuesFilter } from "store_legacy/issue/project-views"; type Props = { issuesFilterStore: IProjectIssuesFilter | IModuleIssuesFilter | ICycleIssuesFilter | IProjectViewIssuesFilter; diff --git a/web/components/issues/issue-layouts/calendar/day-tile.tsx b/web/components/issues/issue-layouts/calendar/day-tile.tsx index 23a15b7af..b0df060e4 100644 --- a/web/components/issues/issue-layouts/calendar/day-tile.tsx +++ b/web/components/issues/issue-layouts/calendar/day-tile.tsx @@ -8,10 +8,10 @@ import { renderFormattedPayloadDate } from "helpers/date-time.helper"; // constants import { MONTHS_LIST } from "constants/calendar"; import { TGroupedIssues, TIssue, TIssueMap } from "@plane/types"; -import { ICycleIssuesFilter } from "oldStore/issue/cycle"; -import { IModuleIssuesFilter } from "oldStore/issue/module"; -import { IProjectIssuesFilter } from "oldStore/issue/project"; -import { IProjectViewIssuesFilter } from "oldStore/issue/project-views"; +import { ICycleIssuesFilter } from "store_legacy/issue/cycle"; +import { IModuleIssuesFilter } from "store_legacy/issue/module"; +import { IProjectIssuesFilter } from "store_legacy/issue/project"; +import { IProjectViewIssuesFilter } from "store_legacy/issue/project-views"; type Props = { issuesFilterStore: IProjectIssuesFilter | IModuleIssuesFilter | ICycleIssuesFilter | IProjectViewIssuesFilter; diff --git a/web/components/issues/issue-layouts/calendar/dropdowns/months-dropdown.tsx b/web/components/issues/issue-layouts/calendar/dropdowns/months-dropdown.tsx index 8d915e47e..f1a287337 100644 --- a/web/components/issues/issue-layouts/calendar/dropdowns/months-dropdown.tsx +++ b/web/components/issues/issue-layouts/calendar/dropdowns/months-dropdown.tsx @@ -8,10 +8,10 @@ import { useCalendarView } from "hooks/store"; import { ChevronLeft, ChevronRight } from "lucide-react"; // constants import { MONTHS_LIST } from "constants/calendar"; -import { ICycleIssuesFilter } from "oldStore/issue/cycle"; -import { IModuleIssuesFilter } from "oldStore/issue/module"; -import { IProjectIssuesFilter } from "oldStore/issue/project"; -import { IProjectViewIssuesFilter } from "oldStore/issue/project-views"; +import { ICycleIssuesFilter } from "store_legacy/issue/cycle"; +import { IModuleIssuesFilter } from "store_legacy/issue/module"; +import { IProjectIssuesFilter } from "store_legacy/issue/project"; +import { IProjectViewIssuesFilter } from "store_legacy/issue/project-views"; interface Props { issuesFilterStore: IProjectIssuesFilter | IModuleIssuesFilter | ICycleIssuesFilter | IProjectViewIssuesFilter; diff --git a/web/components/issues/issue-layouts/calendar/dropdowns/options-dropdown.tsx b/web/components/issues/issue-layouts/calendar/dropdowns/options-dropdown.tsx index 3aa569dc6..a57e5c78a 100644 --- a/web/components/issues/issue-layouts/calendar/dropdowns/options-dropdown.tsx +++ b/web/components/issues/issue-layouts/calendar/dropdowns/options-dropdown.tsx @@ -14,10 +14,10 @@ import { TCalendarLayouts } from "@plane/types"; // constants import { CALENDAR_LAYOUTS } from "constants/calendar"; import { EIssueFilterType } from "constants/issue"; -import { ICycleIssuesFilter } from "oldStore/issue/cycle"; -import { IModuleIssuesFilter } from "oldStore/issue/module"; -import { IProjectIssuesFilter } from "oldStore/issue/project"; -import { IProjectViewIssuesFilter } from "oldStore/issue/project-views"; +import { ICycleIssuesFilter } from "store_legacy/issue/cycle"; +import { IModuleIssuesFilter } from "store_legacy/issue/module"; +import { IProjectIssuesFilter } from "store_legacy/issue/project"; +import { IProjectViewIssuesFilter } from "store_legacy/issue/project-views"; interface ICalendarHeader { issuesFilterStore: IProjectIssuesFilter | IModuleIssuesFilter | ICycleIssuesFilter | IProjectViewIssuesFilter; diff --git a/web/components/issues/issue-layouts/calendar/header.tsx b/web/components/issues/issue-layouts/calendar/header.tsx index 55dd98de2..e6efb2da3 100644 --- a/web/components/issues/issue-layouts/calendar/header.tsx +++ b/web/components/issues/issue-layouts/calendar/header.tsx @@ -5,10 +5,10 @@ import { CalendarMonthsDropdown, CalendarOptionsDropdown } from "components/issu // icons import { ChevronLeft, ChevronRight } from "lucide-react"; import { useCalendarView } from "hooks/store/use-calendar-view"; -import { ICycleIssuesFilter } from "oldStore/issue/cycle"; -import { IModuleIssuesFilter } from "oldStore/issue/module"; -import { IProjectIssuesFilter } from "oldStore/issue/project"; -import { IProjectViewIssuesFilter } from "oldStore/issue/project-views"; +import { ICycleIssuesFilter } from "store_legacy/issue/cycle"; +import { IModuleIssuesFilter } from "store_legacy/issue/module"; +import { IProjectIssuesFilter } from "store_legacy/issue/project"; +import { IProjectViewIssuesFilter } from "store_legacy/issue/project-views"; interface ICalendarHeader { issuesFilterStore: IProjectIssuesFilter | IModuleIssuesFilter | ICycleIssuesFilter | IProjectViewIssuesFilter; diff --git a/web/components/issues/issue-layouts/calendar/utils.ts b/web/components/issues/issue-layouts/calendar/utils.ts index d568ef8ab..2924e5355 100644 --- a/web/components/issues/issue-layouts/calendar/utils.ts +++ b/web/components/issues/issue-layouts/calendar/utils.ts @@ -1,8 +1,8 @@ import { DraggableLocation } from "@hello-pangea/dnd"; -import { ICycleIssues } from "oldStore/issue/cycle"; -import { IModuleIssues } from "oldStore/issue/module"; -import { IProjectIssues } from "oldStore/issue/project"; -import { IProjectViewIssues } from "oldStore/issue/project-views"; +import { ICycleIssues } from "store_legacy/issue/cycle"; +import { IModuleIssues } from "store_legacy/issue/module"; +import { IProjectIssues } from "store_legacy/issue/project"; +import { IProjectViewIssues } from "store_legacy/issue/project-views"; import { TGroupedIssues, IIssueMap } from "@plane/types"; export const handleDragDrop = async ( diff --git a/web/components/issues/issue-layouts/calendar/week-days.tsx b/web/components/issues/issue-layouts/calendar/week-days.tsx index ac5b8e7f1..ff6bfb366 100644 --- a/web/components/issues/issue-layouts/calendar/week-days.tsx +++ b/web/components/issues/issue-layouts/calendar/week-days.tsx @@ -6,10 +6,10 @@ import { renderFormattedPayloadDate } from "helpers/date-time.helper"; // types import { ICalendarDate, ICalendarWeek } from "./types"; import { TGroupedIssues, TIssue, TIssueMap } from "@plane/types"; -import { ICycleIssuesFilter } from "oldStore/issue/cycle"; -import { IModuleIssuesFilter } from "oldStore/issue/module"; -import { IProjectIssuesFilter } from "oldStore/issue/project"; -import { IProjectViewIssuesFilter } from "oldStore/issue/project-views"; +import { ICycleIssuesFilter } from "store_legacy/issue/cycle"; +import { IModuleIssuesFilter } from "store_legacy/issue/module"; +import { IProjectIssuesFilter } from "store_legacy/issue/project"; +import { IProjectViewIssuesFilter } from "store_legacy/issue/project-views"; type Props = { issuesFilterStore: IProjectIssuesFilter | IModuleIssuesFilter | ICycleIssuesFilter | IProjectViewIssuesFilter; diff --git a/web/components/issues/issue-layouts/gantt/base-gantt-root.tsx b/web/components/issues/issue-layouts/gantt/base-gantt-root.tsx index 83ca81006..7e8d1b410 100644 --- a/web/components/issues/issue-layouts/gantt/base-gantt-root.tsx +++ b/web/components/issues/issue-layouts/gantt/base-gantt-root.tsx @@ -10,10 +10,10 @@ import { GanttChartRoot, IBlockUpdateData, IssueGanttSidebar } from "components/ import { renderIssueBlocksStructure } from "helpers/issue.helper"; // types import { TIssue, TUnGroupedIssues } from "@plane/types"; -import { ICycleIssues, ICycleIssuesFilter } from "oldStore/issue/cycle"; -import { IModuleIssues, IModuleIssuesFilter } from "oldStore/issue/module"; -import { IProjectIssues, IProjectIssuesFilter } from "oldStore/issue/project"; -import { IProjectViewIssues, IProjectViewIssuesFilter } from "oldStore/issue/project-views"; +import { ICycleIssues, ICycleIssuesFilter } from "store_legacy/issue/cycle"; +import { IModuleIssues, IModuleIssuesFilter } from "store_legacy/issue/module"; +import { IProjectIssues, IProjectIssuesFilter } from "store_legacy/issue/project"; +import { IProjectViewIssues, IProjectViewIssuesFilter } from "store_legacy/issue/project-views"; // constants import { EUserProjectRoles } from "constants/project"; import { EIssueActions } from "../types"; diff --git a/web/components/issues/issue-layouts/kanban/base-kanban-root.tsx b/web/components/issues/issue-layouts/kanban/base-kanban-root.tsx index eefb914c7..229d9798e 100644 --- a/web/components/issues/issue-layouts/kanban/base-kanban-root.tsx +++ b/web/components/issues/issue-layouts/kanban/base-kanban-root.tsx @@ -11,7 +11,7 @@ import { Spinner } from "@plane/ui"; import { TIssue } from "@plane/types"; import { EIssueActions } from "../types"; import { IQuickActionProps } from "../list/list-view-types"; -import { IProjectIssues, IProjectIssuesFilter } from "oldStore/issue/project"; +import { IProjectIssues, IProjectIssuesFilter } from "store_legacy/issue/project"; //components import { KanBan } from "./default"; import { KanBanSwimLanes } from "./swimlanes"; @@ -19,11 +19,11 @@ import { DeleteIssueModal } from "components/issues"; import { EUserProjectRoles } from "constants/project"; import { useIssues } from "hooks/store/use-issues"; import { handleDragDrop } from "./utils"; -import { ICycleIssues, ICycleIssuesFilter } from "oldStore/issue/cycle"; -import { IDraftIssues, IDraftIssuesFilter } from "oldStore/issue/draft"; -import { IProfileIssues, IProfileIssuesFilter } from "oldStore/issue/profile"; -import { IModuleIssues, IModuleIssuesFilter } from "oldStore/issue/module"; -import { IProjectViewIssues, IProjectViewIssuesFilter } from "oldStore/issue/project-views"; +import { ICycleIssues, ICycleIssuesFilter } from "store_legacy/issue/cycle"; +import { IDraftIssues, IDraftIssuesFilter } from "store_legacy/issue/draft"; +import { IProfileIssues, IProfileIssuesFilter } from "store_legacy/issue/profile"; +import { IModuleIssues, IModuleIssuesFilter } from "store_legacy/issue/module"; +import { IProjectViewIssues, IProjectViewIssuesFilter } from "store_legacy/issue/project-views"; import { EIssueFilterType, TCreateModalStoreTypes } from "constants/issue"; import { ISSUE_DELETED } from "constants/event-tracker"; diff --git a/web/components/issues/issue-layouts/kanban/utils.ts b/web/components/issues/issue-layouts/kanban/utils.ts index bbb2fa0be..51d24b308 100644 --- a/web/components/issues/issue-layouts/kanban/utils.ts +++ b/web/components/issues/issue-layouts/kanban/utils.ts @@ -1,11 +1,11 @@ import { DraggableLocation } from "@hello-pangea/dnd"; -import { ICycleIssues } from "oldStore/issue/cycle"; -import { IDraftIssues } from "oldStore/issue/draft"; -import { IModuleIssues } from "oldStore/issue/module"; -import { IProfileIssues } from "oldStore/issue/profile"; -import { IProjectIssues } from "oldStore/issue/project"; -import { IProjectViewIssues } from "oldStore/issue/project-views"; -import { IWorkspaceIssues } from "oldStore/issue/workspace"; +import { ICycleIssues } from "store_legacy/issue/cycle"; +import { IDraftIssues } from "store_legacy/issue/draft"; +import { IModuleIssues } from "store_legacy/issue/module"; +import { IProfileIssues } from "store_legacy/issue/profile"; +import { IProjectIssues } from "store_legacy/issue/project"; +import { IProjectViewIssues } from "store_legacy/issue/project-views"; +import { IWorkspaceIssues } from "store_legacy/issue/workspace"; import { TGroupedIssues, IIssueMap, TSubGroupedIssues, TUnGroupedIssues } from "@plane/types"; const handleSortOrder = (destinationIssues: string[], destinationIndex: number, issueMap: IIssueMap) => { diff --git a/web/components/issues/issue-layouts/list/base-list-root.tsx b/web/components/issues/issue-layouts/list/base-list-root.tsx index 1bfb7c275..f9e72b6a6 100644 --- a/web/components/issues/issue-layouts/list/base-list-root.tsx +++ b/web/components/issues/issue-layouts/list/base-list-root.tsx @@ -3,13 +3,13 @@ import { FC, useCallback } from "react"; import { observer } from "mobx-react-lite"; // types import { TIssue } from "@plane/types"; -import { IProjectIssues, IProjectIssuesFilter } from "oldStore/issue/project"; -import { ICycleIssues, ICycleIssuesFilter } from "oldStore/issue/cycle"; -import { IModuleIssues, IModuleIssuesFilter } from "oldStore/issue/module"; -import { IProfileIssues, IProfileIssuesFilter } from "oldStore/issue/profile"; -import { IProjectViewIssues, IProjectViewIssuesFilter } from "oldStore/issue/project-views"; -import { IDraftIssuesFilter, IDraftIssues } from "oldStore/issue/draft"; -import { IArchivedIssuesFilter, IArchivedIssues } from "oldStore/issue/archived"; +import { IProjectIssues, IProjectIssuesFilter } from "store_legacy/issue/project"; +import { ICycleIssues, ICycleIssuesFilter } from "store_legacy/issue/cycle"; +import { IModuleIssues, IModuleIssuesFilter } from "store_legacy/issue/module"; +import { IProfileIssues, IProfileIssuesFilter } from "store_legacy/issue/profile"; +import { IProjectViewIssues, IProjectViewIssuesFilter } from "store_legacy/issue/project-views"; +import { IDraftIssuesFilter, IDraftIssues } from "store_legacy/issue/draft"; +import { IArchivedIssuesFilter, IArchivedIssues } from "store_legacy/issue/archived"; import { EIssueActions } from "../types"; // components import { IQuickActionProps } from "./list-view-types"; diff --git a/web/components/issues/issue-layouts/spreadsheet/base-spreadsheet-root.tsx b/web/components/issues/issue-layouts/spreadsheet/base-spreadsheet-root.tsx index 1cb39f58b..b19c6a09b 100644 --- a/web/components/issues/issue-layouts/spreadsheet/base-spreadsheet-root.tsx +++ b/web/components/issues/issue-layouts/spreadsheet/base-spreadsheet-root.tsx @@ -11,10 +11,10 @@ import { EIssueActions } from "../types"; import { IQuickActionProps } from "../list/list-view-types"; // constants import { EUserProjectRoles } from "constants/project"; -import { ICycleIssuesFilter, ICycleIssues } from "oldStore/issue/cycle"; -import { IModuleIssuesFilter, IModuleIssues } from "oldStore/issue/module"; -import { IProjectIssuesFilter, IProjectIssues } from "oldStore/issue/project"; -import { IProjectViewIssuesFilter, IProjectViewIssues } from "oldStore/issue/project-views"; +import { ICycleIssuesFilter, ICycleIssues } from "store_legacy/issue/cycle"; +import { IModuleIssuesFilter, IModuleIssues } from "store_legacy/issue/module"; +import { IProjectIssuesFilter, IProjectIssues } from "store_legacy/issue/project"; +import { IProjectViewIssuesFilter, IProjectViewIssues } from "store_legacy/issue/project-views"; import { EIssueFilterType } from "constants/issue"; interface IBaseSpreadsheetRoot { diff --git a/web/components/issues/issue-layouts/utils.tsx b/web/components/issues/issue-layouts/utils.tsx index 690dfc0e2..45730c1be 100644 --- a/web/components/issues/issue-layouts/utils.tsx +++ b/web/components/issues/issue-layouts/utils.tsx @@ -1,11 +1,11 @@ import { Avatar, CycleGroupIcon, DiceIcon, PriorityIcon, StateGroupIcon } from "@plane/ui"; // stores -import { IMemberRootStore } from "oldStore/member"; -import { IProjectStore } from "oldStore/project/project.store"; -import { IStateStore } from "oldStore/state.store"; -import { ILabelStore } from "oldStore/label.store"; -import { ICycleStore } from "oldStore/cycle.store"; -import { IModuleStore } from "oldStore/module.store"; +import { IMemberRootStore } from "store_legacy/member"; +import { IProjectStore } from "store_legacy/project/project.store"; +import { IStateStore } from "store_legacy/state.store"; +import { ILabelStore } from "store_legacy/label.store"; +import { ICycleStore } from "store_legacy/cycle.store"; +import { IModuleStore } from "store_legacy/module.store"; // helpers import { renderEmoji } from "helpers/emoji.helper"; // constants diff --git a/web/components/pages/create-update-page-modal.tsx b/web/components/pages/create-update-page-modal.tsx index 4a63c46be..2ad014c48 100644 --- a/web/components/pages/create-update-page-modal.tsx +++ b/web/components/pages/create-update-page-modal.tsx @@ -8,7 +8,7 @@ import { useEventTracker } from "hooks/store"; // types import { IPage } from "@plane/types"; import { useProjectPages } from "hooks/store/use-project-page"; -import { IPageStore } from "oldStore/page.store"; +import { IPageStore } from "store_legacy/page.store"; // constants import { PAGE_CREATED, PAGE_UPDATED } from "constants/event-tracker"; diff --git a/web/components/pages/page-form.tsx b/web/components/pages/page-form.tsx index 8f86ebc7d..7b04333df 100644 --- a/web/components/pages/page-form.tsx +++ b/web/components/pages/page-form.tsx @@ -5,7 +5,7 @@ import { Button, Input, Tooltip } from "@plane/ui"; import { IPage } from "@plane/types"; // constants import { PAGE_ACCESS_SPECIFIERS } from "constants/page"; -import { IPageStore } from "oldStore/page.store"; +import { IPageStore } from "store_legacy/page.store"; type Props = { handleFormSubmit: (values: IPage) => Promise; diff --git a/web/components/project/publish-project/modal.tsx b/web/components/project/publish-project/modal.tsx index feb6aa9ab..0b7b643e8 100644 --- a/web/components/project/publish-project/modal.tsx +++ b/web/components/project/publish-project/modal.tsx @@ -12,7 +12,7 @@ import { Button, Loader, ToggleSwitch } from "@plane/ui"; import { CustomPopover } from "./popover"; // types import { IProject } from "@plane/types"; -import { IProjectPublishSettings, TProjectPublishViews } from "oldStore/project/project-publish.store"; +import { IProjectPublishSettings, TProjectPublishViews } from "store_legacy/project/project-publish.store"; type Props = { isOpen: boolean; diff --git a/web/contexts/store-context.tsx b/web/contexts/store-context.tsx index 49e507d34..af3cd3ffd 100644 --- a/web/contexts/store-context.tsx +++ b/web/contexts/store-context.tsx @@ -1,6 +1,6 @@ import { createContext } from "react"; // mobx store -import { RootStore } from "oldStore/root.store"; +import { RootStore } from "store_legacy/root.store"; let rootStore = new RootStore(); diff --git a/web/hooks/store/use-application.ts b/web/hooks/store/use-application.ts index 2a994f96d..415ce4647 100644 --- a/web/hooks/store/use-application.ts +++ b/web/hooks/store/use-application.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { IAppRootStore } from "oldStore/application"; +import { IAppRootStore } from "store_legacy/application"; export const useApplication = (): IAppRootStore => { const context = useContext(StoreContext); diff --git a/web/hooks/store/use-calendar-view.ts b/web/hooks/store/use-calendar-view.ts index 5fa630acb..a09e621f6 100644 --- a/web/hooks/store/use-calendar-view.ts +++ b/web/hooks/store/use-calendar-view.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { ICalendarStore } from "oldStore/issue/issue_calendar_view.store"; +import { ICalendarStore } from "store_legacy/issue/issue_calendar_view.store"; export const useCalendarView = (): ICalendarStore => { const context = useContext(StoreContext); diff --git a/web/hooks/store/use-cycle.ts b/web/hooks/store/use-cycle.ts index d92b3b11b..1e1785f4d 100644 --- a/web/hooks/store/use-cycle.ts +++ b/web/hooks/store/use-cycle.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { ICycleStore } from "oldStore/cycle.store"; +import { ICycleStore } from "store_legacy/cycle.store"; export const useCycle = (): ICycleStore => { const context = useContext(StoreContext); diff --git a/web/hooks/store/use-dashboard.ts b/web/hooks/store/use-dashboard.ts index 5904825e7..278c80a54 100644 --- a/web/hooks/store/use-dashboard.ts +++ b/web/hooks/store/use-dashboard.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { IDashboardStore } from "oldStore/dashboard.store"; +import { IDashboardStore } from "store_legacy/dashboard.store"; export const useDashboard = (): IDashboardStore => { const context = useContext(StoreContext); diff --git a/web/hooks/store/use-estimate.ts b/web/hooks/store/use-estimate.ts index a9ccdb3c2..34b2936a1 100644 --- a/web/hooks/store/use-estimate.ts +++ b/web/hooks/store/use-estimate.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { IEstimateStore } from "oldStore/estimate.store"; +import { IEstimateStore } from "store_legacy/estimate.store"; export const useEstimate = (): IEstimateStore => { const context = useContext(StoreContext); diff --git a/web/hooks/store/use-event-tracker.ts b/web/hooks/store/use-event-tracker.ts index 15582f780..314d81a4e 100644 --- a/web/hooks/store/use-event-tracker.ts +++ b/web/hooks/store/use-event-tracker.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { IEventTrackerStore } from "oldStore/event-tracker.store"; +import { IEventTrackerStore } from "store_legacy/event-tracker.store"; export const useEventTracker = (): IEventTrackerStore => { const context = useContext(StoreContext); diff --git a/web/hooks/store/use-global-view.ts b/web/hooks/store/use-global-view.ts index e733f7160..349f55f3f 100644 --- a/web/hooks/store/use-global-view.ts +++ b/web/hooks/store/use-global-view.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { IGlobalViewStore } from "oldStore/global-view.store"; +import { IGlobalViewStore } from "store_legacy/global-view.store"; export const useGlobalView = (): IGlobalViewStore => { const context = useContext(StoreContext); diff --git a/web/hooks/store/use-inbox-issues.ts b/web/hooks/store/use-inbox-issues.ts index 7e2d311bd..d48819fe6 100644 --- a/web/hooks/store/use-inbox-issues.ts +++ b/web/hooks/store/use-inbox-issues.ts @@ -2,8 +2,8 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { IInboxIssue } from "oldStore/inbox/inbox_issue.store"; -import { IInboxFilter } from "oldStore/inbox/inbox_filter.store"; +import { IInboxIssue } from "store_legacy/inbox/inbox_issue.store"; +import { IInboxFilter } from "store_legacy/inbox/inbox_filter.store"; export const useInboxIssues = (): { issues: IInboxIssue; diff --git a/web/hooks/store/use-inbox.ts b/web/hooks/store/use-inbox.ts index 3b1551768..46f7e2610 100644 --- a/web/hooks/store/use-inbox.ts +++ b/web/hooks/store/use-inbox.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { IInbox } from "oldStore/inbox/inbox.store"; +import { IInbox } from "store_legacy/inbox/inbox.store"; export const useInbox = (): IInbox => { const context = useContext(StoreContext); diff --git a/web/hooks/store/use-issue-detail.ts b/web/hooks/store/use-issue-detail.ts index 6db49e847..fc85002d9 100644 --- a/web/hooks/store/use-issue-detail.ts +++ b/web/hooks/store/use-issue-detail.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { IIssueDetail } from "oldStore/issue/issue-details/root.store"; +import { IIssueDetail } from "store_legacy/issue/issue-details/root.store"; export const useIssueDetail = (): IIssueDetail => { const context = useContext(StoreContext); diff --git a/web/hooks/store/use-issues.ts b/web/hooks/store/use-issues.ts index 1a671c0f9..f0e01f734 100644 --- a/web/hooks/store/use-issues.ts +++ b/web/hooks/store/use-issues.ts @@ -3,14 +3,14 @@ import merge from "lodash/merge"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { IWorkspaceIssues, IWorkspaceIssuesFilter } from "oldStore/issue/workspace"; -import { IProfileIssues, IProfileIssuesFilter } from "oldStore/issue/profile"; -import { IProjectIssues, IProjectIssuesFilter } from "oldStore/issue/project"; -import { ICycleIssues, ICycleIssuesFilter } from "oldStore/issue/cycle"; -import { IModuleIssues, IModuleIssuesFilter } from "oldStore/issue/module"; -import { IProjectViewIssues, IProjectViewIssuesFilter } from "oldStore/issue/project-views"; -import { IArchivedIssues, IArchivedIssuesFilter } from "oldStore/issue/archived"; -import { IDraftIssues, IDraftIssuesFilter } from "oldStore/issue/draft"; +import { IWorkspaceIssues, IWorkspaceIssuesFilter } from "store_legacy/issue/workspace"; +import { IProfileIssues, IProfileIssuesFilter } from "store_legacy/issue/profile"; +import { IProjectIssues, IProjectIssuesFilter } from "store_legacy/issue/project"; +import { ICycleIssues, ICycleIssuesFilter } from "store_legacy/issue/cycle"; +import { IModuleIssues, IModuleIssuesFilter } from "store_legacy/issue/module"; +import { IProjectViewIssues, IProjectViewIssuesFilter } from "store_legacy/issue/project-views"; +import { IArchivedIssues, IArchivedIssuesFilter } from "store_legacy/issue/archived"; +import { IDraftIssues, IDraftIssuesFilter } from "store_legacy/issue/draft"; import { TIssueMap } from "@plane/types"; // constants import { EIssuesStoreType } from "constants/issue"; diff --git a/web/hooks/store/use-kanban-view.ts b/web/hooks/store/use-kanban-view.ts index ff2cc968d..229df7ff4 100644 --- a/web/hooks/store/use-kanban-view.ts +++ b/web/hooks/store/use-kanban-view.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { IIssueKanBanViewStore } from "oldStore/issue/issue_kanban_view.store"; +import { IIssueKanBanViewStore } from "store_legacy/issue/issue_kanban_view.store"; export const useKanbanView = (): IIssueKanBanViewStore => { const context = useContext(StoreContext); diff --git a/web/hooks/store/use-label.ts b/web/hooks/store/use-label.ts index 20128e7ae..95198346b 100644 --- a/web/hooks/store/use-label.ts +++ b/web/hooks/store/use-label.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { ILabelStore } from "oldStore/label.store"; +import { ILabelStore } from "store_legacy/label.store"; export const useLabel = (): ILabelStore => { const context = useContext(StoreContext); diff --git a/web/hooks/store/use-member.ts b/web/hooks/store/use-member.ts index 6830a7830..8cace4955 100644 --- a/web/hooks/store/use-member.ts +++ b/web/hooks/store/use-member.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types; -import { IMemberRootStore } from "oldStore/member"; +import { IMemberRootStore } from "store_legacy/member"; export const useMember = (): IMemberRootStore => { const context = useContext(StoreContext); diff --git a/web/hooks/store/use-mention.ts b/web/hooks/store/use-mention.ts index f8adf7f1c..320dd99ff 100644 --- a/web/hooks/store/use-mention.ts +++ b/web/hooks/store/use-mention.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { IMentionStore } from "oldStore/mention.store"; +import { IMentionStore } from "store_legacy/mention.store"; export const useMention = (): IMentionStore => { const context = useContext(StoreContext); diff --git a/web/hooks/store/use-module.ts b/web/hooks/store/use-module.ts index ed0736a6a..7355466bd 100644 --- a/web/hooks/store/use-module.ts +++ b/web/hooks/store/use-module.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { IModuleStore } from "oldStore/module.store"; +import { IModuleStore } from "store_legacy/module.store"; export const useModule = (): IModuleStore => { const context = useContext(StoreContext); diff --git a/web/hooks/store/use-project-page.ts b/web/hooks/store/use-project-page.ts index d4e5faaea..d78aeb768 100644 --- a/web/hooks/store/use-project-page.ts +++ b/web/hooks/store/use-project-page.ts @@ -1,7 +1,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; -import { IProjectPageStore } from "oldStore/project-page.store"; +import { IProjectPageStore } from "store_legacy/project-page.store"; export const useProjectPages = (): IProjectPageStore => { const context = useContext(StoreContext); diff --git a/web/hooks/store/use-project-publish.ts b/web/hooks/store/use-project-publish.ts index 27593358e..e43a574fd 100644 --- a/web/hooks/store/use-project-publish.ts +++ b/web/hooks/store/use-project-publish.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { IProjectPublishStore } from "oldStore/project/project-publish.store"; +import { IProjectPublishStore } from "store_legacy/project/project-publish.store"; export const useProjectPublish = (): IProjectPublishStore => { const context = useContext(StoreContext); diff --git a/web/hooks/store/use-project-specific-pages.ts b/web/hooks/store/use-project-specific-pages.ts index 9437a1989..e7e87a1c3 100644 --- a/web/hooks/store/use-project-specific-pages.ts +++ b/web/hooks/store/use-project-specific-pages.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { IProjectPageStore } from "oldStore/project-page.store"; +import { IProjectPageStore } from "store_legacy/project-page.store"; export const useProjectPages = (): IProjectPageStore => { const context = useContext(StoreContext); diff --git a/web/hooks/store/use-project-state.ts b/web/hooks/store/use-project-state.ts index fd620396d..ff21d3540 100644 --- a/web/hooks/store/use-project-state.ts +++ b/web/hooks/store/use-project-state.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { IStateStore } from "oldStore/state.store"; +import { IStateStore } from "store_legacy/state.store"; export const useProjectState = (): IStateStore => { const context = useContext(StoreContext); diff --git a/web/hooks/store/use-project-view.ts b/web/hooks/store/use-project-view.ts index 8b13ba1dd..78cdb80c9 100644 --- a/web/hooks/store/use-project-view.ts +++ b/web/hooks/store/use-project-view.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { IProjectViewStore } from "oldStore/project-view.store"; +import { IProjectViewStore } from "store_legacy/project-view.store"; export const useProjectView = (): IProjectViewStore => { const context = useContext(StoreContext); diff --git a/web/hooks/store/use-project.ts b/web/hooks/store/use-project.ts index 1e5b07e21..723f3eb2e 100644 --- a/web/hooks/store/use-project.ts +++ b/web/hooks/store/use-project.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { IProjectStore } from "oldStore/project/project.store"; +import { IProjectStore } from "store_legacy/project/project.store"; export const useProject = (): IProjectStore => { const context = useContext(StoreContext); diff --git a/web/hooks/store/use-user.ts b/web/hooks/store/use-user.ts index ee8fa4bae..7451d24a6 100644 --- a/web/hooks/store/use-user.ts +++ b/web/hooks/store/use-user.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { IUserRootStore } from "oldStore/user"; +import { IUserRootStore } from "store_legacy/user"; export const useUser = (): IUserRootStore => { const context = useContext(StoreContext); diff --git a/web/hooks/store/use-webhook.ts b/web/hooks/store/use-webhook.ts index 483491211..d6530038a 100644 --- a/web/hooks/store/use-webhook.ts +++ b/web/hooks/store/use-webhook.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { IWebhookStore } from "oldStore/workspace/webhook.store"; +import { IWebhookStore } from "store_legacy/workspace/webhook.store"; export const useWebhook = (): IWebhookStore => { const context = useContext(StoreContext); diff --git a/web/hooks/store/use-workspace.ts b/web/hooks/store/use-workspace.ts index 6c82b2b55..4f5e6f985 100644 --- a/web/hooks/store/use-workspace.ts +++ b/web/hooks/store/use-workspace.ts @@ -2,7 +2,7 @@ import { useContext } from "react"; // mobx store import { StoreContext } from "contexts/store-context"; // types -import { IWorkspaceRootStore } from "oldStore/workspace"; +import { IWorkspaceRootStore } from "store_legacy/workspace"; export const useWorkspace = (): IWorkspaceRootStore => { const context = useContext(StoreContext); diff --git a/web/services/project/project-publish.service.ts b/web/services/project/project-publish.service.ts index 910b8c100..211a3d57b 100644 --- a/web/services/project/project-publish.service.ts +++ b/web/services/project/project-publish.service.ts @@ -2,7 +2,7 @@ import { API_BASE_URL } from "helpers/common.helper"; // services import { APIService } from "services/api.service"; // types -import { IProjectPublishSettings } from "oldStore/project/project-publish.store"; +import { IProjectPublishSettings } from "store_legacy/project/project-publish.store"; export class ProjectPublishService extends APIService { constructor() { diff --git a/web/oldStore/application/app-config.store.ts b/web/store_legacy/application/app-config.store.ts similarity index 100% rename from web/oldStore/application/app-config.store.ts rename to web/store_legacy/application/app-config.store.ts diff --git a/web/oldStore/application/command-palette.store.ts b/web/store_legacy/application/command-palette.store.ts similarity index 100% rename from web/oldStore/application/command-palette.store.ts rename to web/store_legacy/application/command-palette.store.ts diff --git a/web/oldStore/application/index.ts b/web/store_legacy/application/index.ts similarity index 95% rename from web/oldStore/application/index.ts rename to web/store_legacy/application/index.ts index cb9418cc0..38baa6ba9 100644 --- a/web/oldStore/application/index.ts +++ b/web/store_legacy/application/index.ts @@ -1,4 +1,4 @@ -import { RootStore } from "oldStore/root.store"; +import { RootStore } from "store_legacy/root.store"; import { AppConfigStore, IAppConfigStore } from "./app-config.store"; import { CommandPaletteStore, ICommandPaletteStore } from "./command-palette.store"; import { EventTrackerStore, IEventTrackerStore } from "../event-tracker.store"; diff --git a/web/oldStore/application/instance.store.ts b/web/store_legacy/application/instance.store.ts similarity index 100% rename from web/oldStore/application/instance.store.ts rename to web/store_legacy/application/instance.store.ts diff --git a/web/oldStore/application/router.store.ts b/web/store_legacy/application/router.store.ts similarity index 100% rename from web/oldStore/application/router.store.ts rename to web/store_legacy/application/router.store.ts diff --git a/web/oldStore/application/theme.store.ts b/web/store_legacy/application/theme.store.ts similarity index 100% rename from web/oldStore/application/theme.store.ts rename to web/store_legacy/application/theme.store.ts diff --git a/web/oldStore/cycle.store.ts b/web/store_legacy/cycle.store.ts similarity index 99% rename from web/oldStore/cycle.store.ts rename to web/store_legacy/cycle.store.ts index ea452dafa..9f97f34a7 100644 --- a/web/oldStore/cycle.store.ts +++ b/web/store_legacy/cycle.store.ts @@ -6,7 +6,7 @@ import sortBy from "lodash/sortBy"; // types import { ICycle, CycleDateCheckData } from "@plane/types"; // mobx -import { RootStore } from "oldStore/root.store"; +import { RootStore } from "store_legacy/root.store"; // services import { ProjectService } from "services/project"; import { IssueService } from "services/issue"; diff --git a/web/oldStore/dashboard.store.ts b/web/store_legacy/dashboard.store.ts similarity index 99% rename from web/oldStore/dashboard.store.ts rename to web/store_legacy/dashboard.store.ts index 7db22fbf2..40b5cf980 100644 --- a/web/oldStore/dashboard.store.ts +++ b/web/store_legacy/dashboard.store.ts @@ -4,7 +4,7 @@ import set from "lodash/set"; // services import { DashboardService } from "services/dashboard.service"; // types -import { RootStore } from "oldStore/root.store"; +import { RootStore } from "store_legacy/root.store"; import { THomeDashboardResponse, TWidget, diff --git a/web/oldStore/estimate.store.ts b/web/store_legacy/estimate.store.ts similarity index 99% rename from web/oldStore/estimate.store.ts rename to web/store_legacy/estimate.store.ts index 8dc7f336c..1eecee3ae 100644 --- a/web/oldStore/estimate.store.ts +++ b/web/store_legacy/estimate.store.ts @@ -3,7 +3,7 @@ import set from "lodash/set"; // services import { ProjectEstimateService } from "services/project"; // types -import { RootStore } from "oldStore/root.store"; +import { RootStore } from "store_legacy/root.store"; import { IEstimate, IEstimateFormData } from "@plane/types"; import { computedFn } from "mobx-utils"; diff --git a/web/oldStore/event-tracker.store.ts b/web/store_legacy/event-tracker.store.ts similarity index 100% rename from web/oldStore/event-tracker.store.ts rename to web/store_legacy/event-tracker.store.ts diff --git a/web/oldStore/global-view.store.ts b/web/store_legacy/global-view.store.ts similarity index 98% rename from web/oldStore/global-view.store.ts rename to web/store_legacy/global-view.store.ts index b0d44ec6a..1b16faa33 100644 --- a/web/oldStore/global-view.store.ts +++ b/web/store_legacy/global-view.store.ts @@ -4,7 +4,7 @@ import { set } from "lodash"; // services import { WorkspaceService } from "services/workspace.service"; // types -import { RootStore } from "oldStore/root.store"; +import { RootStore } from "store_legacy/root.store"; import { IWorkspaceView } from "@plane/types"; export interface IGlobalViewStore { diff --git a/web/oldStore/inbox/inbox.store.ts b/web/store_legacy/inbox/inbox.store.ts similarity index 98% rename from web/oldStore/inbox/inbox.store.ts rename to web/store_legacy/inbox/inbox.store.ts index 41d57ad6a..6d2212e78 100644 --- a/web/oldStore/inbox/inbox.store.ts +++ b/web/store_legacy/inbox/inbox.store.ts @@ -7,7 +7,7 @@ import uniq from "lodash/uniq"; // services import { InboxService } from "services/inbox/inbox.service"; // types -import { RootStore } from "oldStore/root.store"; +import { RootStore } from "store_legacy/root.store"; import { TInboxDetailMap, TInboxDetailIdMap, TInbox } from "@plane/types"; export interface IInbox { diff --git a/web/oldStore/inbox/inbox_filter.store.ts b/web/store_legacy/inbox/inbox_filter.store.ts similarity index 98% rename from web/oldStore/inbox/inbox_filter.store.ts rename to web/store_legacy/inbox/inbox_filter.store.ts index 15f607ee8..824fd85d1 100644 --- a/web/oldStore/inbox/inbox_filter.store.ts +++ b/web/store_legacy/inbox/inbox_filter.store.ts @@ -4,7 +4,7 @@ import isEmpty from "lodash/isEmpty"; // services import { InboxService } from "services/inbox.service"; // types -import { RootStore } from "oldStore/root.store"; +import { RootStore } from "store_legacy/root.store"; import { TInboxIssueFilterOptions, TInboxIssueFilters, TInboxIssueQueryParams, TInbox } from "@plane/types"; export interface IInboxFilter { diff --git a/web/oldStore/inbox/inbox_issue.store.ts b/web/store_legacy/inbox/inbox_issue.store.ts similarity index 99% rename from web/oldStore/inbox/inbox_issue.store.ts rename to web/store_legacy/inbox/inbox_issue.store.ts index 7b31d58a0..f1bc1b485 100644 --- a/web/oldStore/inbox/inbox_issue.store.ts +++ b/web/store_legacy/inbox/inbox_issue.store.ts @@ -8,7 +8,7 @@ import pull from "lodash/pull"; // services import { InboxIssueService } from "services/inbox/inbox-issue.service"; // types -import { RootStore } from "oldStore/root.store"; +import { RootStore } from "store_legacy/root.store"; import type { TInboxIssueDetailIdMap, TInboxIssueDetailMap, diff --git a/web/oldStore/inbox/root.store.ts b/web/store_legacy/inbox/root.store.ts similarity index 92% rename from web/oldStore/inbox/root.store.ts rename to web/store_legacy/inbox/root.store.ts index 2f36975a3..986f9e938 100644 --- a/web/oldStore/inbox/root.store.ts +++ b/web/store_legacy/inbox/root.store.ts @@ -1,5 +1,5 @@ // types -import { RootStore } from "oldStore/root.store"; +import { RootStore } from "store_legacy/root.store"; import { IInbox, Inbox } from "./inbox.store"; import { IInboxIssue, InboxIssue } from "./inbox_issue.store"; import { IInboxFilter, InboxFilter } from "./inbox_filter.store"; diff --git a/web/oldStore/issue/archived/filter.store.ts b/web/store_legacy/issue/archived/filter.store.ts similarity index 100% rename from web/oldStore/issue/archived/filter.store.ts rename to web/store_legacy/issue/archived/filter.store.ts diff --git a/web/oldStore/issue/archived/index.ts b/web/store_legacy/issue/archived/index.ts similarity index 100% rename from web/oldStore/issue/archived/index.ts rename to web/store_legacy/issue/archived/index.ts diff --git a/web/oldStore/issue/archived/issue.store.ts b/web/store_legacy/issue/archived/issue.store.ts similarity index 100% rename from web/oldStore/issue/archived/issue.store.ts rename to web/store_legacy/issue/archived/issue.store.ts diff --git a/web/oldStore/issue/cycle/filter.store.ts b/web/store_legacy/issue/cycle/filter.store.ts similarity index 100% rename from web/oldStore/issue/cycle/filter.store.ts rename to web/store_legacy/issue/cycle/filter.store.ts diff --git a/web/oldStore/issue/cycle/index.ts b/web/store_legacy/issue/cycle/index.ts similarity index 100% rename from web/oldStore/issue/cycle/index.ts rename to web/store_legacy/issue/cycle/index.ts diff --git a/web/oldStore/issue/cycle/issue.store.ts b/web/store_legacy/issue/cycle/issue.store.ts similarity index 100% rename from web/oldStore/issue/cycle/issue.store.ts rename to web/store_legacy/issue/cycle/issue.store.ts diff --git a/web/oldStore/issue/draft/filter.store.ts b/web/store_legacy/issue/draft/filter.store.ts similarity index 100% rename from web/oldStore/issue/draft/filter.store.ts rename to web/store_legacy/issue/draft/filter.store.ts diff --git a/web/oldStore/issue/draft/index.ts b/web/store_legacy/issue/draft/index.ts similarity index 100% rename from web/oldStore/issue/draft/index.ts rename to web/store_legacy/issue/draft/index.ts diff --git a/web/oldStore/issue/draft/issue.store.ts b/web/store_legacy/issue/draft/issue.store.ts similarity index 100% rename from web/oldStore/issue/draft/issue.store.ts rename to web/store_legacy/issue/draft/issue.store.ts diff --git a/web/oldStore/issue/helpers/issue-filter-helper.store.ts b/web/store_legacy/issue/helpers/issue-filter-helper.store.ts similarity index 100% rename from web/oldStore/issue/helpers/issue-filter-helper.store.ts rename to web/store_legacy/issue/helpers/issue-filter-helper.store.ts diff --git a/web/oldStore/issue/helpers/issue-helper.store.ts b/web/store_legacy/issue/helpers/issue-helper.store.ts similarity index 100% rename from web/oldStore/issue/helpers/issue-helper.store.ts rename to web/store_legacy/issue/helpers/issue-helper.store.ts diff --git a/web/oldStore/issue/issue-details/activity.store.ts b/web/store_legacy/issue/issue-details/activity.store.ts similarity index 100% rename from web/oldStore/issue/issue-details/activity.store.ts rename to web/store_legacy/issue/issue-details/activity.store.ts diff --git a/web/oldStore/issue/issue-details/attachment.store.ts b/web/store_legacy/issue/issue-details/attachment.store.ts similarity index 100% rename from web/oldStore/issue/issue-details/attachment.store.ts rename to web/store_legacy/issue/issue-details/attachment.store.ts diff --git a/web/oldStore/issue/issue-details/comment.store.ts b/web/store_legacy/issue/issue-details/comment.store.ts similarity index 100% rename from web/oldStore/issue/issue-details/comment.store.ts rename to web/store_legacy/issue/issue-details/comment.store.ts diff --git a/web/oldStore/issue/issue-details/comment_reaction.store.ts b/web/store_legacy/issue/issue-details/comment_reaction.store.ts similarity index 100% rename from web/oldStore/issue/issue-details/comment_reaction.store.ts rename to web/store_legacy/issue/issue-details/comment_reaction.store.ts diff --git a/web/oldStore/issue/issue-details/issue.store.ts b/web/store_legacy/issue/issue-details/issue.store.ts similarity index 100% rename from web/oldStore/issue/issue-details/issue.store.ts rename to web/store_legacy/issue/issue-details/issue.store.ts diff --git a/web/oldStore/issue/issue-details/link.store.ts b/web/store_legacy/issue/issue-details/link.store.ts similarity index 100% rename from web/oldStore/issue/issue-details/link.store.ts rename to web/store_legacy/issue/issue-details/link.store.ts diff --git a/web/oldStore/issue/issue-details/reaction.store.ts b/web/store_legacy/issue/issue-details/reaction.store.ts similarity index 100% rename from web/oldStore/issue/issue-details/reaction.store.ts rename to web/store_legacy/issue/issue-details/reaction.store.ts diff --git a/web/oldStore/issue/issue-details/relation.store.ts b/web/store_legacy/issue/issue-details/relation.store.ts similarity index 100% rename from web/oldStore/issue/issue-details/relation.store.ts rename to web/store_legacy/issue/issue-details/relation.store.ts diff --git a/web/oldStore/issue/issue-details/root.store.ts b/web/store_legacy/issue/issue-details/root.store.ts similarity index 100% rename from web/oldStore/issue/issue-details/root.store.ts rename to web/store_legacy/issue/issue-details/root.store.ts diff --git a/web/oldStore/issue/issue-details/sub_issues.store.ts b/web/store_legacy/issue/issue-details/sub_issues.store.ts similarity index 100% rename from web/oldStore/issue/issue-details/sub_issues.store.ts rename to web/store_legacy/issue/issue-details/sub_issues.store.ts diff --git a/web/oldStore/issue/issue-details/subscription.store.ts b/web/store_legacy/issue/issue-details/subscription.store.ts similarity index 100% rename from web/oldStore/issue/issue-details/subscription.store.ts rename to web/store_legacy/issue/issue-details/subscription.store.ts diff --git a/web/oldStore/issue/issue.store.ts b/web/store_legacy/issue/issue.store.ts similarity index 100% rename from web/oldStore/issue/issue.store.ts rename to web/store_legacy/issue/issue.store.ts diff --git a/web/oldStore/issue/issue_calendar_view.store.ts b/web/store_legacy/issue/issue_calendar_view.store.ts similarity index 100% rename from web/oldStore/issue/issue_calendar_view.store.ts rename to web/store_legacy/issue/issue_calendar_view.store.ts diff --git a/web/oldStore/issue/issue_gantt_view.store.ts b/web/store_legacy/issue/issue_gantt_view.store.ts similarity index 100% rename from web/oldStore/issue/issue_gantt_view.store.ts rename to web/store_legacy/issue/issue_gantt_view.store.ts diff --git a/web/oldStore/issue/issue_kanban_view.store.ts b/web/store_legacy/issue/issue_kanban_view.store.ts similarity index 100% rename from web/oldStore/issue/issue_kanban_view.store.ts rename to web/store_legacy/issue/issue_kanban_view.store.ts diff --git a/web/oldStore/issue/module/filter.store.ts b/web/store_legacy/issue/module/filter.store.ts similarity index 100% rename from web/oldStore/issue/module/filter.store.ts rename to web/store_legacy/issue/module/filter.store.ts diff --git a/web/oldStore/issue/module/index.ts b/web/store_legacy/issue/module/index.ts similarity index 100% rename from web/oldStore/issue/module/index.ts rename to web/store_legacy/issue/module/index.ts diff --git a/web/oldStore/issue/module/issue.store.ts b/web/store_legacy/issue/module/issue.store.ts similarity index 100% rename from web/oldStore/issue/module/issue.store.ts rename to web/store_legacy/issue/module/issue.store.ts diff --git a/web/oldStore/issue/profile/filter.store.ts b/web/store_legacy/issue/profile/filter.store.ts similarity index 100% rename from web/oldStore/issue/profile/filter.store.ts rename to web/store_legacy/issue/profile/filter.store.ts diff --git a/web/oldStore/issue/profile/index.ts b/web/store_legacy/issue/profile/index.ts similarity index 100% rename from web/oldStore/issue/profile/index.ts rename to web/store_legacy/issue/profile/index.ts diff --git a/web/oldStore/issue/profile/issue.store.ts b/web/store_legacy/issue/profile/issue.store.ts similarity index 100% rename from web/oldStore/issue/profile/issue.store.ts rename to web/store_legacy/issue/profile/issue.store.ts diff --git a/web/oldStore/issue/project-views/filter.store.ts b/web/store_legacy/issue/project-views/filter.store.ts similarity index 100% rename from web/oldStore/issue/project-views/filter.store.ts rename to web/store_legacy/issue/project-views/filter.store.ts diff --git a/web/oldStore/issue/project-views/index.ts b/web/store_legacy/issue/project-views/index.ts similarity index 100% rename from web/oldStore/issue/project-views/index.ts rename to web/store_legacy/issue/project-views/index.ts diff --git a/web/oldStore/issue/project-views/issue.store.ts b/web/store_legacy/issue/project-views/issue.store.ts similarity index 100% rename from web/oldStore/issue/project-views/issue.store.ts rename to web/store_legacy/issue/project-views/issue.store.ts diff --git a/web/oldStore/issue/project/filter.store.ts b/web/store_legacy/issue/project/filter.store.ts similarity index 100% rename from web/oldStore/issue/project/filter.store.ts rename to web/store_legacy/issue/project/filter.store.ts diff --git a/web/oldStore/issue/project/index.ts b/web/store_legacy/issue/project/index.ts similarity index 100% rename from web/oldStore/issue/project/index.ts rename to web/store_legacy/issue/project/index.ts diff --git a/web/oldStore/issue/project/issue.store.ts b/web/store_legacy/issue/project/issue.store.ts similarity index 100% rename from web/oldStore/issue/project/issue.store.ts rename to web/store_legacy/issue/project/issue.store.ts diff --git a/web/oldStore/issue/root.store.ts b/web/store_legacy/issue/root.store.ts similarity index 98% rename from web/oldStore/issue/root.store.ts rename to web/store_legacy/issue/root.store.ts index ac8dba866..731deed9d 100644 --- a/web/oldStore/issue/root.store.ts +++ b/web/store_legacy/issue/root.store.ts @@ -22,7 +22,7 @@ import { IArchivedIssuesFilter, ArchivedIssuesFilter, IArchivedIssues, ArchivedI import { IDraftIssuesFilter, DraftIssuesFilter, IDraftIssues, DraftIssues } from "./draft"; import { IIssueKanBanViewStore, IssueKanBanViewStore } from "./issue_kanban_view.store"; import { ICalendarStore, CalendarStore } from "./issue_calendar_view.store"; -import { IWorkspaceMembership } from "oldStore/member/workspace-member.store"; +import { IWorkspaceMembership } from "store_legacy/member/workspace-member.store"; export interface IIssueRootStore { currentUserId: string | undefined; diff --git a/web/oldStore/issue/workspace/filter.store.ts b/web/store_legacy/issue/workspace/filter.store.ts similarity index 100% rename from web/oldStore/issue/workspace/filter.store.ts rename to web/store_legacy/issue/workspace/filter.store.ts diff --git a/web/oldStore/issue/workspace/index.ts b/web/store_legacy/issue/workspace/index.ts similarity index 100% rename from web/oldStore/issue/workspace/index.ts rename to web/store_legacy/issue/workspace/index.ts diff --git a/web/oldStore/issue/workspace/issue.store.ts b/web/store_legacy/issue/workspace/issue.store.ts similarity index 100% rename from web/oldStore/issue/workspace/issue.store.ts rename to web/store_legacy/issue/workspace/issue.store.ts diff --git a/web/oldStore/label.store.ts b/web/store_legacy/label.store.ts similarity index 99% rename from web/oldStore/label.store.ts rename to web/store_legacy/label.store.ts index 025179f41..3e9cf7e3e 100644 --- a/web/oldStore/label.store.ts +++ b/web/store_legacy/label.store.ts @@ -7,7 +7,7 @@ import { IssueLabelService } from "services/issue"; // helpers import { buildTree } from "helpers/array.helper"; // types -import { RootStore } from "oldStore/root.store"; +import { RootStore } from "store_legacy/root.store"; import { IIssueLabel, IIssueLabelTree } from "@plane/types"; export interface ILabelStore { diff --git a/web/oldStore/member/index.ts b/web/store_legacy/member/index.ts similarity index 95% rename from web/oldStore/member/index.ts rename to web/store_legacy/member/index.ts index 3b7d8b1f9..fff8b4577 100644 --- a/web/oldStore/member/index.ts +++ b/web/store_legacy/member/index.ts @@ -1,6 +1,6 @@ import { action, makeObservable, observable } from "mobx"; // types -import { RootStore } from "oldStore/root.store"; +import { RootStore } from "store_legacy/root.store"; import { IUserLite } from "@plane/types"; import { IWorkspaceMemberStore, WorkspaceMemberStore } from "./workspace-member.store"; import { IProjectMemberStore, ProjectMemberStore } from "./project-member.store"; diff --git a/web/oldStore/member/project-member.store.ts b/web/store_legacy/member/project-member.store.ts similarity index 97% rename from web/oldStore/member/project-member.store.ts rename to web/store_legacy/member/project-member.store.ts index 245848156..ce70f2ddb 100644 --- a/web/oldStore/member/project-member.store.ts +++ b/web/store_legacy/member/project-member.store.ts @@ -5,13 +5,13 @@ import sortBy from "lodash/sortBy"; // services import { ProjectMemberService } from "services/project"; // types -import { RootStore } from "oldStore/root.store"; +import { RootStore } from "store_legacy/root.store"; import { IProjectBulkAddFormData, IProjectMember, IProjectMembership, IUserLite } from "@plane/types"; // constants import { EUserProjectRoles } from "constants/project"; import { IMemberRootStore } from "."; -import { IRouterStore } from "oldStore/application/router.store"; -import { IUserRootStore } from "oldStore/user"; +import { IRouterStore } from "store_legacy/application/router.store"; +import { IUserRootStore } from "store_legacy/user"; interface IProjectMemberDetails { id: string; diff --git a/web/oldStore/member/workspace-member.store.ts b/web/store_legacy/member/workspace-member.store.ts similarity index 98% rename from web/oldStore/member/workspace-member.store.ts rename to web/store_legacy/member/workspace-member.store.ts index af27f3ccd..22cd75707 100644 --- a/web/oldStore/member/workspace-member.store.ts +++ b/web/store_legacy/member/workspace-member.store.ts @@ -5,13 +5,13 @@ import sortBy from "lodash/sortBy"; // services import { WorkspaceService } from "services/workspace.service"; // types -import { RootStore } from "oldStore/root.store"; +import { RootStore } from "store_legacy/root.store"; import { IWorkspaceBulkInviteFormData, IWorkspaceMember, IWorkspaceMemberInvitation } from "@plane/types"; // constants import { EUserWorkspaceRoles } from "constants/workspace"; -import { IRouterStore } from "oldStore/application/router.store"; +import { IRouterStore } from "store_legacy/application/router.store"; import { IMemberRootStore } from "."; -import { IUserRootStore } from "oldStore/user"; +import { IUserRootStore } from "store_legacy/user"; export interface IWorkspaceMembership { id: string; diff --git a/web/oldStore/mention.store.ts b/web/store_legacy/mention.store.ts similarity index 96% rename from web/oldStore/mention.store.ts rename to web/store_legacy/mention.store.ts index 25dbbbb10..14f286bba 100644 --- a/web/oldStore/mention.store.ts +++ b/web/store_legacy/mention.store.ts @@ -2,7 +2,7 @@ import { computed, makeObservable } from "mobx"; // editor import { IMentionHighlight, IMentionSuggestion } from "@plane/lite-text-editor"; // types -import { RootStore } from "oldStore/root.store"; +import { RootStore } from "store_legacy/root.store"; export interface IMentionStore { // computed diff --git a/web/oldStore/module.store.ts b/web/store_legacy/module.store.ts similarity index 99% rename from web/oldStore/module.store.ts rename to web/store_legacy/module.store.ts index 97d1ccc3d..599ac5a75 100644 --- a/web/oldStore/module.store.ts +++ b/web/store_legacy/module.store.ts @@ -7,7 +7,7 @@ import { ProjectService } from "services/project"; import { ModuleService } from "services/module.service"; // types import { IModule, ILinkDetails } from "@plane/types"; -import { RootStore } from "oldStore/root.store"; +import { RootStore } from "store_legacy/root.store"; export interface IModuleStore { //Loaders diff --git a/web/oldStore/page.store.ts b/web/store_legacy/page.store.ts similarity index 100% rename from web/oldStore/page.store.ts rename to web/store_legacy/page.store.ts diff --git a/web/oldStore/project-page.store.ts b/web/store_legacy/project-page.store.ts similarity index 99% rename from web/oldStore/project-page.store.ts rename to web/store_legacy/project-page.store.ts index 84a61f5ef..68ad8267c 100644 --- a/web/oldStore/project-page.store.ts +++ b/web/store_legacy/project-page.store.ts @@ -3,7 +3,7 @@ import { set } from "lodash"; // services import { PageService } from "services/page.service"; // store -import { PageStore, IPageStore } from "oldStore/page.store"; +import { PageStore, IPageStore } from "store_legacy/page.store"; // types import { IPage, IRecentPages } from "@plane/types"; import { RootStore } from "./root.store"; diff --git a/web/oldStore/project-view.store.ts b/web/store_legacy/project-view.store.ts similarity index 99% rename from web/oldStore/project-view.store.ts rename to web/store_legacy/project-view.store.ts index 172829a76..c647575ba 100644 --- a/web/oldStore/project-view.store.ts +++ b/web/store_legacy/project-view.store.ts @@ -3,7 +3,7 @@ import { observable, action, makeObservable, runInAction, computed } from "mobx" import { computedFn } from "mobx-utils"; // services import { ViewService } from "services/view.service"; -import { RootStore } from "oldStore/root.store"; +import { RootStore } from "store_legacy/root.store"; // types import { IProjectView } from "@plane/types"; diff --git a/web/oldStore/project/index.ts b/web/store_legacy/project/index.ts similarity index 89% rename from web/oldStore/project/index.ts rename to web/store_legacy/project/index.ts index e8212cbc0..95c890722 100644 --- a/web/oldStore/project/index.ts +++ b/web/store_legacy/project/index.ts @@ -1,6 +1,6 @@ import { IProjectStore, ProjectStore } from "./project.store"; import { IProjectPublishStore, ProjectPublishStore } from "./project-publish.store"; -import { RootStore } from "oldStore/root.store"; +import { RootStore } from "store_legacy/root.store"; export interface IProjectRootStore { project: IProjectStore; diff --git a/web/oldStore/project/project-publish.store.ts b/web/store_legacy/project/project-publish.store.ts similarity index 100% rename from web/oldStore/project/project-publish.store.ts rename to web/store_legacy/project/project-publish.store.ts diff --git a/web/oldStore/project/project.store.ts b/web/store_legacy/project/project.store.ts similarity index 100% rename from web/oldStore/project/project.store.ts rename to web/store_legacy/project/project.store.ts diff --git a/web/oldStore/root.store.ts b/web/store_legacy/root.store.ts similarity index 100% rename from web/oldStore/root.store.ts rename to web/store_legacy/root.store.ts diff --git a/web/oldStore/state.store.ts b/web/store_legacy/state.store.ts similarity index 100% rename from web/oldStore/state.store.ts rename to web/store_legacy/state.store.ts diff --git a/web/oldStore/user/index.ts b/web/store_legacy/user/index.ts similarity index 100% rename from web/oldStore/user/index.ts rename to web/store_legacy/user/index.ts diff --git a/web/oldStore/user/user-membership.store.ts b/web/store_legacy/user/user-membership.store.ts similarity index 100% rename from web/oldStore/user/user-membership.store.ts rename to web/store_legacy/user/user-membership.store.ts diff --git a/web/oldStore/workspace/api-token.store.ts b/web/store_legacy/workspace/api-token.store.ts similarity index 100% rename from web/oldStore/workspace/api-token.store.ts rename to web/store_legacy/workspace/api-token.store.ts diff --git a/web/oldStore/workspace/index.ts b/web/store_legacy/workspace/index.ts similarity index 100% rename from web/oldStore/workspace/index.ts rename to web/store_legacy/workspace/index.ts diff --git a/web/oldStore/workspace/webhook.store.ts b/web/store_legacy/workspace/webhook.store.ts similarity index 100% rename from web/oldStore/workspace/webhook.store.ts rename to web/store_legacy/workspace/webhook.store.ts