-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathqueries.py
More file actions
39 lines (39 loc) · 617 Bytes
/
queries.py
File metadata and controls
39 lines (39 loc) · 617 Bytes
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
FETCH_ALL_BY_ID = """
query ($num: Int!, $user: String = "neomutt", $repo: String = "neomutt") {
repository(owner: $user, name: $repo) {
issue(number: $num) {
number
title
url
createdAt
author {
login
}
}
pullRequest(number: $num) {
number
title
url
createdAt
author {
login
}
}
discussion(number: $num) {
number
title
url
createdAt
author {
login
}
comments(first: 0) {
totalCount
}
category {
emojiHTML
}
}
}
}
"""