12 lines
198 B
GraphQL
12 lines
198 B
GraphQL
type ActiveDiscussion {
|
|
id: ID
|
|
source: String
|
|
}
|
|
|
|
extend type Query {
|
|
activeDiscussion: ActiveDiscussion
|
|
}
|
|
|
|
extend type Mutation {
|
|
updateActiveDiscussion(id: ID!, source: String!): Boolean
|
|
}
|