import { default as unionize, ofType, UnionOf } from "unionize";
-const actions = unionize({
+export const sidePanelActions = unionize({
TOGGLE_SIDE_PANEL_ITEM_OPEN: ofType<string>(),
TOGGLE_SIDE_PANEL_ITEM_ACTIVE: ofType<string>(),
- RESET_SIDE_PANEL_ACTIVITY: ofType<string>(),
+ RESET_SIDE_PANEL_ACTIVITY: ofType<{}>(),
}, {
tag: 'type',
value: 'payload'
});
-export type SidePanelAction = UnionOf<typeof actions>;
-export default actions;
\ No newline at end of file
+export type SidePanelAction = UnionOf<typeof sidePanelActions>;