merge-conflicts
[arvados-workbench2.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 import { SidePanelId } from "~/store/side-panel/side-panel-reducer";
7
8 export const sidePanelActions = unionize({
9     TOGGLE_SIDE_PANEL_ITEM_OPEN: ofType<SidePanelId>()
10 }, {
11     tag: 'type',
12     value: 'payload'
13 });
14
15 export type SidePanelAction = UnionOf<typeof sidePanelActions>;