fix(CC-055): align BriefingData interface with actual API response (remove upcomingTasks/weekInReview/aiExplanation, add optional notifications)
This commit is contained in:
parent
57f5be4087
commit
1539da43a7
1 changed files with 1 additions and 7 deletions
|
|
@ -303,16 +303,10 @@ export interface BriefingData {
|
||||||
generatedAt: string;
|
generatedAt: string;
|
||||||
score: number;
|
score: number;
|
||||||
overdueTasks: Task[];
|
overdueTasks: Task[];
|
||||||
upcomingTasks: Task[];
|
|
||||||
todayTasks: Task[];
|
todayTasks: Task[];
|
||||||
atRiskGoals: Goal[];
|
atRiskGoals: Goal[];
|
||||||
pendingDecisions: Decision[];
|
pendingDecisions: Decision[];
|
||||||
criticalSignals: FinancialSignal[];
|
criticalSignals: FinancialSignal[];
|
||||||
expiringOpportunities: Array<{ id: string; source: string; nextAction?: string | null }>;
|
expiringOpportunities: Array<{ id: string; source: string; nextAction?: string | null }>;
|
||||||
weekInReview: {
|
notifications?: Array<{ id: string; type: string; message: string; createdAt: string }>;
|
||||||
newOrganizations: number;
|
|
||||||
newSegments: number;
|
|
||||||
newResearchBriefs: number;
|
|
||||||
};
|
|
||||||
aiExplanation: string | null;
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue