feat: Editor-Aufruf mit Task- und Typenrückgabe statt MongoDB

Tasks, eigene Typen und Metadaten pro Editor-Aufruf laden und an den Aufrufer zurückgeben. MongoDB-Persistenz entfernen und Header auf Rückgängig, Abbrechen und Fertig umstellen.

Python-Testserver und Regressionstests ergänzen; Verbindungslinien nach Import und Layoutänderungen neu berechnen.
This commit is contained in:
Sven committed 2026-10-07 21:06:28 +02:00
1 parent 93ba40c476
commit f979c797ba
39 files changed
+1980 -1140

No files matched your search

+47
View File
@@ -0,0 +1,47 @@
{
"name": "Testtour 4711",
"tasks": [
{
"s_id": 1,
"type": 3,
"topic": "Ankunft melden",
"track": true,
"txt": "Bitte Ankunft am Einsatzort bestätigen.",
"opt": false,
"reenter": false
},
{
"s_id": 2,
"type": 1000,
"topic": "Zustellung fotografieren",
"min": 1,
"max": 3,
"opt": false,
"reenter": true
}
],
"customTypes": [
{
"typeId": "custom-1000",
"taskType": 1000,
"baseTypeId": "fotos-aufnehmen",
"label": "Zustellnachweis",
"description": "Fotos zur Dokumentation einer Zustellung.",
"icon": "vaadin:camera",
"color": "#059669",
"inputs": 1,
"outputs": 1,
"properties": [
{ "id": "min", "label": "Mindestanzahl Fotos", "type": "NUMBER", "defaultValue": 1 },
{ "id": "max", "label": "Maximale Anzahl Fotos", "type": "NUMBER", "defaultValue": 3 },
{ "id": "opt", "label": "Optionale Aufgabe", "type": "BOOLEAN", "defaultValue": false },
{ "id": "reenter", "label": "Erneut bearbeitbar", "type": "BOOLEAN", "defaultValue": true }
]
}
],
"metadata": {
"tourId": 4711,
"requestId": "test-001",
"source": "python-testserver"
}
}