diff options
Diffstat (limited to 'api/graphql/models/gen_models.go')
-rw-r--r-- | api/graphql/models/gen_models.go | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/api/graphql/models/gen_models.go b/api/graphql/models/gen_models.go index a63233a1..a09b36b4 100644 --- a/api/graphql/models/gen_models.go +++ b/api/graphql/models/gen_models.go @@ -4,6 +4,7 @@ package models import ( "github.com/git-bug/git-bug/entities/bug" + "github.com/git-bug/git-bug/entities/common" "github.com/git-bug/git-bug/entity/dag" "github.com/git-bug/git-bug/repository" ) @@ -191,15 +192,18 @@ type IdentityEdge struct { } type LabelConnection struct { - Edges []*LabelEdge `json:"edges"` - Nodes []bug.Label `json:"nodes"` - PageInfo *PageInfo `json:"pageInfo"` - TotalCount int `json:"totalCount"` + Edges []*LabelEdge `json:"edges"` + Nodes []common.Label `json:"nodes"` + PageInfo *PageInfo `json:"pageInfo"` + TotalCount int `json:"totalCount"` } type LabelEdge struct { - Cursor string `json:"cursor"` - Node bug.Label `json:"node"` + Cursor string `json:"cursor"` + Node common.Label `json:"node"` +} + +type Mutation struct { } type NewBugInput struct { @@ -268,6 +272,9 @@ type PageInfo struct { EndCursor string `json:"endCursor"` } +type Query struct { +} + type SetTitleInput struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId,omitempty"` |