Declare dataflow route View surface

This commit is contained in:
2026-07-28 21:04:55 +02:00
parent e54225a86e
commit 8c2b6035cc

View File

@@ -16,6 +16,7 @@ from govoplan_core.core.dataflows import (
from govoplan_core.core.modules import ( from govoplan_core.core.modules import (
DocumentationTopic, DocumentationTopic,
FrontendModule, FrontendModule,
FrontendRoute,
MigrationSpec, MigrationSpec,
ModuleInterfaceProvider, ModuleInterfaceProvider,
ModuleInterfaceRequirement, ModuleInterfaceRequirement,
@@ -302,6 +303,14 @@ manifest = ModuleManifest(
frontend=FrontendModule( frontend=FrontendModule(
module_id=MODULE_ID, module_id=MODULE_ID,
package_name="@govoplan/dataflow-webui", package_name="@govoplan/dataflow-webui",
routes=(
FrontendRoute(
path="/dataflow",
component="DataflowPage",
required_any=(READ_SCOPE, ADMIN_SCOPE),
order=72,
),
),
nav_items=( nav_items=(
NavItem( NavItem(
path="/dataflow", path="/dataflow",