mirror of
https://github.com/makeplane/plane.git
synced 2025-12-25 08:09:33 +01:00
fix workspace drafts build (#5798)
This commit is contained in:
@@ -8,7 +8,7 @@ import { cn } from "@/helpers/common.helper";
|
||||
// hooks
|
||||
import { useAppTheme, useProject, useWorkspaceDraftIssues } from "@/hooks/store";
|
||||
// plane-web components
|
||||
import { IdentifierText } from "@/plane-web/components/issues";
|
||||
import { IdentifierText } from "ce/components/issues";
|
||||
// local components
|
||||
import { WorkspaceDraftIssueQuickActions } from "../issue-layouts";
|
||||
import { DraftIssueProperties } from "./draft-issue-properties";
|
||||
|
||||
@@ -16,6 +16,7 @@ import {
|
||||
TSubGroupedIssues,
|
||||
ViewFlags,
|
||||
TIssue,
|
||||
TBulkOperationsPayload,
|
||||
} from "@plane/types";
|
||||
// constants
|
||||
import { EDraftIssuePaginationType } from "@/constants/workspace-drafts";
|
||||
@@ -102,6 +103,9 @@ export interface IWorkspaceDraftIssues {
|
||||
removeModuleIds: string[]
|
||||
): Promise<void>;
|
||||
archiveIssue: (workspaceSlug: string, projectId: string, issueId: string) => Promise<void>;
|
||||
archiveBulkIssues: (workspaceSlug: string, projectId: string, issueIds: string[]) => Promise<void>;
|
||||
removeBulkIssues: (workspaceSlug: string, projectId: string, issueIds: string[]) => Promise<void>;
|
||||
bulkUpdateProperties: (workspaceSlug: string, projectId: string, data: TBulkOperationsPayload) => Promise<void>;
|
||||
}
|
||||
|
||||
export class WorkspaceDraftIssues implements IWorkspaceDraftIssues {
|
||||
@@ -346,4 +350,7 @@ export class WorkspaceDraftIssues implements IWorkspaceDraftIssues {
|
||||
removeModuleIds: string[]
|
||||
) => {};
|
||||
archiveIssue = async (workspaceSlug: string, projectId: string, issueId: string) => {};
|
||||
archiveBulkIssues = async (workspaceSlug: string, projectId: string, issueIds: string[]) => {};
|
||||
removeBulkIssues = async (workspaceSlug: string, projectId: string, issueIds: string[]) => {};
|
||||
bulkUpdateProperties = async (workspaceSlug: string, projectId: string, data: TBulkOperationsPayload) => {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user