forked from sensu/sensu-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.gql.go
26 lines (21 loc) · 834 Bytes
/
schema.gql.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Code generated by scripts/gengraphql.go. DO NOT EDIT.
package schema
import (
graphql1 "github.com/graphql-go/graphql"
graphql "github.com/sensu/sensu-go/graphql"
)
// Schema supplies the root types of each type of operation, query,
// mutation (optional), and subscription (optional).
var Schema = graphql.NewType("Schema", graphql.SchemaKind)
// RegisterSchema registers schema description with given service.
func RegisterSchema(svc *graphql.Service) {
svc.RegisterSchema(_SchemaDesc)
}
func _SchemaConfigFn() graphql1.SchemaConfig {
return graphql1.SchemaConfig{
Mutation: graphql.Object("Mutation"),
Query: graphql.Object("Query"),
}
}
// describe schema's configuration; kept private to avoid unintentional tampering of configuration at runtime.
var _SchemaDesc = graphql.SchemaDesc{Config: _SchemaConfigFn}