File size: 437 Bytes
c798beb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
export interface ProviderInfo {
  color: string;
  authors: string[];
}

export interface ModelData {
  createdAt: string;
  id: string;
}

export interface Activity {
  date: string;
  count: number;
  level: number;
}

export interface CalendarData {
  [key: string]: Activity[];
}

export interface OpenSourceHeatmapProps {
  calendarData: CalendarData;
  author: string;
  color: string;
  providers: Record<string, ProviderInfo>;
}