Create actions for resolving resource favorite status
[arvados-workbench2.git] / src / store / side-panel / side-panel-action.ts
index 32fa653bfe0427638fa03ac63ddb46a68c77b54d..0dd6aad19e3ca0ee2e2311cb333a72a83a889176 100644 (file)
@@ -4,14 +4,13 @@
 
 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>;