Declare datasource route View surface
This commit is contained in:
@@ -19,6 +19,7 @@ from govoplan_core.core.module_guards import (
|
|||||||
from govoplan_core.core.modules import (
|
from govoplan_core.core.modules import (
|
||||||
DocumentationTopic,
|
DocumentationTopic,
|
||||||
FrontendModule,
|
FrontendModule,
|
||||||
|
FrontendRoute,
|
||||||
MigrationSpec,
|
MigrationSpec,
|
||||||
ModuleContext,
|
ModuleContext,
|
||||||
ModuleInterfaceProvider,
|
ModuleInterfaceProvider,
|
||||||
@@ -209,6 +210,14 @@ manifest = ModuleManifest(
|
|||||||
frontend=FrontendModule(
|
frontend=FrontendModule(
|
||||||
module_id=MODULE_ID,
|
module_id=MODULE_ID,
|
||||||
package_name="@govoplan/datasources-webui",
|
package_name="@govoplan/datasources-webui",
|
||||||
|
routes=(
|
||||||
|
FrontendRoute(
|
||||||
|
path="/datasources",
|
||||||
|
component="DatasourcesPage",
|
||||||
|
required_any=(CATALOGUE_READ_SCOPE, ADMIN_SCOPE),
|
||||||
|
order=70,
|
||||||
|
),
|
||||||
|
),
|
||||||
nav_items=(
|
nav_items=(
|
||||||
NavItem(
|
NavItem(
|
||||||
path="/datasources",
|
path="/datasources",
|
||||||
|
|||||||
Reference in New Issue
Block a user