aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/models/gen_models.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-29 20:58:25 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-29 20:59:25 +0200
commit36ebbe0cf4078070c3a6710f2e1f781c03de3d1a (patch)
tree1c739320485c55d2b68e766d6f15609c86a0eefe /graphql/models/gen_models.go
parentc46d01f8c10e6363b680fa6876e91bd8eaf3bb3e (diff)
downloadgit-bug-36ebbe0cf4078070c3a6710f2e1f781c03de3d1a.tar.gz
graphql: expose the new Timeline
Diffstat (limited to 'graphql/models/gen_models.go')
-rw-r--r--graphql/models/gen_models.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/graphql/models/gen_models.go b/graphql/models/gen_models.go
index 23a25814..849b1842 100644
--- a/graphql/models/gen_models.go
+++ b/graphql/models/gen_models.go
@@ -59,6 +59,18 @@ type PageInfo struct {
EndCursor string `json:"endCursor"`
}
+type TimelineItemConnection struct {
+ Edges []TimelineItemEdge `json:"edges"`
+ Nodes []bug.TimelineItem `json:"nodes"`
+ PageInfo PageInfo `json:"pageInfo"`
+ TotalCount int `json:"totalCount"`
+}
+
+type TimelineItemEdge struct {
+ Cursor string `json:"cursor"`
+ Node bug.TimelineItem `json:"node"`
+}
+
type Status string
const (