Declare dataflow route View surface
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user