adding/removing-from-public-favorites
[arvados.git] / src / store / shared-with-me-panel / shared-with-me-panel-actions.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
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';
9
10 export const SHARED_WITH_ME_PANEL_ID = "sharedWithMePanel";
11 export const sharedWithMePanelActions = bindDataExplorerActions(SHARED_WITH_ME_PANEL_ID);
12
13 export const loadSharedWithMePanel = () =>
14     (dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => {
15         dispatch(sharedWithMePanelActions.REQUEST_ITEMS());
16     };
17
18