Enforced relationships between activities and indicators, fixed actuals recording

This commit is contained in:
2026-10-22 13:47:54 +02:00
parent 4dd0899209
commit 9835121fd9
23 changed files with 3496 additions and 270 deletions
@@ -742,21 +742,26 @@ export interface Indicator {
id: number | string;
tenantId?: number | string;
projectId: number | string;
activityId?: number | string | null;
name: string | null;
unitOfMeasure?: UnitOfMeasure | null;
baselineAmount: number;
targetAmount: number;
actualAmount: number;
targetCost?: number;
actualCost?: number;
createdBy: string;
createdAt: string;
}
export interface CreateIndicatorRequest {
projectId: number | string;
activityId?: number | string | null;
name: string;
unitOfMeasure: UnitOfMeasure;
baselineAmount: number;
targetAmount: number;
targetCost?: number;
}
export interface Risk {