refactor: migrate services (integrations) from apps/web to @plane/services

This commit is contained in:
Rahulcheryala
2026-06-04 16:35:57 +05:30
parent 1c3880e977
commit ecaac0dcbc
8 changed files with 7 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ import { APP_INTEGRATIONS } from "@plane/constants";
import { useWorkspace } from "@/hooks/store/use-workspace";
import { useUserPermissions } from "@/hooks/store/user";
// services
import { IntegrationService } from "@/services/integrations";
import { IntegrationService } from "@plane/services";
const integrationService = new IntegrationService();

View File

@@ -19,7 +19,7 @@ import { ImportExportSettingsLoader } from "@/components/ui/loader/settings/impo
// constants
import { EXPORT_SERVICES_LIST } from "@plane/constants";
// services
import { IntegrationService } from "@/services/integrations";
import { IntegrationService } from "@plane/services";
// local imports
import { useExportColumns } from "./column";

View File

@@ -27,7 +27,7 @@ import { useUserPermissions } from "@/hooks/store/user";
import useIntegrationPopup from "@/hooks/use-integration-popup";
import { usePlatformOS } from "@/hooks/use-platform-os";
// services
import { IntegrationService } from "@/services/integrations";
import { IntegrationService } from "@plane/services";
type Props = {
integration: IAppIntegration;

View File

@@ -24,5 +24,6 @@ export * from "./workspace";
export * from "./file";
export * from "./label";
export * from "./state";
export * from "./integrations";
export * from "./issue";
export * from "./page";

View File

@@ -6,7 +6,7 @@
import { API_BASE_URL } from "@plane/constants";
import type { IGithubRepoInfo, IGithubServiceImportFormData } from "@plane/types";
import { APIService } from "@/services/api.service";
import { APIService } from "../api.service";
// helpers
// types

View File

@@ -6,7 +6,7 @@
import { API_BASE_URL } from "@plane/constants";
import type { IAppIntegration, IImporterService, IWorkspaceIntegration, IExportServiceResponse } from "@plane/types";
import { APIService } from "@/services/api.service";
import { APIService } from "../api.service";
// types
// helper

View File

@@ -6,7 +6,7 @@
import { API_BASE_URL } from "@plane/constants";
import type { IJiraMetadata, IJiraResponse, IJiraImporterForm } from "@plane/types";
import { APIService } from "@/services/api.service";
import { APIService } from "../api.service";
// types
export class JiraImporterService extends APIService {