-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.ts
65 lines (63 loc) · 1.36 KB
/
types.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
export interface Status {
updated: Date;
status: boolean;
error?: string;
information?: {
all: boolean;
wonderbot: boolean;
wbapi: boolean;
parkbot: boolean;
support: boolean;
wbweb: boolean;
web: boolean
discord: string;
cloudflare: string;
github: string;
issues: Issue[]
}
}
export interface Issue {
url: string,
repository_url: string;
labels_url: string;
comments_url: string;
events_url: string;
html_url: string;
id: Number;
node_id: string;
number: Number;
title: string;
user: {
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
},
labels: any[],
state: string,
locked: boolean,
assignee: any,
assignees: [],
milestone: any,
comment?: any[]
comments: Number,
created_at: Date,
updated_at: Date,
closed_at: any,
author_association: string,
body: string
}