blob: 057b798ad4eee415a5d2ee2388b392c31347f766 (
plain) (
tree)
|
|
#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 {
name
bug(prefix: $id) {
timeline(first: $first, after: $after) {
nodes {
...TimelineItem
}
pageInfo {
hasNextPage
endCursor
}
}
}
}
}
fragment TimelineItem on BugTimelineItem {
... on BugLabelChangeTimelineItem {
...LabelChange
}
... on BugSetStatusTimelineItem {
...SetStatus
}
... on BugSetTitleTimelineItem {
...SetTitle
}
... on BugAddCommentTimelineItem {
...AddComment
}
... on BugCreateTimelineItem {
...Create
}
}
|