From 3c38b1cb00eeb775e3c9381e3e96ddf154910819 Mon Sep 17 00:00:00 2001 From: Albrecht Degering Date: Tue, 28 Jul 2026 21:04:55 +0200 Subject: [PATCH] Declare datasource route View surface --- src/govoplan_datasources/backend/manifest.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/govoplan_datasources/backend/manifest.py b/src/govoplan_datasources/backend/manifest.py index ca86734..92fcc8a 100644 --- a/src/govoplan_datasources/backend/manifest.py +++ b/src/govoplan_datasources/backend/manifest.py @@ -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",