All checks were successful
Deploy Development / deploy (push) Successful in 45s
Test Suite / pytest-backend (push) Successful in 1m23s
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 18s
Test Suite / playwright-smoke (push) Successful in 12s
Zweite Built-in-Methode mit meilensteinorientierter NextAction-Strategie, API und UI-Auswahl pro Vorhaben; AP0.10d Validation-Vorlagen. Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
354 B
JavaScript
13 lines
354 B
JavaScript
import { apiFetch } from './client.js'
|
|
|
|
export function listSteeringMethods() {
|
|
return apiFetch('/api/steering/methods')
|
|
}
|
|
|
|
export function updateInitiativeSteeringMethod(initiativeId, methodKey) {
|
|
return apiFetch(`/api/steering/initiatives/${initiativeId}/context`, {
|
|
method: 'PATCH',
|
|
body: JSON.stringify({ method_key: methodKey }),
|
|
})
|
|
}
|