File size: 636 Bytes
c798beb
 
 
eda28cd
 
a6d1411
 
 
 
 
 
 
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
29
30
31
32
33
34
35
export interface ProviderInfo {
  color: string;
  authors: string[];
  fullName?: string;
  avatarUrl?: string | null;
  isVerified?: boolean;
  isEnterprise?: boolean;
  numModels?: number;
  numSpaces?: number;
  numDatasets?: number;
  numFollowers?: number;
  numUsers?: number;
}

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