1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-30 23:20: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 # immutable
type Service { type Service {
id: ID! # unique id for db row 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 name: String! # human readable name
slug: String! slug: String!
instances(name: String, machineId: ID, status: InstanceStatus): [Instance]! instances(name: String, machineId: ID, status: InstanceStatus): [Instance]!
connections: [String] # list of serviceIds connections: [String] # list of serviceIds
parent: ID # parent service id branches: [Service]
config: ServiceConfig config: ServiceConfig
status: ServiceStatus status: ServiceStatus
} }