diff options
Diffstat (limited to 'graphql/models')
-rw-r--r-- | graphql/models/gen_models.go | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/graphql/models/gen_models.go b/graphql/models/gen_models.go index 1ed46029..23a25814 100644 --- a/graphql/models/gen_models.go +++ b/graphql/models/gen_models.go @@ -1,4 +1,4 @@ -// Code generated by github.com/vektah/gqlgen, DO NOT EDIT. +// Code generated by github.com/99designs/gqlgen, DO NOT EDIT. package models @@ -10,37 +10,48 @@ import ( bug "github.com/MichaelMure/git-bug/bug" ) +// An object that has an author. type Authored interface{} + +// The connection type for Bug. type BugConnection struct { Edges []BugEdge `json:"edges"` Nodes []bug.Snapshot `json:"nodes"` PageInfo PageInfo `json:"pageInfo"` TotalCount int `json:"totalCount"` } + +// An edge in a connection. type BugEdge struct { Cursor string `json:"cursor"` Node bug.Snapshot `json:"node"` } + type CommentConnection struct { Edges []CommentEdge `json:"edges"` Nodes []bug.Comment `json:"nodes"` PageInfo PageInfo `json:"pageInfo"` TotalCount int `json:"totalCount"` } + type CommentEdge struct { Cursor string `json:"cursor"` Node bug.Comment `json:"node"` } + type OperationConnection struct { Edges []OperationEdge `json:"edges"` Nodes []bug.Operation `json:"nodes"` PageInfo PageInfo `json:"pageInfo"` TotalCount int `json:"totalCount"` } + type OperationEdge struct { Cursor string `json:"cursor"` Node bug.Operation `json:"node"` } + +// Information about pagination in a connection. type PageInfo struct { HasNextPage bool `json:"hasNextPage"` HasPreviousPage bool `json:"hasPreviousPage"` |