diff --git a/src/features/projects/api.ts b/src/features/projects/api.ts index cf6d31e..b03415a 100644 --- a/src/features/projects/api.ts +++ b/src/features/projects/api.ts @@ -7,6 +7,7 @@ import type { Project, ProjectDetail, ProjectStageReadiness, + ProjectDurationBudgetSummary, UpdateProjectInput } from './types' @@ -15,6 +16,8 @@ export const projectsApi = { list: (signal?: AbortSignal) => request('/projects', { signal }), detail: (id: string, signal?: AbortSignal) => request(`/projects/${encodeURIComponent(id)}`, { signal }), + durationBudget: (id: string, signal?: AbortSignal) => + request(`/projects/${encodeURIComponent(id)}/duration-budget`, { signal }), stageReadiness: (id: string, signal?: AbortSignal) => request(`/projects/${encodeURIComponent(id)}/stage-readiness`, { signal }), create: (input: CreateProjectInput) =>