| 9 | } |
| 10 | |
| 11 | interface HeatmapStats { |
| 12 | total: number; |
| 13 | today: number; |
| 14 | heatmap: HeatmapDay[]; |
| 15 | byType: Record<string, number>; |
| 16 | byStatus: Record<string, number>; |
| 17 | trend: Array<{ day: string; count: number; success: number; errors: number }>; |
| 18 | } |
| 19 | |
| 20 | function getColor(count: number, max: number): string { |
| 21 | if (count === 0) return "rgba(255,255,255,0.04)"; |
nothing calls this directly
no outgoing calls
no test coverage detected