1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { Dispatch } from 'redux';
6 import { RootState } from '~/store/store';
7 import { ServiceRepository } from '~/services/services';
8 import { bindDataExplorerActions } from '~/store/data-explorer/data-explorer-action';
10 export const WORKFLOW_PANEL_ID = "workflowPanel";
11 export const workflowPanelActions = bindDataExplorerActions(WORKFLOW_PANEL_ID);
13 export const loadWorkflowPanel = () =>
14 (dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => {
15 dispatch(workflowPanelActions.REQUEST_ITEMS());