AP0.9: Operating Model Extension II (Evidence, Decision, Review, Recurring, due_at)
Deploy Development / deploy (push) Successful in 43s
Test Suite / pytest-backend (push) Successful in 1m6s
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 21s
Test Suite / playwright-smoke (push) Successful in 14s
Deploy Development / deploy (push) Successful in 43s
Test Suite / pytest-backend (push) Successful in 1m6s
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 21s
Test Suite / playwright-smoke (push) Successful in 14s
Schließt den zweiten OM-Slice entlang der Roadmap: neue Entitäten parallel im Vorhaben, erweiterte Action-Status/Fälligkeit und Attention-Regeln 7–9. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
c9101db1e1
commit
a025542545
36 files changed
+3178
-37
No files matched your search
@@ -0,0 +1,23 @@
|
||||
import { apiFetch } from './client.js'
|
||||
|
||||
export function listInitiativeDecisions(initiativeId) {
|
||||
return apiFetch(`/api/initiatives/${initiativeId}/decisions`)
|
||||
}
|
||||
|
||||
export function createInitiativeDecision(initiativeId, body) {
|
||||
return apiFetch(`/api/initiatives/${initiativeId}/decisions`, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify(body),
|
||||
})
|
||||
}
|
||||
|
||||
export function updateDecision(decisionId, body) {
|
||||
return apiFetch(`/api/decisions/${decisionId}`, {
|
||||
method: 'PATCH',
|
||||
body: JSON.stringify(body),
|
||||
})
|
||||
}
|
||||
|
||||
export function deleteDecision(decisionId) {
|
||||
return apiFetch(`/api/decisions/${decisionId}`, { method: 'DELETE' })
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
import { apiFetch } from './client.js'
|
||||
|
||||
export function listInitiativeEvidence(initiativeId) {
|
||||
return apiFetch(`/api/initiatives/${initiativeId}/evidence`)
|
||||
}
|
||||
|
||||
export function createInitiativeEvidence(initiativeId, body) {
|
||||
return apiFetch(`/api/initiatives/${initiativeId}/evidence`, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify(body),
|
||||
})
|
||||
}
|
||||
|
||||
export function updateEvidence(evidenceId, body) {
|
||||
return apiFetch(`/api/evidence/${evidenceId}`, {
|
||||
method: 'PATCH',
|
||||
body: JSON.stringify(body),
|
||||
})
|
||||
}
|
||||
|
||||
export function deleteEvidence(evidenceId) {
|
||||
return apiFetch(`/api/evidence/${evidenceId}`, { method: 'DELETE' })
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
import { apiFetch } from './client.js'
|
||||
|
||||
export function listInitiativeRecurring(initiativeId) {
|
||||
return apiFetch(`/api/initiatives/${initiativeId}/recurring`)
|
||||
}
|
||||
|
||||
export function createInitiativeRecurring(initiativeId, body) {
|
||||
return apiFetch(`/api/initiatives/${initiativeId}/recurring`, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify(body),
|
||||
})
|
||||
}
|
||||
|
||||
export function updateRecurring(recurringId, body) {
|
||||
return apiFetch(`/api/recurring/${recurringId}`, {
|
||||
method: 'PATCH',
|
||||
body: JSON.stringify(body),
|
||||
})
|
||||
}
|
||||
|
||||
export function deleteRecurring(recurringId) {
|
||||
return apiFetch(`/api/recurring/${recurringId}`, { method: 'DELETE' })
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
import { apiFetch } from './client.js'
|
||||
|
||||
export function listInitiativeReviews(initiativeId) {
|
||||
return apiFetch(`/api/initiatives/${initiativeId}/reviews`)
|
||||
}
|
||||
|
||||
export function createInitiativeReview(initiativeId, body) {
|
||||
return apiFetch(`/api/initiatives/${initiativeId}/reviews`, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify(body),
|
||||
})
|
||||
}
|
||||
|
||||
export function updateReview(reviewId, body) {
|
||||
return apiFetch(`/api/reviews/${reviewId}`, {
|
||||
method: 'PATCH',
|
||||
body: JSON.stringify(body),
|
||||
})
|
||||
}
|
||||
|
||||
export function deleteReview(reviewId) {
|
||||
return apiFetch(`/api/reviews/${reviewId}`, { method: 'DELETE' })
|
||||
}
|
||||
Reference in new issue
Block a user