merge conflicts
[arvados.git] / src / store / side-panel / side-panel-action.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { default as unionize, ofType, UnionOf } from "unionize";
6
7 export const sidePanelActions = unionize({
8     TOGGLE_SIDE_PANEL_ITEM_OPEN: ofType<string>(),
9     TOGGLE_SIDE_PANEL_ITEM_ACTIVE: ofType<string>(),
10     RESET_SIDE_PANEL_ACTIVITY: ofType<{}>(),
11 }, {
12     tag: 'type',
13     value: 'payload'
14 });
15
16 export type SidePanelAction = UnionOf<typeof sidePanelActions>;