-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.d.ts
86 lines (77 loc) · 1.4 KB
/
types.d.ts
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
export interface UserItem {
total: number
author: string;
avatar: string
id: number
}
export interface UserConfig {
ignore: Array<string> // GitHub login user
height: number
width: number
fontSize: number
size: number
ignoreTotal?: number
isRadius?: boolean
}
export interface ConfigItem {
[key: string]: UserConfig
}
export interface OwnerRepoItem {
owner: string
repo: string
}
export interface SvgConfig {
baseSize: number
fontSize: number
oneRowMax: number
svgWidth: number
svgHeight: number
outSize: number
isRadius: boolean
}
export interface XYItem {
xIndex: number
yIndex: number
}
export interface ImageXYItem {
imageX: number
imageY: number
}
export interface TotalMap {
[k: string]: any
}
export interface GithubWeeksItem {
w: number
a: number
d: number
c: number
}
interface GithubAuthorItem {
login: string,
id: number,
node_id: string,
avatar_url: string,
gravatar_id: string,
url: string
html_url: string
followers_url: string
following_url: string
gists_url: string
starred_url: string
subscriptions_url: string
organizations_url: string
repos_url: string
events_url: string
received_events_url: string
type: string
site_admin: boolean
}
export interface GithubContributorItem {
total: number
weeks: GithubWeeksItem[]
author: GithubAuthorItem
}
export interface MD5Item {
filename: string
md5: string
}