1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-30 22:00:06 +02:00

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
}