fix workspace drafts build (#5798)

This commit is contained in:
rahulramesha
2024-10-10 22:59:27 +05:30
committed by GitHub
parent 9c2278a810
commit 2c96e042c6
2 changed files with 8 additions and 1 deletions

View File

@@ -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";

View File

@@ -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) => {};
}