diff options
Diffstat (limited to 'graphql/models/gen_models.go')
-rw-r--r-- | graphql/models/gen_models.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/graphql/models/gen_models.go b/graphql/models/gen_models.go index 71a6b78b..172fe033 100644 --- a/graphql/models/gen_models.go +++ b/graphql/models/gen_models.go @@ -8,6 +8,7 @@ import ( "strconv" "github.com/MichaelMure/git-bug/bug" + "github.com/MichaelMure/git-bug/identity" ) // An object that has an author. @@ -41,6 +42,18 @@ type CommentEdge struct { Node bug.Comment `json:"node"` } +type IdentityConnection struct { + Edges []IdentityEdge `json:"edges"` + Nodes []identity.Interface `json:"nodes"` + PageInfo PageInfo `json:"pageInfo"` + TotalCount int `json:"totalCount"` +} + +type IdentityEdge struct { + Cursor string `json:"cursor"` + Node identity.Interface `json:"node"` +} + // The connection type for an Operation type OperationConnection struct { Edges []OperationEdge `json:"edges"` |