feat: F006 supply dashboard — KPI grid, strong matches, data quality, future signals, review tasks
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
export interface KpiCardData {
|
||||
id: string
|
||||
label: string
|
||||
value: number | string
|
||||
trend?: 'up' | 'down' | 'neutral'
|
||||
trendLabel?: string
|
||||
accent?: string
|
||||
}
|
||||
|
||||
export interface StrongMatchItem {
|
||||
matchId: string
|
||||
propertyId: string
|
||||
propertyTitle: string
|
||||
propertyAddress: string
|
||||
needSummary: string
|
||||
matchScore: number
|
||||
topReason: string
|
||||
missingDataCount: number
|
||||
nextBestAction: string
|
||||
}
|
||||
|
||||
export interface FutureSignalSummary {
|
||||
total: number
|
||||
highConfidence: number
|
||||
restricted: number
|
||||
needsReview: number
|
||||
avgTimeHorizonMonths: number
|
||||
}
|
||||
|
||||
export interface DataQualitySummary {
|
||||
avgScore: number
|
||||
critical: number
|
||||
propertiesWithMissingCritical: number
|
||||
topMissingFields: string[]
|
||||
}
|
||||
|
||||
export interface DashboardReviewTask {
|
||||
id: string
|
||||
title: string
|
||||
priority: 'HIGH' | 'MEDIUM' | 'LOW'
|
||||
status: string
|
||||
type: string
|
||||
}
|
||||
|
||||
export interface DashboardData {
|
||||
totalProperties: number
|
||||
activeProperties: number
|
||||
strongMatchCount: number
|
||||
avgDataQuality: number
|
||||
futureSignals: FutureSignalSummary
|
||||
dataQuality: DataQualitySummary
|
||||
reviewTasks: DashboardReviewTask[]
|
||||
strongMatches: StrongMatchItem[]
|
||||
lastUpdated: string
|
||||
}
|
||||
Reference in New Issue
Block a user