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";
8 import { RootState } from "store/store";
10 export interface ContextMenuAction extends ContextMenuItem {
11 execute(dispatch: Dispatch, resource: ContextMenuResource, state?: any): void;
14 export type ContextMenuActionSet = Array<Array<ContextMenuAction>>;