File size: 472 Bytes
c798beb
 
 
eda28cd
 
c798beb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
eda28cd
 
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
28
export interface ProviderInfo {
  color: string;
  authors: string[];
  fullName?: string;
  avatarUrl?: string | null;
}

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: ProviderInfo[];
}