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 (
|
||||
DocumentationTopic,
|
||||
FrontendModule,
|
||||
FrontendRoute,
|
||||
MigrationSpec,
|
||||
ModuleContext,
|
||||
ModuleInterfaceProvider,
|
||||
@@ -209,6 +210,14 @@ manifest = ModuleManifest(
|
||||
frontend=FrontendModule(
|
||||
module_id=MODULE_ID,
|
||||
package_name="@govoplan/datasources-webui",
|
||||
routes=(
|
||||
FrontendRoute(
|
||||
path="/datasources",
|
||||
component="DatasourcesPage",
|
||||
required_any=(CATALOGUE_READ_SCOPE, ADMIN_SCOPE),
|
||||
order=70,
|
||||
),
|
||||
),
|
||||
nav_items=(
|
||||
NavItem(
|
||||
path="/datasources",
|
||||
|
||||
Reference in New Issue
Block a user