Merge branch 'worktree-agent-a1dfa0392b5ace900'

# Conflicts:
#	gerbil-manager-web/e2e/mock-data.ts
#	gerbil-manager-web/src/App.tsx
This commit is contained in:
2026-06-22 22:52:45 +02:00
20 changed files with 2622 additions and 0 deletions

View File

@@ -508,6 +508,15 @@ export async function installMockApi(page: Page): Promise<MockDb> {
return json(route, 405)
}
// RPRO3: RennmausPro-III-Backup-Import (multipart-Upload). Mock liefert eine feste
// Auswertung bzw. ein Import-Ergebnis — keine echte Datei-Verarbeitung.
if (path === '/import/rpro3/analyze' && method === 'POST') {
return json(route, 200, db.rpro3.analyze)
}
if (path === '/import/rpro3/execute' && method === 'POST') {
return json(route, 200, db.rpro3.execute)
}
// Generische Kollektionen: /<resource> und /<resource>/<id>
m = path.match(/^\/([a-z-]+)(?:\/([^/]+))?$/)
const col = m ? collections[m[1]] : undefined