diff options
author | Michael Muré <batolettre@gmail.com> | 2019-09-04 21:05:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-04 21:05:18 +0200 |
commit | 3ad2eeb5d07c14a039e0f0028b84033ff9b2c7db (patch) | |
tree | 84711541f4164f3c2a86e307732cc9e26e3d3618 /graphql/models/gen_models.go | |
parent | c4bebed2f2ad1e0ec673bbfbbe445bfad963453a (diff) | |
parent | 7df170939f2bad0f03b834dda5af1b55bd0d6830 (diff) | |
download | git-bug-3ad2eeb5d07c14a039e0f0028b84033ff9b2c7db.tar.gz |
Merge pull request #214 from MichaelMure/label-connection
graphql: make repository.validLabels a connection
Diffstat (limited to 'graphql/models/gen_models.go')
-rw-r--r-- | graphql/models/gen_models.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/graphql/models/gen_models.go b/graphql/models/gen_models.go index 3c142e24..5498960b 100644 --- a/graphql/models/gen_models.go +++ b/graphql/models/gen_models.go @@ -156,6 +156,18 @@ type IdentityEdge struct { Node identity.Interface `json:"node"` } +type LabelConnection struct { + Edges []*LabelEdge `json:"edges"` + Nodes []bug.Label `json:"nodes"` + PageInfo *PageInfo `json:"pageInfo"` + TotalCount int `json:"totalCount"` +} + +type LabelEdge struct { + Cursor string `json:"cursor"` + Node bug.Label `json:"node"` +} + type NewBugInput struct { // A unique identifier for the client performing the mutation. ClientMutationID *string `json:"clientMutationId"` |