1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { unionize, ofType, UnionOf } from '~/common/unionize';
7 export const detailsPanelActions = unionize({
8 TOGGLE_DETAILS_PANEL: ofType<{}>(),
9 LOAD_DETAILS_PANEL: ofType<string>()
12 export type DetailsPanelAction = UnionOf<typeof detailsPanelActions>;
14 export const loadDetailsPanel = (uuid: string) => detailsPanelActions.LOAD_DETAILS_PANEL(uuid);