diff --git a/pkg/api/console/v1/schema.graphql b/pkg/api/console/v1/schema.graphql index 94e64df93..08a346160 100644 --- a/pkg/api/console/v1/schema.graphql +++ b/pkg/api/console/v1/schema.graphql @@ -263,10 +263,6 @@ type Evidence implements Node { updatedAt: Datetime! } -type Query { - node(id: ID!): Node! -} - type EvidenceStateTransitionConnection { edges: [EvidenceStateTransitionEdge!]! pageInfo: PageInfo! @@ -285,3 +281,7 @@ type EvidenceStateTransition { createdAt: Datetime! updatedAt: Datetime! } + +type Query { + node(id: ID!): Node! +} diff --git a/pkg/api/console/v1/schema/schema.go b/pkg/api/console/v1/schema/schema.go index 21e63ba4b..0144683ac 100644 --- a/pkg/api/console/v1/schema/schema.go +++ b/pkg/api/console/v1/schema/schema.go @@ -1438,10 +1438,6 @@ type Evidence implements Node { updatedAt: Datetime! } -type Query { - node(id: ID!): Node! -} - type EvidenceStateTransitionConnection { edges: [EvidenceStateTransitionEdge!]! pageInfo: PageInfo! @@ -1460,6 +1456,10 @@ type EvidenceStateTransition { createdAt: Datetime! updatedAt: Datetime! } + +type Query { + node(id: ID!): Node! +} `, BuiltIn: false}, } var parsedSchema = gqlparser.MustLoadSchema(sources...)