Tidy up
This commit is contained in:
parent
9ffeebbf04
commit
9e1c52f1f3
@ -1,5 +1,4 @@
|
|||||||
import { makeExecutableSchema } from 'graphql-tools';
|
import { makeExecutableSchema } from 'graphql-tools';
|
||||||
|
|
||||||
import resolvers from './resolvers';
|
import resolvers from './resolvers';
|
||||||
|
|
||||||
const schema = `
|
const schema = `
|
||||||
@ -46,7 +45,6 @@ type Service {
|
|||||||
hash: String!
|
hash: String!
|
||||||
version: Version!
|
version: Version!
|
||||||
name: String!
|
name: String!
|
||||||
project: String!
|
|
||||||
instances: [Instance]!
|
instances: [Instance]!
|
||||||
metrics: [MetricType]!
|
metrics: [MetricType]!
|
||||||
package: Package! # we don't have this in current mock data
|
package: Package! # we don't have this in current mock data
|
||||||
@ -75,7 +73,6 @@ type Package {
|
|||||||
type Instance {
|
type Instance {
|
||||||
uuid: String!
|
uuid: String!
|
||||||
name: String!
|
name: String!
|
||||||
service: String!
|
|
||||||
metrics: [InstanceMetric]!
|
metrics: [InstanceMetric]!
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -109,6 +106,10 @@ type Query {
|
|||||||
datacenters: [Datacenter]
|
datacenters: [Datacenter]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type Mutation {
|
||||||
|
createDeployment: Deployment
|
||||||
|
}
|
||||||
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export default makeExecutableSchema({
|
export default makeExecutableSchema({
|
||||||
|
Loading…
Reference in New Issue
Block a user