blob: 6d78ab7f851a7b6c85a55bc9404881db702b5712 (
plain) (
blame)
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
|
#import "./MessageCreateFragment.graphql"
#import "./MessageCommentFragment.graphql"
#import "./LabelChangeFragment.graphql"
#import "./SetTitleFragment.graphql"
#import "./SetStatusFragment.graphql"
query Timeline($id: String!, $first: Int = 10, $after: String) {
repository {
bug(prefix: $id) {
timeline(first: $first, after: $after) {
nodes {
...TimelineItem
}
pageInfo {
hasNextPage
endCursor
}
}
}
}
}
fragment TimelineItem on TimelineItem {
... on LabelChangeTimelineItem {
...LabelChange
}
... on SetStatusTimelineItem {
...SetStatus
}
... on SetTitleTimelineItem {
...SetTitle
}
... on AddCommentTimelineItem {
...AddComment
}
... on CreateTimelineItem {
...Create
}
}
|