fix workspace drafts build (#5798)
This commit is contained in:
parent
9c2278a810
commit
2c96e042c6
2 changed files with 8 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ import { cn } from "@/helpers/common.helper";
|
||||||
// hooks
|
// hooks
|
||||||
import { useAppTheme, useProject, useWorkspaceDraftIssues } from "@/hooks/store";
|
import { useAppTheme, useProject, useWorkspaceDraftIssues } from "@/hooks/store";
|
||||||
// plane-web components
|
// plane-web components
|
||||||
import { IdentifierText } from "@/plane-web/components/issues";
|
import { IdentifierText } from "ce/components/issues";
|
||||||
// local components
|
// local components
|
||||||
import { WorkspaceDraftIssueQuickActions } from "../issue-layouts";
|
import { WorkspaceDraftIssueQuickActions } from "../issue-layouts";
|
||||||
import { DraftIssueProperties } from "./draft-issue-properties";
|
import { DraftIssueProperties } from "./draft-issue-properties";
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ import {
|
||||||
TSubGroupedIssues,
|
TSubGroupedIssues,
|
||||||
ViewFlags,
|
ViewFlags,
|
||||||
TIssue,
|
TIssue,
|
||||||
|
TBulkOperationsPayload,
|
||||||
} from "@plane/types";
|
} from "@plane/types";
|
||||||
// constants
|
// constants
|
||||||
import { EDraftIssuePaginationType } from "@/constants/workspace-drafts";
|
import { EDraftIssuePaginationType } from "@/constants/workspace-drafts";
|
||||||
|
|
@ -102,6 +103,9 @@ export interface IWorkspaceDraftIssues {
|
||||||
removeModuleIds: string[]
|
removeModuleIds: string[]
|
||||||
): Promise<void>;
|
): Promise<void>;
|
||||||
archiveIssue: (workspaceSlug: string, projectId: string, issueId: 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 {
|
export class WorkspaceDraftIssues implements IWorkspaceDraftIssues {
|
||||||
|
|
@ -346,4 +350,7 @@ export class WorkspaceDraftIssues implements IWorkspaceDraftIssues {
|
||||||
removeModuleIds: string[]
|
removeModuleIds: string[]
|
||||||
) => {};
|
) => {};
|
||||||
archiveIssue = async (workspaceSlug: string, projectId: string, issueId: 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) => {};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue