feat: init
This commit is contained in:
17
apps/web/ce/components/workflow/use-workflow-drag-n-drop.ts
Normal file
17
apps/web/ce/components/workflow/use-workflow-drag-n-drop.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
/* eslint-disable @typescript-eslint/no-unused-vars */
|
||||
import type { 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
|
||||
) => {},
|
||||
});
|
||||
Reference in New Issue
Block a user