Files
schemas/graph/schema.graphqls
T

30 lines
439 B
GraphQL
Raw Normal View History

2022-10-09 15:23:52 +02:00
type Query {
subGraphs(ref: String!): [SubGraph!]! @hasApiKey
}
type Mutation {
updateSubGraph(input: InputSubGraph!): SubGraph! @hasApiKey
}
type SubGraph {
id: ID!
service: String!
url: String
wsUrl: String
sdl: String!
changedBy: String!
changedAt: Time!
}
input InputSubGraph {
ref: String!
service: String!
url: String
wsUrl: String
sdl: String!
}
scalar Time
directive @hasApiKey on FIELD_DEFINITION