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