mirror of
https://github.com/makeplane/plane.git
synced 2025-12-22 22:59:33 +01:00
18 lines
562 B
TypeScript
18 lines
562 B
TypeScript
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
import { TIssueGroupByOptions } from "@plane/types";
|
|
|
|
export const useWorkFlowFDragNDrop = (
|
|
groupBy: TIssueGroupByOptions | undefined,
|
|
subGroupBy?: TIssueGroupByOptions
|
|
) => ({
|
|
workflowDisabledSource: undefined,
|
|
isWorkflowDropDisabled: false,
|
|
getIsWorkflowWorkItemCreationDisabled: (groupId: string, subGroupId?: string) => false,
|
|
handleWorkFlowState: (
|
|
sourceGroupId: string,
|
|
destinationGroupId: string,
|
|
sourceSubGroupId?: string,
|
|
destinationSubGroupId?: string
|
|
) => {},
|
|
});
|