mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 14:10:04 +02:00
feat(cp-gql-schema): instead of parent, allow service childs
This commit is contained in:
parent
7b5cf714d2
commit
5b169cc2a3
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user