merge-conflicts
[arvados.git] / src / store / project / project-action.ts
index 2101619515a0c197855425667b28910581165df7..2856de66a09a675d122fdd8ea44ed39216d717a0 100644 (file)
@@ -8,8 +8,8 @@ import { default as unionize, ofType, UnionOf } from "unionize";
 const actions = unionize({
     CREATE_PROJECT: ofType<Project>(),
     REMOVE_PROJECT: ofType<string>(),
-    PROJECTS_REQUEST: {},
-    PROJECTS_SUCCESS: ofType<Project[]>(),
+    PROJECTS_REQUEST: ofType<any>(),
+    PROJECTS_SUCCESS: ofType<{ projects: Project[], parentItemId?: string }>(),
     TOGGLE_PROJECT_TREE_ITEM: ofType<string>()
 }, {
     tag: 'type',