From 7df170939f2bad0f03b834dda5af1b55bd0d6830 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Wed, 4 Sep 2019 21:04:05 +0200 Subject: graphql: make repository.validLabels a connection --- graphql/models/gen_models.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'graphql/models/gen_models.go') 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"` -- cgit