All checks were successful
Deploy Development / deploy (push) Successful in 44s
Test Suite / pytest-backend (push) Successful in 1m54s
Test Suite / lint-backend (push) Successful in 2s
Test Suite / compose-smoke (push) Has been skipped
Test Suite / k6 /api/health Baseline (push) Successful in 19s
Test Suite / playwright-smoke (push) Successful in 15s
EFS-Tabellen, Registry-Sync und Fields-API ermöglichen archetyp-spezifische Felder; Frontend rendert sie im Profil-Modal per FieldRenderer. Co-authored-by: Cursor <cursoragent@cursor.com>
49 lines
1.3 KiB
Python
49 lines
1.3 KiB
Python
"""System-Felddefinitionen (Seed) — AP1.10b."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from typing import Any
|
|
|
|
FIELD_DEFINITIONS: tuple[dict[str, Any], ...] = (
|
|
{
|
|
"archetype_key": "initiative.program",
|
|
"field_key": "stakeholder_map",
|
|
"field_type": "longtext",
|
|
"label": "Stakeholder-Übersicht",
|
|
"required": False,
|
|
"searchable": True,
|
|
"sort_order": 10,
|
|
"validation_json": {},
|
|
},
|
|
{
|
|
"archetype_key": "initiative.program",
|
|
"field_key": "success_criteria",
|
|
"field_type": "longtext",
|
|
"label": "Erfolgskriterien",
|
|
"required": False,
|
|
"searchable": True,
|
|
"sort_order": 20,
|
|
"validation_json": {},
|
|
},
|
|
{
|
|
"archetype_key": "initiative.product",
|
|
"field_key": "release_theme",
|
|
"field_type": "text",
|
|
"label": "Release-Thema",
|
|
"required": False,
|
|
"searchable": True,
|
|
"sort_order": 10,
|
|
"validation_json": {},
|
|
},
|
|
{
|
|
"archetype_key": "initiative.product",
|
|
"field_key": "metrics",
|
|
"field_type": "longtext",
|
|
"label": "Metriken / KPIs",
|
|
"required": False,
|
|
"searchable": True,
|
|
"sort_order": 20,
|
|
"validation_json": {},
|
|
},
|
|
)
|