"""GraphQL schema for the demo CoffeeService (POST /graphql).""" type Query { """Returns all coffees.""" coffees: [Coffee] """Returns the coffee with the given id, or null if none exists.""" coffee(id: Int!): Coffee } type Mutation { """Adds a new coffee and returns it with its assigned id.""" addCoffee(name: String!, description: String!): Coffee """Updates the name and description of an existing coffee.""" updateCoffee(id: Int!, name: String!, description: String!): Coffee """Deletes the coffee with the given id.""" deleteCoffee(id: Int!): DeleteCoffeePayload } type Coffee { id: Int! name: String description: String } type DeleteCoffeePayload { success: Boolean! }