mirror of
https://github.com/makeplane/plane.git
synced 2026-07-10 04:25:24 +02:00
refactor: migrate services (integrations) from apps/web to @plane/services
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
Reference in New Issue
Block a user