From 2c96e042c6a7ec2c3ee01433122fc51bdce5622e Mon Sep 17 00:00:00 2001 From: rahulramesha <71900764+rahulramesha@users.noreply.github.com> Date: Thu, 10 Oct 2024 22:59:27 +0530 Subject: [PATCH] fix workspace drafts build (#5798) --- .../issues/workspace-draft/draft-issue-block.tsx | 2 +- web/core/store/issue/workspace-draft/issue.store.ts | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/web/core/components/issues/workspace-draft/draft-issue-block.tsx b/web/core/components/issues/workspace-draft/draft-issue-block.tsx index 8aad8ced739..8be73154d6d 100644 --- a/web/core/components/issues/workspace-draft/draft-issue-block.tsx +++ b/web/core/components/issues/workspace-draft/draft-issue-block.tsx @@ -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"; diff --git a/web/core/store/issue/workspace-draft/issue.store.ts b/web/core/store/issue/workspace-draft/issue.store.ts index dbb24bb30ce..1080b275be9 100644 --- a/web/core/store/issue/workspace-draft/issue.store.ts +++ b/web/core/store/issue/workspace-draft/issue.store.ts @@ -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; archiveIssue: (workspaceSlug: string, projectId: string, issueId: string) => Promise; + archiveBulkIssues: (workspaceSlug: string, projectId: string, issueIds: string[]) => Promise; + removeBulkIssues: (workspaceSlug: string, projectId: string, issueIds: string[]) => Promise; + bulkUpdateProperties: (workspaceSlug: string, projectId: string, data: TBulkOperationsPayload) => Promise; } 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) => {}; }