Offer the current exercise through an explicit API switch.
Deploy Development / deploy (push) Successful in 53s
Test Suite / pytest-backend (push) Failing after 29s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 16s
Test Suite / k6 /health Baseline (push) Successful in 35s
Test Suite / playwright-tests (push) Failing after 7m42s

The exercise list turns the live catalog on or off for the caller's edit rights. A distribution key reads that current selection and the changes since its last cursor.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-11-23 15:37:25 +01:00
1 parent 4ad62b6e38
commit b59b7eae16
13 files changed
+488 -5

No files matched your search

+8
View File
@@ -474,6 +474,14 @@ export async function updateExercise(id, data) {
return response.json()
}
/** API-Bereitstellung für die aktuelle Auswahl (`PATCH /api/exercises/api-offering`). */
export async function patchExerciseApiOffering(data) {
return request('/api/exercises/api-offering', {
method: 'PATCH',
body: JSON.stringify(data),
})
}
/** Massenänderung Übungen: Sichtbarkeit, Status, Katalog-Zuordnungen (`PATCH /api/exercises/bulk-metadata`). */
export async function bulkPatchExercisesMetadata(data) {
return request('/api/exercises/bulk-metadata', {