mirror of
https://github.com/yldio/copilot.git
synced 2024-12-29 05:10:05 +02:00
Tidy up
This commit is contained in:
parent
9ffeebbf04
commit
9e1c52f1f3
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user