MCPcopy Create free account
hub / github.com/Fibi66/FeiControl / HeatmapStats

Interface HeatmapStats

src/components/ActivityHeatmap.tsx:11–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9}
10
11interface 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
20function getColor(count: number, max: number): string {
21 if (count === 0) return "rgba(255,255,255,0.04)";

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected