X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/28b6afc1e8ccf652c7a8fd43e22a8ac788febd85..01cd85043c8692b8fd743e87a304e23be6172e21:/services/workbench2/src/store/project-panel/project-panel-action-bind.ts diff --git a/services/workbench2/src/store/project-panel/project-panel-action-bind.ts b/services/workbench2/src/store/project-panel/project-panel-action-bind.ts index 31a5f8d6b6..404f8ccfda 100644 --- a/services/workbench2/src/store/project-panel/project-panel-action-bind.ts +++ b/services/workbench2/src/store/project-panel/project-panel-action-bind.ts @@ -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);