feat(cp-gql-schema): instead of parent, allow service childs

This commit is contained in:
Sérgio Ramos 2017-07-13 16:22:43 +01:00 committed by Judit Greskovits
parent 7b5cf714d2
commit 5b169cc2a3

View File

@ -113,12 +113,12 @@ type ServiceConfig {
# immutable
type Service {
id: ID! # unique id for db row
hash: String! # unique id for version of service
hash: String # unique id for version of service
name: String! # human readable name
slug: String!
instances(name: String, machineId: ID, status: InstanceStatus): [Instance]!
connections: [String] # list of serviceIds
parent: ID # parent service id
branches: [Service]
config: ServiceConfig
status: ServiceStatus
}