diff --git a/apps/web/core/components/analytics/overview/project-insights.tsx b/apps/web/core/components/analytics/overview/project-insights.tsx index 6987ce1945..6e2a1cbd31 100644 --- a/apps/web/core/components/analytics/overview/project-insights.tsx +++ b/apps/web/core/components/analytics/overview/project-insights.tsx @@ -15,7 +15,7 @@ import type { TChartData } from "@plane/types"; // hooks import { useAnalytics } from "@/hooks/store/use-analytics"; // services -import { AnalyticsService } from "@/services/analytics.service"; +import { AnalyticsService } from "@plane/services"; // plane web components import AnalyticsSectionWrapper from "../analytics-section-wrapper"; import { ProjectInsightsLoader } from "../loaders"; diff --git a/apps/web/core/components/analytics/total-insights.tsx b/apps/web/core/components/analytics/total-insights.tsx index 98e5ed0ee8..e660d26ac5 100644 --- a/apps/web/core/components/analytics/total-insights.tsx +++ b/apps/web/core/components/analytics/total-insights.tsx @@ -16,7 +16,7 @@ import { cn } from "@plane/utils"; // hooks import { useAnalytics } from "@/hooks/store/use-analytics"; // services -import { AnalyticsService } from "@/services/analytics.service"; +import { AnalyticsService } from "@plane/services"; // local imports import InsightCard from "./insight-card"; diff --git a/apps/web/core/components/analytics/work-items/created-vs-resolved.tsx b/apps/web/core/components/analytics/work-items/created-vs-resolved.tsx index c4723c07b3..6f49193321 100644 --- a/apps/web/core/components/analytics/work-items/created-vs-resolved.tsx +++ b/apps/web/core/components/analytics/work-items/created-vs-resolved.tsx @@ -17,7 +17,7 @@ import { renderFormattedDate } from "@plane/utils"; // hooks import { useAnalytics } from "@/hooks/store/use-analytics"; // services -import { AnalyticsService } from "@/services/analytics.service"; +import { AnalyticsService } from "@plane/services"; // plane web components import AnalyticsSectionWrapper from "../analytics-section-wrapper"; import { ChartLoader } from "../loaders"; diff --git a/apps/web/core/components/analytics/work-items/priority-chart.tsx b/apps/web/core/components/analytics/work-items/priority-chart.tsx index 942285cab2..460bf6f798 100644 --- a/apps/web/core/components/analytics/work-items/priority-chart.tsx +++ b/apps/web/core/components/analytics/work-items/priority-chart.tsx @@ -24,7 +24,7 @@ import { generateExtendedColors, parseChartData } from "@/components/chart/utils // hooks import { useAnalytics } from "@/hooks/store/use-analytics"; import { useProjectState } from "@/hooks/store/use-project-state"; -import { AnalyticsService } from "@/services/analytics.service"; +import { AnalyticsService } from "@plane/services"; import { exportCSV } from "../export"; import { DataTable } from "../insight-table/data-table"; import { ChartLoader } from "../loaders"; diff --git a/apps/web/core/components/analytics/work-items/workitems-insight-table.tsx b/apps/web/core/components/analytics/work-items/workitems-insight-table.tsx index 52f3abd66c..e307d0e6c9 100644 --- a/apps/web/core/components/analytics/work-items/workitems-insight-table.tsx +++ b/apps/web/core/components/analytics/work-items/workitems-insight-table.tsx @@ -21,7 +21,7 @@ import { getFileURL } from "@plane/utils"; // hooks import { useAnalytics } from "@/hooks/store/use-analytics"; import { useProject } from "@/hooks/store/use-project"; -import { AnalyticsService } from "@/services/analytics.service"; +import { AnalyticsService } from "@plane/services"; // plane web components import { exportCSV } from "../export"; import { InsightTable } from "../insight-table"; diff --git a/apps/web/core/services/analytics.service.ts b/packages/services/src/analytics.service.ts similarity index 100% rename from apps/web/core/services/analytics.service.ts rename to packages/services/src/analytics.service.ts