mirror of
https://github.com/makeplane/plane.git
synced 2026-06-14 03:30:00 +00:00
refactor: migrate services (project-publish, project-state) from apps/web to @plane/services
This commit is contained in:
@@ -9,7 +9,7 @@ import { observable, action, makeObservable, runInAction } from "mobx";
|
||||
// types
|
||||
import type { TProjectPublishSettings } from "@plane/types";
|
||||
// services
|
||||
import { ProjectPublishService } from "@/services/project";
|
||||
import { ProjectPublishService } from "@plane/services";
|
||||
// store
|
||||
import type { ProjectRootStore } from "@/store/project";
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ import type { IIntakeState, IState } from "@plane/types";
|
||||
// helpers
|
||||
import { sortStates } from "@plane/utils";
|
||||
// plane web
|
||||
import { ProjectStateService } from "@/services/project/project-state.service";
|
||||
import { ProjectStateService } from "@plane/services";
|
||||
import type { RootStore } from "@/plane-web/store/root.store";
|
||||
|
||||
export interface IStateStore {
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ import { API_BASE_URL } from "@plane/constants";
|
||||
import type { TProjectPublishSettings } from "@plane/types";
|
||||
// helpers
|
||||
// services
|
||||
import { APIService } from "@/services/api.service";
|
||||
import { APIService } from "../api.service";
|
||||
|
||||
export class ProjectPublishService extends APIService {
|
||||
constructor() {
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
// services
|
||||
import { API_BASE_URL } from "@plane/constants";
|
||||
import type { IIntakeState, IState } from "@plane/types";
|
||||
import { APIService } from "@/services/api.service";
|
||||
import { APIService } from "../api.service";
|
||||
// helpers
|
||||
// types
|
||||
|
||||
Reference in New Issue
Block a user