docs: complete public documentation baseline
Module Package Release / publish-packages (push) Successful in 11s

This commit is contained in:
2026-08-22 07:55:17 +02:00
parent 101374d39f
commit 27cfe2e0fe
4 changed files with 23 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@govoplan/assets",
"version": "0.1.18",
"version": "0.1.19",
"private": true,
"description": "GovOPlaN Assets platform module seed.",
"type": "module",
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "govoplan-assets"
version = "0.1.18"
version = "0.1.19"
description = "GovOPlaN Assets platform module seed."
readme = "README.md"
requires-python = ">=3.12"
+12 -1
View File
@@ -6,7 +6,7 @@ from govoplan_core.core.provider_governance import declared_module_architecture
MODULE_ID = "assets"
MODULE_NAME = "Assets"
MODULE_VERSION = "0.1.18"
MODULE_VERSION = "0.1.19"
READ_SCOPE = "assets:workspace:read"
WRITE_SCOPE = "assets:workspace:write"
ADMIN_SCOPE = "assets:workspace:admin"
@@ -69,6 +69,13 @@ DOCUMENTATION = (
layer="available",
documentation_types=("admin", "user"),
audience=("user", "operator", "module_admin", "product_owner"),
translations={
"de": {
"title": "Modulgrenze von Assets",
"summary": "Lebenszyklusverwaltung von Inventar, Zuordnungen, Wartung, Garantien, Prüfungen, Verlust- und Schadensmeldungen, Abschreibungsverweisen und Übergabeprotokollen.",
"body": "Dieses Repository ist derzeit ein Grundgerüst für ein Plattformmodul. Es registriert die Fachgrenze, Berechtigungsoberfläche, Rollenvorlagen und Dokumentationsmetadaten, bevor Laufzeit-APIs, Datenbankmodelle, Migrationen und WebUI-Routen eingeführt werden.",
}
},
order=100,
related_modules=OPTIONAL_DEPENDENCIES,
links=(
@@ -79,7 +86,11 @@ DOCUMENTATION = (
),
),
metadata={
"kind": "reference",
"seed": True,
"consequence_classes": {
"seed_boundary": "Declares ownership and permissions only; no runtime workflow is available yet.",
},
"domain_objects": ['asset lifecycle records', 'assignment and handover facts', 'maintenance and warranty references', 'loss and damage reports', 'inspection links'],
"first_slice": "Define asset identity, assignment, maintenance, warranty, and handover records before adding import and search workflows.",
},
+9
View File
@@ -15,6 +15,15 @@ class ManifestSeedTests(unittest.TestCase):
self.assertEqual({permission.scope for permission in manifest.permissions}, {READ_SCOPE, WRITE_SCOPE, ADMIN_SCOPE})
self.assertEqual({role.slug for role in manifest.role_templates}, {"assets_manager", "assets_viewer"})
self.assertTrue(manifest.documentation)
topic = manifest.documentation[0]
self.assertEqual("reference", topic.metadata["kind"])
self.assertIn("seed_boundary", topic.metadata["consequence_classes"])
self.assertTrue(
all(
topic.translations.get("de", {}).get(field)
for field in ("title", "summary", "body")
)
)
self.assertIsNone(manifest.route_factory)
self.assertIsNone(manifest.migration_spec)
self.assertIsNone(manifest.frontend)