From 142d294cc1eb1c2fb659c5e58ef742a5e4f32ea2 Mon Sep 17 00:00:00 2001 From: rahulramesha Date: Mon, 4 Mar 2024 18:20:18 +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 +- .../application/app-config.store.ts | 0 .../application/command-palette.store.ts | 0 web/{store => oldStore}/application/index.ts | 2 +- .../application/instance.store.ts | 0 .../application/router.store.ts | 0 .../application/theme.store.ts | 0 web/{store => oldStore}/cycle.store.ts | 2 +- web/{store => oldStore}/dashboard.store.ts | 2 +- web/{store => oldStore}/estimate.store.ts | 2 +- web/{store => oldStore}/event-tracker.store.ts | 0 web/{store => oldStore}/global-view.store.ts | 2 +- web/{store => oldStore}/inbox/inbox.store.ts | 2 +- .../inbox/inbox_filter.store.ts | 2 +- .../inbox/inbox_issue.store.ts | 2 +- web/{store => oldStore}/inbox/root.store.ts | 2 +- .../issue/archived/filter.store.ts | 0 web/{store => oldStore}/issue/archived/index.ts | 0 .../issue/archived/issue.store.ts | 0 .../issue/cycle/filter.store.ts | 0 web/{store => oldStore}/issue/cycle/index.ts | 0 .../issue/cycle/issue.store.ts | 0 .../issue/draft/filter.store.ts | 0 web/{store => oldStore}/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 web/{store => oldStore}/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 web/{store => oldStore}/issue/module/index.ts | 0 .../issue/module/issue.store.ts | 0 .../issue/profile/filter.store.ts | 0 web/{store => oldStore}/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 web/{store => oldStore}/issue/project/index.ts | 0 .../issue/project/issue.store.ts | 0 web/{store => oldStore}/issue/root.store.ts | 2 +- .../issue/workspace/filter.store.ts | 0 web/{store => oldStore}/issue/workspace/index.ts | 0 .../issue/workspace/issue.store.ts | 0 web/{store => oldStore}/label.store.ts | 2 +- web/{store => oldStore}/member/index.ts | 2 +- .../member/project-member.store.ts | 6 +++--- .../member/workspace-member.store.ts | 6 +++--- web/{store => oldStore}/mention.store.ts | 2 +- web/{store => oldStore}/module.store.ts | 2 +- web/{store => oldStore}/page.store.ts | 0 web/{store => oldStore}/project-page.store.ts | 2 +- web/{store => oldStore}/project-view.store.ts | 2 +- web/{store => oldStore}/project/index.ts | 2 +- .../project/project-publish.store.ts | 2 +- web/{store => oldStore}/project/project.store.ts | 0 web/{store => oldStore}/root.store.ts | 0 web/{store => oldStore}/state.store.ts | 0 web/{store => oldStore}/user/index.ts | 0 .../user/user-membership.store.ts | 0 .../workspace/api-token.store.ts | 0 web/{store => oldStore}/workspace/index.ts | 0 .../workspace/webhook.store.ts | 0 web/services/project/project-publish.service.ts | 2 +- 122 files changed, 130 insertions(+), 130 deletions(-) rename web/{store => oldStore}/application/app-config.store.ts (100%) rename web/{store => oldStore}/application/command-palette.store.ts (100%) rename web/{store => oldStore}/application/index.ts (95%) rename web/{store => oldStore}/application/instance.store.ts (100%) rename web/{store => oldStore}/application/router.store.ts (100%) rename web/{store => oldStore}/application/theme.store.ts (100%) rename web/{store => oldStore}/cycle.store.ts (99%) rename web/{store => oldStore}/dashboard.store.ts (99%) rename web/{store => oldStore}/estimate.store.ts (99%) rename web/{store => oldStore}/event-tracker.store.ts (100%) rename web/{store => oldStore}/global-view.store.ts (99%) rename web/{store => oldStore}/inbox/inbox.store.ts (98%) rename web/{store => oldStore}/inbox/inbox_filter.store.ts (98%) rename web/{store => oldStore}/inbox/inbox_issue.store.ts (99%) rename web/{store => oldStore}/inbox/root.store.ts (93%) rename web/{store => oldStore}/issue/archived/filter.store.ts (100%) rename web/{store => oldStore}/issue/archived/index.ts (100%) rename web/{store => oldStore}/issue/archived/issue.store.ts (100%) rename web/{store => oldStore}/issue/cycle/filter.store.ts (100%) rename web/{store => oldStore}/issue/cycle/index.ts (100%) rename web/{store => oldStore}/issue/cycle/issue.store.ts (100%) rename web/{store => oldStore}/issue/draft/filter.store.ts (100%) rename web/{store => oldStore}/issue/draft/index.ts (100%) rename web/{store => oldStore}/issue/draft/issue.store.ts (100%) rename web/{store => oldStore}/issue/helpers/issue-filter-helper.store.ts (100%) rename web/{store => oldStore}/issue/helpers/issue-helper.store.ts (100%) rename web/{store => oldStore}/issue/issue-details/activity.store.ts (100%) rename web/{store => oldStore}/issue/issue-details/attachment.store.ts (100%) rename web/{store => oldStore}/issue/issue-details/comment.store.ts (100%) rename web/{store => oldStore}/issue/issue-details/comment_reaction.store.ts (100%) rename web/{store => oldStore}/issue/issue-details/issue.store.ts (100%) rename web/{store => oldStore}/issue/issue-details/link.store.ts (100%) rename web/{store => oldStore}/issue/issue-details/reaction.store.ts (100%) rename web/{store => oldStore}/issue/issue-details/relation.store.ts (100%) rename web/{store => oldStore}/issue/issue-details/root.store.ts (100%) rename web/{store => oldStore}/issue/issue-details/sub_issues.store.ts (100%) rename web/{store => oldStore}/issue/issue-details/subscription.store.ts (100%) rename web/{store => oldStore}/issue/issue.store.ts (100%) rename web/{store => oldStore}/issue/issue_calendar_view.store.ts (100%) rename web/{store => oldStore}/issue/issue_gantt_view.store.ts (100%) rename web/{store => oldStore}/issue/issue_kanban_view.store.ts (100%) rename web/{store => oldStore}/issue/module/filter.store.ts (100%) rename web/{store => oldStore}/issue/module/index.ts (100%) rename web/{store => oldStore}/issue/module/issue.store.ts (100%) rename web/{store => oldStore}/issue/profile/filter.store.ts (100%) rename web/{store => oldStore}/issue/profile/index.ts (100%) rename web/{store => oldStore}/issue/profile/issue.store.ts (100%) rename web/{store => oldStore}/issue/project-views/filter.store.ts (100%) rename web/{store => oldStore}/issue/project-views/index.ts (100%) rename web/{store => oldStore}/issue/project-views/issue.store.ts (100%) rename web/{store => oldStore}/issue/project/filter.store.ts (100%) rename web/{store => oldStore}/issue/project/index.ts (100%) rename web/{store => oldStore}/issue/project/issue.store.ts (100%) rename web/{store => oldStore}/issue/root.store.ts (99%) rename web/{store => oldStore}/issue/workspace/filter.store.ts (100%) rename web/{store => oldStore}/issue/workspace/index.ts (100%) rename web/{store => oldStore}/issue/workspace/issue.store.ts (100%) rename web/{store => oldStore}/label.store.ts (99%) rename web/{store => oldStore}/member/index.ts (96%) rename web/{store => oldStore}/member/project-member.store.ts (97%) rename web/{store => oldStore}/member/workspace-member.store.ts (98%) rename web/{store => oldStore}/mention.store.ts (96%) rename web/{store => oldStore}/module.store.ts (99%) rename web/{store => oldStore}/page.store.ts (100%) rename web/{store => oldStore}/project-page.store.ts (99%) rename web/{store => oldStore}/project-view.store.ts (99%) rename web/{store => oldStore}/project/index.ts (90%) rename web/{store => oldStore}/project/project-publish.store.ts (99%) rename web/{store => oldStore}/project/project.store.ts (100%) rename web/{store => oldStore}/root.store.ts (100%) rename web/{store => oldStore}/state.store.ts (100%) rename web/{store => oldStore}/user/index.ts (100%) rename web/{store => oldStore}/user/user-membership.store.ts (100%) rename web/{store => oldStore}/workspace/api-token.store.ts (100%) rename web/{store => oldStore}/workspace/index.ts (100%) rename web/{store => oldStore}/workspace/webhook.store.ts (100%) diff --git a/web/components/gantt-chart/contexts/index.tsx b/web/components/gantt-chart/contexts/index.tsx index 1d8a19f1a..07bfcf15c 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 "store/issue/issue_gantt_view.store"; +import { GanttStore } from "oldStore/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 23e025e90..576407c5d 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 "store/issue/issue_gantt_view.store"; +import { IGanttStore } from "oldStore/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 43f62e5be..e3ee854cd 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 "store/issue/cycle"; -import { IModuleIssues, IModuleIssuesFilter } from "store/issue/module"; -import { IProjectIssues, IProjectIssuesFilter } from "store/issue/project"; -import { IProjectViewIssues, IProjectViewIssuesFilter } from "store/issue/project-views"; +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 { 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 badb849fb..2e8a15142 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 "store/issue/cycle"; -import { IModuleIssuesFilter } from "store/issue/module"; -import { IProjectIssuesFilter } from "store/issue/project"; -import { IProjectViewIssuesFilter } from "store/issue/project-views"; +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"; 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 f92365a58..23a15b7af 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 "store/issue/cycle"; -import { IModuleIssuesFilter } from "store/issue/module"; -import { IProjectIssuesFilter } from "store/issue/project"; -import { IProjectViewIssuesFilter } from "store/issue/project-views"; +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"; 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 2443ae17b..8d915e47e 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 "store/issue/cycle"; -import { IModuleIssuesFilter } from "store/issue/module"; -import { IProjectIssuesFilter } from "store/issue/project"; -import { IProjectViewIssuesFilter } from "store/issue/project-views"; +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"; 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 3168e07ee..3aa569dc6 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 "store/issue/cycle"; -import { IModuleIssuesFilter } from "store/issue/module"; -import { IProjectIssuesFilter } from "store/issue/project"; -import { IProjectViewIssuesFilter } from "store/issue/project-views"; +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"; 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 ebbb510fc..55dd98de2 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 "store/issue/cycle"; -import { IModuleIssuesFilter } from "store/issue/module"; -import { IProjectIssuesFilter } from "store/issue/project"; -import { IProjectViewIssuesFilter } from "store/issue/project-views"; +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"; 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 82d9ce0ce..d568ef8ab 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 "store/issue/cycle"; -import { IModuleIssues } from "store/issue/module"; -import { IProjectIssues } from "store/issue/project"; -import { IProjectViewIssues } from "store/issue/project-views"; +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 { 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 5a640a566..ac5b8e7f1 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 "store/issue/cycle"; -import { IModuleIssuesFilter } from "store/issue/module"; -import { IProjectIssuesFilter } from "store/issue/project"; -import { IProjectViewIssuesFilter } from "store/issue/project-views"; +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"; 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 ec33872eb..83ca81006 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 "store/issue/cycle"; -import { IModuleIssues, IModuleIssuesFilter } from "store/issue/module"; -import { IProjectIssues, IProjectIssuesFilter } from "store/issue/project"; -import { IProjectViewIssues, IProjectViewIssuesFilter } from "store/issue/project-views"; +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"; // 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 7bdaf282d..eefb914c7 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 "store/issue/project"; +import { IProjectIssues, IProjectIssuesFilter } from "oldStore/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 "store/issue/cycle"; -import { IDraftIssues, IDraftIssuesFilter } from "store/issue/draft"; -import { IProfileIssues, IProfileIssuesFilter } from "store/issue/profile"; -import { IModuleIssues, IModuleIssuesFilter } from "store/issue/module"; -import { IProjectViewIssues, IProjectViewIssuesFilter } from "store/issue/project-views"; +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 { 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 617598524..bbb2fa0be 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 "store/issue/cycle"; -import { IDraftIssues } from "store/issue/draft"; -import { IModuleIssues } from "store/issue/module"; -import { IProfileIssues } from "store/issue/profile"; -import { IProjectIssues } from "store/issue/project"; -import { IProjectViewIssues } from "store/issue/project-views"; -import { IWorkspaceIssues } from "store/issue/workspace"; +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 { 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 ffe9de661..1bfb7c275 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 "store/issue/project"; -import { ICycleIssues, ICycleIssuesFilter } from "store/issue/cycle"; -import { IModuleIssues, IModuleIssuesFilter } from "store/issue/module"; -import { IProfileIssues, IProfileIssuesFilter } from "store/issue/profile"; -import { IProjectViewIssues, IProjectViewIssuesFilter } from "store/issue/project-views"; -import { IDraftIssuesFilter, IDraftIssues } from "store/issue/draft"; -import { IArchivedIssuesFilter, IArchivedIssues } from "store/issue/archived"; +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 { 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 2f09b55d6..1cb39f58b 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 "store/issue/cycle"; -import { IModuleIssuesFilter, IModuleIssues } from "store/issue/module"; -import { IProjectIssuesFilter, IProjectIssues } from "store/issue/project"; -import { IProjectViewIssuesFilter, IProjectViewIssues } from "store/issue/project-views"; +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 { 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 ce49d774d..690dfc0e2 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 "store/member"; -import { IProjectStore } from "store/project/project.store"; -import { IStateStore } from "store/state.store"; -import { ILabelStore } from "store/label.store"; -import { ICycleStore } from "store/cycle.store"; -import { IModuleStore } from "store/module.store"; +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"; // 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 eea7e9d7f..4a63c46be 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 "store/page.store"; +import { IPageStore } from "oldStore/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 4f5874e5f..8f86ebc7d 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 "store/page.store"; +import { IPageStore } from "oldStore/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 77be4c84b..feb6aa9ab 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 "store/project/project-publish.store"; +import { IProjectPublishSettings, TProjectPublishViews } from "oldStore/project/project-publish.store"; type Props = { isOpen: boolean; diff --git a/web/contexts/store-context.tsx b/web/contexts/store-context.tsx index b408ec98d..49e507d34 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 "store/root.store"; +import { RootStore } from "oldStore/root.store"; let rootStore = new RootStore(); diff --git a/web/hooks/store/use-application.ts b/web/hooks/store/use-application.ts index dad1f081f..2a994f96d 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 "store/application"; +import { IAppRootStore } from "oldStore/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 c2c5a51d8..5fa630acb 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 "store/issue/issue_calendar_view.store"; +import { ICalendarStore } from "oldStore/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 01c8e3f24..d92b3b11b 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 "store/cycle.store"; +import { ICycleStore } from "oldStore/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 bf54518ae..5904825e7 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 "store/dashboard.store"; +import { IDashboardStore } from "oldStore/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 2a9ba82f1..a9ccdb3c2 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 "store/estimate.store"; +import { IEstimateStore } from "oldStore/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 bcff65ae0..15582f780 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 "store/event-tracker.store"; +import { IEventTrackerStore } from "oldStore/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 cb712e6e1..e733f7160 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 "store/global-view.store"; +import { IGlobalViewStore } from "oldStore/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 2b2941f84..7e2d311bd 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 "store/inbox/inbox_issue.store"; -import { IInboxFilter } from "store/inbox/inbox_filter.store"; +import { IInboxIssue } from "oldStore/inbox/inbox_issue.store"; +import { IInboxFilter } from "oldStore/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 598801d74..3b1551768 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 "store/inbox/inbox.store"; +import { IInbox } from "oldStore/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 23d7bcead..6db49e847 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 "store/issue/issue-details/root.store"; +import { IIssueDetail } from "oldStore/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 f2da9d954..1a671c0f9 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 "store/issue/workspace"; -import { IProfileIssues, IProfileIssuesFilter } from "store/issue/profile"; -import { IProjectIssues, IProjectIssuesFilter } from "store/issue/project"; -import { ICycleIssues, ICycleIssuesFilter } from "store/issue/cycle"; -import { IModuleIssues, IModuleIssuesFilter } from "store/issue/module"; -import { IProjectViewIssues, IProjectViewIssuesFilter } from "store/issue/project-views"; -import { IArchivedIssues, IArchivedIssuesFilter } from "store/issue/archived"; -import { IDraftIssues, IDraftIssuesFilter } from "store/issue/draft"; +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 { 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 627703e69..ff2cc968d 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 "store/issue/issue_kanban_view.store"; +import { IIssueKanBanViewStore } from "oldStore/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 5d4646a75..20128e7ae 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 "store/label.store"; +import { ILabelStore } from "oldStore/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 09c06d12b..6830a7830 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 "store/member"; +import { IMemberRootStore } from "oldStore/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 bf688053c..f8adf7f1c 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 "store/mention.store"; +import { IMentionStore } from "oldStore/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 b645e610b..ed0736a6a 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 "store/module.store"; +import { IModuleStore } from "oldStore/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 f7c25ea17..d4e5faaea 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 "store/project-page.store"; +import { IProjectPageStore } from "oldStore/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 1c6cdf777..27593358e 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 "store/project/project-publish.store"; +import { IProjectPublishStore } from "oldStore/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 325c2ef16..9437a1989 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 "store/project-page.store"; +import { IProjectPageStore } from "oldStore/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 77c713e1f..fd620396d 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 "store/state.store"; +import { IStateStore } from "oldStore/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 a53e2720d..8b13ba1dd 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 "store/project-view.store"; +import { IProjectViewStore } from "oldStore/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 a6fb8cc20..1e5b07e21 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 "store/project/project.store"; +import { IProjectStore } from "oldStore/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 10939dd76..ee8fa4bae 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 "store/user"; +import { IUserRootStore } from "oldStore/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 bf35827c5..483491211 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 "store/workspace/webhook.store"; +import { IWebhookStore } from "oldStore/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 7d1343a6c..6c82b2b55 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 "store/workspace"; +import { IWorkspaceRootStore } from "oldStore/workspace"; export const useWorkspace = (): IWorkspaceRootStore => { const context = useContext(StoreContext); diff --git a/web/store/application/app-config.store.ts b/web/oldStore/application/app-config.store.ts similarity index 100% rename from web/store/application/app-config.store.ts rename to web/oldStore/application/app-config.store.ts diff --git a/web/store/application/command-palette.store.ts b/web/oldStore/application/command-palette.store.ts similarity index 100% rename from web/store/application/command-palette.store.ts rename to web/oldStore/application/command-palette.store.ts diff --git a/web/store/application/index.ts b/web/oldStore/application/index.ts similarity index 95% rename from web/store/application/index.ts rename to web/oldStore/application/index.ts index 30333535a..cb9418cc0 100644 --- a/web/store/application/index.ts +++ b/web/oldStore/application/index.ts @@ -1,4 +1,4 @@ -import { RootStore } from "store/root.store"; +import { RootStore } from "oldStore/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/store/application/instance.store.ts b/web/oldStore/application/instance.store.ts similarity index 100% rename from web/store/application/instance.store.ts rename to web/oldStore/application/instance.store.ts diff --git a/web/store/application/router.store.ts b/web/oldStore/application/router.store.ts similarity index 100% rename from web/store/application/router.store.ts rename to web/oldStore/application/router.store.ts diff --git a/web/store/application/theme.store.ts b/web/oldStore/application/theme.store.ts similarity index 100% rename from web/store/application/theme.store.ts rename to web/oldStore/application/theme.store.ts diff --git a/web/store/cycle.store.ts b/web/oldStore/cycle.store.ts similarity index 99% rename from web/store/cycle.store.ts rename to web/oldStore/cycle.store.ts index ee4842539..ea452dafa 100644 --- a/web/store/cycle.store.ts +++ b/web/oldStore/cycle.store.ts @@ -6,7 +6,7 @@ import sortBy from "lodash/sortBy"; // types import { ICycle, CycleDateCheckData } from "@plane/types"; // mobx -import { RootStore } from "store/root.store"; +import { RootStore } from "oldStore/root.store"; // services import { ProjectService } from "services/project"; import { IssueService } from "services/issue"; diff --git a/web/store/dashboard.store.ts b/web/oldStore/dashboard.store.ts similarity index 99% rename from web/store/dashboard.store.ts rename to web/oldStore/dashboard.store.ts index ad0960c7b..7db22fbf2 100644 --- a/web/store/dashboard.store.ts +++ b/web/oldStore/dashboard.store.ts @@ -4,7 +4,7 @@ import set from "lodash/set"; // services import { DashboardService } from "services/dashboard.service"; // types -import { RootStore } from "store/root.store"; +import { RootStore } from "oldStore/root.store"; import { THomeDashboardResponse, TWidget, diff --git a/web/store/estimate.store.ts b/web/oldStore/estimate.store.ts similarity index 99% rename from web/store/estimate.store.ts rename to web/oldStore/estimate.store.ts index beddd52ab..8dc7f336c 100644 --- a/web/store/estimate.store.ts +++ b/web/oldStore/estimate.store.ts @@ -3,7 +3,7 @@ import set from "lodash/set"; // services import { ProjectEstimateService } from "services/project"; // types -import { RootStore } from "store/root.store"; +import { RootStore } from "oldStore/root.store"; import { IEstimate, IEstimateFormData } from "@plane/types"; import { computedFn } from "mobx-utils"; diff --git a/web/store/event-tracker.store.ts b/web/oldStore/event-tracker.store.ts similarity index 100% rename from web/store/event-tracker.store.ts rename to web/oldStore/event-tracker.store.ts diff --git a/web/store/global-view.store.ts b/web/oldStore/global-view.store.ts similarity index 99% rename from web/store/global-view.store.ts rename to web/oldStore/global-view.store.ts index 65aedadb5..b0d44ec6a 100644 --- a/web/store/global-view.store.ts +++ b/web/oldStore/global-view.store.ts @@ -4,7 +4,7 @@ import { set } from "lodash"; // services import { WorkspaceService } from "services/workspace.service"; // types -import { RootStore } from "store/root.store"; +import { RootStore } from "oldStore/root.store"; import { IWorkspaceView } from "@plane/types"; export interface IGlobalViewStore { diff --git a/web/store/inbox/inbox.store.ts b/web/oldStore/inbox/inbox.store.ts similarity index 98% rename from web/store/inbox/inbox.store.ts rename to web/oldStore/inbox/inbox.store.ts index 8d8f2bec5..41d57ad6a 100644 --- a/web/store/inbox/inbox.store.ts +++ b/web/oldStore/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 "store/root.store"; +import { RootStore } from "oldStore/root.store"; import { TInboxDetailMap, TInboxDetailIdMap, TInbox } from "@plane/types"; export interface IInbox { diff --git a/web/store/inbox/inbox_filter.store.ts b/web/oldStore/inbox/inbox_filter.store.ts similarity index 98% rename from web/store/inbox/inbox_filter.store.ts rename to web/oldStore/inbox/inbox_filter.store.ts index c4566acbe..15f607ee8 100644 --- a/web/store/inbox/inbox_filter.store.ts +++ b/web/oldStore/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 "store/root.store"; +import { RootStore } from "oldStore/root.store"; import { TInboxIssueFilterOptions, TInboxIssueFilters, TInboxIssueQueryParams, TInbox } from "@plane/types"; export interface IInboxFilter { diff --git a/web/store/inbox/inbox_issue.store.ts b/web/oldStore/inbox/inbox_issue.store.ts similarity index 99% rename from web/store/inbox/inbox_issue.store.ts rename to web/oldStore/inbox/inbox_issue.store.ts index 4f980357f..7b31d58a0 100644 --- a/web/store/inbox/inbox_issue.store.ts +++ b/web/oldStore/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 "store/root.store"; +import { RootStore } from "oldStore/root.store"; import type { TInboxIssueDetailIdMap, TInboxIssueDetailMap, diff --git a/web/store/inbox/root.store.ts b/web/oldStore/inbox/root.store.ts similarity index 93% rename from web/store/inbox/root.store.ts rename to web/oldStore/inbox/root.store.ts index b0706cca7..2f36975a3 100644 --- a/web/store/inbox/root.store.ts +++ b/web/oldStore/inbox/root.store.ts @@ -1,5 +1,5 @@ // types -import { RootStore } from "store/root.store"; +import { RootStore } from "oldStore/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/store/issue/archived/filter.store.ts b/web/oldStore/issue/archived/filter.store.ts similarity index 100% rename from web/store/issue/archived/filter.store.ts rename to web/oldStore/issue/archived/filter.store.ts diff --git a/web/store/issue/archived/index.ts b/web/oldStore/issue/archived/index.ts similarity index 100% rename from web/store/issue/archived/index.ts rename to web/oldStore/issue/archived/index.ts diff --git a/web/store/issue/archived/issue.store.ts b/web/oldStore/issue/archived/issue.store.ts similarity index 100% rename from web/store/issue/archived/issue.store.ts rename to web/oldStore/issue/archived/issue.store.ts diff --git a/web/store/issue/cycle/filter.store.ts b/web/oldStore/issue/cycle/filter.store.ts similarity index 100% rename from web/store/issue/cycle/filter.store.ts rename to web/oldStore/issue/cycle/filter.store.ts diff --git a/web/store/issue/cycle/index.ts b/web/oldStore/issue/cycle/index.ts similarity index 100% rename from web/store/issue/cycle/index.ts rename to web/oldStore/issue/cycle/index.ts diff --git a/web/store/issue/cycle/issue.store.ts b/web/oldStore/issue/cycle/issue.store.ts similarity index 100% rename from web/store/issue/cycle/issue.store.ts rename to web/oldStore/issue/cycle/issue.store.ts diff --git a/web/store/issue/draft/filter.store.ts b/web/oldStore/issue/draft/filter.store.ts similarity index 100% rename from web/store/issue/draft/filter.store.ts rename to web/oldStore/issue/draft/filter.store.ts diff --git a/web/store/issue/draft/index.ts b/web/oldStore/issue/draft/index.ts similarity index 100% rename from web/store/issue/draft/index.ts rename to web/oldStore/issue/draft/index.ts diff --git a/web/store/issue/draft/issue.store.ts b/web/oldStore/issue/draft/issue.store.ts similarity index 100% rename from web/store/issue/draft/issue.store.ts rename to web/oldStore/issue/draft/issue.store.ts diff --git a/web/store/issue/helpers/issue-filter-helper.store.ts b/web/oldStore/issue/helpers/issue-filter-helper.store.ts similarity index 100% rename from web/store/issue/helpers/issue-filter-helper.store.ts rename to web/oldStore/issue/helpers/issue-filter-helper.store.ts diff --git a/web/store/issue/helpers/issue-helper.store.ts b/web/oldStore/issue/helpers/issue-helper.store.ts similarity index 100% rename from web/store/issue/helpers/issue-helper.store.ts rename to web/oldStore/issue/helpers/issue-helper.store.ts diff --git a/web/store/issue/issue-details/activity.store.ts b/web/oldStore/issue/issue-details/activity.store.ts similarity index 100% rename from web/store/issue/issue-details/activity.store.ts rename to web/oldStore/issue/issue-details/activity.store.ts diff --git a/web/store/issue/issue-details/attachment.store.ts b/web/oldStore/issue/issue-details/attachment.store.ts similarity index 100% rename from web/store/issue/issue-details/attachment.store.ts rename to web/oldStore/issue/issue-details/attachment.store.ts diff --git a/web/store/issue/issue-details/comment.store.ts b/web/oldStore/issue/issue-details/comment.store.ts similarity index 100% rename from web/store/issue/issue-details/comment.store.ts rename to web/oldStore/issue/issue-details/comment.store.ts diff --git a/web/store/issue/issue-details/comment_reaction.store.ts b/web/oldStore/issue/issue-details/comment_reaction.store.ts similarity index 100% rename from web/store/issue/issue-details/comment_reaction.store.ts rename to web/oldStore/issue/issue-details/comment_reaction.store.ts diff --git a/web/store/issue/issue-details/issue.store.ts b/web/oldStore/issue/issue-details/issue.store.ts similarity index 100% rename from web/store/issue/issue-details/issue.store.ts rename to web/oldStore/issue/issue-details/issue.store.ts diff --git a/web/store/issue/issue-details/link.store.ts b/web/oldStore/issue/issue-details/link.store.ts similarity index 100% rename from web/store/issue/issue-details/link.store.ts rename to web/oldStore/issue/issue-details/link.store.ts diff --git a/web/store/issue/issue-details/reaction.store.ts b/web/oldStore/issue/issue-details/reaction.store.ts similarity index 100% rename from web/store/issue/issue-details/reaction.store.ts rename to web/oldStore/issue/issue-details/reaction.store.ts diff --git a/web/store/issue/issue-details/relation.store.ts b/web/oldStore/issue/issue-details/relation.store.ts similarity index 100% rename from web/store/issue/issue-details/relation.store.ts rename to web/oldStore/issue/issue-details/relation.store.ts diff --git a/web/store/issue/issue-details/root.store.ts b/web/oldStore/issue/issue-details/root.store.ts similarity index 100% rename from web/store/issue/issue-details/root.store.ts rename to web/oldStore/issue/issue-details/root.store.ts diff --git a/web/store/issue/issue-details/sub_issues.store.ts b/web/oldStore/issue/issue-details/sub_issues.store.ts similarity index 100% rename from web/store/issue/issue-details/sub_issues.store.ts rename to web/oldStore/issue/issue-details/sub_issues.store.ts diff --git a/web/store/issue/issue-details/subscription.store.ts b/web/oldStore/issue/issue-details/subscription.store.ts similarity index 100% rename from web/store/issue/issue-details/subscription.store.ts rename to web/oldStore/issue/issue-details/subscription.store.ts diff --git a/web/store/issue/issue.store.ts b/web/oldStore/issue/issue.store.ts similarity index 100% rename from web/store/issue/issue.store.ts rename to web/oldStore/issue/issue.store.ts diff --git a/web/store/issue/issue_calendar_view.store.ts b/web/oldStore/issue/issue_calendar_view.store.ts similarity index 100% rename from web/store/issue/issue_calendar_view.store.ts rename to web/oldStore/issue/issue_calendar_view.store.ts diff --git a/web/store/issue/issue_gantt_view.store.ts b/web/oldStore/issue/issue_gantt_view.store.ts similarity index 100% rename from web/store/issue/issue_gantt_view.store.ts rename to web/oldStore/issue/issue_gantt_view.store.ts diff --git a/web/store/issue/issue_kanban_view.store.ts b/web/oldStore/issue/issue_kanban_view.store.ts similarity index 100% rename from web/store/issue/issue_kanban_view.store.ts rename to web/oldStore/issue/issue_kanban_view.store.ts diff --git a/web/store/issue/module/filter.store.ts b/web/oldStore/issue/module/filter.store.ts similarity index 100% rename from web/store/issue/module/filter.store.ts rename to web/oldStore/issue/module/filter.store.ts diff --git a/web/store/issue/module/index.ts b/web/oldStore/issue/module/index.ts similarity index 100% rename from web/store/issue/module/index.ts rename to web/oldStore/issue/module/index.ts diff --git a/web/store/issue/module/issue.store.ts b/web/oldStore/issue/module/issue.store.ts similarity index 100% rename from web/store/issue/module/issue.store.ts rename to web/oldStore/issue/module/issue.store.ts diff --git a/web/store/issue/profile/filter.store.ts b/web/oldStore/issue/profile/filter.store.ts similarity index 100% rename from web/store/issue/profile/filter.store.ts rename to web/oldStore/issue/profile/filter.store.ts diff --git a/web/store/issue/profile/index.ts b/web/oldStore/issue/profile/index.ts similarity index 100% rename from web/store/issue/profile/index.ts rename to web/oldStore/issue/profile/index.ts diff --git a/web/store/issue/profile/issue.store.ts b/web/oldStore/issue/profile/issue.store.ts similarity index 100% rename from web/store/issue/profile/issue.store.ts rename to web/oldStore/issue/profile/issue.store.ts diff --git a/web/store/issue/project-views/filter.store.ts b/web/oldStore/issue/project-views/filter.store.ts similarity index 100% rename from web/store/issue/project-views/filter.store.ts rename to web/oldStore/issue/project-views/filter.store.ts diff --git a/web/store/issue/project-views/index.ts b/web/oldStore/issue/project-views/index.ts similarity index 100% rename from web/store/issue/project-views/index.ts rename to web/oldStore/issue/project-views/index.ts diff --git a/web/store/issue/project-views/issue.store.ts b/web/oldStore/issue/project-views/issue.store.ts similarity index 100% rename from web/store/issue/project-views/issue.store.ts rename to web/oldStore/issue/project-views/issue.store.ts diff --git a/web/store/issue/project/filter.store.ts b/web/oldStore/issue/project/filter.store.ts similarity index 100% rename from web/store/issue/project/filter.store.ts rename to web/oldStore/issue/project/filter.store.ts diff --git a/web/store/issue/project/index.ts b/web/oldStore/issue/project/index.ts similarity index 100% rename from web/store/issue/project/index.ts rename to web/oldStore/issue/project/index.ts diff --git a/web/store/issue/project/issue.store.ts b/web/oldStore/issue/project/issue.store.ts similarity index 100% rename from web/store/issue/project/issue.store.ts rename to web/oldStore/issue/project/issue.store.ts diff --git a/web/store/issue/root.store.ts b/web/oldStore/issue/root.store.ts similarity index 99% rename from web/store/issue/root.store.ts rename to web/oldStore/issue/root.store.ts index def91d200..ac8dba866 100644 --- a/web/store/issue/root.store.ts +++ b/web/oldStore/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 "store/member/workspace-member.store"; +import { IWorkspaceMembership } from "oldStore/member/workspace-member.store"; export interface IIssueRootStore { currentUserId: string | undefined; diff --git a/web/store/issue/workspace/filter.store.ts b/web/oldStore/issue/workspace/filter.store.ts similarity index 100% rename from web/store/issue/workspace/filter.store.ts rename to web/oldStore/issue/workspace/filter.store.ts diff --git a/web/store/issue/workspace/index.ts b/web/oldStore/issue/workspace/index.ts similarity index 100% rename from web/store/issue/workspace/index.ts rename to web/oldStore/issue/workspace/index.ts diff --git a/web/store/issue/workspace/issue.store.ts b/web/oldStore/issue/workspace/issue.store.ts similarity index 100% rename from web/store/issue/workspace/issue.store.ts rename to web/oldStore/issue/workspace/issue.store.ts diff --git a/web/store/label.store.ts b/web/oldStore/label.store.ts similarity index 99% rename from web/store/label.store.ts rename to web/oldStore/label.store.ts index 769ef16a9..025179f41 100644 --- a/web/store/label.store.ts +++ b/web/oldStore/label.store.ts @@ -7,7 +7,7 @@ import { IssueLabelService } from "services/issue"; // helpers import { buildTree } from "helpers/array.helper"; // types -import { RootStore } from "store/root.store"; +import { RootStore } from "oldStore/root.store"; import { IIssueLabel, IIssueLabelTree } from "@plane/types"; export interface ILabelStore { diff --git a/web/store/member/index.ts b/web/oldStore/member/index.ts similarity index 96% rename from web/store/member/index.ts rename to web/oldStore/member/index.ts index a7eba3971..3b7d8b1f9 100644 --- a/web/store/member/index.ts +++ b/web/oldStore/member/index.ts @@ -1,6 +1,6 @@ import { action, makeObservable, observable } from "mobx"; // types -import { RootStore } from "store/root.store"; +import { RootStore } from "oldStore/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/store/member/project-member.store.ts b/web/oldStore/member/project-member.store.ts similarity index 97% rename from web/store/member/project-member.store.ts rename to web/oldStore/member/project-member.store.ts index 71e2e2dcd..245848156 100644 --- a/web/store/member/project-member.store.ts +++ b/web/oldStore/member/project-member.store.ts @@ -5,13 +5,13 @@ import sortBy from "lodash/sortBy"; // services import { ProjectMemberService } from "services/project"; // types -import { RootStore } from "store/root.store"; +import { RootStore } from "oldStore/root.store"; import { IProjectBulkAddFormData, IProjectMember, IProjectMembership, IUserLite } from "@plane/types"; // constants import { EUserProjectRoles } from "constants/project"; import { IMemberRootStore } from "."; -import { IRouterStore } from "store/application/router.store"; -import { IUserRootStore } from "store/user"; +import { IRouterStore } from "oldStore/application/router.store"; +import { IUserRootStore } from "oldStore/user"; interface IProjectMemberDetails { id: string; diff --git a/web/store/member/workspace-member.store.ts b/web/oldStore/member/workspace-member.store.ts similarity index 98% rename from web/store/member/workspace-member.store.ts rename to web/oldStore/member/workspace-member.store.ts index 4a696bfd2..af27f3ccd 100644 --- a/web/store/member/workspace-member.store.ts +++ b/web/oldStore/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 "store/root.store"; +import { RootStore } from "oldStore/root.store"; import { IWorkspaceBulkInviteFormData, IWorkspaceMember, IWorkspaceMemberInvitation } from "@plane/types"; // constants import { EUserWorkspaceRoles } from "constants/workspace"; -import { IRouterStore } from "store/application/router.store"; +import { IRouterStore } from "oldStore/application/router.store"; import { IMemberRootStore } from "."; -import { IUserRootStore } from "store/user"; +import { IUserRootStore } from "oldStore/user"; export interface IWorkspaceMembership { id: string; diff --git a/web/store/mention.store.ts b/web/oldStore/mention.store.ts similarity index 96% rename from web/store/mention.store.ts rename to web/oldStore/mention.store.ts index 872efeb41..25dbbbb10 100644 --- a/web/store/mention.store.ts +++ b/web/oldStore/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 "store/root.store"; +import { RootStore } from "oldStore/root.store"; export interface IMentionStore { // computed diff --git a/web/store/module.store.ts b/web/oldStore/module.store.ts similarity index 99% rename from web/store/module.store.ts rename to web/oldStore/module.store.ts index 2b4522cd0..97d1ccc3d 100644 --- a/web/store/module.store.ts +++ b/web/oldStore/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 "store/root.store"; +import { RootStore } from "oldStore/root.store"; export interface IModuleStore { //Loaders diff --git a/web/store/page.store.ts b/web/oldStore/page.store.ts similarity index 100% rename from web/store/page.store.ts rename to web/oldStore/page.store.ts diff --git a/web/store/project-page.store.ts b/web/oldStore/project-page.store.ts similarity index 99% rename from web/store/project-page.store.ts rename to web/oldStore/project-page.store.ts index 072605bc3..84a61f5ef 100644 --- a/web/store/project-page.store.ts +++ b/web/oldStore/project-page.store.ts @@ -3,7 +3,7 @@ import { set } from "lodash"; // services import { PageService } from "services/page.service"; // store -import { PageStore, IPageStore } from "store/page.store"; +import { PageStore, IPageStore } from "oldStore/page.store"; // types import { IPage, IRecentPages } from "@plane/types"; import { RootStore } from "./root.store"; diff --git a/web/store/project-view.store.ts b/web/oldStore/project-view.store.ts similarity index 99% rename from web/store/project-view.store.ts rename to web/oldStore/project-view.store.ts index dd5c4a034..172829a76 100644 --- a/web/store/project-view.store.ts +++ b/web/oldStore/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 "store/root.store"; +import { RootStore } from "oldStore/root.store"; // types import { IProjectView } from "@plane/types"; diff --git a/web/store/project/index.ts b/web/oldStore/project/index.ts similarity index 90% rename from web/store/project/index.ts rename to web/oldStore/project/index.ts index 696b3c802..e8212cbc0 100644 --- a/web/store/project/index.ts +++ b/web/oldStore/project/index.ts @@ -1,6 +1,6 @@ import { IProjectStore, ProjectStore } from "./project.store"; import { IProjectPublishStore, ProjectPublishStore } from "./project-publish.store"; -import { RootStore } from "store/root.store"; +import { RootStore } from "oldStore/root.store"; export interface IProjectRootStore { project: IProjectStore; diff --git a/web/store/project/project-publish.store.ts b/web/oldStore/project/project-publish.store.ts similarity index 99% rename from web/store/project/project-publish.store.ts rename to web/oldStore/project/project-publish.store.ts index 3a94b8611..74d31fbc4 100644 --- a/web/store/project/project-publish.store.ts +++ b/web/oldStore/project/project-publish.store.ts @@ -1,7 +1,7 @@ import { observable, action, makeObservable, runInAction } from "mobx"; import set from "lodash/set"; // types -import { ProjectRootStore } from "./"; +import { ProjectRootStore } from "."; // services import { ProjectPublishService } from "services/project"; diff --git a/web/store/project/project.store.ts b/web/oldStore/project/project.store.ts similarity index 100% rename from web/store/project/project.store.ts rename to web/oldStore/project/project.store.ts diff --git a/web/store/root.store.ts b/web/oldStore/root.store.ts similarity index 100% rename from web/store/root.store.ts rename to web/oldStore/root.store.ts diff --git a/web/store/state.store.ts b/web/oldStore/state.store.ts similarity index 100% rename from web/store/state.store.ts rename to web/oldStore/state.store.ts diff --git a/web/store/user/index.ts b/web/oldStore/user/index.ts similarity index 100% rename from web/store/user/index.ts rename to web/oldStore/user/index.ts diff --git a/web/store/user/user-membership.store.ts b/web/oldStore/user/user-membership.store.ts similarity index 100% rename from web/store/user/user-membership.store.ts rename to web/oldStore/user/user-membership.store.ts diff --git a/web/store/workspace/api-token.store.ts b/web/oldStore/workspace/api-token.store.ts similarity index 100% rename from web/store/workspace/api-token.store.ts rename to web/oldStore/workspace/api-token.store.ts diff --git a/web/store/workspace/index.ts b/web/oldStore/workspace/index.ts similarity index 100% rename from web/store/workspace/index.ts rename to web/oldStore/workspace/index.ts diff --git a/web/store/workspace/webhook.store.ts b/web/oldStore/workspace/webhook.store.ts similarity index 100% rename from web/store/workspace/webhook.store.ts rename to web/oldStore/workspace/webhook.store.ts diff --git a/web/services/project/project-publish.service.ts b/web/services/project/project-publish.service.ts index 1327453d2..910b8c100 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 "store/project/project-publish.store"; +import { IProjectPublishSettings } from "oldStore/project/project-publish.store"; export class ProjectPublishService extends APIService { constructor() {