Skip to content

Commit

Permalink
fix workspace drafts build (#5798)
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulramesha authored Oct 10, 2024
1 parent 9c2278a commit 2c96e04
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
7 changes: 7 additions & 0 deletions web/core/store/issue/workspace-draft/issue.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
TSubGroupedIssues,
ViewFlags,
TIssue,
TBulkOperationsPayload,
} from "@plane/types";
// constants
import { EDraftIssuePaginationType } from "@/constants/workspace-drafts";
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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) => {};
}

0 comments on commit 2c96e04

Please sign in to comment.