1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-29 05:10:05 +02:00
This commit is contained in:
JUDIT GRESKOVITS 2017-05-03 16:43:32 +01:00 committed by Judit Greskovits
parent 9ffeebbf04
commit 9e1c52f1f3

View File

@ -1,5 +1,4 @@
import { makeExecutableSchema } from 'graphql-tools';
import resolvers from './resolvers';
const schema = `
@ -46,7 +45,6 @@ type Service {
hash: String!
version: Version!
name: String!
project: String!
instances: [Instance]!
metrics: [MetricType]!
package: Package! # we don't have this in current mock data
@ -75,7 +73,6 @@ type Package {
type Instance {
uuid: String!
name: String!
service: String!
metrics: [InstanceMetric]!
}
@ -109,6 +106,10 @@ type Query {
datacenters: [Datacenter]
}
type Mutation {
createDeployment: Deployment
}
`;
export default makeExecutableSchema({