aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/models/models.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-08-01 19:24:19 +0200
committerMichael Muré <batolettre@gmail.com>2018-08-01 19:24:19 +0200
commit15f282421941b90e1f62912cf68b7556a8ce7b33 (patch)
tree085c77b22313f1bf4650901de3197f4f200aba28 /graphql/models/models.go
parent5830dd88414608b5fc6f5f2b44293b079bce2829 (diff)
downloadgit-bug-15f282421941b90e1f62912cf68b7556a8ce7b33.tar.gz
graphql: simplify the requests with helpers
Diffstat (limited to 'graphql/models/models.go')
-rw-r--r--graphql/models/models.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/graphql/models/models.go b/graphql/models/models.go
index 1f182f1a..e55dfb3e 100644
--- a/graphql/models/models.go
+++ b/graphql/models/models.go
@@ -4,6 +4,13 @@ import (
"github.com/MichaelMure/git-bug/cache"
)
+type ConnectionInput struct {
+ After *string
+ Before *string
+ First *int
+ Last *int
+}
+
type Repository struct {
Cache cache.Cacher
Repo cache.RepoCacher