diff options
author | Michael Muré <batolettre@gmail.com> | 2018-08-14 13:32:03 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-08-14 14:20:35 +0200 |
commit | ef0d8fa108fbdef24997a84a3c6ecbf21cbc0a9e (patch) | |
tree | 35585e4bfaa1cd1308e95a772f3dc7fa5efacb40 /graphql/models/gen_models.go | |
parent | 43f808a0e263ada899acb5cc523cfcab6d07c20d (diff) | |
download | git-bug-ef0d8fa108fbdef24997a84a3c6ecbf21cbc0a9e.tar.gz |
graphql: expose startCursor and endCursor as well for a connection
Diffstat (limited to 'graphql/models/gen_models.go')
-rw-r--r-- | graphql/models/gen_models.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/graphql/models/gen_models.go b/graphql/models/gen_models.go index 8a832b23..1ed46029 100644 --- a/graphql/models/gen_models.go +++ b/graphql/models/gen_models.go @@ -42,8 +42,10 @@ type OperationEdge struct { Node bug.Operation `json:"node"` } type PageInfo struct { - HasNextPage bool `json:"hasNextPage"` - HasPreviousPage bool `json:"hasPreviousPage"` + HasNextPage bool `json:"hasNextPage"` + HasPreviousPage bool `json:"hasPreviousPage"` + StartCursor string `json:"startCursor"` + EndCursor string `json:"endCursor"` } type Status string |