Merge branch '21931-public-suffix-pin'
[arvados.git] / services / workbench2 / src / store / project-panel / project-panel-action-bind.ts
index 31a5f8d6b60677d7dbdef4a07982b074b564f859..404f8ccfda426ec9bb3a3f246c9c0b50175fcc2f 100644 (file)
@@ -4,6 +4,11 @@
 
 import { bindDataExplorerActions } from "store/data-explorer/data-explorer-action";
 
-const PROJECT_PANEL_ID = "projectPanel";
+// These are split into a separate file to avoid circular imports causing
+// invariant violations with unit tests
 
-export const projectPanelActions = bindDataExplorerActions(PROJECT_PANEL_ID);
+export const PROJECT_PANEL_DATA_ID = "projectPanelData";
+export const projectPanelDataActions = bindDataExplorerActions(PROJECT_PANEL_DATA_ID);
+
+export const PROJECT_PANEL_RUN_ID = "projectPanelRun";
+export const projectPanelRunActions = bindDataExplorerActions(PROJECT_PANEL_RUN_ID);