left-side-panel-small-refactor
[arvados-workbench2.git] / src / store / project / project-action.ts
index 2856de66a09a675d122fdd8ea44ed39216d717a0..a58edd3caa994082e9d9431a718442a656435d46 100644 (file)
@@ -1,16 +1,18 @@
 // Copyright (C) The Arvados Authors. All rights reserved.
 //
 // SPDX-License-Identifier: AGPL-3.0
+import { default as unionize, ofType, UnionOf } from "unionize";
 
 import { Project } from "../../models/project";
-import { default as unionize, ofType, UnionOf } from "unionize";
 
 const actions = unionize({
     CREATE_PROJECT: ofType<Project>(),
     REMOVE_PROJECT: ofType<string>(),
     PROJECTS_REQUEST: ofType<any>(),
     PROJECTS_SUCCESS: ofType<{ projects: Project[], parentItemId?: string }>(),
-    TOGGLE_PROJECT_TREE_ITEM: ofType<string>()
+    TOGGLE_PROJECT_TREE_ITEM_OPEN: ofType<string>(),
+    TOGGLE_PROJECT_TREE_ITEM_ACTIVE: ofType<string>(),
+    RESET_PROJECT_TREE_ACTIVITY: ofType<string>(),
 }, {
     tag: 'type',
     value: 'payload'