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