[WEB-3065] refactor: replace admin services with service packages (#6342)

* [WEB-3065] refactor: replace admin services with service packages

* chore: minor updates

* chore: error handling
This commit is contained in:
Prateek Shourya 2025-01-07 19:07:47 +05:30 committed by GitHub
parent ae657af958
commit 200be0ac7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
37 changed files with 240 additions and 284 deletions

View file

@ -1,7 +1,7 @@
// types
import type { ILinkDetails, ModuleLink } from "@plane/types";
// services
import { APIService } from "@/api.service";
import { APIService } from "../api.service";
/**
* Service class for handling module link related operations.

View file

@ -1,7 +1,7 @@
// types
import type { IModule, ILinkDetails, ModuleLink, TIssuesResponse } from "@plane/types";
// services
import { APIService } from "@/api.service";
import { APIService } from "../api.service";
export class ModuleService extends APIService {
constructor(baseURL: string) {

View file

@ -1,7 +1,7 @@
// types
// import type { IModule, ILinkDetails, ModuleLink, TIssuesResponse } from "@plane/types";
// services
import { APIService } from "@/api.service";
import { APIService } from "../api.service";
export class ModuleOperationService extends APIService {
constructor(baseURL: string) {