1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { Dispatch } from "redux";
6 import { ContextMenuItem } from "components/context-menu/context-menu";
7 import { ContextMenuResource } from "store/context-menu/context-menu-actions";
9 export interface ContextMenuAction extends ContextMenuItem {
10 execute(dispatch: Dispatch, resource: ContextMenuResource): void;
13 export type ContextMenuActionSet = Array<Array<ContextMenuAction>>;