21128: renamed overloaded context menu types Arvados-DCO-1.1-Signed-off-by: Lisa...
[arvados.git] / src / views-components / context-menu / context-menu-action-set.ts
index abef7ec0d47e711fa48adb109f4d5b60e629fffb..8ff28aeb63648fd59b099080ecaeead7356e6d5f 100644 (file)
@@ -5,10 +5,9 @@
 import { Dispatch } from "redux";
 import { ContextMenuItem } from "components/context-menu/context-menu";
 import { ContextMenuResource } from "store/context-menu/context-menu-actions";
-import { RootState } from "store/store";
 
-export interface ContextMenuAction extends ContextMenuItem {
-    execute(dispatch: Dispatch, resource: ContextMenuResource, state?: any): void;
+export interface ContextMenuActionItem extends ContextMenuItem {
+    execute(dispatch: Dispatch, resources: ContextMenuResource[], state?: any): void;
 }
 
-export type ContextMenuActionSet = Array<Array<ContextMenuAction>>;
+export type ContextMenuActionItemSet = Array<Array<ContextMenuActionItem>>;